class Fastly::Results
The results of stats queries, may be grouped by service depending on endpoint, and aggregated over the appropriate time span.
Attributes
The estimated amount of time saved by responses served from the AI Accelerator semantic cache.
The number of usage tokens reported by the request to the origin from AI Accelerator.
Number of requests received by AI Accelerator.
The usage tokens associated with the response returned from the AI Accelerator cache.
Number of "Informational" category status codes received from AI provider.
Number of "Success" status codes received from AI provider.
Number of "Redirection" received from AI provider.
Number of "Client Error" received from AI provider.
Number of "Server Error" received from AI provider.
Number of requests sent by end users to Fastly
that resulted in a hit at the edge for a VCL service.
Number of requests sent by end users to Fastly
that resulted in a miss at the edge for a VCL service.
Number of cache errors for a VCL service.
Number of cache hits for a VCL service.
Number of cache misses for a VCL service.
Number of requests that passed through the CDN without being cached for a VCL service.
Number of "Informational" category status codes delivered for all sources.
Number of "Success" status codes delivered for all sources.
Number of "Redirection" codes delivered for all sources.
Number of "Client Error" codes delivered for all sources.
Number of "Server Error" codes delivered for all sources.
Number of requests that returned a synthetic response (i.e., response objects created with the ‘synthetic` VCL statement) for a VCL service.
Total body bytes received from requests that triggered a WAF rule that was blocked.
Total header bytes received from requests that triggered a WAF rule that was blocked.
Total body bytes received from requests that triggered a WAF rule that was logged.
Total header bytes received from requests that triggered a WAF rule that was logged.
Total body bytes received from requests that triggered a WAF rule that was passed.
Total header bytes received from requests that triggered a WAF rule that was passed.
Total body bytes received from requests that triggered a WAF rule.
Total header bytes received from requests that triggered a WAF rule.
Total bytes delivered for requests that triggered a WAF rule and returned a synthetic response.
Total bytes delivered (‘resp_header_bytes` + `resp_body_bytes` + `bereq_header_bytes` + `bereq_body_bytes` + `compute_resp_header_bytes` + `compute_resp_body_bytes` + `compute_bereq_header_bytes` + `compute_bereq_body_bytes` + `websocket_resp_header_bytes` + `websocket_resp_body_bytes` + `websocket_bereq_header_bytes` + `websocket_bereq_body_bytes` + `fanout_resp_header_bytes` + `fanout_resp_body_bytes` + `fanout_bereq_header_bytes` + `fanout_bereq_body_bytes`).
Total body bytes sent to origin.
Total header bytes sent to origin.
Total body bytes delivered (alias for resp_body_bytes
).
The number of challenge-complete tokens checked.
The number of challenge-complete tokens not checked because the feature was disabled.
The number of challenge-complete tokens that failed validation.
The number of challenge-complete tokens issued. For example, issuing a challenge-complete token after a series of CAPTCHA challenges ending in success.
The number of challenge-complete tokens that passed validation.
The number of challenge-start tokens created.
The number of failed challenge solutions processed. For example, an incorrect CAPTCHA solution.
The number of challenges issued. For example, the issuance of a CAPTCHA challenge.
The number of successful challenge solutions processed. For example, a correct CAPTCHA solution.
Total body bytes sent to backends (origins) by the Compute platform.
Number of backend request errors, including timeouts.
Total header bytes sent to backends (origins) by the Compute platform.
Number of backend requests started.
Total body bytes received from backends (origins) by the Compute platform.
Total header bytes received from backends (origins) by the Compute platform.
Number of cache operations executed by the Compute platform.
The amount of active CPU time used to process your requests (in milliseconds).
Number of times a guest exceeded its globals limit.
Number of times a service experienced a guest code error.
Number of times a guest exceeded its heap limit.
The amount of RAM used for your service by Fastly
(in bytes).
Total body bytes received by the Compute platform.
Total header bytes received by the Compute platform.
The total amount of request processing time you will be billed for, measured in 50 millisecond increments.
The total, actual amount of time used to process your requests, including active CPU time (in milliseconds).
The total number of requests that were received for your service by Fastly
.
Number of times a guest exceeded its resource limit, includes heap, stack, globals, and code execution timeout.
Total body bytes sent from Compute to end user.
Total header bytes sent from Compute to end user.
Number of "Informational" category status codes delivered by the Compute platform.
Number of "Success" category status codes delivered by the Compute platform.
Number of "Redirection" category status codes delivered by the Compute platform.
Number of "Client Error" category status codes delivered by the Compute platform.
Number of "Server Error" category status codes delivered by the Compute platform.
Number of times a service experienced a guest runtime error.
Number of times a guest exceeded its stack limit.
The number of times the blackhole action was taken. The blackhole action quietly closes a TCP connection without sending a reset. The blackhole action quietly closes a TCP connection without notifying its peer (all TCP state is dropped).
The number of times the close action was taken. The close action aborts the connection as soon as possible. The close action takes effect either right after accept, right after the client hello, or right after the response was sent.
The number of times the downgrade action was taken. The downgrade action restricts the client to http1.
The number of connections the downgrade action was applied to. The downgrade action restricts the connection to http1.
For HTTP/2, the number of connections the limit-streams action was applied to. The limit-streams action caps the allowed number of concurrent streams in a connection.
For HTTP/2, the number of requests made on a connection for which the limit-streams action was taken. The limit-streams action caps the allowed number of concurrent streams in a connection.
The number of times the tarpit action was taken. The tarpit action delays writing the response to the client.
The number of times the tarpit-accept action was taken. The tarpit-accept action adds a delay when accepting future connections.
Number of requests analyzed for DDoS attacks against a customer origin or service, but with no DDoS detected.
Number of requests classified as a DDoS attack against a customer origin or service.
Number of requests classified as a DDoS attack against a customer origin or service that were mitigated by the Fastly
platform.
Number of executions of the ‘vcl_deliver` Varnish subroutine.
Time spent inside the ‘vcl_deliver` Varnish subroutine (in seconds).
Number of requests sent by end users to Fastly
that resulted in a hit at the edge.
Body bytes delivered for edge hits.
Header
bytes delivered for edge hits.
Number of requests sent by end users to Fastly
that resulted in a miss at the edge.
Body bytes delivered for edge misses.
Header
bytes delivered for edge misses.
Number of requests sent by end users to Fastly
.
Total body bytes delivered from Fastly
to the end user.
Total header bytes delivered from Fastly
to the end user.
Number of executions of the ‘vcl_error` Varnish subroutine.
Time spent inside the ‘vcl_error` Varnish subroutine (in seconds).
Number of cache errors.
Total body or message content bytes sent to backends over Fanout connections.
Total header bytes sent to backends over Fanout connections.
Total body or message content bytes received from backends over Fanout connections.
Total header bytes received from backends over Fanout connections.
Total duration of Fanout connections with end users.
Total published messages received from the publish API endpoint.
Total body or message content bytes received from end users over Fanout connections.
Total header bytes received from end users over Fanout connections.
Total body or message content bytes sent to end users over Fanout connections, excluding published message content.
Total header bytes sent to end users over Fanout connections.
Total published messages sent to end users.
Number of executions of the ‘vcl_fetch` Varnish subroutine.
Time spent inside the ‘vcl_fetch` Varnish subroutine (in seconds).
Number of executions of the ‘vcl_hash` Varnish subroutine.
Time spent inside the ‘vcl_hash` Varnish subroutine (in seconds).
Total header bytes delivered (alias for resp_header_bytes
).
Ratio of cache hits to cache misses (between 0 and 1).
Total body bytes delivered for cache hits.
Number of executions of the ‘vcl_hit` Varnish subroutine.
Time spent inside the ‘vcl_hit` Varnish subroutine (in seconds).
Number of cache hits.
Total amount of time spent processing cache hits (in seconds).
Number of requests received over HTTP/2.
Number of requests received over HTTP/3.
Number of responses that came from the Fastly
Image Optimizer service. If the service receives 10 requests for an image, this stat will be 10 regardless of how many times the image was transformed.
Total body bytes delivered from the Fastly
Image Optimizer service, including shield traffic.
Total header bytes delivered from the Fastly
Image Optimizer service, including shield traffic.
Number of responses that came from the Fastly
Image Optimizer service via a shield.
Total body bytes delivered via a shield from the Fastly
Image Optimizer service.
Total header bytes delivered via a shield from the Fastly
Image Optimizer service.
Number of transforms performed by the Fastly
Image Optimizer service.
Number of video responses that came from the Fastly
Image Optimizer service.
Number of video frames that came from the Fastly
Image Optimizer service. A video frame is an individual image within a sequence of video.
Total body bytes of video delivered from the Fastly
Image Optimizer service.
Total header bytes of video delivered from the Fastly
Image Optimizer service.
Number of video responses delivered via a shield that came from the Fastly
Image Optimizer service.
Number of video frames delivered via a shield that came from the Fastly
Image Optimizer service. A video frame is an individual image within a sequence of video.
Total body bytes of video delivered via a shield from the Fastly
Image Optimizer service.
Total header bytes of video delivered via a shield from the Fastly
Image Optimizer service.
Number of requests that were received over IPv6.
The total number of class a operations for the KV store.
The total number of class b operations for the KV store.
Number of log lines sent.
Total log bytes sent.
Number of cache misses.
Total body bytes delivered for cache misses.
Number of executions of the ‘vcl_miss` Varnish subroutine.
Time spent inside the ‘vcl_miss` Varnish subroutine (in seconds).
Total amount of time spent processing cache misses (in seconds).
Count of Next-Gen WAF (Edge WAF & Core WAF) requests allowed.
Count of Next-Gen WAF (Edge WAF & Core WAF) requests blocked.
Count of Edge WAF requests challenged.
Count of Edge WAF requests logged.
Count of Edge WAF requests timed outcome.
Total number of Next-Gen WAF (Edge WAF & Core WAF) requests.
Count of Edge WAF requests with an unknown outcome.
Number of objects served that were between 10KB and 100KB in size.
Number of objects served that were between 10MB and 100MB in size.
Number of objects served that were between 1KB and 10KB in size.
Number of objects served that were between 1MB and 10MB in size.
Number of objects served that were between 100MB and 1GB in size.
Number of objects served that were under 1KB in size.
Number of objects served that were between 100KB and 1MB in size.
A count of the number of Class A Object
Storage operations.
A count of the number of Class B Object
Storage operations.
Use kv_store_class_a_operations.
Use kv_store_class_b_operations.
Body bytes received from origin for cacheable content.
Header
bytes received from an origin for cacheable content.
The total number of completed requests made to backends (origins) that returned cacheable content.
Total request body bytes sent to origin.
Total request header bytes sent to origin.
Total body bytes received from origin.
Total header bytes received from origin.
Number of requests sent to origin.
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`).
Number of responses received from origin with a ‘304` status code in response to an `If-Modified-Since` or `If-None-Match` request. Under regular scenarios, a revalidation will imply a cache hit. However, if using Fastly
Image Optimizer or segmented caching this may result in a cache miss.
Number of responses that came from the Fastly
On-the-Fly Packaging service for video-on-demand.
Total amount of time spent delivering a response from the Fastly
On-the-Fly Packaging service for video-on-demand (in seconds).
Number of responses that were manifest files from the Fastly
On-the-Fly Packaging service for video-on-demand.
Total body bytes delivered from the Fastly
On-the-Fly Packaging service for video-on-demand.
Total header bytes delivered from the Fastly
On-the-Fly Packaging service for video-on-demand.
Total body bytes delivered via a shield for the Fastly
On-the-Fly Packaging service for video-on-demand.
Total header bytes delivered via a shield for the Fastly
On-the-Fly Packaging service for video-on-demand.
Total amount of time spent delivering a response via a shield from the Fastly
On-the-Fly Packaging service for video-on-demand (in seconds).
Number of requests that passed through the CDN without being cached.
Total body bytes delivered for cache passes.
Number of executions of the ‘vcl_pass` Varnish subroutine.
Time spent inside the ‘vcl_pass` Varnish subroutine (in seconds).
Total amount of time spent processing cache passes (in seconds).
Number of responses with the PCI flag turned on.
Optional. Pipe operations performed (legacy feature).
Number of executions of the ‘vcl_pipe` Varnish subroutine.
Time spent inside the ‘vcl_pipe` Varnish subroutine (in seconds).
Number of executions of the ‘vcl_predeliver` Varnish subroutine.
Time spent inside the ‘vcl_predeliver` Varnish subroutine (in seconds).
Number of executions of the ‘vcl_prehash` Varnish subroutine.
Time spent inside the ‘vcl_prehash` Varnish subroutine (in seconds).
Number of executions of the ‘vcl_recv` Varnish subroutine.
Time spent inside the ‘vcl_recv` Varnish subroutine (in seconds).
Total body bytes received.
Total header bytes received.
Number of requests that were collapsed and unable to be satisfied by the resulting cache object.
Number of requests that were collapsed and satisfied by a usable cache object.
Number of requests where Fastly
responded with 400 due to the request being a GET or HEAD request containing a body.
Number of requests processed.
Total body bytes delivered (edge_resp_body_bytes
+ shield_resp_body_bytes
).
Total header bytes delivered (edge_resp_header_bytes
+ shield_resp_header_bytes
).
Number of restarts performed.
Number of ‘Range` requests to origin for segments of resources when using segmented caching.
Number of ‘Range` requests to a shield for segments of resources when using segmented caching.
Number of requests from edge to the shield POP.
The total number of completed requests made to shields that returned cacheable content.
Total request body bytes sent to a shield.
Total request header bytes sent to a shield.
Total response body bytes sent from a shield to the edge.
Total response header bytes sent from a shield to the edge.
Number of requests made from one Fastly
POP to another, as part of shielding.
Number of requests that resulted in a hit at a shield.
Body bytes delivered for shield hits.
Header
bytes delivered for shield hits.
Number of requests that resulted in a miss at a shield.
Body bytes delivered for shield misses.
Header
bytes delivered for shield misses.
Total body bytes delivered via a shield.
Total header bytes delivered via a shield.
Number of responses received from origin with a ‘304` status code, in response to an `If-Modified-Since` or `If-None-Match` request to a shield. Under regular scenarios, a revalidation will imply a cache hit. However, if using segmented caching this may result in a cache miss.
Timestamp for the start of the time period being reported
Number of "Informational" category status codes delivered.
Number of responses sent with status code 200 (Success).
Number of responses sent with status code 204 (No Content
).
Number of responses sent with status code 206 (Partial Content
).
Number of "Success" status codes delivered.
Number of responses sent with status code 301 (Moved Permanently).
Number of responses sent with status code 302 (Found).
Number of responses sent with status code 304 (Not Modified).
Number of "Redirection" codes delivered.
Number of responses sent with status code 400 (Bad Request).
Number of responses sent with status code 401 (Unauthorized).
Number of responses sent with status code 403 (Forbidden).
Number of responses sent with status code 404 (Not Found).
Number of responses sent with status code 406 (Not Acceptable).
Number of responses sent with status code 416 (Range Not Satisfiable).
Number of responses sent with status code 429 (Too Many Requests).
Number of "Client Error" codes delivered.
Number of responses sent with status code 501 (Not Implemented).
Number of responses sent with status code 502 (Bad Gateway).
Number of responses sent with status code 503 (Service
Unavailable).
Number of responses sent with status code 504 (Gateway Timeout).
Number of responses sent with status code 505 (HTTP Version
Not Supported).
Number of responses sent with status code 530.
Number of "Server Error" codes delivered.
Number of requests that returned a synthetic response (i.e., response objects created with the ‘synthetic` VCL statement).
Number of requests that were received over TLS.
Number of bytes transferred during TLS handshake.
Number of requests received over TLS 1.0.
Number of requests received over TLS 1.1.
Number of requests received over TLS 1.2.
Number of requests received over TLS 1.3.
Number of requests that were designated uncachable.
Number of responses with the video segment or video manifest MIME type (i.e., application/x-mpegurl, application/vnd.apple.mpegurl, application/f4m, application/dash+xml, application/vnd.ms-sstr+xml, ideo/mp2t, audio/aac, video/f4f, video/x-flv, video/mp4, audio/mp4).
Number of requests that triggered a WAF rule and were blocked.
Number of requests that triggered a WAF rule and were logged.
Number of requests that triggered a WAF rule and were passed.
Total message content bytes sent to backends over passthrough WebSocket connections.
Total header bytes sent to backends over passthrough WebSocket connections.
Total message content bytes received from backends over passthrough WebSocket connections.
Total header bytes received from backends over passthrough WebSocket connections.
Total duration of passthrough WebSocket connections with end users.
Total message content bytes received from end users over passthrough WebSocket connections.
Total header bytes received from end users over passthrough WebSocket connections.
Total message content bytes sent to end users over passthrough WebSocket connections.
Total header bytes sent to end users over passthrough WebSocket connections.
Public Class Methods
Source
# File lib/fastly/models/results.rb, line 1103 def self.acceptable_attributes attribute_map.values end
Returns all the JSON keys this model knows about
Source
# File lib/fastly/models/results.rb, line 827 def self.attribute_map { :'requests' => :'requests', :'hits' => :'hits', :'hits_time' => :'hits_time', :'miss' => :'miss', :'miss_time' => :'miss_time', :'pass' => :'pass', :'pass_time' => :'pass_time', :'errors' => :'errors', :'restarts' => :'restarts', :'hit_ratio' => :'hit_ratio', :'bandwidth' => :'bandwidth', :'body_size' => :'body_size', :'header_size' => :'header_size', :'req_body_bytes' => :'req_body_bytes', :'req_header_bytes' => :'req_header_bytes', :'resp_body_bytes' => :'resp_body_bytes', :'resp_header_bytes' => :'resp_header_bytes', :'bereq_body_bytes' => :'bereq_body_bytes', :'bereq_header_bytes' => :'bereq_header_bytes', :'uncacheable' => :'uncacheable', :'pipe' => :'pipe', :'synth' => :'synth', :'tls' => :'tls', :'tls_v10' => :'tls_v10', :'tls_v11' => :'tls_v11', :'tls_v12' => :'tls_v12', :'tls_v13' => :'tls_v13', :'edge_requests' => :'edge_requests', :'edge_resp_header_bytes' => :'edge_resp_header_bytes', :'edge_resp_body_bytes' => :'edge_resp_body_bytes', :'edge_hit_requests' => :'edge_hit_requests', :'edge_miss_requests' => :'edge_miss_requests', :'origin_fetches' => :'origin_fetches', :'origin_fetch_header_bytes' => :'origin_fetch_header_bytes', :'origin_fetch_body_bytes' => :'origin_fetch_body_bytes', :'origin_fetch_resp_header_bytes' => :'origin_fetch_resp_header_bytes', :'origin_fetch_resp_body_bytes' => :'origin_fetch_resp_body_bytes', :'origin_revalidations' => :'origin_revalidations', :'origin_cache_fetches' => :'origin_cache_fetches', :'shield' => :'shield', :'shield_resp_body_bytes' => :'shield_resp_body_bytes', :'shield_resp_header_bytes' => :'shield_resp_header_bytes', :'shield_fetches' => :'shield_fetches', :'shield_fetch_header_bytes' => :'shield_fetch_header_bytes', :'shield_fetch_body_bytes' => :'shield_fetch_body_bytes', :'shield_fetch_resp_header_bytes' => :'shield_fetch_resp_header_bytes', :'shield_fetch_resp_body_bytes' => :'shield_fetch_resp_body_bytes', :'shield_revalidations' => :'shield_revalidations', :'shield_cache_fetches' => :'shield_cache_fetches', :'ipv6' => :'ipv6', :'otfp' => :'otfp', :'otfp_resp_body_bytes' => :'otfp_resp_body_bytes', :'otfp_resp_header_bytes' => :'otfp_resp_header_bytes', :'otfp_shield_resp_body_bytes' => :'otfp_shield_resp_body_bytes', :'otfp_shield_resp_header_bytes' => :'otfp_shield_resp_header_bytes', :'otfp_manifests' => :'otfp_manifests', :'otfp_deliver_time' => :'otfp_deliver_time', :'otfp_shield_time' => :'otfp_shield_time', :'video' => :'video', :'pci' => :'pci', :'log' => :'log', :'log_bytes' => :'log_bytes', :'http2' => :'http2', :'http3' => :'http3', :'waf_logged' => :'waf_logged', :'waf_blocked' => :'waf_blocked', :'waf_passed' => :'waf_passed', :'attack_req_body_bytes' => :'attack_req_body_bytes', :'attack_req_header_bytes' => :'attack_req_header_bytes', :'attack_logged_req_body_bytes' => :'attack_logged_req_body_bytes', :'attack_logged_req_header_bytes' => :'attack_logged_req_header_bytes', :'attack_blocked_req_body_bytes' => :'attack_blocked_req_body_bytes', :'attack_blocked_req_header_bytes' => :'attack_blocked_req_header_bytes', :'attack_passed_req_body_bytes' => :'attack_passed_req_body_bytes', :'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', :'imgvideo_shield_resp_body_bytes' => :'imgvideo_shield_resp_body_bytes', :'imgvideo_shield' => :'imgvideo_shield', :'imgvideo_shield_frames' => :'imgvideo_shield_frames', :'status_200' => :'status_200', :'status_204' => :'status_204', :'status_206' => :'status_206', :'status_301' => :'status_301', :'status_302' => :'status_302', :'status_304' => :'status_304', :'status_400' => :'status_400', :'status_401' => :'status_401', :'status_403' => :'status_403', :'status_404' => :'status_404', :'status_406' => :'status_406', :'status_416' => :'status_416', :'status_429' => :'status_429', :'status_500' => :'status_500', :'status_501' => :'status_501', :'status_502' => :'status_502', :'status_503' => :'status_503', :'status_504' => :'status_504', :'status_505' => :'status_505', :'status_530' => :'status_530', :'status_1xx' => :'status_1xx', :'status_2xx' => :'status_2xx', :'status_3xx' => :'status_3xx', :'status_4xx' => :'status_4xx', :'status_5xx' => :'status_5xx', :'object_size_1k' => :'object_size_1k', :'object_size_10k' => :'object_size_10k', :'object_size_100k' => :'object_size_100k', :'object_size_1m' => :'object_size_1m', :'object_size_10m' => :'object_size_10m', :'object_size_100m' => :'object_size_100m', :'object_size_1g' => :'object_size_1g', :'recv_sub_time' => :'recv_sub_time', :'recv_sub_count' => :'recv_sub_count', :'hash_sub_time' => :'hash_sub_time', :'hash_sub_count' => :'hash_sub_count', :'miss_sub_time' => :'miss_sub_time', :'miss_sub_count' => :'miss_sub_count', :'fetch_sub_time' => :'fetch_sub_time', :'fetch_sub_count' => :'fetch_sub_count', :'pass_sub_time' => :'pass_sub_time', :'pass_sub_count' => :'pass_sub_count', :'pipe_sub_time' => :'pipe_sub_time', :'pipe_sub_count' => :'pipe_sub_count', :'deliver_sub_time' => :'deliver_sub_time', :'deliver_sub_count' => :'deliver_sub_count', :'error_sub_time' => :'error_sub_time', :'error_sub_count' => :'error_sub_count', :'hit_sub_time' => :'hit_sub_time', :'hit_sub_count' => :'hit_sub_count', :'prehash_sub_time' => :'prehash_sub_time', :'prehash_sub_count' => :'prehash_sub_count', :'predeliver_sub_time' => :'predeliver_sub_time', :'predeliver_sub_count' => :'predeliver_sub_count', :'tls_handshake_sent_bytes' => :'tls_handshake_sent_bytes', :'hit_resp_body_bytes' => :'hit_resp_body_bytes', :'miss_resp_body_bytes' => :'miss_resp_body_bytes', :'pass_resp_body_bytes' => :'pass_resp_body_bytes', :'segblock_origin_fetches' => :'segblock_origin_fetches', :'segblock_shield_fetches' => :'segblock_shield_fetches', :'compute_requests' => :'compute_requests', :'compute_request_time_ms' => :'compute_request_time_ms', :'compute_request_time_billed_ms' => :'compute_request_time_billed_ms', :'compute_ram_used' => :'compute_ram_used', :'compute_execution_time_ms' => :'compute_execution_time_ms', :'compute_req_header_bytes' => :'compute_req_header_bytes', :'compute_req_body_bytes' => :'compute_req_body_bytes', :'compute_resp_header_bytes' => :'compute_resp_header_bytes', :'compute_resp_body_bytes' => :'compute_resp_body_bytes', :'compute_resp_status_1xx' => :'compute_resp_status_1xx', :'compute_resp_status_2xx' => :'compute_resp_status_2xx', :'compute_resp_status_3xx' => :'compute_resp_status_3xx', :'compute_resp_status_4xx' => :'compute_resp_status_4xx', :'compute_resp_status_5xx' => :'compute_resp_status_5xx', :'compute_bereq_header_bytes' => :'compute_bereq_header_bytes', :'compute_bereq_body_bytes' => :'compute_bereq_body_bytes', :'compute_beresp_header_bytes' => :'compute_beresp_header_bytes', :'compute_beresp_body_bytes' => :'compute_beresp_body_bytes', :'compute_bereqs' => :'compute_bereqs', :'compute_bereq_errors' => :'compute_bereq_errors', :'compute_resource_limit_exceeded' => :'compute_resource_limit_exceeded', :'compute_heap_limit_exceeded' => :'compute_heap_limit_exceeded', :'compute_stack_limit_exceeded' => :'compute_stack_limit_exceeded', :'compute_globals_limit_exceeded' => :'compute_globals_limit_exceeded', :'compute_guest_errors' => :'compute_guest_errors', :'compute_runtime_errors' => :'compute_runtime_errors', :'edge_hit_resp_body_bytes' => :'edge_hit_resp_body_bytes', :'edge_hit_resp_header_bytes' => :'edge_hit_resp_header_bytes', :'edge_miss_resp_body_bytes' => :'edge_miss_resp_body_bytes', :'edge_miss_resp_header_bytes' => :'edge_miss_resp_header_bytes', :'origin_cache_fetch_resp_body_bytes' => :'origin_cache_fetch_resp_body_bytes', :'origin_cache_fetch_resp_header_bytes' => :'origin_cache_fetch_resp_header_bytes', :'shield_hit_requests' => :'shield_hit_requests', :'shield_miss_requests' => :'shield_miss_requests', :'shield_hit_resp_header_bytes' => :'shield_hit_resp_header_bytes', :'shield_hit_resp_body_bytes' => :'shield_hit_resp_body_bytes', :'shield_miss_resp_header_bytes' => :'shield_miss_resp_header_bytes', :'shield_miss_resp_body_bytes' => :'shield_miss_resp_body_bytes', :'websocket_req_header_bytes' => :'websocket_req_header_bytes', :'websocket_req_body_bytes' => :'websocket_req_body_bytes', :'websocket_resp_header_bytes' => :'websocket_resp_header_bytes', :'websocket_resp_body_bytes' => :'websocket_resp_body_bytes', :'websocket_bereq_header_bytes' => :'websocket_bereq_header_bytes', :'websocket_bereq_body_bytes' => :'websocket_bereq_body_bytes', :'websocket_beresp_header_bytes' => :'websocket_beresp_header_bytes', :'websocket_beresp_body_bytes' => :'websocket_beresp_body_bytes', :'websocket_conn_time_ms' => :'websocket_conn_time_ms', :'fanout_recv_publishes' => :'fanout_recv_publishes', :'fanout_send_publishes' => :'fanout_send_publishes', :'kv_store_class_a_operations' => :'kv_store_class_a_operations', :'kv_store_class_b_operations' => :'kv_store_class_b_operations', :'object_store_class_a_operations' => :'object_store_class_a_operations', :'object_store_class_b_operations' => :'object_store_class_b_operations', :'fanout_req_header_bytes' => :'fanout_req_header_bytes', :'fanout_req_body_bytes' => :'fanout_req_body_bytes', :'fanout_resp_header_bytes' => :'fanout_resp_header_bytes', :'fanout_resp_body_bytes' => :'fanout_resp_body_bytes', :'fanout_bereq_header_bytes' => :'fanout_bereq_header_bytes', :'fanout_bereq_body_bytes' => :'fanout_bereq_body_bytes', :'fanout_beresp_header_bytes' => :'fanout_beresp_header_bytes', :'fanout_beresp_body_bytes' => :'fanout_beresp_body_bytes', :'fanout_conn_time_ms' => :'fanout_conn_time_ms', :'ddos_action_limit_streams_connections' => :'ddos_action_limit_streams_connections', :'ddos_action_limit_streams_requests' => :'ddos_action_limit_streams_requests', :'ddos_action_tarpit_accept' => :'ddos_action_tarpit_accept', :'ddos_action_tarpit' => :'ddos_action_tarpit', :'ddos_action_close' => :'ddos_action_close', :'ddos_action_blackhole' => :'ddos_action_blackhole', :'bot_challenge_starts' => :'bot_challenge_starts', :'bot_challenge_complete_tokens_passed' => :'bot_challenge_complete_tokens_passed', :'bot_challenge_complete_tokens_failed' => :'bot_challenge_complete_tokens_failed', :'bot_challenge_complete_tokens_checked' => :'bot_challenge_complete_tokens_checked', :'bot_challenge_complete_tokens_disabled' => :'bot_challenge_complete_tokens_disabled', :'bot_challenge_complete_tokens_issued' => :'bot_challenge_complete_tokens_issued', :'bot_challenges_issued' => :'bot_challenges_issued', :'bot_challenges_succeeded' => :'bot_challenges_succeeded', :'bot_challenges_failed' => :'bot_challenges_failed', :'ddos_action_downgrade' => :'ddos_action_downgrade', :'ddos_action_downgraded_connections' => :'ddos_action_downgraded_connections', :'all_hit_requests' => :'all_hit_requests', :'all_miss_requests' => :'all_miss_requests', :'all_pass_requests' => :'all_pass_requests', :'all_error_requests' => :'all_error_requests', :'all_synth_requests' => :'all_synth_requests', :'all_edge_hit_requests' => :'all_edge_hit_requests', :'all_edge_miss_requests' => :'all_edge_miss_requests', :'all_status_1xx' => :'all_status_1xx', :'all_status_2xx' => :'all_status_2xx', :'all_status_3xx' => :'all_status_3xx', :'all_status_4xx' => :'all_status_4xx', :'all_status_5xx' => :'all_status_5xx', :'origin_offload' => :'origin_offload', :'request_denied_get_head_body' => :'request_denied_get_head_body', :'ddos_protection_requests_detect_count' => :'ddos_protection_requests_detect_count', :'ddos_protection_requests_mitigate_count' => :'ddos_protection_requests_mitigate_count', :'ddos_protection_requests_allow_count' => :'ddos_protection_requests_allow_count', :'object_storage_class_a_operations_count' => :'object_storage_class_a_operations_count', :'object_storage_class_b_operations_count' => :'object_storage_class_b_operations_count', :'aia_requests' => :'aia_requests', :'aia_status_1xx' => :'aia_status_1xx', :'aia_status_2xx' => :'aia_status_2xx', :'aia_status_3xx' => :'aia_status_3xx', :'aia_status_4xx' => :'aia_status_4xx', :'aia_status_5xx' => :'aia_status_5xx', :'aia_response_usage_tokens' => :'aia_response_usage_tokens', :'aia_origin_usage_tokens' => :'aia_origin_usage_tokens', :'aia_estimated_time_saved_ms' => :'aia_estimated_time_saved_ms', :'request_collapse_usable_count' => :'request_collapse_usable_count', :'request_collapse_unusable_count' => :'request_collapse_unusable_count', :'compute_cache_operations_count' => :'compute_cache_operations_count', :'ngwaf_requests_total_count' => :'ngwaf_requests_total_count', :'ngwaf_requests_unknown_count' => :'ngwaf_requests_unknown_count', :'ngwaf_requests_allowed_count' => :'ngwaf_requests_allowed_count', :'ngwaf_requests_logged_count' => :'ngwaf_requests_logged_count', :'ngwaf_requests_blocked_count' => :'ngwaf_requests_blocked_count', :'ngwaf_requests_timeout_count' => :'ngwaf_requests_timeout_count', :'ngwaf_requests_challenged_count' => :'ngwaf_requests_challenged_count', :'service_id' => :'service_id', :'start_time' => :'start_time' } end
Attribute mapping from ruby-style variable name to JSON key.
Source
# File lib/fastly/models/results.rb, line 2791 def self.build_from_hash(attributes) new.build_from_hash(attributes) end
Builds the object from hash @param [Hash] attributes Model attributes in the form of hash @return [Object] Returns the model itself
Source
# File lib/fastly/models/results.rb, line 1384 def self.fastly_nullable Set.new([ :'hit_ratio', ]) end
List of attributes with nullable: true
Source
# File lib/fastly/models/results.rb, line 1108 def self.fastly_types { :'requests' => :'Integer', :'hits' => :'Integer', :'hits_time' => :'Float', :'miss' => :'Integer', :'miss_time' => :'Float', :'pass' => :'Integer', :'pass_time' => :'Float', :'errors' => :'Integer', :'restarts' => :'Integer', :'hit_ratio' => :'Float', :'bandwidth' => :'Integer', :'body_size' => :'Integer', :'header_size' => :'Integer', :'req_body_bytes' => :'Integer', :'req_header_bytes' => :'Integer', :'resp_body_bytes' => :'Integer', :'resp_header_bytes' => :'Integer', :'bereq_body_bytes' => :'Integer', :'bereq_header_bytes' => :'Integer', :'uncacheable' => :'Integer', :'pipe' => :'Integer', :'synth' => :'Integer', :'tls' => :'Integer', :'tls_v10' => :'Integer', :'tls_v11' => :'Integer', :'tls_v12' => :'Integer', :'tls_v13' => :'Integer', :'edge_requests' => :'Integer', :'edge_resp_header_bytes' => :'Integer', :'edge_resp_body_bytes' => :'Integer', :'edge_hit_requests' => :'Integer', :'edge_miss_requests' => :'Integer', :'origin_fetches' => :'Integer', :'origin_fetch_header_bytes' => :'Integer', :'origin_fetch_body_bytes' => :'Integer', :'origin_fetch_resp_header_bytes' => :'Integer', :'origin_fetch_resp_body_bytes' => :'Integer', :'origin_revalidations' => :'Integer', :'origin_cache_fetches' => :'Integer', :'shield' => :'Integer', :'shield_resp_body_bytes' => :'Integer', :'shield_resp_header_bytes' => :'Integer', :'shield_fetches' => :'Integer', :'shield_fetch_header_bytes' => :'Integer', :'shield_fetch_body_bytes' => :'Integer', :'shield_fetch_resp_header_bytes' => :'Integer', :'shield_fetch_resp_body_bytes' => :'Integer', :'shield_revalidations' => :'Integer', :'shield_cache_fetches' => :'Integer', :'ipv6' => :'Integer', :'otfp' => :'Integer', :'otfp_resp_body_bytes' => :'Integer', :'otfp_resp_header_bytes' => :'Integer', :'otfp_shield_resp_body_bytes' => :'Integer', :'otfp_shield_resp_header_bytes' => :'Integer', :'otfp_manifests' => :'Integer', :'otfp_deliver_time' => :'Float', :'otfp_shield_time' => :'Float', :'video' => :'Integer', :'pci' => :'Integer', :'log' => :'Integer', :'log_bytes' => :'Integer', :'http2' => :'Integer', :'http3' => :'Integer', :'waf_logged' => :'Integer', :'waf_blocked' => :'Integer', :'waf_passed' => :'Integer', :'attack_req_body_bytes' => :'Integer', :'attack_req_header_bytes' => :'Integer', :'attack_logged_req_body_bytes' => :'Integer', :'attack_logged_req_header_bytes' => :'Integer', :'attack_blocked_req_body_bytes' => :'Integer', :'attack_blocked_req_header_bytes' => :'Integer', :'attack_passed_req_body_bytes' => :'Integer', :'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', :'imgvideo_shield_resp_body_bytes' => :'Integer', :'imgvideo_shield' => :'Integer', :'imgvideo_shield_frames' => :'Integer', :'status_200' => :'Integer', :'status_204' => :'Integer', :'status_206' => :'Integer', :'status_301' => :'Integer', :'status_302' => :'Integer', :'status_304' => :'Integer', :'status_400' => :'Integer', :'status_401' => :'Integer', :'status_403' => :'Integer', :'status_404' => :'Integer', :'status_406' => :'Integer', :'status_416' => :'Integer', :'status_429' => :'Integer', :'status_500' => :'Integer', :'status_501' => :'Integer', :'status_502' => :'Integer', :'status_503' => :'Integer', :'status_504' => :'Integer', :'status_505' => :'Integer', :'status_530' => :'Integer', :'status_1xx' => :'Integer', :'status_2xx' => :'Integer', :'status_3xx' => :'Integer', :'status_4xx' => :'Integer', :'status_5xx' => :'Integer', :'object_size_1k' => :'Integer', :'object_size_10k' => :'Integer', :'object_size_100k' => :'Integer', :'object_size_1m' => :'Integer', :'object_size_10m' => :'Integer', :'object_size_100m' => :'Integer', :'object_size_1g' => :'Integer', :'recv_sub_time' => :'Float', :'recv_sub_count' => :'Integer', :'hash_sub_time' => :'Float', :'hash_sub_count' => :'Integer', :'miss_sub_time' => :'Float', :'miss_sub_count' => :'Integer', :'fetch_sub_time' => :'Float', :'fetch_sub_count' => :'Integer', :'pass_sub_time' => :'Float', :'pass_sub_count' => :'Integer', :'pipe_sub_time' => :'Float', :'pipe_sub_count' => :'Integer', :'deliver_sub_time' => :'Float', :'deliver_sub_count' => :'Integer', :'error_sub_time' => :'Float', :'error_sub_count' => :'Integer', :'hit_sub_time' => :'Float', :'hit_sub_count' => :'Integer', :'prehash_sub_time' => :'Float', :'prehash_sub_count' => :'Integer', :'predeliver_sub_time' => :'Float', :'predeliver_sub_count' => :'Integer', :'tls_handshake_sent_bytes' => :'Integer', :'hit_resp_body_bytes' => :'Integer', :'miss_resp_body_bytes' => :'Integer', :'pass_resp_body_bytes' => :'Integer', :'segblock_origin_fetches' => :'Integer', :'segblock_shield_fetches' => :'Integer', :'compute_requests' => :'Integer', :'compute_request_time_ms' => :'Float', :'compute_request_time_billed_ms' => :'Float', :'compute_ram_used' => :'Integer', :'compute_execution_time_ms' => :'Float', :'compute_req_header_bytes' => :'Integer', :'compute_req_body_bytes' => :'Integer', :'compute_resp_header_bytes' => :'Integer', :'compute_resp_body_bytes' => :'Integer', :'compute_resp_status_1xx' => :'Integer', :'compute_resp_status_2xx' => :'Integer', :'compute_resp_status_3xx' => :'Integer', :'compute_resp_status_4xx' => :'Integer', :'compute_resp_status_5xx' => :'Integer', :'compute_bereq_header_bytes' => :'Integer', :'compute_bereq_body_bytes' => :'Integer', :'compute_beresp_header_bytes' => :'Integer', :'compute_beresp_body_bytes' => :'Integer', :'compute_bereqs' => :'Integer', :'compute_bereq_errors' => :'Integer', :'compute_resource_limit_exceeded' => :'Integer', :'compute_heap_limit_exceeded' => :'Integer', :'compute_stack_limit_exceeded' => :'Integer', :'compute_globals_limit_exceeded' => :'Integer', :'compute_guest_errors' => :'Integer', :'compute_runtime_errors' => :'Integer', :'edge_hit_resp_body_bytes' => :'Integer', :'edge_hit_resp_header_bytes' => :'Integer', :'edge_miss_resp_body_bytes' => :'Integer', :'edge_miss_resp_header_bytes' => :'Integer', :'origin_cache_fetch_resp_body_bytes' => :'Integer', :'origin_cache_fetch_resp_header_bytes' => :'Integer', :'shield_hit_requests' => :'Integer', :'shield_miss_requests' => :'Integer', :'shield_hit_resp_header_bytes' => :'Integer', :'shield_hit_resp_body_bytes' => :'Integer', :'shield_miss_resp_header_bytes' => :'Integer', :'shield_miss_resp_body_bytes' => :'Integer', :'websocket_req_header_bytes' => :'Integer', :'websocket_req_body_bytes' => :'Integer', :'websocket_resp_header_bytes' => :'Integer', :'websocket_resp_body_bytes' => :'Integer', :'websocket_bereq_header_bytes' => :'Integer', :'websocket_bereq_body_bytes' => :'Integer', :'websocket_beresp_header_bytes' => :'Integer', :'websocket_beresp_body_bytes' => :'Integer', :'websocket_conn_time_ms' => :'Integer', :'fanout_recv_publishes' => :'Integer', :'fanout_send_publishes' => :'Integer', :'kv_store_class_a_operations' => :'Integer', :'kv_store_class_b_operations' => :'Integer', :'object_store_class_a_operations' => :'Integer', :'object_store_class_b_operations' => :'Integer', :'fanout_req_header_bytes' => :'Integer', :'fanout_req_body_bytes' => :'Integer', :'fanout_resp_header_bytes' => :'Integer', :'fanout_resp_body_bytes' => :'Integer', :'fanout_bereq_header_bytes' => :'Integer', :'fanout_bereq_body_bytes' => :'Integer', :'fanout_beresp_header_bytes' => :'Integer', :'fanout_beresp_body_bytes' => :'Integer', :'fanout_conn_time_ms' => :'Integer', :'ddos_action_limit_streams_connections' => :'Integer', :'ddos_action_limit_streams_requests' => :'Integer', :'ddos_action_tarpit_accept' => :'Integer', :'ddos_action_tarpit' => :'Integer', :'ddos_action_close' => :'Integer', :'ddos_action_blackhole' => :'Integer', :'bot_challenge_starts' => :'Integer', :'bot_challenge_complete_tokens_passed' => :'Integer', :'bot_challenge_complete_tokens_failed' => :'Integer', :'bot_challenge_complete_tokens_checked' => :'Integer', :'bot_challenge_complete_tokens_disabled' => :'Integer', :'bot_challenge_complete_tokens_issued' => :'Integer', :'bot_challenges_issued' => :'Integer', :'bot_challenges_succeeded' => :'Integer', :'bot_challenges_failed' => :'Integer', :'ddos_action_downgrade' => :'Integer', :'ddos_action_downgraded_connections' => :'Integer', :'all_hit_requests' => :'Integer', :'all_miss_requests' => :'Integer', :'all_pass_requests' => :'Integer', :'all_error_requests' => :'Integer', :'all_synth_requests' => :'Integer', :'all_edge_hit_requests' => :'Integer', :'all_edge_miss_requests' => :'Integer', :'all_status_1xx' => :'Integer', :'all_status_2xx' => :'Integer', :'all_status_3xx' => :'Integer', :'all_status_4xx' => :'Integer', :'all_status_5xx' => :'Integer', :'origin_offload' => :'Float', :'request_denied_get_head_body' => :'Integer', :'ddos_protection_requests_detect_count' => :'Integer', :'ddos_protection_requests_mitigate_count' => :'Integer', :'ddos_protection_requests_allow_count' => :'Integer', :'object_storage_class_a_operations_count' => :'Integer', :'object_storage_class_b_operations_count' => :'Integer', :'aia_requests' => :'Integer', :'aia_status_1xx' => :'Integer', :'aia_status_2xx' => :'Integer', :'aia_status_3xx' => :'Integer', :'aia_status_4xx' => :'Integer', :'aia_status_5xx' => :'Integer', :'aia_response_usage_tokens' => :'Integer', :'aia_origin_usage_tokens' => :'Integer', :'aia_estimated_time_saved_ms' => :'Integer', :'request_collapse_usable_count' => :'Integer', :'request_collapse_unusable_count' => :'Integer', :'compute_cache_operations_count' => :'Integer', :'ngwaf_requests_total_count' => :'Integer', :'ngwaf_requests_unknown_count' => :'Integer', :'ngwaf_requests_allowed_count' => :'Integer', :'ngwaf_requests_logged_count' => :'Integer', :'ngwaf_requests_blocked_count' => :'Integer', :'ngwaf_requests_timeout_count' => :'Integer', :'ngwaf_requests_challenged_count' => :'Integer', :'service_id' => :'String', :'start_time' => :'Integer' } end
Attribute type mapping.
Source
# File lib/fastly/models/results.rb, line 1392 def initialize(attributes = {}) if (!attributes.is_a?(Hash)) fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::Results` initialize method" end # check to see if the attribute exists and convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| if (!self.class.attribute_map.key?(k.to_sym)) fail ArgumentError, "`#{k}` is not a valid attribute in `Fastly::Results`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect end h[k.to_sym] = v } if attributes.key?(:'requests') self.requests = attributes[:'requests'] end if attributes.key?(:'hits') self.hits = attributes[:'hits'] end if attributes.key?(:'hits_time') self.hits_time = attributes[:'hits_time'] end if attributes.key?(:'miss') self.miss = attributes[:'miss'] end if attributes.key?(:'miss_time') self.miss_time = attributes[:'miss_time'] end if attributes.key?(:'pass') self.pass = attributes[:'pass'] end if attributes.key?(:'pass_time') self.pass_time = attributes[:'pass_time'] end if attributes.key?(:'errors') self.errors = attributes[:'errors'] end if attributes.key?(:'restarts') self.restarts = attributes[:'restarts'] end if attributes.key?(:'hit_ratio') self.hit_ratio = attributes[:'hit_ratio'] end if attributes.key?(:'bandwidth') self.bandwidth = attributes[:'bandwidth'] end if attributes.key?(:'body_size') self.body_size = attributes[:'body_size'] end if attributes.key?(:'header_size') self.header_size = attributes[:'header_size'] end if attributes.key?(:'req_body_bytes') self.req_body_bytes = attributes[:'req_body_bytes'] end if attributes.key?(:'req_header_bytes') self.req_header_bytes = attributes[:'req_header_bytes'] end if attributes.key?(:'resp_body_bytes') self.resp_body_bytes = attributes[:'resp_body_bytes'] end if attributes.key?(:'resp_header_bytes') self.resp_header_bytes = attributes[:'resp_header_bytes'] end if attributes.key?(:'bereq_body_bytes') self.bereq_body_bytes = attributes[:'bereq_body_bytes'] end if attributes.key?(:'bereq_header_bytes') self.bereq_header_bytes = attributes[:'bereq_header_bytes'] end if attributes.key?(:'uncacheable') self.uncacheable = attributes[:'uncacheable'] end if attributes.key?(:'pipe') self.pipe = attributes[:'pipe'] end if attributes.key?(:'synth') self.synth = attributes[:'synth'] end if attributes.key?(:'tls') self.tls = attributes[:'tls'] end if attributes.key?(:'tls_v10') self.tls_v10 = attributes[:'tls_v10'] end if attributes.key?(:'tls_v11') self.tls_v11 = attributes[:'tls_v11'] end if attributes.key?(:'tls_v12') self.tls_v12 = attributes[:'tls_v12'] end if attributes.key?(:'tls_v13') self.tls_v13 = attributes[:'tls_v13'] end if attributes.key?(:'edge_requests') self.edge_requests = attributes[:'edge_requests'] end if attributes.key?(:'edge_resp_header_bytes') self.edge_resp_header_bytes = attributes[:'edge_resp_header_bytes'] end if attributes.key?(:'edge_resp_body_bytes') self.edge_resp_body_bytes = attributes[:'edge_resp_body_bytes'] end if attributes.key?(:'edge_hit_requests') self.edge_hit_requests = attributes[:'edge_hit_requests'] end if attributes.key?(:'edge_miss_requests') self.edge_miss_requests = attributes[:'edge_miss_requests'] end if attributes.key?(:'origin_fetches') self.origin_fetches = attributes[:'origin_fetches'] end if attributes.key?(:'origin_fetch_header_bytes') self.origin_fetch_header_bytes = attributes[:'origin_fetch_header_bytes'] end if attributes.key?(:'origin_fetch_body_bytes') self.origin_fetch_body_bytes = attributes[:'origin_fetch_body_bytes'] end if attributes.key?(:'origin_fetch_resp_header_bytes') self.origin_fetch_resp_header_bytes = attributes[:'origin_fetch_resp_header_bytes'] end if attributes.key?(:'origin_fetch_resp_body_bytes') self.origin_fetch_resp_body_bytes = attributes[:'origin_fetch_resp_body_bytes'] end if attributes.key?(:'origin_revalidations') self.origin_revalidations = attributes[:'origin_revalidations'] end if attributes.key?(:'origin_cache_fetches') self.origin_cache_fetches = attributes[:'origin_cache_fetches'] end if attributes.key?(:'shield') self.shield = attributes[:'shield'] end if attributes.key?(:'shield_resp_body_bytes') self.shield_resp_body_bytes = attributes[:'shield_resp_body_bytes'] end if attributes.key?(:'shield_resp_header_bytes') self.shield_resp_header_bytes = attributes[:'shield_resp_header_bytes'] end if attributes.key?(:'shield_fetches') self.shield_fetches = attributes[:'shield_fetches'] end if attributes.key?(:'shield_fetch_header_bytes') self.shield_fetch_header_bytes = attributes[:'shield_fetch_header_bytes'] end if attributes.key?(:'shield_fetch_body_bytes') self.shield_fetch_body_bytes = attributes[:'shield_fetch_body_bytes'] end if attributes.key?(:'shield_fetch_resp_header_bytes') self.shield_fetch_resp_header_bytes = attributes[:'shield_fetch_resp_header_bytes'] end if attributes.key?(:'shield_fetch_resp_body_bytes') self.shield_fetch_resp_body_bytes = attributes[:'shield_fetch_resp_body_bytes'] end if attributes.key?(:'shield_revalidations') self.shield_revalidations = attributes[:'shield_revalidations'] end if attributes.key?(:'shield_cache_fetches') self.shield_cache_fetches = attributes[:'shield_cache_fetches'] end if attributes.key?(:'ipv6') self.ipv6 = attributes[:'ipv6'] end if attributes.key?(:'otfp') self.otfp = attributes[:'otfp'] end if attributes.key?(:'otfp_resp_body_bytes') self.otfp_resp_body_bytes = attributes[:'otfp_resp_body_bytes'] end if attributes.key?(:'otfp_resp_header_bytes') self.otfp_resp_header_bytes = attributes[:'otfp_resp_header_bytes'] end if attributes.key?(:'otfp_shield_resp_body_bytes') self.otfp_shield_resp_body_bytes = attributes[:'otfp_shield_resp_body_bytes'] end if attributes.key?(:'otfp_shield_resp_header_bytes') self.otfp_shield_resp_header_bytes = attributes[:'otfp_shield_resp_header_bytes'] end if attributes.key?(:'otfp_manifests') self.otfp_manifests = attributes[:'otfp_manifests'] end if attributes.key?(:'otfp_deliver_time') self.otfp_deliver_time = attributes[:'otfp_deliver_time'] end if attributes.key?(:'otfp_shield_time') self.otfp_shield_time = attributes[:'otfp_shield_time'] end if attributes.key?(:'video') self.video = attributes[:'video'] end if attributes.key?(:'pci') self.pci = attributes[:'pci'] end if attributes.key?(:'log') self.log = attributes[:'log'] end if attributes.key?(:'log_bytes') self.log_bytes = attributes[:'log_bytes'] end if attributes.key?(:'http2') self.http2 = attributes[:'http2'] end if attributes.key?(:'http3') self.http3 = attributes[:'http3'] end if attributes.key?(:'waf_logged') self.waf_logged = attributes[:'waf_logged'] end if attributes.key?(:'waf_blocked') self.waf_blocked = attributes[:'waf_blocked'] end if attributes.key?(:'waf_passed') self.waf_passed = attributes[:'waf_passed'] end if attributes.key?(:'attack_req_body_bytes') self.attack_req_body_bytes = attributes[:'attack_req_body_bytes'] end if attributes.key?(:'attack_req_header_bytes') self.attack_req_header_bytes = attributes[:'attack_req_header_bytes'] end if attributes.key?(:'attack_logged_req_body_bytes') self.attack_logged_req_body_bytes = attributes[:'attack_logged_req_body_bytes'] end if attributes.key?(:'attack_logged_req_header_bytes') self.attack_logged_req_header_bytes = attributes[:'attack_logged_req_header_bytes'] end if attributes.key?(:'attack_blocked_req_body_bytes') self.attack_blocked_req_body_bytes = attributes[:'attack_blocked_req_body_bytes'] end if attributes.key?(:'attack_blocked_req_header_bytes') self.attack_blocked_req_header_bytes = attributes[:'attack_blocked_req_header_bytes'] end if attributes.key?(:'attack_passed_req_body_bytes') self.attack_passed_req_body_bytes = attributes[:'attack_passed_req_body_bytes'] end if attributes.key?(:'attack_passed_req_header_bytes') self.attack_passed_req_header_bytes = attributes[:'attack_passed_req_header_bytes'] end if attributes.key?(:'attack_resp_synth_bytes') self.attack_resp_synth_bytes = attributes[:'attack_resp_synth_bytes'] end if attributes.key?(:'imgopto') self.imgopto = attributes[:'imgopto'] end if attributes.key?(:'imgopto_resp_body_bytes') self.imgopto_resp_body_bytes = attributes[:'imgopto_resp_body_bytes'] end 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') self.imgvideo_frames = attributes[:'imgvideo_frames'] end if attributes.key?(:'imgvideo_resp_header_bytes') self.imgvideo_resp_header_bytes = attributes[:'imgvideo_resp_header_bytes'] end if attributes.key?(:'imgvideo_resp_body_bytes') self.imgvideo_resp_body_bytes = attributes[:'imgvideo_resp_body_bytes'] end if attributes.key?(:'imgvideo_shield_resp_header_bytes') self.imgvideo_shield_resp_header_bytes = attributes[:'imgvideo_shield_resp_header_bytes'] end if attributes.key?(:'imgvideo_shield_resp_body_bytes') self.imgvideo_shield_resp_body_bytes = attributes[:'imgvideo_shield_resp_body_bytes'] end if attributes.key?(:'imgvideo_shield') self.imgvideo_shield = attributes[:'imgvideo_shield'] end if attributes.key?(:'imgvideo_shield_frames') self.imgvideo_shield_frames = attributes[:'imgvideo_shield_frames'] end if attributes.key?(:'status_200') self.status_200 = attributes[:'status_200'] end if attributes.key?(:'status_204') self.status_204 = attributes[:'status_204'] end if attributes.key?(:'status_206') self.status_206 = attributes[:'status_206'] end if attributes.key?(:'status_301') self.status_301 = attributes[:'status_301'] end if attributes.key?(:'status_302') self.status_302 = attributes[:'status_302'] end if attributes.key?(:'status_304') self.status_304 = attributes[:'status_304'] end if attributes.key?(:'status_400') self.status_400 = attributes[:'status_400'] end if attributes.key?(:'status_401') self.status_401 = attributes[:'status_401'] end if attributes.key?(:'status_403') self.status_403 = attributes[:'status_403'] end if attributes.key?(:'status_404') self.status_404 = attributes[:'status_404'] end if attributes.key?(:'status_406') self.status_406 = attributes[:'status_406'] end if attributes.key?(:'status_416') self.status_416 = attributes[:'status_416'] end if attributes.key?(:'status_429') self.status_429 = attributes[:'status_429'] end if attributes.key?(:'status_500') self.status_500 = attributes[:'status_500'] end if attributes.key?(:'status_501') self.status_501 = attributes[:'status_501'] end if attributes.key?(:'status_502') self.status_502 = attributes[:'status_502'] end if attributes.key?(:'status_503') self.status_503 = attributes[:'status_503'] end if attributes.key?(:'status_504') self.status_504 = attributes[:'status_504'] end if attributes.key?(:'status_505') self.status_505 = attributes[:'status_505'] end if attributes.key?(:'status_530') self.status_530 = attributes[:'status_530'] end if attributes.key?(:'status_1xx') self.status_1xx = attributes[:'status_1xx'] end if attributes.key?(:'status_2xx') self.status_2xx = attributes[:'status_2xx'] end if attributes.key?(:'status_3xx') self.status_3xx = attributes[:'status_3xx'] end if attributes.key?(:'status_4xx') self.status_4xx = attributes[:'status_4xx'] end if attributes.key?(:'status_5xx') self.status_5xx = attributes[:'status_5xx'] end if attributes.key?(:'object_size_1k') self.object_size_1k = attributes[:'object_size_1k'] end if attributes.key?(:'object_size_10k') self.object_size_10k = attributes[:'object_size_10k'] end if attributes.key?(:'object_size_100k') self.object_size_100k = attributes[:'object_size_100k'] end if attributes.key?(:'object_size_1m') self.object_size_1m = attributes[:'object_size_1m'] end if attributes.key?(:'object_size_10m') self.object_size_10m = attributes[:'object_size_10m'] end if attributes.key?(:'object_size_100m') self.object_size_100m = attributes[:'object_size_100m'] end if attributes.key?(:'object_size_1g') self.object_size_1g = attributes[:'object_size_1g'] end if attributes.key?(:'recv_sub_time') self.recv_sub_time = attributes[:'recv_sub_time'] end if attributes.key?(:'recv_sub_count') self.recv_sub_count = attributes[:'recv_sub_count'] end if attributes.key?(:'hash_sub_time') self.hash_sub_time = attributes[:'hash_sub_time'] end if attributes.key?(:'hash_sub_count') self.hash_sub_count = attributes[:'hash_sub_count'] end if attributes.key?(:'miss_sub_time') self.miss_sub_time = attributes[:'miss_sub_time'] end if attributes.key?(:'miss_sub_count') self.miss_sub_count = attributes[:'miss_sub_count'] end if attributes.key?(:'fetch_sub_time') self.fetch_sub_time = attributes[:'fetch_sub_time'] end if attributes.key?(:'fetch_sub_count') self.fetch_sub_count = attributes[:'fetch_sub_count'] end if attributes.key?(:'pass_sub_time') self.pass_sub_time = attributes[:'pass_sub_time'] end if attributes.key?(:'pass_sub_count') self.pass_sub_count = attributes[:'pass_sub_count'] end if attributes.key?(:'pipe_sub_time') self.pipe_sub_time = attributes[:'pipe_sub_time'] end if attributes.key?(:'pipe_sub_count') self.pipe_sub_count = attributes[:'pipe_sub_count'] end if attributes.key?(:'deliver_sub_time') self.deliver_sub_time = attributes[:'deliver_sub_time'] end if attributes.key?(:'deliver_sub_count') self.deliver_sub_count = attributes[:'deliver_sub_count'] end if attributes.key?(:'error_sub_time') self.error_sub_time = attributes[:'error_sub_time'] end if attributes.key?(:'error_sub_count') self.error_sub_count = attributes[:'error_sub_count'] end if attributes.key?(:'hit_sub_time') self.hit_sub_time = attributes[:'hit_sub_time'] end if attributes.key?(:'hit_sub_count') self.hit_sub_count = attributes[:'hit_sub_count'] end if attributes.key?(:'prehash_sub_time') self.prehash_sub_time = attributes[:'prehash_sub_time'] end if attributes.key?(:'prehash_sub_count') self.prehash_sub_count = attributes[:'prehash_sub_count'] end if attributes.key?(:'predeliver_sub_time') self.predeliver_sub_time = attributes[:'predeliver_sub_time'] end if attributes.key?(:'predeliver_sub_count') self.predeliver_sub_count = attributes[:'predeliver_sub_count'] end if attributes.key?(:'tls_handshake_sent_bytes') self.tls_handshake_sent_bytes = attributes[:'tls_handshake_sent_bytes'] end if attributes.key?(:'hit_resp_body_bytes') self.hit_resp_body_bytes = attributes[:'hit_resp_body_bytes'] end if attributes.key?(:'miss_resp_body_bytes') self.miss_resp_body_bytes = attributes[:'miss_resp_body_bytes'] end if attributes.key?(:'pass_resp_body_bytes') self.pass_resp_body_bytes = attributes[:'pass_resp_body_bytes'] end if attributes.key?(:'segblock_origin_fetches') self.segblock_origin_fetches = attributes[:'segblock_origin_fetches'] end if attributes.key?(:'segblock_shield_fetches') self.segblock_shield_fetches = attributes[:'segblock_shield_fetches'] end if attributes.key?(:'compute_requests') self.compute_requests = attributes[:'compute_requests'] end if attributes.key?(:'compute_request_time_ms') self.compute_request_time_ms = attributes[:'compute_request_time_ms'] end if attributes.key?(:'compute_request_time_billed_ms') self.compute_request_time_billed_ms = attributes[:'compute_request_time_billed_ms'] end if attributes.key?(:'compute_ram_used') self.compute_ram_used = attributes[:'compute_ram_used'] end if attributes.key?(:'compute_execution_time_ms') self.compute_execution_time_ms = attributes[:'compute_execution_time_ms'] end if attributes.key?(:'compute_req_header_bytes') self.compute_req_header_bytes = attributes[:'compute_req_header_bytes'] end if attributes.key?(:'compute_req_body_bytes') self.compute_req_body_bytes = attributes[:'compute_req_body_bytes'] end if attributes.key?(:'compute_resp_header_bytes') self.compute_resp_header_bytes = attributes[:'compute_resp_header_bytes'] end if attributes.key?(:'compute_resp_body_bytes') self.compute_resp_body_bytes = attributes[:'compute_resp_body_bytes'] end if attributes.key?(:'compute_resp_status_1xx') self.compute_resp_status_1xx = attributes[:'compute_resp_status_1xx'] end if attributes.key?(:'compute_resp_status_2xx') self.compute_resp_status_2xx = attributes[:'compute_resp_status_2xx'] end if attributes.key?(:'compute_resp_status_3xx') self.compute_resp_status_3xx = attributes[:'compute_resp_status_3xx'] end if attributes.key?(:'compute_resp_status_4xx') self.compute_resp_status_4xx = attributes[:'compute_resp_status_4xx'] end if attributes.key?(:'compute_resp_status_5xx') self.compute_resp_status_5xx = attributes[:'compute_resp_status_5xx'] end if attributes.key?(:'compute_bereq_header_bytes') self.compute_bereq_header_bytes = attributes[:'compute_bereq_header_bytes'] end if attributes.key?(:'compute_bereq_body_bytes') self.compute_bereq_body_bytes = attributes[:'compute_bereq_body_bytes'] end if attributes.key?(:'compute_beresp_header_bytes') self.compute_beresp_header_bytes = attributes[:'compute_beresp_header_bytes'] end if attributes.key?(:'compute_beresp_body_bytes') self.compute_beresp_body_bytes = attributes[:'compute_beresp_body_bytes'] end if attributes.key?(:'compute_bereqs') self.compute_bereqs = attributes[:'compute_bereqs'] end if attributes.key?(:'compute_bereq_errors') self.compute_bereq_errors = attributes[:'compute_bereq_errors'] end if attributes.key?(:'compute_resource_limit_exceeded') self.compute_resource_limit_exceeded = attributes[:'compute_resource_limit_exceeded'] end if attributes.key?(:'compute_heap_limit_exceeded') self.compute_heap_limit_exceeded = attributes[:'compute_heap_limit_exceeded'] end if attributes.key?(:'compute_stack_limit_exceeded') self.compute_stack_limit_exceeded = attributes[:'compute_stack_limit_exceeded'] end if attributes.key?(:'compute_globals_limit_exceeded') self.compute_globals_limit_exceeded = attributes[:'compute_globals_limit_exceeded'] end if attributes.key?(:'compute_guest_errors') self.compute_guest_errors = attributes[:'compute_guest_errors'] end if attributes.key?(:'compute_runtime_errors') self.compute_runtime_errors = attributes[:'compute_runtime_errors'] end if attributes.key?(:'edge_hit_resp_body_bytes') self.edge_hit_resp_body_bytes = attributes[:'edge_hit_resp_body_bytes'] end if attributes.key?(:'edge_hit_resp_header_bytes') self.edge_hit_resp_header_bytes = attributes[:'edge_hit_resp_header_bytes'] end if attributes.key?(:'edge_miss_resp_body_bytes') self.edge_miss_resp_body_bytes = attributes[:'edge_miss_resp_body_bytes'] end if attributes.key?(:'edge_miss_resp_header_bytes') self.edge_miss_resp_header_bytes = attributes[:'edge_miss_resp_header_bytes'] end if attributes.key?(:'origin_cache_fetch_resp_body_bytes') self.origin_cache_fetch_resp_body_bytes = attributes[:'origin_cache_fetch_resp_body_bytes'] end if attributes.key?(:'origin_cache_fetch_resp_header_bytes') self.origin_cache_fetch_resp_header_bytes = attributes[:'origin_cache_fetch_resp_header_bytes'] end if attributes.key?(:'shield_hit_requests') self.shield_hit_requests = attributes[:'shield_hit_requests'] end if attributes.key?(:'shield_miss_requests') self.shield_miss_requests = attributes[:'shield_miss_requests'] end if attributes.key?(:'shield_hit_resp_header_bytes') self.shield_hit_resp_header_bytes = attributes[:'shield_hit_resp_header_bytes'] end if attributes.key?(:'shield_hit_resp_body_bytes') self.shield_hit_resp_body_bytes = attributes[:'shield_hit_resp_body_bytes'] end if attributes.key?(:'shield_miss_resp_header_bytes') self.shield_miss_resp_header_bytes = attributes[:'shield_miss_resp_header_bytes'] end if attributes.key?(:'shield_miss_resp_body_bytes') self.shield_miss_resp_body_bytes = attributes[:'shield_miss_resp_body_bytes'] end if attributes.key?(:'websocket_req_header_bytes') self.websocket_req_header_bytes = attributes[:'websocket_req_header_bytes'] end if attributes.key?(:'websocket_req_body_bytes') self.websocket_req_body_bytes = attributes[:'websocket_req_body_bytes'] end if attributes.key?(:'websocket_resp_header_bytes') self.websocket_resp_header_bytes = attributes[:'websocket_resp_header_bytes'] end if attributes.key?(:'websocket_resp_body_bytes') self.websocket_resp_body_bytes = attributes[:'websocket_resp_body_bytes'] end if attributes.key?(:'websocket_bereq_header_bytes') self.websocket_bereq_header_bytes = attributes[:'websocket_bereq_header_bytes'] end if attributes.key?(:'websocket_bereq_body_bytes') self.websocket_bereq_body_bytes = attributes[:'websocket_bereq_body_bytes'] end if attributes.key?(:'websocket_beresp_header_bytes') self.websocket_beresp_header_bytes = attributes[:'websocket_beresp_header_bytes'] end if attributes.key?(:'websocket_beresp_body_bytes') self.websocket_beresp_body_bytes = attributes[:'websocket_beresp_body_bytes'] end if attributes.key?(:'websocket_conn_time_ms') self.websocket_conn_time_ms = attributes[:'websocket_conn_time_ms'] end if attributes.key?(:'fanout_recv_publishes') self.fanout_recv_publishes = attributes[:'fanout_recv_publishes'] end if attributes.key?(:'fanout_send_publishes') self.fanout_send_publishes = attributes[:'fanout_send_publishes'] end if attributes.key?(:'kv_store_class_a_operations') self.kv_store_class_a_operations = attributes[:'kv_store_class_a_operations'] end if attributes.key?(:'kv_store_class_b_operations') self.kv_store_class_b_operations = attributes[:'kv_store_class_b_operations'] end if attributes.key?(:'object_store_class_a_operations') self.object_store_class_a_operations = attributes[:'object_store_class_a_operations'] end if attributes.key?(:'object_store_class_b_operations') self.object_store_class_b_operations = attributes[:'object_store_class_b_operations'] end if attributes.key?(:'fanout_req_header_bytes') self.fanout_req_header_bytes = attributes[:'fanout_req_header_bytes'] end if attributes.key?(:'fanout_req_body_bytes') self.fanout_req_body_bytes = attributes[:'fanout_req_body_bytes'] end if attributes.key?(:'fanout_resp_header_bytes') self.fanout_resp_header_bytes = attributes[:'fanout_resp_header_bytes'] end if attributes.key?(:'fanout_resp_body_bytes') self.fanout_resp_body_bytes = attributes[:'fanout_resp_body_bytes'] end if attributes.key?(:'fanout_bereq_header_bytes') self.fanout_bereq_header_bytes = attributes[:'fanout_bereq_header_bytes'] end if attributes.key?(:'fanout_bereq_body_bytes') self.fanout_bereq_body_bytes = attributes[:'fanout_bereq_body_bytes'] end if attributes.key?(:'fanout_beresp_header_bytes') self.fanout_beresp_header_bytes = attributes[:'fanout_beresp_header_bytes'] end if attributes.key?(:'fanout_beresp_body_bytes') self.fanout_beresp_body_bytes = attributes[:'fanout_beresp_body_bytes'] end if attributes.key?(:'fanout_conn_time_ms') self.fanout_conn_time_ms = attributes[:'fanout_conn_time_ms'] end if attributes.key?(:'ddos_action_limit_streams_connections') self.ddos_action_limit_streams_connections = attributes[:'ddos_action_limit_streams_connections'] end if attributes.key?(:'ddos_action_limit_streams_requests') self.ddos_action_limit_streams_requests = attributes[:'ddos_action_limit_streams_requests'] end if attributes.key?(:'ddos_action_tarpit_accept') self.ddos_action_tarpit_accept = attributes[:'ddos_action_tarpit_accept'] end if attributes.key?(:'ddos_action_tarpit') self.ddos_action_tarpit = attributes[:'ddos_action_tarpit'] end if attributes.key?(:'ddos_action_close') self.ddos_action_close = attributes[:'ddos_action_close'] end if attributes.key?(:'ddos_action_blackhole') self.ddos_action_blackhole = attributes[:'ddos_action_blackhole'] end if attributes.key?(:'bot_challenge_starts') self.bot_challenge_starts = attributes[:'bot_challenge_starts'] end if attributes.key?(:'bot_challenge_complete_tokens_passed') self.bot_challenge_complete_tokens_passed = attributes[:'bot_challenge_complete_tokens_passed'] end if attributes.key?(:'bot_challenge_complete_tokens_failed') self.bot_challenge_complete_tokens_failed = attributes[:'bot_challenge_complete_tokens_failed'] end if attributes.key?(:'bot_challenge_complete_tokens_checked') self.bot_challenge_complete_tokens_checked = attributes[:'bot_challenge_complete_tokens_checked'] end if attributes.key?(:'bot_challenge_complete_tokens_disabled') self.bot_challenge_complete_tokens_disabled = attributes[:'bot_challenge_complete_tokens_disabled'] end if attributes.key?(:'bot_challenge_complete_tokens_issued') self.bot_challenge_complete_tokens_issued = attributes[:'bot_challenge_complete_tokens_issued'] end if attributes.key?(:'bot_challenges_issued') self.bot_challenges_issued = attributes[:'bot_challenges_issued'] end if attributes.key?(:'bot_challenges_succeeded') self.bot_challenges_succeeded = attributes[:'bot_challenges_succeeded'] end if attributes.key?(:'bot_challenges_failed') self.bot_challenges_failed = attributes[:'bot_challenges_failed'] end if attributes.key?(:'ddos_action_downgrade') self.ddos_action_downgrade = attributes[:'ddos_action_downgrade'] end if attributes.key?(:'ddos_action_downgraded_connections') self.ddos_action_downgraded_connections = attributes[:'ddos_action_downgraded_connections'] end if attributes.key?(:'all_hit_requests') self.all_hit_requests = attributes[:'all_hit_requests'] end if attributes.key?(:'all_miss_requests') self.all_miss_requests = attributes[:'all_miss_requests'] end if attributes.key?(:'all_pass_requests') self.all_pass_requests = attributes[:'all_pass_requests'] end if attributes.key?(:'all_error_requests') self.all_error_requests = attributes[:'all_error_requests'] end if attributes.key?(:'all_synth_requests') self.all_synth_requests = attributes[:'all_synth_requests'] end if attributes.key?(:'all_edge_hit_requests') self.all_edge_hit_requests = attributes[:'all_edge_hit_requests'] end if attributes.key?(:'all_edge_miss_requests') self.all_edge_miss_requests = attributes[:'all_edge_miss_requests'] end if attributes.key?(:'all_status_1xx') self.all_status_1xx = attributes[:'all_status_1xx'] end if attributes.key?(:'all_status_2xx') self.all_status_2xx = attributes[:'all_status_2xx'] end if attributes.key?(:'all_status_3xx') self.all_status_3xx = attributes[:'all_status_3xx'] end if attributes.key?(:'all_status_4xx') self.all_status_4xx = attributes[:'all_status_4xx'] end if attributes.key?(:'all_status_5xx') self.all_status_5xx = attributes[:'all_status_5xx'] end if attributes.key?(:'origin_offload') self.origin_offload = attributes[:'origin_offload'] end if attributes.key?(:'request_denied_get_head_body') self.request_denied_get_head_body = attributes[:'request_denied_get_head_body'] end if attributes.key?(:'ddos_protection_requests_detect_count') self.ddos_protection_requests_detect_count = attributes[:'ddos_protection_requests_detect_count'] end if attributes.key?(:'ddos_protection_requests_mitigate_count') self.ddos_protection_requests_mitigate_count = attributes[:'ddos_protection_requests_mitigate_count'] end if attributes.key?(:'ddos_protection_requests_allow_count') self.ddos_protection_requests_allow_count = attributes[:'ddos_protection_requests_allow_count'] end if attributes.key?(:'object_storage_class_a_operations_count') self.object_storage_class_a_operations_count = attributes[:'object_storage_class_a_operations_count'] end if attributes.key?(:'object_storage_class_b_operations_count') self.object_storage_class_b_operations_count = attributes[:'object_storage_class_b_operations_count'] end if attributes.key?(:'aia_requests') self.aia_requests = attributes[:'aia_requests'] end if attributes.key?(:'aia_status_1xx') self.aia_status_1xx = attributes[:'aia_status_1xx'] end if attributes.key?(:'aia_status_2xx') self.aia_status_2xx = attributes[:'aia_status_2xx'] end if attributes.key?(:'aia_status_3xx') self.aia_status_3xx = attributes[:'aia_status_3xx'] end if attributes.key?(:'aia_status_4xx') self.aia_status_4xx = attributes[:'aia_status_4xx'] end if attributes.key?(:'aia_status_5xx') self.aia_status_5xx = attributes[:'aia_status_5xx'] end if attributes.key?(:'aia_response_usage_tokens') self.aia_response_usage_tokens = attributes[:'aia_response_usage_tokens'] end if attributes.key?(:'aia_origin_usage_tokens') self.aia_origin_usage_tokens = attributes[:'aia_origin_usage_tokens'] end if attributes.key?(:'aia_estimated_time_saved_ms') self.aia_estimated_time_saved_ms = attributes[:'aia_estimated_time_saved_ms'] end if attributes.key?(:'request_collapse_usable_count') self.request_collapse_usable_count = attributes[:'request_collapse_usable_count'] end if attributes.key?(:'request_collapse_unusable_count') self.request_collapse_unusable_count = attributes[:'request_collapse_unusable_count'] end if attributes.key?(:'compute_cache_operations_count') self.compute_cache_operations_count = attributes[:'compute_cache_operations_count'] end if attributes.key?(:'ngwaf_requests_total_count') self.ngwaf_requests_total_count = attributes[:'ngwaf_requests_total_count'] end if attributes.key?(:'ngwaf_requests_unknown_count') self.ngwaf_requests_unknown_count = attributes[:'ngwaf_requests_unknown_count'] end if attributes.key?(:'ngwaf_requests_allowed_count') self.ngwaf_requests_allowed_count = attributes[:'ngwaf_requests_allowed_count'] end if attributes.key?(:'ngwaf_requests_logged_count') self.ngwaf_requests_logged_count = attributes[:'ngwaf_requests_logged_count'] end if attributes.key?(:'ngwaf_requests_blocked_count') self.ngwaf_requests_blocked_count = attributes[:'ngwaf_requests_blocked_count'] end if attributes.key?(:'ngwaf_requests_timeout_count') self.ngwaf_requests_timeout_count = attributes[:'ngwaf_requests_timeout_count'] end if attributes.key?(:'ngwaf_requests_challenged_count') self.ngwaf_requests_challenged_count = attributes[:'ngwaf_requests_challenged_count'] end if attributes.key?(:'service_id') self.service_id = attributes[:'service_id'] end if attributes.key?(:'start_time') self.start_time = attributes[:'start_time'] end end
Initializes the object @param [Hash] attributes Model attributes in the form of hash
Public Instance Methods
Source
# File lib/fastly/models/results.rb, line 2501 def ==(o) return true if self.equal?(o) self.class == o.class && requests == o.requests && hits == o.hits && hits_time == o.hits_time && miss == o.miss && miss_time == o.miss_time && pass == o.pass && pass_time == o.pass_time && errors == o.errors && restarts == o.restarts && hit_ratio == o.hit_ratio && bandwidth == o.bandwidth && body_size == o.body_size && header_size == o.header_size && req_body_bytes == o.req_body_bytes && req_header_bytes == o.req_header_bytes && resp_body_bytes == o.resp_body_bytes && resp_header_bytes == o.resp_header_bytes && bereq_body_bytes == o.bereq_body_bytes && bereq_header_bytes == o.bereq_header_bytes && uncacheable == o.uncacheable && pipe == o.pipe && synth == o.synth && tls == o.tls && tls_v10 == o.tls_v10 && tls_v11 == o.tls_v11 && tls_v12 == o.tls_v12 && tls_v13 == o.tls_v13 && edge_requests == o.edge_requests && edge_resp_header_bytes == o.edge_resp_header_bytes && edge_resp_body_bytes == o.edge_resp_body_bytes && edge_hit_requests == o.edge_hit_requests && edge_miss_requests == o.edge_miss_requests && origin_fetches == o.origin_fetches && origin_fetch_header_bytes == o.origin_fetch_header_bytes && origin_fetch_body_bytes == o.origin_fetch_body_bytes && origin_fetch_resp_header_bytes == o.origin_fetch_resp_header_bytes && origin_fetch_resp_body_bytes == o.origin_fetch_resp_body_bytes && origin_revalidations == o.origin_revalidations && origin_cache_fetches == o.origin_cache_fetches && shield == o.shield && shield_resp_body_bytes == o.shield_resp_body_bytes && shield_resp_header_bytes == o.shield_resp_header_bytes && shield_fetches == o.shield_fetches && shield_fetch_header_bytes == o.shield_fetch_header_bytes && shield_fetch_body_bytes == o.shield_fetch_body_bytes && shield_fetch_resp_header_bytes == o.shield_fetch_resp_header_bytes && shield_fetch_resp_body_bytes == o.shield_fetch_resp_body_bytes && shield_revalidations == o.shield_revalidations && shield_cache_fetches == o.shield_cache_fetches && ipv6 == o.ipv6 && otfp == o.otfp && otfp_resp_body_bytes == o.otfp_resp_body_bytes && otfp_resp_header_bytes == o.otfp_resp_header_bytes && otfp_shield_resp_body_bytes == o.otfp_shield_resp_body_bytes && otfp_shield_resp_header_bytes == o.otfp_shield_resp_header_bytes && otfp_manifests == o.otfp_manifests && otfp_deliver_time == o.otfp_deliver_time && otfp_shield_time == o.otfp_shield_time && video == o.video && pci == o.pci && log == o.log && log_bytes == o.log_bytes && http2 == o.http2 && http3 == o.http3 && waf_logged == o.waf_logged && waf_blocked == o.waf_blocked && waf_passed == o.waf_passed && attack_req_body_bytes == o.attack_req_body_bytes && attack_req_header_bytes == o.attack_req_header_bytes && attack_logged_req_body_bytes == o.attack_logged_req_body_bytes && attack_logged_req_header_bytes == o.attack_logged_req_header_bytes && attack_blocked_req_body_bytes == o.attack_blocked_req_body_bytes && attack_blocked_req_header_bytes == o.attack_blocked_req_header_bytes && attack_passed_req_body_bytes == o.attack_passed_req_body_bytes && 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 && imgvideo_shield_resp_body_bytes == o.imgvideo_shield_resp_body_bytes && imgvideo_shield == o.imgvideo_shield && imgvideo_shield_frames == o.imgvideo_shield_frames && status_200 == o.status_200 && status_204 == o.status_204 && status_206 == o.status_206 && status_301 == o.status_301 && status_302 == o.status_302 && status_304 == o.status_304 && status_400 == o.status_400 && status_401 == o.status_401 && status_403 == o.status_403 && status_404 == o.status_404 && status_406 == o.status_406 && status_416 == o.status_416 && status_429 == o.status_429 && status_500 == o.status_500 && status_501 == o.status_501 && status_502 == o.status_502 && status_503 == o.status_503 && status_504 == o.status_504 && status_505 == o.status_505 && status_530 == o.status_530 && status_1xx == o.status_1xx && status_2xx == o.status_2xx && status_3xx == o.status_3xx && status_4xx == o.status_4xx && status_5xx == o.status_5xx && object_size_1k == o.object_size_1k && object_size_10k == o.object_size_10k && object_size_100k == o.object_size_100k && object_size_1m == o.object_size_1m && object_size_10m == o.object_size_10m && object_size_100m == o.object_size_100m && object_size_1g == o.object_size_1g && recv_sub_time == o.recv_sub_time && recv_sub_count == o.recv_sub_count && hash_sub_time == o.hash_sub_time && hash_sub_count == o.hash_sub_count && miss_sub_time == o.miss_sub_time && miss_sub_count == o.miss_sub_count && fetch_sub_time == o.fetch_sub_time && fetch_sub_count == o.fetch_sub_count && pass_sub_time == o.pass_sub_time && pass_sub_count == o.pass_sub_count && pipe_sub_time == o.pipe_sub_time && pipe_sub_count == o.pipe_sub_count && deliver_sub_time == o.deliver_sub_time && deliver_sub_count == o.deliver_sub_count && error_sub_time == o.error_sub_time && error_sub_count == o.error_sub_count && hit_sub_time == o.hit_sub_time && hit_sub_count == o.hit_sub_count && prehash_sub_time == o.prehash_sub_time && prehash_sub_count == o.prehash_sub_count && predeliver_sub_time == o.predeliver_sub_time && predeliver_sub_count == o.predeliver_sub_count && tls_handshake_sent_bytes == o.tls_handshake_sent_bytes && hit_resp_body_bytes == o.hit_resp_body_bytes && miss_resp_body_bytes == o.miss_resp_body_bytes && pass_resp_body_bytes == o.pass_resp_body_bytes && segblock_origin_fetches == o.segblock_origin_fetches && segblock_shield_fetches == o.segblock_shield_fetches && compute_requests == o.compute_requests && compute_request_time_ms == o.compute_request_time_ms && compute_request_time_billed_ms == o.compute_request_time_billed_ms && compute_ram_used == o.compute_ram_used && compute_execution_time_ms == o.compute_execution_time_ms && compute_req_header_bytes == o.compute_req_header_bytes && compute_req_body_bytes == o.compute_req_body_bytes && compute_resp_header_bytes == o.compute_resp_header_bytes && compute_resp_body_bytes == o.compute_resp_body_bytes && compute_resp_status_1xx == o.compute_resp_status_1xx && compute_resp_status_2xx == o.compute_resp_status_2xx && compute_resp_status_3xx == o.compute_resp_status_3xx && compute_resp_status_4xx == o.compute_resp_status_4xx && compute_resp_status_5xx == o.compute_resp_status_5xx && compute_bereq_header_bytes == o.compute_bereq_header_bytes && compute_bereq_body_bytes == o.compute_bereq_body_bytes && compute_beresp_header_bytes == o.compute_beresp_header_bytes && compute_beresp_body_bytes == o.compute_beresp_body_bytes && compute_bereqs == o.compute_bereqs && compute_bereq_errors == o.compute_bereq_errors && compute_resource_limit_exceeded == o.compute_resource_limit_exceeded && compute_heap_limit_exceeded == o.compute_heap_limit_exceeded && compute_stack_limit_exceeded == o.compute_stack_limit_exceeded && compute_globals_limit_exceeded == o.compute_globals_limit_exceeded && compute_guest_errors == o.compute_guest_errors && compute_runtime_errors == o.compute_runtime_errors && edge_hit_resp_body_bytes == o.edge_hit_resp_body_bytes && edge_hit_resp_header_bytes == o.edge_hit_resp_header_bytes && edge_miss_resp_body_bytes == o.edge_miss_resp_body_bytes && edge_miss_resp_header_bytes == o.edge_miss_resp_header_bytes && origin_cache_fetch_resp_body_bytes == o.origin_cache_fetch_resp_body_bytes && origin_cache_fetch_resp_header_bytes == o.origin_cache_fetch_resp_header_bytes && shield_hit_requests == o.shield_hit_requests && shield_miss_requests == o.shield_miss_requests && shield_hit_resp_header_bytes == o.shield_hit_resp_header_bytes && shield_hit_resp_body_bytes == o.shield_hit_resp_body_bytes && shield_miss_resp_header_bytes == o.shield_miss_resp_header_bytes && shield_miss_resp_body_bytes == o.shield_miss_resp_body_bytes && websocket_req_header_bytes == o.websocket_req_header_bytes && websocket_req_body_bytes == o.websocket_req_body_bytes && websocket_resp_header_bytes == o.websocket_resp_header_bytes && websocket_resp_body_bytes == o.websocket_resp_body_bytes && websocket_bereq_header_bytes == o.websocket_bereq_header_bytes && websocket_bereq_body_bytes == o.websocket_bereq_body_bytes && websocket_beresp_header_bytes == o.websocket_beresp_header_bytes && websocket_beresp_body_bytes == o.websocket_beresp_body_bytes && websocket_conn_time_ms == o.websocket_conn_time_ms && fanout_recv_publishes == o.fanout_recv_publishes && fanout_send_publishes == o.fanout_send_publishes && kv_store_class_a_operations == o.kv_store_class_a_operations && kv_store_class_b_operations == o.kv_store_class_b_operations && object_store_class_a_operations == o.object_store_class_a_operations && object_store_class_b_operations == o.object_store_class_b_operations && fanout_req_header_bytes == o.fanout_req_header_bytes && fanout_req_body_bytes == o.fanout_req_body_bytes && fanout_resp_header_bytes == o.fanout_resp_header_bytes && fanout_resp_body_bytes == o.fanout_resp_body_bytes && fanout_bereq_header_bytes == o.fanout_bereq_header_bytes && fanout_bereq_body_bytes == o.fanout_bereq_body_bytes && fanout_beresp_header_bytes == o.fanout_beresp_header_bytes && fanout_beresp_body_bytes == o.fanout_beresp_body_bytes && fanout_conn_time_ms == o.fanout_conn_time_ms && ddos_action_limit_streams_connections == o.ddos_action_limit_streams_connections && ddos_action_limit_streams_requests == o.ddos_action_limit_streams_requests && ddos_action_tarpit_accept == o.ddos_action_tarpit_accept && ddos_action_tarpit == o.ddos_action_tarpit && ddos_action_close == o.ddos_action_close && ddos_action_blackhole == o.ddos_action_blackhole && bot_challenge_starts == o.bot_challenge_starts && bot_challenge_complete_tokens_passed == o.bot_challenge_complete_tokens_passed && bot_challenge_complete_tokens_failed == o.bot_challenge_complete_tokens_failed && bot_challenge_complete_tokens_checked == o.bot_challenge_complete_tokens_checked && bot_challenge_complete_tokens_disabled == o.bot_challenge_complete_tokens_disabled && bot_challenge_complete_tokens_issued == o.bot_challenge_complete_tokens_issued && bot_challenges_issued == o.bot_challenges_issued && bot_challenges_succeeded == o.bot_challenges_succeeded && bot_challenges_failed == o.bot_challenges_failed && ddos_action_downgrade == o.ddos_action_downgrade && ddos_action_downgraded_connections == o.ddos_action_downgraded_connections && all_hit_requests == o.all_hit_requests && all_miss_requests == o.all_miss_requests && all_pass_requests == o.all_pass_requests && all_error_requests == o.all_error_requests && all_synth_requests == o.all_synth_requests && all_edge_hit_requests == o.all_edge_hit_requests && all_edge_miss_requests == o.all_edge_miss_requests && all_status_1xx == o.all_status_1xx && all_status_2xx == o.all_status_2xx && all_status_3xx == o.all_status_3xx && all_status_4xx == o.all_status_4xx && all_status_5xx == o.all_status_5xx && origin_offload == o.origin_offload && request_denied_get_head_body == o.request_denied_get_head_body && ddos_protection_requests_detect_count == o.ddos_protection_requests_detect_count && ddos_protection_requests_mitigate_count == o.ddos_protection_requests_mitigate_count && ddos_protection_requests_allow_count == o.ddos_protection_requests_allow_count && object_storage_class_a_operations_count == o.object_storage_class_a_operations_count && object_storage_class_b_operations_count == o.object_storage_class_b_operations_count && aia_requests == o.aia_requests && aia_status_1xx == o.aia_status_1xx && aia_status_2xx == o.aia_status_2xx && aia_status_3xx == o.aia_status_3xx && aia_status_4xx == o.aia_status_4xx && aia_status_5xx == o.aia_status_5xx && aia_response_usage_tokens == o.aia_response_usage_tokens && aia_origin_usage_tokens == o.aia_origin_usage_tokens && aia_estimated_time_saved_ms == o.aia_estimated_time_saved_ms && request_collapse_usable_count == o.request_collapse_usable_count && request_collapse_unusable_count == o.request_collapse_unusable_count && compute_cache_operations_count == o.compute_cache_operations_count && ngwaf_requests_total_count == o.ngwaf_requests_total_count && ngwaf_requests_unknown_count == o.ngwaf_requests_unknown_count && ngwaf_requests_allowed_count == o.ngwaf_requests_allowed_count && ngwaf_requests_logged_count == o.ngwaf_requests_logged_count && ngwaf_requests_blocked_count == o.ngwaf_requests_blocked_count && ngwaf_requests_timeout_count == o.ngwaf_requests_timeout_count && ngwaf_requests_challenged_count == o.ngwaf_requests_challenged_count && service_id == o.service_id && start_time == o.start_time end
Checks equality by comparing each attribute. @param [Object] Object
to be compared
Source
# File lib/fastly/models/results.rb, line 2821 def _deserialize(type, value) case type.to_sym when :Time Time.parse(value) when :Date Date.parse(value) when :String value.to_s when :Integer value.to_i when :Float value.to_f when :Boolean if value.to_s =~ /\A(true|t|yes|y|1)\z/i true else false end when :Object # generic object (usually a Hash), return directly value when /\AArray<(?<inner_type>.+)>\z/ inner_type = Regexp.last_match[:inner_type] value.map { |v| _deserialize(inner_type, v) } when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/ k_type = Regexp.last_match[:k_type] v_type = Regexp.last_match[:v_type] {}.tap do |hash| value.each do |k, v| hash[_deserialize(k_type, k)] = _deserialize(v_type, v) end end else # model # models (e.g. Pet) or oneOf klass = Fastly.const_get(type) klass.respond_to?(:fastly_one_of) ? klass.build(value) : klass.build_from_hash(value) end end
Deserializes the data based on type @param string type Data type @param string value Value to be deserialized @return [Object] Deserialized data
Source
# File lib/fastly/models/results.rb, line 2892 def _to_hash(value) if value.is_a?(Array) value.compact.map { |v| _to_hash(v) } elsif value.is_a?(Hash) {}.tap do |hash| value.each { |k, v| hash[k] = _to_hash(v) } end elsif value.respond_to? :to_hash value.to_hash else value end end
Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value @param [Object] value Any valid value @return [Hash] Returns the value in the form of hash
Source
# File lib/fastly/models/results.rb, line 2798 def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) self.class.fastly_types.each_pair do |key, type| if attributes[self.class.attribute_map[key]].nil? && self.class.fastly_nullable.include?(key) self.send("#{key}=", nil) elsif type =~ /\AArray<(.*)>/i # check to ensure the input is an array given that the attribute # is documented as an array but the input is not if attributes[self.class.attribute_map[key]].is_a?(Array) self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) end elsif !attributes[self.class.attribute_map[key]].nil? self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) end end self end
Builds the object from hash @param [Hash] attributes Model attributes in the form of hash @return [Object] Returns the model itself
Source
# File lib/fastly/models/results.rb, line 2778 def eql?(o) self == o end
@see the ‘==` method @param [Object] Object
to be compared
Source
# File lib/fastly/models/results.rb, line 2784 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, 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_530, 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, 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, ddos_protection_requests_detect_count, ddos_protection_requests_mitigate_count, ddos_protection_requests_allow_count, object_storage_class_a_operations_count, object_storage_class_b_operations_count, aia_requests, aia_status_1xx, aia_status_2xx, aia_status_3xx, aia_status_4xx, aia_status_5xx, aia_response_usage_tokens, aia_origin_usage_tokens, aia_estimated_time_saved_ms, request_collapse_usable_count, request_collapse_unusable_count, compute_cache_operations_count, ngwaf_requests_total_count, ngwaf_requests_unknown_count, ngwaf_requests_allowed_count, ngwaf_requests_logged_count, ngwaf_requests_blocked_count, ngwaf_requests_timeout_count, ngwaf_requests_challenged_count, service_id, start_time].hash end
Calculates hash code according to all attributes. @return [Integer] Hash code
Source
# File lib/fastly/models/results.rb, line 2488 def list_invalid_properties invalid_properties = Array.new invalid_properties end
Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons
Source
Source
# File lib/fastly/models/results.rb, line 2874 def to_hash hash = {} self.class.attribute_map.each_pair do |attr, param| value = self.send(attr) if value.nil? is_nullable = self.class.fastly_nullable.include?(attr) next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) end hash[param] = _to_hash(value) end hash end
Returns the object in the form of hash @return [Hash] Returns the object in the form of hash
Source
# File lib/fastly/models/results.rb, line 2862 def to_s to_hash.to_s end
Returns the string representation of the object @return [String] String presentation of the object
Source
# File lib/fastly/models/results.rb, line 2495 def valid? true end
Check to see if the all the properties in the model are valid @return true if the model is valid