Class: Fastly::Results

Inherits:
Object
  • Object
show all
Defined in:
lib/fastly/models/results.rb

Overview

The [results](#results-data-model) of the query, grouped by service (and optionally, region), and aggregated over the appropriate time span.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ Results

Initializes the object

Parameters:

  • attributes (Hash) (defaults to: {})

    Model attributes in the form of hash



1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
# File 'lib/fastly/models/results.rb', line 1168

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_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?(:'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_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
end

Instance Attribute Details

#attack_blocked_req_body_bytesObject

Total body bytes received from requests that triggered a WAF rule that was blocked.



231
232
233
# File 'lib/fastly/models/results.rb', line 231

def attack_blocked_req_body_bytes
  @attack_blocked_req_body_bytes
end

#attack_blocked_req_header_bytesObject

Total header bytes received from requests that triggered a WAF rule that was blocked.



234
235
236
# File 'lib/fastly/models/results.rb', line 234

def attack_blocked_req_header_bytes
  @attack_blocked_req_header_bytes
end

#attack_logged_req_body_bytesObject

Total body bytes received from requests that triggered a WAF rule that was logged.



225
226
227
# File 'lib/fastly/models/results.rb', line 225

def attack_logged_req_body_bytes
  @attack_logged_req_body_bytes
end

#attack_logged_req_header_bytesObject

Total header bytes received from requests that triggered a WAF rule that was logged.



228
229
230
# File 'lib/fastly/models/results.rb', line 228

def attack_logged_req_header_bytes
  @attack_logged_req_header_bytes
end

#attack_passed_req_body_bytesObject

Total body bytes received from requests that triggered a WAF rule that was passed.



237
238
239
# File 'lib/fastly/models/results.rb', line 237

def attack_passed_req_body_bytes
  @attack_passed_req_body_bytes
end

#attack_passed_req_header_bytesObject

Total header bytes received from requests that triggered a WAF rule that was passed.



240
241
242
# File 'lib/fastly/models/results.rb', line 240

def attack_passed_req_header_bytes
  @attack_passed_req_header_bytes
end

#attack_req_body_bytesObject

Total body bytes received from requests that triggered a WAF rule.



219
220
221
# File 'lib/fastly/models/results.rb', line 219

def attack_req_body_bytes
  @attack_req_body_bytes
end

#attack_req_header_bytesObject

Total header bytes received from requests that triggered a WAF rule.



222
223
224
# File 'lib/fastly/models/results.rb', line 222

def attack_req_header_bytes
  @attack_req_header_bytes
end

#attack_resp_synth_bytesObject

Total bytes delivered for requests that triggered a WAF rule and returned a synthetic response.



243
244
245
# File 'lib/fastly/models/results.rb', line 243

def attack_resp_synth_bytes
  @attack_resp_synth_bytes
end

#bandwidthObject

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`).



48
49
50
# File 'lib/fastly/models/results.rb', line 48

def bandwidth
  @bandwidth
end

#bereq_body_bytesObject

Total body bytes sent to origin.



69
70
71
# File 'lib/fastly/models/results.rb', line 69

def bereq_body_bytes
  @bereq_body_bytes
end

#bereq_header_bytesObject

Total header bytes sent to origin.



72
73
74
# File 'lib/fastly/models/results.rb', line 72

def bereq_header_bytes
  @bereq_header_bytes
end

#body_sizeObject

Total body bytes delivered (alias for resp_body_bytes).



51
52
53
# File 'lib/fastly/models/results.rb', line 51

def body_size
  @body_size
end

#bot_challenge_complete_tokens_checkedObject

The number of challenge-complete tokens checked.



675
676
677
# File 'lib/fastly/models/results.rb', line 675

def bot_challenge_complete_tokens_checked
  @bot_challenge_complete_tokens_checked
end

#bot_challenge_complete_tokens_disabledObject

The number of challenge-complete tokens not checked because the feature was disabled.



678
679
680
# File 'lib/fastly/models/results.rb', line 678

def bot_challenge_complete_tokens_disabled
  @bot_challenge_complete_tokens_disabled
end

#bot_challenge_complete_tokens_failedObject

The number of challenge-complete tokens that failed validation.



672
673
674
# File 'lib/fastly/models/results.rb', line 672

def bot_challenge_complete_tokens_failed
  @bot_challenge_complete_tokens_failed
end

#bot_challenge_complete_tokens_issuedObject

The number of challenge-complete tokens issued. For example, issuing a challenge-complete token after a series of CAPTCHA challenges ending in success.



681
682
683
# File 'lib/fastly/models/results.rb', line 681

def bot_challenge_complete_tokens_issued
  @bot_challenge_complete_tokens_issued
end

#bot_challenge_complete_tokens_passedObject

The number of challenge-complete tokens that passed validation.



669
670
671
# File 'lib/fastly/models/results.rb', line 669

def bot_challenge_complete_tokens_passed
  @bot_challenge_complete_tokens_passed
end

#bot_challenge_startsObject

The number of challenge-start tokens created.



666
667
668
# File 'lib/fastly/models/results.rb', line 666

def bot_challenge_starts
  @bot_challenge_starts
end

#bot_challenges_failedObject

The number of failed challenge solutions processed. For example, an incorrect CAPTCHA solution.



690
691
692
# File 'lib/fastly/models/results.rb', line 690

def bot_challenges_failed
  @bot_challenges_failed
end

#bot_challenges_issuedObject

The number of challenges issued. For example, the issuance of a CAPTCHA challenge.



684
685
686
# File 'lib/fastly/models/results.rb', line 684

def bot_challenges_issued
  @bot_challenges_issued
end

#bot_challenges_succeededObject

The number of successful challenge solutions processed. For example, a correct CAPTCHA solution.



687
688
689
# File 'lib/fastly/models/results.rb', line 687

def bot_challenges_succeeded
  @bot_challenges_succeeded
end

#compute_bereq_body_bytesObject

Total body bytes sent to backends (origins) by the Compute platform.



507
508
509
# File 'lib/fastly/models/results.rb', line 507

def compute_bereq_body_bytes
  @compute_bereq_body_bytes
end

#compute_bereq_errorsObject

Number of backend request errors, including timeouts.



519
520
521
# File 'lib/fastly/models/results.rb', line 519

def compute_bereq_errors
  @compute_bereq_errors
end

#compute_bereq_header_bytesObject

Total header bytes sent to backends (origins) by the Compute platform.



504
505
506
# File 'lib/fastly/models/results.rb', line 504

def compute_bereq_header_bytes
  @compute_bereq_header_bytes
end

#compute_bereqsObject

Number of backend requests started.



516
517
518
# File 'lib/fastly/models/results.rb', line 516

def compute_bereqs
  @compute_bereqs
end

#compute_beresp_body_bytesObject

Total body bytes received from backends (origins) by the Compute platform.



513
514
515
# File 'lib/fastly/models/results.rb', line 513

def compute_beresp_body_bytes
  @compute_beresp_body_bytes
end

#compute_beresp_header_bytesObject

Total header bytes received from backends (origins) by the Compute platform.



510
511
512
# File 'lib/fastly/models/results.rb', line 510

def compute_beresp_header_bytes
  @compute_beresp_header_bytes
end

#compute_execution_time_msObject

The amount of active CPU time used to process your requests (in milliseconds).



474
475
476
# File 'lib/fastly/models/results.rb', line 474

def compute_execution_time_ms
  @compute_execution_time_ms
end

#compute_globals_limit_exceededObject

Number of times a guest exceeded its globals limit.



531
532
533
# File 'lib/fastly/models/results.rb', line 531

def compute_globals_limit_exceeded
  @compute_globals_limit_exceeded
end

#compute_guest_errorsObject

Number of times a service experienced a guest code error.



534
535
536
# File 'lib/fastly/models/results.rb', line 534

def compute_guest_errors
  @compute_guest_errors
end

#compute_heap_limit_exceededObject

Number of times a guest exceeded its heap limit.



525
526
527
# File 'lib/fastly/models/results.rb', line 525

def compute_heap_limit_exceeded
  @compute_heap_limit_exceeded
end

#compute_ram_usedObject

The amount of RAM used for your service by Fastly (in bytes).



471
472
473
# File 'lib/fastly/models/results.rb', line 471

def compute_ram_used
  @compute_ram_used
end

#compute_req_body_bytesObject

Total body bytes received by the Compute platform.



480
481
482
# File 'lib/fastly/models/results.rb', line 480

def compute_req_body_bytes
  @compute_req_body_bytes
end

#compute_req_header_bytesObject

Total header bytes received by the Compute platform.



477
478
479
# File 'lib/fastly/models/results.rb', line 477

def compute_req_header_bytes
  @compute_req_header_bytes
end

#compute_request_time_billed_msObject

The total amount of request processing time you will be billed for, measured in 50 millisecond increments.



468
469
470
# File 'lib/fastly/models/results.rb', line 468

def compute_request_time_billed_ms
  @compute_request_time_billed_ms
end

#compute_request_time_msObject

The total, actual amount of time used to process your requests, including active CPU time (in milliseconds).



465
466
467
# File 'lib/fastly/models/results.rb', line 465

def compute_request_time_ms
  @compute_request_time_ms
end

#compute_requestsObject

The total number of requests that were received for your service by Fastly.



462
463
464
# File 'lib/fastly/models/results.rb', line 462

def compute_requests
  @compute_requests
end

#compute_resource_limit_exceededObject

Number of times a guest exceeded its resource limit, includes heap, stack, globals, and code execution timeout.



522
523
524
# File 'lib/fastly/models/results.rb', line 522

def compute_resource_limit_exceeded
  @compute_resource_limit_exceeded
end

#compute_resp_body_bytesObject

Total body bytes sent from Compute to end user.



486
487
488
# File 'lib/fastly/models/results.rb', line 486

def compute_resp_body_bytes
  @compute_resp_body_bytes
end

#compute_resp_header_bytesObject

Total header bytes sent from Compute to end user.



483
484
485
# File 'lib/fastly/models/results.rb', line 483

def compute_resp_header_bytes
  @compute_resp_header_bytes
end

#compute_resp_status_1xxObject

Number of "Informational" category status codes delivered by the Compute platform.



489
490
491
# File 'lib/fastly/models/results.rb', line 489

def compute_resp_status_1xx
  @compute_resp_status_1xx
end

#compute_resp_status_2xxObject

Number of "Success" category status codes delivered by the Compute platform.



492
493
494
# File 'lib/fastly/models/results.rb', line 492

def compute_resp_status_2xx
  @compute_resp_status_2xx
end

#compute_resp_status_3xxObject

Number of "Redirection" category status codes delivered by the Compute platform.



495
496
497
# File 'lib/fastly/models/results.rb', line 495

def compute_resp_status_3xx
  @compute_resp_status_3xx
end

#compute_resp_status_4xxObject

Number of "Client Error" category status codes delivered by the Compute platform.



498
499
500
# File 'lib/fastly/models/results.rb', line 498

def compute_resp_status_4xx
  @compute_resp_status_4xx
end

#compute_resp_status_5xxObject

Number of "Server Error" category status codes delivered by the Compute platform.



501
502
503
# File 'lib/fastly/models/results.rb', line 501

def compute_resp_status_5xx
  @compute_resp_status_5xx
end

#compute_runtime_errorsObject

Number of times a service experienced a guest runtime error.



537
538
539
# File 'lib/fastly/models/results.rb', line 537

def compute_runtime_errors
  @compute_runtime_errors
end

#compute_stack_limit_exceededObject

Number of times a guest exceeded its stack limit.



528
529
530
# File 'lib/fastly/models/results.rb', line 528

def compute_stack_limit_exceeded
  @compute_stack_limit_exceeded
end

#ddos_action_blackholeObject

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).



663
664
665
# File 'lib/fastly/models/results.rb', line 663

def ddos_action_blackhole
  @ddos_action_blackhole
end

#ddos_action_closeObject

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.



660
661
662
# File 'lib/fastly/models/results.rb', line 660

def ddos_action_close
  @ddos_action_close
end

#ddos_action_limit_streams_connectionsObject

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.



648
649
650
# File 'lib/fastly/models/results.rb', line 648

def ddos_action_limit_streams_connections
  @ddos_action_limit_streams_connections
end

#ddos_action_limit_streams_requestsObject

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.



651
652
653
# File 'lib/fastly/models/results.rb', line 651

def ddos_action_limit_streams_requests
  @ddos_action_limit_streams_requests
end

#ddos_action_tarpitObject

The number of times the tarpit action was taken. The tarpit action delays writing the response to the client.



657
658
659
# File 'lib/fastly/models/results.rb', line 657

def ddos_action_tarpit
  @ddos_action_tarpit
end

#ddos_action_tarpit_acceptObject

The number of times the tarpit-accept action was taken. The tarpit-accept action adds a delay when accepting future connections.



654
655
656
# File 'lib/fastly/models/results.rb', line 654

def ddos_action_tarpit_accept
  @ddos_action_tarpit_accept
end

#deliver_sub_countObject

Number of executions of the ‘vcl_deliver` Varnish subroutine.



417
418
419
# File 'lib/fastly/models/results.rb', line 417

def deliver_sub_count
  @deliver_sub_count
end

#deliver_sub_timeObject

Time spent inside the ‘vcl_deliver` Varnish subroutine (in seconds).



414
415
416
# File 'lib/fastly/models/results.rb', line 414

def deliver_sub_time
  @deliver_sub_time
end

#edge_hit_requestsObject

Number of requests sent by end users to Fastly that resulted in a hit at the edge.



108
109
110
# File 'lib/fastly/models/results.rb', line 108

def edge_hit_requests
  @edge_hit_requests
end

#edge_hit_resp_body_bytesObject

Body bytes delivered for edge hits.



540
541
542
# File 'lib/fastly/models/results.rb', line 540

def edge_hit_resp_body_bytes
  @edge_hit_resp_body_bytes
end

#edge_hit_resp_header_bytesObject

Header bytes delivered for edge hits.



543
544
545
# File 'lib/fastly/models/results.rb', line 543

def edge_hit_resp_header_bytes
  @edge_hit_resp_header_bytes
end

#edge_miss_requestsObject

Number of requests sent by end users to Fastly that resulted in a miss at the edge.



111
112
113
# File 'lib/fastly/models/results.rb', line 111

def edge_miss_requests
  @edge_miss_requests
end

#edge_miss_resp_body_bytesObject

Body bytes delivered for edge misses.



546
547
548
# File 'lib/fastly/models/results.rb', line 546

def edge_miss_resp_body_bytes
  @edge_miss_resp_body_bytes
end

#edge_miss_resp_header_bytesObject

Header bytes delivered for edge misses.



549
550
551
# File 'lib/fastly/models/results.rb', line 549

def edge_miss_resp_header_bytes
  @edge_miss_resp_header_bytes
end

#edge_requestsObject

Number of requests sent by end users to Fastly.



99
100
101
# File 'lib/fastly/models/results.rb', line 99

def edge_requests
  @edge_requests
end

#edge_resp_body_bytesObject

Total body bytes delivered from Fastly to the end user.



105
106
107
# File 'lib/fastly/models/results.rb', line 105

def edge_resp_body_bytes
  @edge_resp_body_bytes
end

#edge_resp_header_bytesObject

Total header bytes delivered from Fastly to the end user.



102
103
104
# File 'lib/fastly/models/results.rb', line 102

def edge_resp_header_bytes
  @edge_resp_header_bytes
end

#error_sub_countObject

Number of executions of the ‘vcl_error` Varnish subroutine.



423
424
425
# File 'lib/fastly/models/results.rb', line 423

def error_sub_count
  @error_sub_count
end

#error_sub_timeObject

Time spent inside the ‘vcl_error` Varnish subroutine (in seconds).



420
421
422
# File 'lib/fastly/models/results.rb', line 420

def error_sub_time
  @error_sub_time
end

#errorsObject

Number of cache errors.



39
40
41
# File 'lib/fastly/models/results.rb', line 39

def errors
  @errors
end

#fanout_bereq_body_bytesObject

Total body or message content bytes sent to backends over Fanout connections.



636
637
638
# File 'lib/fastly/models/results.rb', line 636

def fanout_bereq_body_bytes
  @fanout_bereq_body_bytes
end

#fanout_bereq_header_bytesObject

Total header bytes sent to backends over Fanout connections.



633
634
635
# File 'lib/fastly/models/results.rb', line 633

def fanout_bereq_header_bytes
  @fanout_bereq_header_bytes
end

#fanout_beresp_body_bytesObject

Total body or message content bytes received from backends over Fanout connections.



642
643
644
# File 'lib/fastly/models/results.rb', line 642

def fanout_beresp_body_bytes
  @fanout_beresp_body_bytes
end

#fanout_beresp_header_bytesObject

Total header bytes received from backends over Fanout connections.



639
640
641
# File 'lib/fastly/models/results.rb', line 639

def fanout_beresp_header_bytes
  @fanout_beresp_header_bytes
end

#fanout_conn_time_msObject

Total duration of Fanout connections with end users.



645
646
647
# File 'lib/fastly/models/results.rb', line 645

def fanout_conn_time_ms
  @fanout_conn_time_ms
end

#fanout_recv_publishesObject

Total published messages received from the publish API endpoint.



603
604
605
# File 'lib/fastly/models/results.rb', line 603

def fanout_recv_publishes
  @fanout_recv_publishes
end

#fanout_req_body_bytesObject

Total body or message content bytes received from end users over Fanout connections.



624
625
626
# File 'lib/fastly/models/results.rb', line 624

def fanout_req_body_bytes
  @fanout_req_body_bytes
end

#fanout_req_header_bytesObject

Total header bytes received from end users over Fanout connections.



621
622
623
# File 'lib/fastly/models/results.rb', line 621

def fanout_req_header_bytes
  @fanout_req_header_bytes
end

#fanout_resp_body_bytesObject

Total body or message content bytes sent to end users over Fanout connections, excluding published message content.



630
631
632
# File 'lib/fastly/models/results.rb', line 630

def fanout_resp_body_bytes
  @fanout_resp_body_bytes
end

#fanout_resp_header_bytesObject

Total header bytes sent to end users over Fanout connections.



627
628
629
# File 'lib/fastly/models/results.rb', line 627

def fanout_resp_header_bytes
  @fanout_resp_header_bytes
end

#fanout_send_publishesObject

Total published messages sent to end users.



606
607
608
# File 'lib/fastly/models/results.rb', line 606

def fanout_send_publishes
  @fanout_send_publishes
end

#fetch_sub_countObject

Number of executions of the ‘vcl_fetch` Varnish subroutine.



399
400
401
# File 'lib/fastly/models/results.rb', line 399

def fetch_sub_count
  @fetch_sub_count
end

#fetch_sub_timeObject

Time spent inside the ‘vcl_fetch` Varnish subroutine (in seconds).



396
397
398
# File 'lib/fastly/models/results.rb', line 396

def fetch_sub_time
  @fetch_sub_time
end

#hash_sub_countObject

Number of executions of the ‘vcl_hash` Varnish subroutine.



387
388
389
# File 'lib/fastly/models/results.rb', line 387

def hash_sub_count
  @hash_sub_count
end

#hash_sub_timeObject

Time spent inside the ‘vcl_hash` Varnish subroutine (in seconds).



384
385
386
# File 'lib/fastly/models/results.rb', line 384

def hash_sub_time
  @hash_sub_time
end

#header_sizeObject

Total header bytes delivered (alias for resp_header_bytes).



54
55
56
# File 'lib/fastly/models/results.rb', line 54

def header_size
  @header_size
end

#hit_ratioObject

Ratio of cache hits to cache misses (between 0 and 1).



45
46
47
# File 'lib/fastly/models/results.rb', line 45

def hit_ratio
  @hit_ratio
end

#hit_resp_body_bytesObject

Total body bytes delivered for cache hits.



447
448
449
# File 'lib/fastly/models/results.rb', line 447

def hit_resp_body_bytes
  @hit_resp_body_bytes
end

#hit_sub_countObject

Number of executions of the ‘vcl_hit` Varnish subroutine.



429
430
431
# File 'lib/fastly/models/results.rb', line 429

def hit_sub_count
  @hit_sub_count
end

#hit_sub_timeObject

Time spent inside the ‘vcl_hit` Varnish subroutine (in seconds).



426
427
428
# File 'lib/fastly/models/results.rb', line 426

def hit_sub_time
  @hit_sub_time
end

#hitsObject

Number of cache hits.



21
22
23
# File 'lib/fastly/models/results.rb', line 21

def hits
  @hits
end

#hits_timeObject

Total amount of time spent processing cache hits (in seconds).



24
25
26
# File 'lib/fastly/models/results.rb', line 24

def hits_time
  @hits_time
end

#http2Object

Number of requests received over HTTP/2.



204
205
206
# File 'lib/fastly/models/results.rb', line 204

def http2
  @http2
end

#http3Object

Number of requests received over HTTP/3.



207
208
209
# File 'lib/fastly/models/results.rb', line 207

def http3
  @http3
end

#imgoptoObject

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.



246
247
248
# File 'lib/fastly/models/results.rb', line 246

def imgopto
  @imgopto
end

#imgopto_resp_body_bytesObject

Total body bytes delivered from the Fastly Image Optimizer service, including shield traffic.



249
250
251
# File 'lib/fastly/models/results.rb', line 249

def imgopto_resp_body_bytes
  @imgopto_resp_body_bytes
end

#imgopto_resp_header_bytesObject

Total header bytes delivered from the Fastly Image Optimizer service, including shield traffic.



252
253
254
# File 'lib/fastly/models/results.rb', line 252

def imgopto_resp_header_bytes
  @imgopto_resp_header_bytes
end

#imgopto_shield_resp_body_bytesObject

Total body bytes delivered via a shield from the Fastly Image Optimizer service.



255
256
257
# File 'lib/fastly/models/results.rb', line 255

def imgopto_shield_resp_body_bytes
  @imgopto_shield_resp_body_bytes
end

#imgopto_shield_resp_header_bytesObject

Total header bytes delivered via a shield from the Fastly Image Optimizer service.



258
259
260
# File 'lib/fastly/models/results.rb', line 258

def imgopto_shield_resp_header_bytes
  @imgopto_shield_resp_header_bytes
end

#imgvideoObject

Number of video responses that came from the Fastly Image Optimizer service.



261
262
263
# File 'lib/fastly/models/results.rb', line 261

def imgvideo
  @imgvideo
end

#imgvideo_framesObject

Number of video frames that came from the Fastly Image Optimizer service. A video frame is an individual image within a sequence of video.



264
265
266
# File 'lib/fastly/models/results.rb', line 264

def imgvideo_frames
  @imgvideo_frames
end

#imgvideo_resp_body_bytesObject

Total body bytes of video delivered from the Fastly Image Optimizer service.



270
271
272
# File 'lib/fastly/models/results.rb', line 270

def imgvideo_resp_body_bytes
  @imgvideo_resp_body_bytes
end

#imgvideo_resp_header_bytesObject

Total header bytes of video delivered from the Fastly Image Optimizer service.



267
268
269
# File 'lib/fastly/models/results.rb', line 267

def imgvideo_resp_header_bytes
  @imgvideo_resp_header_bytes
end

#imgvideo_shieldObject

Number of video responses delivered via a shield that came from the Fastly Image Optimizer service.



279
280
281
# File 'lib/fastly/models/results.rb', line 279

def imgvideo_shield
  @imgvideo_shield
end

#imgvideo_shield_framesObject

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.



282
283
284
# File 'lib/fastly/models/results.rb', line 282

def imgvideo_shield_frames
  @imgvideo_shield_frames
end

#imgvideo_shield_resp_body_bytesObject

Total body bytes of video delivered via a shield from the Fastly Image Optimizer service.



276
277
278
# File 'lib/fastly/models/results.rb', line 276

def imgvideo_shield_resp_body_bytes
  @imgvideo_shield_resp_body_bytes
end

#imgvideo_shield_resp_header_bytesObject

Total header bytes of video delivered via a shield from the Fastly Image Optimizer service.



273
274
275
# File 'lib/fastly/models/results.rb', line 273

def imgvideo_shield_resp_header_bytes
  @imgvideo_shield_resp_header_bytes
end

#ipv6Object

Number of requests that were received over IPv6.



165
166
167
# File 'lib/fastly/models/results.rb', line 165

def ipv6
  @ipv6
end

#kv_store_class_a_operationsObject

The total number of class a operations for the KV store.



609
610
611
# File 'lib/fastly/models/results.rb', line 609

def kv_store_class_a_operations
  @kv_store_class_a_operations
end

#kv_store_class_b_operationsObject

The total number of class b operations for the KV store.



612
613
614
# File 'lib/fastly/models/results.rb', line 612

def kv_store_class_b_operations
  @kv_store_class_b_operations
end

#logObject

Number of log lines sent.



198
199
200
# File 'lib/fastly/models/results.rb', line 198

def log
  @log
end

#log_bytesObject

Total log bytes sent.



201
202
203
# File 'lib/fastly/models/results.rb', line 201

def log_bytes
  @log_bytes
end

#missObject

Number of cache misses.



27
28
29
# File 'lib/fastly/models/results.rb', line 27

def miss
  @miss
end

#miss_resp_body_bytesObject

Total body bytes delivered for cache misses.



450
451
452
# File 'lib/fastly/models/results.rb', line 450

def miss_resp_body_bytes
  @miss_resp_body_bytes
end

#miss_sub_countObject

Number of executions of the ‘vcl_miss` Varnish subroutine.



393
394
395
# File 'lib/fastly/models/results.rb', line 393

def miss_sub_count
  @miss_sub_count
end

#miss_sub_timeObject

Time spent inside the ‘vcl_miss` Varnish subroutine (in seconds).



390
391
392
# File 'lib/fastly/models/results.rb', line 390

def miss_sub_time
  @miss_sub_time
end

#miss_timeObject

Total amount of time spent processing cache misses (in seconds).



30
31
32
# File 'lib/fastly/models/results.rb', line 30

def miss_time
  @miss_time
end

#object_size_100kObject

Number of objects served that were between 10KB and 100KB in size.



363
364
365
# File 'lib/fastly/models/results.rb', line 363

def object_size_100k
  @object_size_100k
end

#object_size_100mObject

Number of objects served that were between 10MB and 100MB in size.



372
373
374
# File 'lib/fastly/models/results.rb', line 372

def object_size_100m
  @object_size_100m
end

#object_size_10kObject

Number of objects served that were between 1KB and 10KB in size.



360
361
362
# File 'lib/fastly/models/results.rb', line 360

def object_size_10k
  @object_size_10k
end

#object_size_10mObject

Number of objects served that were between 1MB and 10MB in size.



369
370
371
# File 'lib/fastly/models/results.rb', line 369

def object_size_10m
  @object_size_10m
end

#object_size_1gObject

Number of objects served that were between 100MB and 1GB in size.



375
376
377
# File 'lib/fastly/models/results.rb', line 375

def object_size_1g
  @object_size_1g
end

#object_size_1kObject

Number of objects served that were under 1KB in size.



357
358
359
# File 'lib/fastly/models/results.rb', line 357

def object_size_1k
  @object_size_1k
end

#object_size_1mObject

Number of objects served that were between 100KB and 1MB in size.



366
367
368
# File 'lib/fastly/models/results.rb', line 366

def object_size_1m
  @object_size_1m
end

#object_store_class_a_operationsObject

Use kv_store_class_a_operations.



615
616
617
# File 'lib/fastly/models/results.rb', line 615

def object_store_class_a_operations
  @object_store_class_a_operations
end

#object_store_class_b_operationsObject

Use kv_store_class_b_operations.



618
619
620
# File 'lib/fastly/models/results.rb', line 618

def object_store_class_b_operations
  @object_store_class_b_operations
end

#origin_cache_fetch_resp_body_bytesObject

Body bytes received from origin for cacheable content.



552
553
554
# File 'lib/fastly/models/results.rb', line 552

def origin_cache_fetch_resp_body_bytes
  @origin_cache_fetch_resp_body_bytes
end

#origin_cache_fetch_resp_header_bytesObject

Header bytes received from an origin for cacheable content.



555
556
557
# File 'lib/fastly/models/results.rb', line 555

def origin_cache_fetch_resp_header_bytes
  @origin_cache_fetch_resp_header_bytes
end

#origin_cache_fetchesObject

The total number of completed requests made to backends (origins) that returned cacheable content.



132
133
134
# File 'lib/fastly/models/results.rb', line 132

def origin_cache_fetches
  @origin_cache_fetches
end

#origin_fetch_body_bytesObject

Total request body bytes sent to origin.



120
121
122
# File 'lib/fastly/models/results.rb', line 120

def origin_fetch_body_bytes
  @origin_fetch_body_bytes
end

#origin_fetch_header_bytesObject

Total request header bytes sent to origin.



117
118
119
# File 'lib/fastly/models/results.rb', line 117

def origin_fetch_header_bytes
  @origin_fetch_header_bytes
end

#origin_fetch_resp_body_bytesObject

Total body bytes received from origin.



126
127
128
# File 'lib/fastly/models/results.rb', line 126

def origin_fetch_resp_body_bytes
  @origin_fetch_resp_body_bytes
end

#origin_fetch_resp_header_bytesObject

Total header bytes received from origin.



123
124
125
# File 'lib/fastly/models/results.rb', line 123

def origin_fetch_resp_header_bytes
  @origin_fetch_resp_header_bytes
end

#origin_fetchesObject

Number of requests sent to origin.



114
115
116
# File 'lib/fastly/models/results.rb', line 114

def origin_fetches
  @origin_fetches
end

#origin_revalidationsObject

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.



129
130
131
# File 'lib/fastly/models/results.rb', line 129

def origin_revalidations
  @origin_revalidations
end

#otfpObject

Number of responses that came from the Fastly On-the-Fly Packaging service for video-on-demand.



168
169
170
# File 'lib/fastly/models/results.rb', line 168

def otfp
  @otfp
end

#otfp_deliver_timeObject

Total amount of time spent delivering a response from the Fastly On-the-Fly Packaging service for video-on-demand (in seconds).



186
187
188
# File 'lib/fastly/models/results.rb', line 186

def otfp_deliver_time
  @otfp_deliver_time
end

#otfp_manifestsObject

Number of responses that were manifest files from the Fastly On-the-Fly Packaging service for video-on-demand.



183
184
185
# File 'lib/fastly/models/results.rb', line 183

def otfp_manifests
  @otfp_manifests
end

#otfp_resp_body_bytesObject

Total body bytes delivered from the Fastly On-the-Fly Packaging service for video-on-demand.



171
172
173
# File 'lib/fastly/models/results.rb', line 171

def otfp_resp_body_bytes
  @otfp_resp_body_bytes
end

#otfp_resp_header_bytesObject

Total header bytes delivered from the Fastly On-the-Fly Packaging service for video-on-demand.



174
175
176
# File 'lib/fastly/models/results.rb', line 174

def otfp_resp_header_bytes
  @otfp_resp_header_bytes
end

#otfp_shield_resp_body_bytesObject

Total body bytes delivered via a shield for the Fastly On-the-Fly Packaging service for video-on-demand.



177
178
179
# File 'lib/fastly/models/results.rb', line 177

def otfp_shield_resp_body_bytes
  @otfp_shield_resp_body_bytes
end

#otfp_shield_resp_header_bytesObject

Total header bytes delivered via a shield for the Fastly On-the-Fly Packaging service for video-on-demand.



180
181
182
# File 'lib/fastly/models/results.rb', line 180

def otfp_shield_resp_header_bytes
  @otfp_shield_resp_header_bytes
end

#otfp_shield_timeObject

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).



189
190
191
# File 'lib/fastly/models/results.rb', line 189

def otfp_shield_time
  @otfp_shield_time
end

#passObject

Number of requests that passed through the CDN without being cached.



33
34
35
# File 'lib/fastly/models/results.rb', line 33

def pass
  @pass
end

#pass_resp_body_bytesObject

Total body bytes delivered for cache passes.



453
454
455
# File 'lib/fastly/models/results.rb', line 453

def pass_resp_body_bytes
  @pass_resp_body_bytes
end

#pass_sub_countObject

Number of executions of the ‘vcl_pass` Varnish subroutine.



405
406
407
# File 'lib/fastly/models/results.rb', line 405

def pass_sub_count
  @pass_sub_count
end

#pass_sub_timeObject

Time spent inside the ‘vcl_pass` Varnish subroutine (in seconds).



402
403
404
# File 'lib/fastly/models/results.rb', line 402

def pass_sub_time
  @pass_sub_time
end

#pass_timeObject

Total amount of time spent processing cache passes (in seconds).



36
37
38
# File 'lib/fastly/models/results.rb', line 36

def pass_time
  @pass_time
end

#pciObject

Number of responses with the PCI flag turned on.



195
196
197
# File 'lib/fastly/models/results.rb', line 195

def pci
  @pci
end

#pipeObject

Optional. Pipe operations performed (legacy feature).



78
79
80
# File 'lib/fastly/models/results.rb', line 78

def pipe
  @pipe
end

#pipe_sub_countObject

Number of executions of the ‘vcl_pipe` Varnish subroutine.



411
412
413
# File 'lib/fastly/models/results.rb', line 411

def pipe_sub_count
  @pipe_sub_count
end

#pipe_sub_timeObject

Time spent inside the ‘vcl_pipe` Varnish subroutine (in seconds).



408
409
410
# File 'lib/fastly/models/results.rb', line 408

def pipe_sub_time
  @pipe_sub_time
end

#predeliver_sub_countObject

Number of executions of the ‘vcl_predeliver` Varnish subroutine.



441
442
443
# File 'lib/fastly/models/results.rb', line 441

def predeliver_sub_count
  @predeliver_sub_count
end

#predeliver_sub_timeObject

Time spent inside the ‘vcl_predeliver` Varnish subroutine (in seconds).



438
439
440
# File 'lib/fastly/models/results.rb', line 438

def predeliver_sub_time
  @predeliver_sub_time
end

#prehash_sub_countObject

Number of executions of the ‘vcl_prehash` Varnish subroutine.



435
436
437
# File 'lib/fastly/models/results.rb', line 435

def prehash_sub_count
  @prehash_sub_count
end

#prehash_sub_timeObject

Time spent inside the ‘vcl_prehash` Varnish subroutine (in seconds).



432
433
434
# File 'lib/fastly/models/results.rb', line 432

def prehash_sub_time
  @prehash_sub_time
end

#recv_sub_countObject

Number of executions of the ‘vcl_recv` Varnish subroutine.



381
382
383
# File 'lib/fastly/models/results.rb', line 381

def recv_sub_count
  @recv_sub_count
end

#recv_sub_timeObject

Time spent inside the ‘vcl_recv` Varnish subroutine (in seconds).



378
379
380
# File 'lib/fastly/models/results.rb', line 378

def recv_sub_time
  @recv_sub_time
end

#req_body_bytesObject

Total body bytes received.



57
58
59
# File 'lib/fastly/models/results.rb', line 57

def req_body_bytes
  @req_body_bytes
end

#req_header_bytesObject

Total header bytes received.



60
61
62
# File 'lib/fastly/models/results.rb', line 60

def req_header_bytes
  @req_header_bytes
end

#requestsObject

Number of requests processed.



18
19
20
# File 'lib/fastly/models/results.rb', line 18

def requests
  @requests
end

#resp_body_bytesObject

Total body bytes delivered (edge_resp_body_bytes + shield_resp_body_bytes).



63
64
65
# File 'lib/fastly/models/results.rb', line 63

def resp_body_bytes
  @resp_body_bytes
end

#resp_header_bytesObject

Total header bytes delivered (edge_resp_header_bytes + shield_resp_header_bytes).



66
67
68
# File 'lib/fastly/models/results.rb', line 66

def resp_header_bytes
  @resp_header_bytes
end

#restartsObject

Number of restarts performed.



42
43
44
# File 'lib/fastly/models/results.rb', line 42

def restarts
  @restarts
end

#segblock_origin_fetchesObject

Number of ‘Range` requests to origin for segments of resources when using segmented caching.



456
457
458
# File 'lib/fastly/models/results.rb', line 456

def segblock_origin_fetches
  @segblock_origin_fetches
end

#segblock_shield_fetchesObject

Number of ‘Range` requests to a shield for segments of resources when using segmented caching.



459
460
461
# File 'lib/fastly/models/results.rb', line 459

def segblock_shield_fetches
  @segblock_shield_fetches
end

#shieldObject

Number of requests from edge to the shield POP.



135
136
137
# File 'lib/fastly/models/results.rb', line 135

def shield
  @shield
end

#shield_cache_fetchesObject

The total number of completed requests made to shields that returned cacheable content.



162
163
164
# File 'lib/fastly/models/results.rb', line 162

def shield_cache_fetches
  @shield_cache_fetches
end

#shield_fetch_body_bytesObject

Total request body bytes sent to a shield.



150
151
152
# File 'lib/fastly/models/results.rb', line 150

def shield_fetch_body_bytes
  @shield_fetch_body_bytes
end

#shield_fetch_header_bytesObject

Total request header bytes sent to a shield.



147
148
149
# File 'lib/fastly/models/results.rb', line 147

def shield_fetch_header_bytes
  @shield_fetch_header_bytes
end

#shield_fetch_resp_body_bytesObject

Total response body bytes sent from a shield to the edge.



156
157
158
# File 'lib/fastly/models/results.rb', line 156

def shield_fetch_resp_body_bytes
  @shield_fetch_resp_body_bytes
end

#shield_fetch_resp_header_bytesObject

Total response header bytes sent from a shield to the edge.



153
154
155
# File 'lib/fastly/models/results.rb', line 153

def shield_fetch_resp_header_bytes
  @shield_fetch_resp_header_bytes
end

#shield_fetchesObject

Number of requests made from one Fastly POP to another, as part of shielding.



144
145
146
# File 'lib/fastly/models/results.rb', line 144

def shield_fetches
  @shield_fetches
end

#shield_hit_requestsObject

Number of requests that resulted in a hit at a shield.



558
559
560
# File 'lib/fastly/models/results.rb', line 558

def shield_hit_requests
  @shield_hit_requests
end

#shield_hit_resp_body_bytesObject

Body bytes delivered for shield hits.



567
568
569
# File 'lib/fastly/models/results.rb', line 567

def shield_hit_resp_body_bytes
  @shield_hit_resp_body_bytes
end

#shield_hit_resp_header_bytesObject

Header bytes delivered for shield hits.



564
565
566
# File 'lib/fastly/models/results.rb', line 564

def shield_hit_resp_header_bytes
  @shield_hit_resp_header_bytes
end

#shield_miss_requestsObject

Number of requests that resulted in a miss at a shield.



561
562
563
# File 'lib/fastly/models/results.rb', line 561

def shield_miss_requests
  @shield_miss_requests
end

#shield_miss_resp_body_bytesObject

Body bytes delivered for shield misses.



573
574
575
# File 'lib/fastly/models/results.rb', line 573

def shield_miss_resp_body_bytes
  @shield_miss_resp_body_bytes
end

#shield_miss_resp_header_bytesObject

Header bytes delivered for shield misses.



570
571
572
# File 'lib/fastly/models/results.rb', line 570

def shield_miss_resp_header_bytes
  @shield_miss_resp_header_bytes
end

#shield_resp_body_bytesObject

Total body bytes delivered via a shield.



138
139
140
# File 'lib/fastly/models/results.rb', line 138

def shield_resp_body_bytes
  @shield_resp_body_bytes
end

#shield_resp_header_bytesObject

Total header bytes delivered via a shield.



141
142
143
# File 'lib/fastly/models/results.rb', line 141

def shield_resp_header_bytes
  @shield_resp_header_bytes
end

#shield_revalidationsObject

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.



159
160
161
# File 'lib/fastly/models/results.rb', line 159

def shield_revalidations
  @shield_revalidations
end

#status_1xxObject

Number of "Informational" category status codes delivered.



342
343
344
# File 'lib/fastly/models/results.rb', line 342

def status_1xx
  @status_1xx
end

#status_200Object

Number of responses sent with status code 200 (Success).



285
286
287
# File 'lib/fastly/models/results.rb', line 285

def status_200
  @status_200
end

#status_204Object

Number of responses sent with status code 204 (No Content).



288
289
290
# File 'lib/fastly/models/results.rb', line 288

def status_204
  @status_204
end

#status_206Object

Number of responses sent with status code 206 (Partial Content).



291
292
293
# File 'lib/fastly/models/results.rb', line 291

def status_206
  @status_206
end

#status_2xxObject

Number of "Success" status codes delivered.



345
346
347
# File 'lib/fastly/models/results.rb', line 345

def status_2xx
  @status_2xx
end

#status_301Object

Number of responses sent with status code 301 (Moved Permanently).



294
295
296
# File 'lib/fastly/models/results.rb', line 294

def status_301
  @status_301
end

#status_302Object

Number of responses sent with status code 302 (Found).



297
298
299
# File 'lib/fastly/models/results.rb', line 297

def status_302
  @status_302
end

#status_304Object

Number of responses sent with status code 304 (Not Modified).



300
301
302
# File 'lib/fastly/models/results.rb', line 300

def status_304
  @status_304
end

#status_3xxObject

Number of "Redirection" codes delivered.



348
349
350
# File 'lib/fastly/models/results.rb', line 348

def status_3xx
  @status_3xx
end

#status_400Object

Number of responses sent with status code 400 (Bad Request).



303
304
305
# File 'lib/fastly/models/results.rb', line 303

def status_400
  @status_400
end

#status_401Object

Number of responses sent with status code 401 (Unauthorized).



306
307
308
# File 'lib/fastly/models/results.rb', line 306

def status_401
  @status_401
end

#status_403Object

Number of responses sent with status code 403 (Forbidden).



309
310
311
# File 'lib/fastly/models/results.rb', line 309

def status_403
  @status_403
end

#status_404Object

Number of responses sent with status code 404 (Not Found).



312
313
314
# File 'lib/fastly/models/results.rb', line 312

def status_404
  @status_404
end

#status_406Object

Number of responses sent with status code 406 (Not Acceptable).



315
316
317
# File 'lib/fastly/models/results.rb', line 315

def status_406
  @status_406
end

#status_416Object

Number of responses sent with status code 416 (Range Not Satisfiable).



318
319
320
# File 'lib/fastly/models/results.rb', line 318

def status_416
  @status_416
end

#status_429Object

Number of responses sent with status code 429 (Too Many Requests).



321
322
323
# File 'lib/fastly/models/results.rb', line 321

def status_429
  @status_429
end

#status_4xxObject

Number of "Client Error" codes delivered.



351
352
353
# File 'lib/fastly/models/results.rb', line 351

def status_4xx
  @status_4xx
end

#status_500Object

Number of responses sent with status code 500 (Internal Server Error).



324
325
326
# File 'lib/fastly/models/results.rb', line 324

def status_500
  @status_500
end

#status_501Object

Number of responses sent with status code 501 (Not Implemented).



327
328
329
# File 'lib/fastly/models/results.rb', line 327

def status_501
  @status_501
end

#status_502Object

Number of responses sent with status code 502 (Bad Gateway).



330
331
332
# File 'lib/fastly/models/results.rb', line 330

def status_502
  @status_502
end

#status_503Object

Number of responses sent with status code 503 (Service Unavailable).



333
334
335
# File 'lib/fastly/models/results.rb', line 333

def status_503
  @status_503
end

#status_504Object

Number of responses sent with status code 504 (Gateway Timeout).



336
337
338
# File 'lib/fastly/models/results.rb', line 336

def status_504
  @status_504
end

#status_505Object

Number of responses sent with status code 505 (HTTP Version Not Supported).



339
340
341
# File 'lib/fastly/models/results.rb', line 339

def status_505
  @status_505
end

#status_5xxObject

Number of "Server Error" codes delivered.



354
355
356
# File 'lib/fastly/models/results.rb', line 354

def status_5xx
  @status_5xx
end

#synthObject

Number of requests that returned a synthetic response (i.e., response objects created with the ‘synthetic` VCL statement).



81
82
83
# File 'lib/fastly/models/results.rb', line 81

def synth
  @synth
end

#tlsObject

Number of requests that were received over TLS.



84
85
86
# File 'lib/fastly/models/results.rb', line 84

def tls
  @tls
end

#tls_handshake_sent_bytesObject

Number of bytes transferred during TLS handshake.



444
445
446
# File 'lib/fastly/models/results.rb', line 444

def tls_handshake_sent_bytes
  @tls_handshake_sent_bytes
end

#tls_v10Object

Number of requests received over TLS 1.0.



87
88
89
# File 'lib/fastly/models/results.rb', line 87

def tls_v10
  @tls_v10
end

#tls_v11Object

Number of requests received over TLS 1.1.



90
91
92
# File 'lib/fastly/models/results.rb', line 90

def tls_v11
  @tls_v11
end

#tls_v12Object

Number of requests received over TLS 1.2.



93
94
95
# File 'lib/fastly/models/results.rb', line 93

def tls_v12
  @tls_v12
end

#tls_v13Object

Number of requests received over TLS 1.3.



96
97
98
# File 'lib/fastly/models/results.rb', line 96

def tls_v13
  @tls_v13
end

#uncacheableObject

Number of requests that were designated uncachable.



75
76
77
# File 'lib/fastly/models/results.rb', line 75

def uncacheable
  @uncacheable
end

#videoObject

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).



192
193
194
# File 'lib/fastly/models/results.rb', line 192

def video
  @video
end

#waf_blockedObject

Number of requests that triggered a WAF rule and were blocked.



213
214
215
# File 'lib/fastly/models/results.rb', line 213

def waf_blocked
  @waf_blocked
end

#waf_loggedObject

Number of requests that triggered a WAF rule and were logged.



210
211
212
# File 'lib/fastly/models/results.rb', line 210

def waf_logged
  @waf_logged
end

#waf_passedObject

Number of requests that triggered a WAF rule and were passed.



216
217
218
# File 'lib/fastly/models/results.rb', line 216

def waf_passed
  @waf_passed
end

#websocket_bereq_body_bytesObject

Total message content bytes sent to backends over passthrough WebSocket connections.



591
592
593
# File 'lib/fastly/models/results.rb', line 591

def websocket_bereq_body_bytes
  @websocket_bereq_body_bytes
end

#websocket_bereq_header_bytesObject

Total header bytes sent to backends over passthrough WebSocket connections.



588
589
590
# File 'lib/fastly/models/results.rb', line 588

def websocket_bereq_header_bytes
  @websocket_bereq_header_bytes
end

#websocket_beresp_body_bytesObject

Total message content bytes received from backends over passthrough WebSocket connections.



597
598
599
# File 'lib/fastly/models/results.rb', line 597

def websocket_beresp_body_bytes
  @websocket_beresp_body_bytes
end

#websocket_beresp_header_bytesObject

Total header bytes received from backends over passthrough WebSocket connections.



594
595
596
# File 'lib/fastly/models/results.rb', line 594

def websocket_beresp_header_bytes
  @websocket_beresp_header_bytes
end

#websocket_conn_time_msObject

Total duration of passthrough WebSocket connections with end users.



600
601
602
# File 'lib/fastly/models/results.rb', line 600

def websocket_conn_time_ms
  @websocket_conn_time_ms
end

#websocket_req_body_bytesObject

Total message content bytes received from end users over passthrough WebSocket connections.



579
580
581
# File 'lib/fastly/models/results.rb', line 579

def websocket_req_body_bytes
  @websocket_req_body_bytes
end

#websocket_req_header_bytesObject

Total header bytes received from end users over passthrough WebSocket connections.



576
577
578
# File 'lib/fastly/models/results.rb', line 576

def websocket_req_header_bytes
  @websocket_req_header_bytes
end

#websocket_resp_body_bytesObject

Total message content bytes sent to end users over passthrough WebSocket connections.



585
586
587
# File 'lib/fastly/models/results.rb', line 585

def websocket_resp_body_bytes
  @websocket_resp_body_bytes
end

#websocket_resp_header_bytesObject

Total header bytes sent to end users over passthrough WebSocket connections.



582
583
584
# File 'lib/fastly/models/results.rb', line 582

def websocket_resp_header_bytes
  @websocket_resp_header_bytes
end

Class Method Details

.acceptable_attributesObject

Returns all the JSON keys this model knows about



924
925
926
# File 'lib/fastly/models/results.rb', line 924

def self.acceptable_attributes
  attribute_map.values
end

.attribute_mapObject

Attribute mapping from ruby-style variable name to JSON key.



693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
# File 'lib/fastly/models/results.rb', line 693

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_resp_body_bytes' => :'imgopto_shield_resp_body_bytes',
    :'imgopto_shield_resp_header_bytes' => :'imgopto_shield_resp_header_bytes',
    :'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_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'
  }
end

.build_from_hash(attributes) ⇒ Object

Builds the object from hash

Parameters:

  • attributes (Hash)

    Model attributes in the form of hash

Returns:

  • (Object)

    Returns the model itself



2342
2343
2344
# File 'lib/fastly/models/results.rb', line 2342

def self.build_from_hash(attributes)
  new.build_from_hash(attributes)
end

.fastly_nullableObject

List of attributes with nullable: true



1160
1161
1162
1163
1164
# File 'lib/fastly/models/results.rb', line 1160

def self.fastly_nullable
  Set.new([
    :'hit_ratio',
  ])
end

.fastly_typesObject

Attribute type mapping.



929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
# File 'lib/fastly/models/results.rb', line 929

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_resp_body_bytes' => :'Integer',
    :'imgopto_shield_resp_header_bytes' => :'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_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'
  }
end

Instance Method Details

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
# File 'lib/fastly/models/results.rb', line 2097

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_resp_body_bytes == o.imgopto_shield_resp_body_bytes &&
      imgopto_shield_resp_header_bytes == o.imgopto_shield_resp_header_bytes &&
      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_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
end

#_deserialize(type, value) ⇒ Object

Deserializes the data based on type

Parameters:

  • string

    type Data type

  • string

    value Value to be deserialized

Returns:

  • (Object)

    Deserialized data



2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
# File 'lib/fastly/models/results.rb', line 2372

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

#_to_hash(value) ⇒ Hash

Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value

Parameters:

  • value (Object)

    Any valid value

Returns:

  • (Hash)

    Returns the value in the form of hash



2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
# File 'lib/fastly/models/results.rb', line 2443

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

#build_from_hash(attributes) ⇒ Object

Builds the object from hash

Parameters:

  • attributes (Hash)

    Model attributes in the form of hash

Returns:

  • (Object)

    Returns the model itself



2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
# File 'lib/fastly/models/results.rb', line 2349

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

#eql?(o) ⇒ Boolean

Parameters:

  • Object (Object)

    to be compared

Returns:

  • (Boolean)

See Also:

  • `==` method


2329
2330
2331
# File 'lib/fastly/models/results.rb', line 2329

def eql?(o)
  self == o
end

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



2335
2336
2337
# File 'lib/fastly/models/results.rb', line 2335

def hash
  [requests, hits, hits_time, miss, miss_time, pass, pass_time, errors, restarts, hit_ratio, bandwidth, body_size, header_size, req_body_bytes, req_header_bytes, resp_body_bytes, resp_header_bytes, bereq_body_bytes, bereq_header_bytes, uncacheable, pipe, synth, tls, tls_v10, tls_v11, tls_v12, tls_v13, edge_requests, edge_resp_header_bytes, edge_resp_body_bytes, edge_hit_requests, edge_miss_requests, origin_fetches, origin_fetch_header_bytes, origin_fetch_body_bytes, origin_fetch_resp_header_bytes, origin_fetch_resp_body_bytes, origin_revalidations, origin_cache_fetches, shield, shield_resp_body_bytes, shield_resp_header_bytes, shield_fetches, shield_fetch_header_bytes, shield_fetch_body_bytes, shield_fetch_resp_header_bytes, shield_fetch_resp_body_bytes, shield_revalidations, shield_cache_fetches, ipv6, otfp, otfp_resp_body_bytes, otfp_resp_header_bytes, otfp_shield_resp_body_bytes, otfp_shield_resp_header_bytes, otfp_manifests, otfp_deliver_time, otfp_shield_time, video, pci, log, log_bytes, http2, http3, waf_logged, waf_blocked, waf_passed, attack_req_body_bytes, attack_req_header_bytes, attack_logged_req_body_bytes, attack_logged_req_header_bytes, attack_blocked_req_body_bytes, attack_blocked_req_header_bytes, attack_passed_req_body_bytes, attack_passed_req_header_bytes, attack_resp_synth_bytes, imgopto, imgopto_resp_body_bytes, imgopto_resp_header_bytes, imgopto_shield_resp_body_bytes, imgopto_shield_resp_header_bytes, imgvideo, imgvideo_frames, imgvideo_resp_header_bytes, imgvideo_resp_body_bytes, imgvideo_shield_resp_header_bytes, imgvideo_shield_resp_body_bytes, imgvideo_shield, imgvideo_shield_frames, status_200, status_204, status_206, status_301, status_302, status_304, status_400, status_401, status_403, status_404, status_406, status_416, status_429, status_500, status_501, status_502, status_503, status_504, status_505, status_1xx, status_2xx, status_3xx, status_4xx, status_5xx, object_size_1k, object_size_10k, object_size_100k, object_size_1m, object_size_10m, object_size_100m, object_size_1g, recv_sub_time, recv_sub_count, hash_sub_time, hash_sub_count, miss_sub_time, miss_sub_count, fetch_sub_time, fetch_sub_count, pass_sub_time, pass_sub_count, pipe_sub_time, pipe_sub_count, deliver_sub_time, deliver_sub_count, error_sub_time, error_sub_count, hit_sub_time, hit_sub_count, prehash_sub_time, prehash_sub_count, predeliver_sub_time, predeliver_sub_count, tls_handshake_sent_bytes, hit_resp_body_bytes, miss_resp_body_bytes, pass_resp_body_bytes, segblock_origin_fetches, segblock_shield_fetches, compute_requests, compute_request_time_ms, compute_request_time_billed_ms, compute_ram_used, compute_execution_time_ms, compute_req_header_bytes, compute_req_body_bytes, compute_resp_header_bytes, compute_resp_body_bytes, compute_resp_status_1xx, compute_resp_status_2xx, compute_resp_status_3xx, compute_resp_status_4xx, compute_resp_status_5xx, compute_bereq_header_bytes, compute_bereq_body_bytes, compute_beresp_header_bytes, compute_beresp_body_bytes, compute_bereqs, compute_bereq_errors, compute_resource_limit_exceeded, compute_heap_limit_exceeded, compute_stack_limit_exceeded, compute_globals_limit_exceeded, compute_guest_errors, compute_runtime_errors, edge_hit_resp_body_bytes, edge_hit_resp_header_bytes, edge_miss_resp_body_bytes, edge_miss_resp_header_bytes, origin_cache_fetch_resp_body_bytes, origin_cache_fetch_resp_header_bytes, shield_hit_requests, shield_miss_requests, shield_hit_resp_header_bytes, shield_hit_resp_body_bytes, shield_miss_resp_header_bytes, shield_miss_resp_body_bytes, websocket_req_header_bytes, websocket_req_body_bytes, websocket_resp_header_bytes, websocket_resp_body_bytes, websocket_bereq_header_bytes, websocket_bereq_body_bytes, websocket_beresp_header_bytes, websocket_beresp_body_bytes, websocket_conn_time_ms, fanout_recv_publishes, fanout_send_publishes, kv_store_class_a_operations, kv_store_class_b_operations, object_store_class_a_operations, object_store_class_b_operations, fanout_req_header_bytes, fanout_req_body_bytes, fanout_resp_header_bytes, fanout_resp_body_bytes, fanout_bereq_header_bytes, fanout_bereq_body_bytes, fanout_beresp_header_bytes, fanout_beresp_body_bytes, fanout_conn_time_ms, ddos_action_limit_streams_connections, ddos_action_limit_streams_requests, ddos_action_tarpit_accept, ddos_action_tarpit, ddos_action_close, ddos_action_blackhole, bot_challenge_starts, bot_challenge_complete_tokens_passed, bot_challenge_complete_tokens_failed, bot_challenge_complete_tokens_checked, bot_challenge_complete_tokens_disabled, bot_challenge_complete_tokens_issued, bot_challenges_issued, bot_challenges_succeeded, bot_challenges_failed].hash
end

#list_invalid_propertiesObject

Show invalid properties with the reasons. Usually used together with valid?

Returns:

  • Array for valid properties with the reasons



2084
2085
2086
2087
# File 'lib/fastly/models/results.rb', line 2084

def list_invalid_properties
  invalid_properties = Array.new
  invalid_properties
end

#to_bodyHash

to_body is an alias to to_hash (backward compatibility)

Returns:

  • (Hash)

    Returns the object in the form of hash



2419
2420
2421
# File 'lib/fastly/models/results.rb', line 2419

def to_body
  to_hash
end

#to_hashHash

Returns the object in the form of hash

Returns:

  • (Hash)

    Returns the object in the form of hash



2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
# File 'lib/fastly/models/results.rb', line 2425

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

#to_sString

Returns the string representation of the object

Returns:

  • (String)

    String presentation of the object



2413
2414
2415
# File 'lib/fastly/models/results.rb', line 2413

def to_s
  to_hash.to_s
end

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



2091
2092
2093
# File 'lib/fastly/models/results.rb', line 2091

def valid?
  true
end