Class: Fastly::OriginInspectorMeasurements

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

Overview

A measurements object provides a count of the total number of ‘responses` received by Fastly from your origin servers in the reported time period, for the relevant POP and backend name as specified in the [entry](#entry-data-model). It also includes the number of responses for specific HTTP response status codes and for status code ranges. This dataset is sparse: only the keys with non-zero values will be included in the record. Where a specific status code does not have a field in this model (e.g., `429 Too Many Requests`), any responses with that code will be counted as part of the range count (`4xx` in this case) but will not be separately identified in the data.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ OriginInspectorMeasurements

Initializes the object

Parameters:

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

    Model attributes in the form of hash



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
922
923
924
925
926
927
928
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
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
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
# File 'lib/fastly/models/origin_inspector_measurements.rb', line 802

def initialize(attributes = {})
  if (!attributes.is_a?(Hash))
    fail ArgumentError, "The input argument (attributes) must be a hash in `Fastly::OriginInspectorMeasurements` 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::OriginInspectorMeasurements`. 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?(:'responses')
    self.responses = attributes[:'responses']
  end

  if attributes.key?(:'resp_header_bytes')
    self.resp_header_bytes = attributes[:'resp_header_bytes']
  end

  if attributes.key?(:'resp_body_bytes')
    self.resp_body_bytes = attributes[:'resp_body_bytes']
  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?(:'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_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?(:'latency_0_to_1ms')
    self.latency_0_to_1ms = attributes[:'latency_0_to_1ms']
  end

  if attributes.key?(:'latency_1_to_5ms')
    self.latency_1_to_5ms = attributes[:'latency_1_to_5ms']
  end

  if attributes.key?(:'latency_5_to_10ms')
    self.latency_5_to_10ms = attributes[:'latency_5_to_10ms']
  end

  if attributes.key?(:'latency_10_to_50ms')
    self.latency_10_to_50ms = attributes[:'latency_10_to_50ms']
  end

  if attributes.key?(:'latency_50_to_100ms')
    self.latency_50_to_100ms = attributes[:'latency_50_to_100ms']
  end

  if attributes.key?(:'latency_100_to_250ms')
    self.latency_100_to_250ms = attributes[:'latency_100_to_250ms']
  end

  if attributes.key?(:'latency_250_to_500ms')
    self.latency_250_to_500ms = attributes[:'latency_250_to_500ms']
  end

  if attributes.key?(:'latency_500_to_1000ms')
    self.latency_500_to_1000ms = attributes[:'latency_500_to_1000ms']
  end

  if attributes.key?(:'latency_1000_to_5000ms')
    self.latency_1000_to_5000ms = attributes[:'latency_1000_to_5000ms']
  end

  if attributes.key?(:'latency_5000_to_10000ms')
    self.latency_5000_to_10000ms = attributes[:'latency_5000_to_10000ms']
  end

  if attributes.key?(:'latency_10000_to_60000ms')
    self.latency_10000_to_60000ms = attributes[:'latency_10000_to_60000ms']
  end

  if attributes.key?(:'latency_60000ms')
    self.latency_60000ms = attributes[:'latency_60000ms']
  end

  if attributes.key?(:'waf_responses')
    self.waf_responses = attributes[:'waf_responses']
  end

  if attributes.key?(:'waf_resp_header_bytes')
    self.waf_resp_header_bytes = attributes[:'waf_resp_header_bytes']
  end

  if attributes.key?(:'waf_resp_body_bytes')
    self.waf_resp_body_bytes = attributes[:'waf_resp_body_bytes']
  end

  if attributes.key?(:'waf_status_1xx')
    self.waf_status_1xx = attributes[:'waf_status_1xx']
  end

  if attributes.key?(:'waf_status_2xx')
    self.waf_status_2xx = attributes[:'waf_status_2xx']
  end

  if attributes.key?(:'waf_status_3xx')
    self.waf_status_3xx = attributes[:'waf_status_3xx']
  end

  if attributes.key?(:'waf_status_4xx')
    self.waf_status_4xx = attributes[:'waf_status_4xx']
  end

  if attributes.key?(:'waf_status_5xx')
    self.waf_status_5xx = attributes[:'waf_status_5xx']
  end

  if attributes.key?(:'waf_status_200')
    self.waf_status_200 = attributes[:'waf_status_200']
  end

  if attributes.key?(:'waf_status_204')
    self.waf_status_204 = attributes[:'waf_status_204']
  end

  if attributes.key?(:'waf_status_206')
    self.waf_status_206 = attributes[:'waf_status_206']
  end

  if attributes.key?(:'waf_status_301')
    self.waf_status_301 = attributes[:'waf_status_301']
  end

  if attributes.key?(:'waf_status_302')
    self.waf_status_302 = attributes[:'waf_status_302']
  end

  if attributes.key?(:'waf_status_304')
    self.waf_status_304 = attributes[:'waf_status_304']
  end

  if attributes.key?(:'waf_status_400')
    self.waf_status_400 = attributes[:'waf_status_400']
  end

  if attributes.key?(:'waf_status_401')
    self.waf_status_401 = attributes[:'waf_status_401']
  end

  if attributes.key?(:'waf_status_403')
    self.waf_status_403 = attributes[:'waf_status_403']
  end

  if attributes.key?(:'waf_status_404')
    self.waf_status_404 = attributes[:'waf_status_404']
  end

  if attributes.key?(:'waf_status_416')
    self.waf_status_416 = attributes[:'waf_status_416']
  end

  if attributes.key?(:'waf_status_429')
    self.waf_status_429 = attributes[:'waf_status_429']
  end

  if attributes.key?(:'waf_status_500')
    self.waf_status_500 = attributes[:'waf_status_500']
  end

  if attributes.key?(:'waf_status_501')
    self.waf_status_501 = attributes[:'waf_status_501']
  end

  if attributes.key?(:'waf_status_502')
    self.waf_status_502 = attributes[:'waf_status_502']
  end

  if attributes.key?(:'waf_status_503')
    self.waf_status_503 = attributes[:'waf_status_503']
  end

  if attributes.key?(:'waf_status_504')
    self.waf_status_504 = attributes[:'waf_status_504']
  end

  if attributes.key?(:'waf_status_505')
    self.waf_status_505 = attributes[:'waf_status_505']
  end

  if attributes.key?(:'waf_latency_0_to_1ms')
    self.waf_latency_0_to_1ms = attributes[:'waf_latency_0_to_1ms']
  end

  if attributes.key?(:'waf_latency_1_to_5ms')
    self.waf_latency_1_to_5ms = attributes[:'waf_latency_1_to_5ms']
  end

  if attributes.key?(:'waf_latency_5_to_10ms')
    self.waf_latency_5_to_10ms = attributes[:'waf_latency_5_to_10ms']
  end

  if attributes.key?(:'waf_latency_10_to_50ms')
    self.waf_latency_10_to_50ms = attributes[:'waf_latency_10_to_50ms']
  end

  if attributes.key?(:'waf_latency_50_to_100ms')
    self.waf_latency_50_to_100ms = attributes[:'waf_latency_50_to_100ms']
  end

  if attributes.key?(:'waf_latency_100_to_250ms')
    self.waf_latency_100_to_250ms = attributes[:'waf_latency_100_to_250ms']
  end

  if attributes.key?(:'waf_latency_250_to_500ms')
    self.waf_latency_250_to_500ms = attributes[:'waf_latency_250_to_500ms']
  end

  if attributes.key?(:'waf_latency_500_to_1000ms')
    self.waf_latency_500_to_1000ms = attributes[:'waf_latency_500_to_1000ms']
  end

  if attributes.key?(:'waf_latency_1000_to_5000ms')
    self.waf_latency_1000_to_5000ms = attributes[:'waf_latency_1000_to_5000ms']
  end

  if attributes.key?(:'waf_latency_5000_to_10000ms')
    self.waf_latency_5000_to_10000ms = attributes[:'waf_latency_5000_to_10000ms']
  end

  if attributes.key?(:'waf_latency_10000_to_60000ms')
    self.waf_latency_10000_to_60000ms = attributes[:'waf_latency_10000_to_60000ms']
  end

  if attributes.key?(:'waf_latency_60000ms')
    self.waf_latency_60000ms = attributes[:'waf_latency_60000ms']
  end

  if attributes.key?(:'compute_responses')
    self.compute_responses = attributes[:'compute_responses']
  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_status_1xx')
    self.compute_status_1xx = attributes[:'compute_status_1xx']
  end

  if attributes.key?(:'compute_status_2xx')
    self.compute_status_2xx = attributes[:'compute_status_2xx']
  end

  if attributes.key?(:'compute_status_3xx')
    self.compute_status_3xx = attributes[:'compute_status_3xx']
  end

  if attributes.key?(:'compute_status_4xx')
    self.compute_status_4xx = attributes[:'compute_status_4xx']
  end

  if attributes.key?(:'compute_status_5xx')
    self.compute_status_5xx = attributes[:'compute_status_5xx']
  end

  if attributes.key?(:'compute_status_200')
    self.compute_status_200 = attributes[:'compute_status_200']
  end

  if attributes.key?(:'compute_status_204')
    self.compute_status_204 = attributes[:'compute_status_204']
  end

  if attributes.key?(:'compute_status_206')
    self.compute_status_206 = attributes[:'compute_status_206']
  end

  if attributes.key?(:'compute_status_301')
    self.compute_status_301 = attributes[:'compute_status_301']
  end

  if attributes.key?(:'compute_status_302')
    self.compute_status_302 = attributes[:'compute_status_302']
  end

  if attributes.key?(:'compute_status_304')
    self.compute_status_304 = attributes[:'compute_status_304']
  end

  if attributes.key?(:'compute_status_400')
    self.compute_status_400 = attributes[:'compute_status_400']
  end

  if attributes.key?(:'compute_status_401')
    self.compute_status_401 = attributes[:'compute_status_401']
  end

  if attributes.key?(:'compute_status_403')
    self.compute_status_403 = attributes[:'compute_status_403']
  end

  if attributes.key?(:'compute_status_404')
    self.compute_status_404 = attributes[:'compute_status_404']
  end

  if attributes.key?(:'compute_status_416')
    self.compute_status_416 = attributes[:'compute_status_416']
  end

  if attributes.key?(:'compute_status_429')
    self.compute_status_429 = attributes[:'compute_status_429']
  end

  if attributes.key?(:'compute_status_500')
    self.compute_status_500 = attributes[:'compute_status_500']
  end

  if attributes.key?(:'compute_status_501')
    self.compute_status_501 = attributes[:'compute_status_501']
  end

  if attributes.key?(:'compute_status_502')
    self.compute_status_502 = attributes[:'compute_status_502']
  end

  if attributes.key?(:'compute_status_503')
    self.compute_status_503 = attributes[:'compute_status_503']
  end

  if attributes.key?(:'compute_status_504')
    self.compute_status_504 = attributes[:'compute_status_504']
  end

  if attributes.key?(:'compute_status_505')
    self.compute_status_505 = attributes[:'compute_status_505']
  end

  if attributes.key?(:'compute_latency_0_to_1ms')
    self.compute_latency_0_to_1ms = attributes[:'compute_latency_0_to_1ms']
  end

  if attributes.key?(:'compute_latency_1_to_5ms')
    self.compute_latency_1_to_5ms = attributes[:'compute_latency_1_to_5ms']
  end

  if attributes.key?(:'compute_latency_5_to_10ms')
    self.compute_latency_5_to_10ms = attributes[:'compute_latency_5_to_10ms']
  end

  if attributes.key?(:'compute_latency_10_to_50ms')
    self.compute_latency_10_to_50ms = attributes[:'compute_latency_10_to_50ms']
  end

  if attributes.key?(:'compute_latency_50_to_100ms')
    self.compute_latency_50_to_100ms = attributes[:'compute_latency_50_to_100ms']
  end

  if attributes.key?(:'compute_latency_100_to_250ms')
    self.compute_latency_100_to_250ms = attributes[:'compute_latency_100_to_250ms']
  end

  if attributes.key?(:'compute_latency_250_to_500ms')
    self.compute_latency_250_to_500ms = attributes[:'compute_latency_250_to_500ms']
  end

  if attributes.key?(:'compute_latency_500_to_1000ms')
    self.compute_latency_500_to_1000ms = attributes[:'compute_latency_500_to_1000ms']
  end

  if attributes.key?(:'compute_latency_1000_to_5000ms')
    self.compute_latency_1000_to_5000ms = attributes[:'compute_latency_1000_to_5000ms']
  end

  if attributes.key?(:'compute_latency_5000_to_10000ms')
    self.compute_latency_5000_to_10000ms = attributes[:'compute_latency_5000_to_10000ms']
  end

  if attributes.key?(:'compute_latency_10000_to_60000ms')
    self.compute_latency_10000_to_60000ms = attributes[:'compute_latency_10000_to_60000ms']
  end

  if attributes.key?(:'compute_latency_60000ms')
    self.compute_latency_60000ms = attributes[:'compute_latency_60000ms']
  end

  if attributes.key?(:'all_responses')
    self.all_responses = attributes[:'all_responses']
  end

  if attributes.key?(:'all_resp_header_bytes')
    self.all_resp_header_bytes = attributes[:'all_resp_header_bytes']
  end

  if attributes.key?(:'all_resp_body_bytes')
    self.all_resp_body_bytes = attributes[:'all_resp_body_bytes']
  end

  if attributes.key?(:'all_status_1xx')
    self.all_status_1xx = attributes[:'all_status_1xx']
  end

  if attributes.key?(:'all_status_2xx')
    self.all_status_2xx = attributes[:'all_status_2xx']
  end

  if attributes.key?(:'all_status_3xx')
    self.all_status_3xx = attributes[:'all_status_3xx']
  end

  if attributes.key?(:'all_status_4xx')
    self.all_status_4xx = attributes[:'all_status_4xx']
  end

  if attributes.key?(:'all_status_5xx')
    self.all_status_5xx = attributes[:'all_status_5xx']
  end

  if attributes.key?(:'all_status_200')
    self.all_status_200 = attributes[:'all_status_200']
  end

  if attributes.key?(:'all_status_204')
    self.all_status_204 = attributes[:'all_status_204']
  end

  if attributes.key?(:'all_status_206')
    self.all_status_206 = attributes[:'all_status_206']
  end

  if attributes.key?(:'all_status_301')
    self.all_status_301 = attributes[:'all_status_301']
  end

  if attributes.key?(:'all_status_302')
    self.all_status_302 = attributes[:'all_status_302']
  end

  if attributes.key?(:'all_status_304')
    self.all_status_304 = attributes[:'all_status_304']
  end

  if attributes.key?(:'all_status_400')
    self.all_status_400 = attributes[:'all_status_400']
  end

  if attributes.key?(:'all_status_401')
    self.all_status_401 = attributes[:'all_status_401']
  end

  if attributes.key?(:'all_status_403')
    self.all_status_403 = attributes[:'all_status_403']
  end

  if attributes.key?(:'all_status_404')
    self.all_status_404 = attributes[:'all_status_404']
  end

  if attributes.key?(:'all_status_416')
    self.all_status_416 = attributes[:'all_status_416']
  end

  if attributes.key?(:'all_status_429')
    self.all_status_429 = attributes[:'all_status_429']
  end

  if attributes.key?(:'all_status_500')
    self.all_status_500 = attributes[:'all_status_500']
  end

  if attributes.key?(:'all_status_501')
    self.all_status_501 = attributes[:'all_status_501']
  end

  if attributes.key?(:'all_status_502')
    self.all_status_502 = attributes[:'all_status_502']
  end

  if attributes.key?(:'all_status_503')
    self.all_status_503 = attributes[:'all_status_503']
  end

  if attributes.key?(:'all_status_504')
    self.all_status_504 = attributes[:'all_status_504']
  end

  if attributes.key?(:'all_status_505')
    self.all_status_505 = attributes[:'all_status_505']
  end

  if attributes.key?(:'all_latency_0_to_1ms')
    self.all_latency_0_to_1ms = attributes[:'all_latency_0_to_1ms']
  end

  if attributes.key?(:'all_latency_1_to_5ms')
    self.all_latency_1_to_5ms = attributes[:'all_latency_1_to_5ms']
  end

  if attributes.key?(:'all_latency_5_to_10ms')
    self.all_latency_5_to_10ms = attributes[:'all_latency_5_to_10ms']
  end

  if attributes.key?(:'all_latency_10_to_50ms')
    self.all_latency_10_to_50ms = attributes[:'all_latency_10_to_50ms']
  end

  if attributes.key?(:'all_latency_50_to_100ms')
    self.all_latency_50_to_100ms = attributes[:'all_latency_50_to_100ms']
  end

  if attributes.key?(:'all_latency_100_to_250ms')
    self.all_latency_100_to_250ms = attributes[:'all_latency_100_to_250ms']
  end

  if attributes.key?(:'all_latency_250_to_500ms')
    self.all_latency_250_to_500ms = attributes[:'all_latency_250_to_500ms']
  end

  if attributes.key?(:'all_latency_500_to_1000ms')
    self.all_latency_500_to_1000ms = attributes[:'all_latency_500_to_1000ms']
  end

  if attributes.key?(:'all_latency_1000_to_5000ms')
    self.all_latency_1000_to_5000ms = attributes[:'all_latency_1000_to_5000ms']
  end

  if attributes.key?(:'all_latency_5000_to_10000ms')
    self.all_latency_5000_to_10000ms = attributes[:'all_latency_5000_to_10000ms']
  end

  if attributes.key?(:'all_latency_10000_to_60000ms')
    self.all_latency_10000_to_60000ms = attributes[:'all_latency_10000_to_60000ms']
  end

  if attributes.key?(:'all_latency_60000ms')
    self.all_latency_60000ms = attributes[:'all_latency_60000ms']
  end
end

Instance Attribute Details

#all_latency_0_to_1msObject

Number of responses with latency between 0 and 1 millisecond received for origin requests made by all sources.



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

def all_latency_0_to_1ms
  @all_latency_0_to_1ms
end

#all_latency_10000_to_60000msObject

Number of responses with latency between 10,000 and 60,000 milliseconds received for origin requests made by all sources.



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

def all_latency_10000_to_60000ms
  @all_latency_10000_to_60000ms
end

#all_latency_1000_to_5000msObject

Number of responses with latency between 1,000 and 5,000 milliseconds received for origin requests made by all sources.



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

def all_latency_1000_to_5000ms
  @all_latency_1000_to_5000ms
end

#all_latency_100_to_250msObject

Number of responses with latency between 100 and 250 milliseconds received for origin requests made by all sources.



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

def all_latency_100_to_250ms
  @all_latency_100_to_250ms
end

#all_latency_10_to_50msObject

Number of responses with latency between 10 and 50 milliseconds received for origin requests made by all sources.



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

def all_latency_10_to_50ms
  @all_latency_10_to_50ms
end

#all_latency_1_to_5msObject

Number of responses with latency between 1 and 5 milliseconds received for origin requests made by all sources.



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

def all_latency_1_to_5ms
  @all_latency_1_to_5ms
end

#all_latency_250_to_500msObject

Number of responses with latency between 250 and 500 milliseconds received for origin requests made by all sources.



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

def all_latency_250_to_500ms
  @all_latency_250_to_500ms
end

#all_latency_5000_to_10000msObject

Number of responses with latency between 5,000 and 10,000 milliseconds received for origin requests made by all sources.



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

def all_latency_5000_to_10000ms
  @all_latency_5000_to_10000ms
end

#all_latency_500_to_1000msObject

Number of responses with latency between 500 and 1,000 milliseconds received for origin requests made by all sources.



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

def all_latency_500_to_1000ms
  @all_latency_500_to_1000ms
end

#all_latency_50_to_100msObject

Number of responses with latency between 50 and 100 milliseconds received for origin requests made by all sources.



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

def all_latency_50_to_100ms
  @all_latency_50_to_100ms
end

#all_latency_5_to_10msObject

Number of responses with latency between 5 and 10 milliseconds received for origin requests made by all sources.



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

def all_latency_5_to_10ms
  @all_latency_5_to_10ms
end

#all_latency_60000msObject

Number of responses with latency of 60,000 milliseconds and above received for origin requests made by all sources.



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

def all_latency_60000ms
  @all_latency_60000ms
end

#all_resp_body_bytesObject

Number of body bytes received for origin requests made by all sources.



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

def all_resp_body_bytes
  @all_resp_body_bytes
end

#all_resp_header_bytesObject

Number of header bytes received for origin requests made by all sources.



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

def all_resp_header_bytes
  @all_resp_header_bytes
end

#all_responsesObject

Number of responses received for origin requests made by all sources.



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

def all_responses
  @all_responses
end

#all_status_1xxObject

Number of 1xx "Informational" category status codes delivered received for origin requests made by all sources.



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

def all_status_1xx
  @all_status_1xx
end

#all_status_200Object

Number of responses received with status code 200 (Success) received for origin requests made by all sources.



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

def all_status_200
  @all_status_200
end

#all_status_204Object

Number of responses received with status code 204 (No Content) received for origin requests made by all sources.



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

def all_status_204
  @all_status_204
end

#all_status_206Object

Number of responses received with status code 206 (Partial Content) received for origin requests made by all sources.



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

def all_status_206
  @all_status_206
end

#all_status_2xxObject

Number of 2xx "Success" status codes received for origin requests made by all sources.



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

def all_status_2xx
  @all_status_2xx
end

#all_status_301Object

Number of responses received with status code 301 (Moved Permanently) received for origin requests made by all sources.



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

def all_status_301
  @all_status_301
end

#all_status_302Object

Number of responses received with status code 302 (Found) received for origin requests made by all sources.



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

def all_status_302
  @all_status_302
end

#all_status_304Object

Number of responses received with status code 304 (Not Modified) received for origin requests made by all sources.



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

def all_status_304
  @all_status_304
end

#all_status_3xxObject

Number of 3xx "Redirection" codes received for origin requests made by all sources.



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

def all_status_3xx
  @all_status_3xx
end

#all_status_400Object

Number of responses received with status code 400 (Bad Request) received for origin requests made by all sources.



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

def all_status_400
  @all_status_400
end

#all_status_401Object

Number of responses received with status code 401 (Unauthorized) received for origin requests made by all sources.



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

def all_status_401
  @all_status_401
end

#all_status_403Object

Number of responses received with status code 403 (Forbidden) received for origin requests made by all sources.



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

def all_status_403
  @all_status_403
end

#all_status_404Object

Number of responses received with status code 404 (Not Found) received for origin requests made by all sources.



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

def all_status_404
  @all_status_404
end

#all_status_416Object

Number of responses received with status code 416 (Range Not Satisfiable) received for origin requests made by all sources.



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

def all_status_416
  @all_status_416
end

#all_status_429Object

Number of responses received with status code 429 (Too Many Requests) received for origin requests made by all sources.



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

def all_status_429
  @all_status_429
end

#all_status_4xxObject

Number of 4xx "Client Error" codes received for origin requests made by all sources.



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

def all_status_4xx
  @all_status_4xx
end

#all_status_500Object

Number of responses received with status code 500 (Internal Server Error) received for origin requests made by all sources.



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

def all_status_500
  @all_status_500
end

#all_status_501Object

Number of responses received with status code 501 (Not Implemented) received for origin requests made by all sources.



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

def all_status_501
  @all_status_501
end

#all_status_502Object

Number of responses received with status code 502 (Bad Gateway) received for origin requests made by all sources.



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

def all_status_502
  @all_status_502
end

#all_status_503Object

Number of responses received with status code 503 (Service Unavailable) received for origin requests made by all sources.



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

def all_status_503
  @all_status_503
end

#all_status_504Object

Number of responses received with status code 504 (Gateway Timeout) received for origin requests made by all sources.



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

def all_status_504
  @all_status_504
end

#all_status_505Object

Number of responses received with status code 505 (HTTP Version Not Supported) received for origin requests made by all sources.



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

def all_status_505
  @all_status_505
end

#all_status_5xxObject

Number of 5xx "Server Error" codes received for origin requests made by all sources.



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

def all_status_5xx
  @all_status_5xx
end

#compute_latency_0_to_1msObject

Number of responses with latency between 0 and 1 millisecond for origin received by the Compute platform.



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

def compute_latency_0_to_1ms
  @compute_latency_0_to_1ms
end

#compute_latency_10000_to_60000msObject

Number of responses with latency between 10,000 and 60,000 milliseconds for origin received by the Compute platform.



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

def compute_latency_10000_to_60000ms
  @compute_latency_10000_to_60000ms
end

#compute_latency_1000_to_5000msObject

Number of responses with latency between 1,000 and 5,000 milliseconds for origin received by the Compute platform.



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

def compute_latency_1000_to_5000ms
  @compute_latency_1000_to_5000ms
end

#compute_latency_100_to_250msObject

Number of responses with latency between 100 and 250 milliseconds for origin received by the Compute platform.



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

def compute_latency_100_to_250ms
  @compute_latency_100_to_250ms
end

#compute_latency_10_to_50msObject

Number of responses with latency between 10 and 50 milliseconds for origin received by the Compute platform.



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

def compute_latency_10_to_50ms
  @compute_latency_10_to_50ms
end

#compute_latency_1_to_5msObject

Number of responses with latency between 1 and 5 milliseconds for origin received by the Compute platform.



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

def compute_latency_1_to_5ms
  @compute_latency_1_to_5ms
end

#compute_latency_250_to_500msObject

Number of responses with latency between 250 and 500 milliseconds for origin received by the Compute platform.



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

def compute_latency_250_to_500ms
  @compute_latency_250_to_500ms
end

#compute_latency_5000_to_10000msObject

Number of responses with latency between 5,000 and 10,000 milliseconds for origin received by the Compute platform.



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

def compute_latency_5000_to_10000ms
  @compute_latency_5000_to_10000ms
end

#compute_latency_500_to_1000msObject

Number of responses with latency between 500 and 1,000 milliseconds for origin received by the Compute platform.



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

def compute_latency_500_to_1000ms
  @compute_latency_500_to_1000ms
end

#compute_latency_50_to_100msObject

Number of responses with latency between 50 and 100 milliseconds for origin received by the Compute platform.



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

def compute_latency_50_to_100ms
  @compute_latency_50_to_100ms
end

#compute_latency_5_to_10msObject

Number of responses with latency between 5 and 10 milliseconds for origin received by the Compute platform.



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

def compute_latency_5_to_10ms
  @compute_latency_5_to_10ms
end

#compute_latency_60000msObject

Number of responses with latency of 60,000 milliseconds and above for origin received by the Compute platform.



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

def compute_latency_60000ms
  @compute_latency_60000ms
end

#compute_resp_body_bytesObject

Number of body bytes for origin received by the Compute platform.



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

def compute_resp_body_bytes
  @compute_resp_body_bytes
end

#compute_resp_header_bytesObject

Number of header bytes for origin received by the Compute platform.



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

def compute_resp_header_bytes
  @compute_resp_header_bytes
end

#compute_responsesObject

Number of responses for origin received by the Compute platform.



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

def compute_responses
  @compute_responses
end

#compute_status_1xxObject

Number of 1xx "Informational" status codes for origin received by the Compute platform.



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

def compute_status_1xx
  @compute_status_1xx
end

#compute_status_200Object

Number of responses received with status code 200 (Success) for origin received by the Compute platform.



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

def compute_status_200
  @compute_status_200
end

#compute_status_204Object

Number of responses received with status code 204 (No Content) for origin received by the Compute platform.



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

def compute_status_204
  @compute_status_204
end

#compute_status_206Object

Number of responses received with status code 206 (Partial Content) for origin received by the Compute platform.



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

def compute_status_206
  @compute_status_206
end

#compute_status_2xxObject

Number of 2xx "Success" status codes for origin received by the Compute platform.



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

def compute_status_2xx
  @compute_status_2xx
end

#compute_status_301Object

Number of responses received with status code 301 (Moved Permanently) for origin received by the Compute platform.



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

def compute_status_301
  @compute_status_301
end

#compute_status_302Object

Number of responses received with status code 302 (Found) for origin received by the Compute platform.



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

def compute_status_302
  @compute_status_302
end

#compute_status_304Object

Number of responses received with status code 304 (Not Modified) for origin received by the Compute platform.



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

def compute_status_304
  @compute_status_304
end

#compute_status_3xxObject

Number of 3xx "Redirection" codes for origin received by the Compute platform.



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

def compute_status_3xx
  @compute_status_3xx
end

#compute_status_400Object

Number of responses received with status code 400 (Bad Request) for origin received by the Compute platform.



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

def compute_status_400
  @compute_status_400
end

#compute_status_401Object

Number of responses received with status code 401 (Unauthorized) for origin received by the Compute platform.



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

def compute_status_401
  @compute_status_401
end

#compute_status_403Object

Number of responses received with status code 403 (Forbidden) for origin received by the Compute platform.



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

def compute_status_403
  @compute_status_403
end

#compute_status_404Object

Number of responses received with status code 404 (Not Found) for origin received by the Compute platform.



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

def compute_status_404
  @compute_status_404
end

#compute_status_416Object

Number of responses received with status code 416 (Range Not Satisfiable) for origin received by the Compute platform.



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

def compute_status_416
  @compute_status_416
end

#compute_status_429Object

Number of responses received with status code 429 (Too Many Requests) for origin received by the Compute platform.



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

def compute_status_429
  @compute_status_429
end

#compute_status_4xxObject

Number of 4xx "Client Error" codes for origin received by the Compute platform.



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

def compute_status_4xx
  @compute_status_4xx
end

#compute_status_500Object

Number of responses received with status code 500 (Internal Server Error) for origin received by the Compute platform.



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

def compute_status_500
  @compute_status_500
end

#compute_status_501Object

Number of responses received with status code 501 (Not Implemented) for origin received by the Compute platform.



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

def compute_status_501
  @compute_status_501
end

#compute_status_502Object

Number of responses received with status code 502 (Bad Gateway) for origin received by the Compute platform.



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

def compute_status_502
  @compute_status_502
end

#compute_status_503Object

Number of responses received with status code 503 (Service Unavailable) for origin received by the Compute platform.



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

def compute_status_503
  @compute_status_503
end

#compute_status_504Object

Number of responses received with status code 504 (Gateway Timeout) for origin received by the Compute platform.



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

def compute_status_504
  @compute_status_504
end

#compute_status_505Object

Number of responses received with status code 505 (HTTP Version Not Supported) for origin received by the Compute platform.



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

def compute_status_505
  @compute_status_505
end

#compute_status_5xxObject

Number of 5xx "Server Error" codes for origin received by the Compute platform.



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

def compute_status_5xx
  @compute_status_5xx
end

#latency_0_to_1msObject

Number of responses from origin with latency between 0 and 1 millisecond.



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

def latency_0_to_1ms
  @latency_0_to_1ms
end

#latency_10000_to_60000msObject

Number of responses from origin with latency between 10,000 and 60,000 milliseconds.



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

def latency_10000_to_60000ms
  @latency_10000_to_60000ms
end

#latency_1000_to_5000msObject

Number of responses from origin with latency between 1,000 and 5,000 milliseconds.



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

def latency_1000_to_5000ms
  @latency_1000_to_5000ms
end

#latency_100_to_250msObject

Number of responses from origin with latency between 100 and 250 milliseconds.



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

def latency_100_to_250ms
  @latency_100_to_250ms
end

#latency_10_to_50msObject

Number of responses from origin with latency between 10 and 50 milliseconds.



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

def latency_10_to_50ms
  @latency_10_to_50ms
end

#latency_1_to_5msObject

Number of responses from origin with latency between 1 and 5 milliseconds.



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

def latency_1_to_5ms
  @latency_1_to_5ms
end

#latency_250_to_500msObject

Number of responses from origin with latency between 250 and 500 milliseconds.



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

def latency_250_to_500ms
  @latency_250_to_500ms
end

#latency_5000_to_10000msObject

Number of responses from origin with latency between 5,000 and 10,000 milliseconds.



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

def latency_5000_to_10000ms
  @latency_5000_to_10000ms
end

#latency_500_to_1000msObject

Number of responses from origin with latency between 500 and 1,000 milliseconds.



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

def latency_500_to_1000ms
  @latency_500_to_1000ms
end

#latency_50_to_100msObject

Number of responses from origin with latency between 50 and 100 milliseconds.



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

def latency_50_to_100ms
  @latency_50_to_100ms
end

#latency_5_to_10msObject

Number of responses from origin with latency between 5 and 10 milliseconds.



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

def latency_5_to_10ms
  @latency_5_to_10ms
end

#latency_60000msObject

Number of responses from origin with latency of 60,000 milliseconds and above.



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

def latency_60000ms
  @latency_60000ms
end

#resp_body_bytesObject

Number of body bytes from origin.



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

def resp_body_bytes
  @resp_body_bytes
end

#resp_header_bytesObject

Number of header bytes from origin.



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

def resp_header_bytes
  @resp_header_bytes
end

#responsesObject

Number of responses from origin.



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

def responses
  @responses
end

#status_1xxObject

Number of 1xx "Informational" status codes delivered from origin.



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

def status_1xx
  @status_1xx
end

#status_200Object

Number of responses received with status code 200 (Success) from origin.



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

def status_200
  @status_200
end

#status_204Object

Number of responses received with status code 204 (No Content) from origin.



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

def status_204
  @status_204
end

#status_206Object

Number of responses received with status code 206 (Partial Content) from origin.



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

def status_206
  @status_206
end

#status_2xxObject

Number of 2xx "Success" status codes delivered from origin.



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

def status_2xx
  @status_2xx
end

#status_301Object

Number of responses received with status code 301 (Moved Permanently) from origin.



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

def status_301
  @status_301
end

#status_302Object

Number of responses received with status code 302 (Found) from origin.



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

def status_302
  @status_302
end

#status_304Object

Number of responses received with status code 304 (Not Modified) from origin.



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

def status_304
  @status_304
end

#status_3xxObject

Number of 3xx "Redirection" codes delivered from origin.



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

def status_3xx
  @status_3xx
end

#status_400Object

Number of responses received with status code 400 (Bad Request) from origin.



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

def status_400
  @status_400
end

#status_401Object

Number of responses received with status code 401 (Unauthorized) from origin.



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

def status_401
  @status_401
end

#status_403Object

Number of responses received with status code 403 (Forbidden) from origin.



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

def status_403
  @status_403
end

#status_404Object

Number of responses received with status code 404 (Not Found) from origin.



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

def status_404
  @status_404
end

#status_416Object

Number of responses received with status code 416 (Range Not Satisfiable) from origin.



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

def status_416
  @status_416
end

#status_429Object

Number of responses received with status code 429 (Too Many Requests) from origin.



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

def status_429
  @status_429
end

#status_4xxObject

Number of 4xx "Client Error" codes delivered from origin.



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

def status_4xx
  @status_4xx
end

#status_500Object

Number of responses received with status code 500 (Internal Server Error) from origin.



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

def status_500
  @status_500
end

#status_501Object

Number of responses received with status code 501 (Not Implemented) from origin.



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

def status_501
  @status_501
end

#status_502Object

Number of responses received with status code 502 (Bad Gateway) from origin.



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

def status_502
  @status_502
end

#status_503Object

Number of responses received with status code 503 (Service Unavailable) from origin.



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

def status_503
  @status_503
end

#status_504Object

Number of responses received with status code 504 (Gateway Timeout) from origin.



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

def status_504
  @status_504
end

#status_505Object

Number of responses received with status code 505 (HTTP Version Not Supported) from origin.



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

def status_505
  @status_505
end

#status_5xxObject

Number of 5xx "Server Error" codes delivered from origin.



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

def status_5xx
  @status_5xx
end

#waf_latency_0_to_1msObject

Number of responses with latency between 0 and 1 millisecond received for origin requests made by the Fastly WAF.



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

def waf_latency_0_to_1ms
  @waf_latency_0_to_1ms
end

#waf_latency_10000_to_60000msObject

Number of responses with latency between 10,000 and 60,000 milliseconds received for origin requests made by the Fastly WAF.



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

def waf_latency_10000_to_60000ms
  @waf_latency_10000_to_60000ms
end

#waf_latency_1000_to_5000msObject

Number of responses with latency between 1,000 and 5,000 milliseconds received for origin requests made by the Fastly WAF.



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

def waf_latency_1000_to_5000ms
  @waf_latency_1000_to_5000ms
end

#waf_latency_100_to_250msObject

Number of responses with latency between 100 and 250 milliseconds received for origin requests made by the Fastly WAF.



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

def waf_latency_100_to_250ms
  @waf_latency_100_to_250ms
end

#waf_latency_10_to_50msObject

Number of responses with latency between 10 and 50 milliseconds received for origin requests made by the Fastly WAF.



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

def waf_latency_10_to_50ms
  @waf_latency_10_to_50ms
end

#waf_latency_1_to_5msObject

Number of responses with latency between 1 and 5 milliseconds received for origin requests made by the Fastly WAF.



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

def waf_latency_1_to_5ms
  @waf_latency_1_to_5ms
end

#waf_latency_250_to_500msObject

Number of responses with latency between 250 and 500 milliseconds received for origin requests made by the Fastly WAF.



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

def waf_latency_250_to_500ms
  @waf_latency_250_to_500ms
end

#waf_latency_5000_to_10000msObject

Number of responses with latency between 5,000 and 10,000 milliseconds received for origin requests made by the Fastly WAF.



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

def waf_latency_5000_to_10000ms
  @waf_latency_5000_to_10000ms
end

#waf_latency_500_to_1000msObject

Number of responses with latency between 500 and 1,000 milliseconds received for origin requests made by the Fastly WAF.



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

def waf_latency_500_to_1000ms
  @waf_latency_500_to_1000ms
end

#waf_latency_50_to_100msObject

Number of responses with latency between 50 and 100 milliseconds received for origin requests made by the Fastly WAF.



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

def waf_latency_50_to_100ms
  @waf_latency_50_to_100ms
end

#waf_latency_5_to_10msObject

Number of responses with latency between 5 and 10 milliseconds received for origin requests made by the Fastly WAF.



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

def waf_latency_5_to_10ms
  @waf_latency_5_to_10ms
end

#waf_latency_60000msObject

Number of responses with latency of 60,000 milliseconds and above received for origin requests made by the Fastly WAF.



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

def waf_latency_60000ms
  @waf_latency_60000ms
end

#waf_resp_body_bytesObject

Number of body bytes received for origin requests made by the Fastly WAF.



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

def waf_resp_body_bytes
  @waf_resp_body_bytes
end

#waf_resp_header_bytesObject

Number of header bytes received for origin requests made by the Fastly WAF.



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

def waf_resp_header_bytes
  @waf_resp_header_bytes
end

#waf_responsesObject

Number of responses received for origin requests made by the Fastly WAF.



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

def waf_responses
  @waf_responses
end

#waf_status_1xxObject

Number of 1xx "Informational" status codes received for origin requests made by the Fastly WAF.



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

def waf_status_1xx
  @waf_status_1xx
end

#waf_status_200Object

Number of responses received with status code 200 (Success) received for origin requests made by the Fastly WAF.



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

def waf_status_200
  @waf_status_200
end

#waf_status_204Object

Number of responses received with status code 204 (No Content) received for origin requests made by the Fastly WAF.



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

def waf_status_204
  @waf_status_204
end

#waf_status_206Object

Number of responses received with status code 206 (Partial Content) received for origin requests made by the Fastly WAF.



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

def waf_status_206
  @waf_status_206
end

#waf_status_2xxObject

Number of 2xx "Success" status codes received for origin requests made by the Fastly WAF.



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

def waf_status_2xx
  @waf_status_2xx
end

#waf_status_301Object

Number of responses received with status code 301 (Moved Permanently) received for origin requests made by the Fastly WAF.



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

def waf_status_301
  @waf_status_301
end

#waf_status_302Object

Number of responses received with status code 302 (Found) received for origin requests made by the Fastly WAF.



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

def waf_status_302
  @waf_status_302
end

#waf_status_304Object

Number of responses received with status code 304 (Not Modified) received for origin requests made by the Fastly WAF.



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

def waf_status_304
  @waf_status_304
end

#waf_status_3xxObject

Number of 3xx "Redirection" codes received for origin requests made by the Fastly WAF.



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

def waf_status_3xx
  @waf_status_3xx
end

#waf_status_400Object

Number of responses received with status code 400 (Bad Request) received for origin requests made by the Fastly WAF.



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

def waf_status_400
  @waf_status_400
end

#waf_status_401Object

Number of responses received with status code 401 (Unauthorized) received for origin requests made by the Fastly WAF.



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

def waf_status_401
  @waf_status_401
end

#waf_status_403Object

Number of responses received with status code 403 (Forbidden) received for origin requests made by the Fastly WAF.



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

def waf_status_403
  @waf_status_403
end

#waf_status_404Object

Number of responses received with status code 404 (Not Found) received for origin requests made by the Fastly WAF.



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

def waf_status_404
  @waf_status_404
end

#waf_status_416Object

Number of responses received with status code 416 (Range Not Satisfiable) received for origin requests made by the Fastly WAF.



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

def waf_status_416
  @waf_status_416
end

#waf_status_429Object

Number of responses received with status code 429 (Too Many Requests) received for origin requests made by the Fastly WAF.



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

def waf_status_429
  @waf_status_429
end

#waf_status_4xxObject

Number of 4xx "Client Error" codes received for origin requests made by the Fastly WAF.



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

def waf_status_4xx
  @waf_status_4xx
end

#waf_status_500Object

Number of responses received with status code 500 (Internal Server Error) received for origin requests made by the Fastly WAF.



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

def waf_status_500
  @waf_status_500
end

#waf_status_501Object

Number of responses received with status code 501 (Not Implemented) received for origin requests made by the Fastly WAF.



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

def waf_status_501
  @waf_status_501
end

#waf_status_502Object

Number of responses received with status code 502 (Bad Gateway) received for origin requests made by the Fastly WAF.



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

def waf_status_502
  @waf_status_502
end

#waf_status_503Object

Number of responses received with status code 503 (Service Unavailable) received for origin requests made by the Fastly WAF.



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

def waf_status_503
  @waf_status_503
end

#waf_status_504Object

Number of responses received with status code 504 (Gateway Timeout) received for origin requests made by the Fastly WAF.



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

def waf_status_504
  @waf_status_504
end

#waf_status_505Object

Number of responses received with status code 505 (HTTP Version Not Supported) received for origin requests made by the Fastly WAF.



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

def waf_status_505
  @waf_status_505
end

#waf_status_5xxObject

Number of 5xx "Server Error" codes received for origin requests made by the Fastly WAF.



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

def waf_status_5xx
  @waf_status_5xx
end

Class Method Details

.acceptable_attributesObject

Returns all the JSON keys this model knows about



632
633
634
# File 'lib/fastly/models/origin_inspector_measurements.rb', line 632

def self.acceptable_attributes
  attribute_map.values
end

.attribute_mapObject

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



474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
# File 'lib/fastly/models/origin_inspector_measurements.rb', line 474

def self.attribute_map
  {
    :'responses' => :'responses',
    :'resp_header_bytes' => :'resp_header_bytes',
    :'resp_body_bytes' => :'resp_body_bytes',
    :'status_1xx' => :'status_1xx',
    :'status_2xx' => :'status_2xx',
    :'status_3xx' => :'status_3xx',
    :'status_4xx' => :'status_4xx',
    :'status_5xx' => :'status_5xx',
    :'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_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',
    :'latency_0_to_1ms' => :'latency_0_to_1ms',
    :'latency_1_to_5ms' => :'latency_1_to_5ms',
    :'latency_5_to_10ms' => :'latency_5_to_10ms',
    :'latency_10_to_50ms' => :'latency_10_to_50ms',
    :'latency_50_to_100ms' => :'latency_50_to_100ms',
    :'latency_100_to_250ms' => :'latency_100_to_250ms',
    :'latency_250_to_500ms' => :'latency_250_to_500ms',
    :'latency_500_to_1000ms' => :'latency_500_to_1000ms',
    :'latency_1000_to_5000ms' => :'latency_1000_to_5000ms',
    :'latency_5000_to_10000ms' => :'latency_5000_to_10000ms',
    :'latency_10000_to_60000ms' => :'latency_10000_to_60000ms',
    :'latency_60000ms' => :'latency_60000ms',
    :'waf_responses' => :'waf_responses',
    :'waf_resp_header_bytes' => :'waf_resp_header_bytes',
    :'waf_resp_body_bytes' => :'waf_resp_body_bytes',
    :'waf_status_1xx' => :'waf_status_1xx',
    :'waf_status_2xx' => :'waf_status_2xx',
    :'waf_status_3xx' => :'waf_status_3xx',
    :'waf_status_4xx' => :'waf_status_4xx',
    :'waf_status_5xx' => :'waf_status_5xx',
    :'waf_status_200' => :'waf_status_200',
    :'waf_status_204' => :'waf_status_204',
    :'waf_status_206' => :'waf_status_206',
    :'waf_status_301' => :'waf_status_301',
    :'waf_status_302' => :'waf_status_302',
    :'waf_status_304' => :'waf_status_304',
    :'waf_status_400' => :'waf_status_400',
    :'waf_status_401' => :'waf_status_401',
    :'waf_status_403' => :'waf_status_403',
    :'waf_status_404' => :'waf_status_404',
    :'waf_status_416' => :'waf_status_416',
    :'waf_status_429' => :'waf_status_429',
    :'waf_status_500' => :'waf_status_500',
    :'waf_status_501' => :'waf_status_501',
    :'waf_status_502' => :'waf_status_502',
    :'waf_status_503' => :'waf_status_503',
    :'waf_status_504' => :'waf_status_504',
    :'waf_status_505' => :'waf_status_505',
    :'waf_latency_0_to_1ms' => :'waf_latency_0_to_1ms',
    :'waf_latency_1_to_5ms' => :'waf_latency_1_to_5ms',
    :'waf_latency_5_to_10ms' => :'waf_latency_5_to_10ms',
    :'waf_latency_10_to_50ms' => :'waf_latency_10_to_50ms',
    :'waf_latency_50_to_100ms' => :'waf_latency_50_to_100ms',
    :'waf_latency_100_to_250ms' => :'waf_latency_100_to_250ms',
    :'waf_latency_250_to_500ms' => :'waf_latency_250_to_500ms',
    :'waf_latency_500_to_1000ms' => :'waf_latency_500_to_1000ms',
    :'waf_latency_1000_to_5000ms' => :'waf_latency_1000_to_5000ms',
    :'waf_latency_5000_to_10000ms' => :'waf_latency_5000_to_10000ms',
    :'waf_latency_10000_to_60000ms' => :'waf_latency_10000_to_60000ms',
    :'waf_latency_60000ms' => :'waf_latency_60000ms',
    :'compute_responses' => :'compute_responses',
    :'compute_resp_header_bytes' => :'compute_resp_header_bytes',
    :'compute_resp_body_bytes' => :'compute_resp_body_bytes',
    :'compute_status_1xx' => :'compute_status_1xx',
    :'compute_status_2xx' => :'compute_status_2xx',
    :'compute_status_3xx' => :'compute_status_3xx',
    :'compute_status_4xx' => :'compute_status_4xx',
    :'compute_status_5xx' => :'compute_status_5xx',
    :'compute_status_200' => :'compute_status_200',
    :'compute_status_204' => :'compute_status_204',
    :'compute_status_206' => :'compute_status_206',
    :'compute_status_301' => :'compute_status_301',
    :'compute_status_302' => :'compute_status_302',
    :'compute_status_304' => :'compute_status_304',
    :'compute_status_400' => :'compute_status_400',
    :'compute_status_401' => :'compute_status_401',
    :'compute_status_403' => :'compute_status_403',
    :'compute_status_404' => :'compute_status_404',
    :'compute_status_416' => :'compute_status_416',
    :'compute_status_429' => :'compute_status_429',
    :'compute_status_500' => :'compute_status_500',
    :'compute_status_501' => :'compute_status_501',
    :'compute_status_502' => :'compute_status_502',
    :'compute_status_503' => :'compute_status_503',
    :'compute_status_504' => :'compute_status_504',
    :'compute_status_505' => :'compute_status_505',
    :'compute_latency_0_to_1ms' => :'compute_latency_0_to_1ms',
    :'compute_latency_1_to_5ms' => :'compute_latency_1_to_5ms',
    :'compute_latency_5_to_10ms' => :'compute_latency_5_to_10ms',
    :'compute_latency_10_to_50ms' => :'compute_latency_10_to_50ms',
    :'compute_latency_50_to_100ms' => :'compute_latency_50_to_100ms',
    :'compute_latency_100_to_250ms' => :'compute_latency_100_to_250ms',
    :'compute_latency_250_to_500ms' => :'compute_latency_250_to_500ms',
    :'compute_latency_500_to_1000ms' => :'compute_latency_500_to_1000ms',
    :'compute_latency_1000_to_5000ms' => :'compute_latency_1000_to_5000ms',
    :'compute_latency_5000_to_10000ms' => :'compute_latency_5000_to_10000ms',
    :'compute_latency_10000_to_60000ms' => :'compute_latency_10000_to_60000ms',
    :'compute_latency_60000ms' => :'compute_latency_60000ms',
    :'all_responses' => :'all_responses',
    :'all_resp_header_bytes' => :'all_resp_header_bytes',
    :'all_resp_body_bytes' => :'all_resp_body_bytes',
    :'all_status_1xx' => :'all_status_1xx',
    :'all_status_2xx' => :'all_status_2xx',
    :'all_status_3xx' => :'all_status_3xx',
    :'all_status_4xx' => :'all_status_4xx',
    :'all_status_5xx' => :'all_status_5xx',
    :'all_status_200' => :'all_status_200',
    :'all_status_204' => :'all_status_204',
    :'all_status_206' => :'all_status_206',
    :'all_status_301' => :'all_status_301',
    :'all_status_302' => :'all_status_302',
    :'all_status_304' => :'all_status_304',
    :'all_status_400' => :'all_status_400',
    :'all_status_401' => :'all_status_401',
    :'all_status_403' => :'all_status_403',
    :'all_status_404' => :'all_status_404',
    :'all_status_416' => :'all_status_416',
    :'all_status_429' => :'all_status_429',
    :'all_status_500' => :'all_status_500',
    :'all_status_501' => :'all_status_501',
    :'all_status_502' => :'all_status_502',
    :'all_status_503' => :'all_status_503',
    :'all_status_504' => :'all_status_504',
    :'all_status_505' => :'all_status_505',
    :'all_latency_0_to_1ms' => :'all_latency_0_to_1ms',
    :'all_latency_1_to_5ms' => :'all_latency_1_to_5ms',
    :'all_latency_5_to_10ms' => :'all_latency_5_to_10ms',
    :'all_latency_10_to_50ms' => :'all_latency_10_to_50ms',
    :'all_latency_50_to_100ms' => :'all_latency_50_to_100ms',
    :'all_latency_100_to_250ms' => :'all_latency_100_to_250ms',
    :'all_latency_250_to_500ms' => :'all_latency_250_to_500ms',
    :'all_latency_500_to_1000ms' => :'all_latency_500_to_1000ms',
    :'all_latency_1000_to_5000ms' => :'all_latency_1000_to_5000ms',
    :'all_latency_5000_to_10000ms' => :'all_latency_5000_to_10000ms',
    :'all_latency_10000_to_60000ms' => :'all_latency_10000_to_60000ms',
    :'all_latency_60000ms' => :'all_latency_60000ms'
  }
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



1611
1612
1613
# File 'lib/fastly/models/origin_inspector_measurements.rb', line 1611

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

.fastly_nullableObject

List of attributes with nullable: true



795
796
797
798
# File 'lib/fastly/models/origin_inspector_measurements.rb', line 795

def self.fastly_nullable
  Set.new([
  ])
end

.fastly_typesObject

Attribute type mapping.



637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
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
# File 'lib/fastly/models/origin_inspector_measurements.rb', line 637

def self.fastly_types
  {
    :'responses' => :'Integer',
    :'resp_header_bytes' => :'Integer',
    :'resp_body_bytes' => :'Integer',
    :'status_1xx' => :'Integer',
    :'status_2xx' => :'Integer',
    :'status_3xx' => :'Integer',
    :'status_4xx' => :'Integer',
    :'status_5xx' => :'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_416' => :'Integer',
    :'status_429' => :'Integer',
    :'status_500' => :'Integer',
    :'status_501' => :'Integer',
    :'status_502' => :'Integer',
    :'status_503' => :'Integer',
    :'status_504' => :'Integer',
    :'status_505' => :'Integer',
    :'latency_0_to_1ms' => :'Integer',
    :'latency_1_to_5ms' => :'Integer',
    :'latency_5_to_10ms' => :'Integer',
    :'latency_10_to_50ms' => :'Integer',
    :'latency_50_to_100ms' => :'Integer',
    :'latency_100_to_250ms' => :'Integer',
    :'latency_250_to_500ms' => :'Integer',
    :'latency_500_to_1000ms' => :'Integer',
    :'latency_1000_to_5000ms' => :'Integer',
    :'latency_5000_to_10000ms' => :'Integer',
    :'latency_10000_to_60000ms' => :'Integer',
    :'latency_60000ms' => :'Integer',
    :'waf_responses' => :'Integer',
    :'waf_resp_header_bytes' => :'Integer',
    :'waf_resp_body_bytes' => :'Integer',
    :'waf_status_1xx' => :'Integer',
    :'waf_status_2xx' => :'Integer',
    :'waf_status_3xx' => :'Integer',
    :'waf_status_4xx' => :'Integer',
    :'waf_status_5xx' => :'Integer',
    :'waf_status_200' => :'Integer',
    :'waf_status_204' => :'Integer',
    :'waf_status_206' => :'Integer',
    :'waf_status_301' => :'Integer',
    :'waf_status_302' => :'Integer',
    :'waf_status_304' => :'Integer',
    :'waf_status_400' => :'Integer',
    :'waf_status_401' => :'Integer',
    :'waf_status_403' => :'Integer',
    :'waf_status_404' => :'Integer',
    :'waf_status_416' => :'Integer',
    :'waf_status_429' => :'Integer',
    :'waf_status_500' => :'Integer',
    :'waf_status_501' => :'Integer',
    :'waf_status_502' => :'Integer',
    :'waf_status_503' => :'Integer',
    :'waf_status_504' => :'Integer',
    :'waf_status_505' => :'Integer',
    :'waf_latency_0_to_1ms' => :'Integer',
    :'waf_latency_1_to_5ms' => :'Integer',
    :'waf_latency_5_to_10ms' => :'Integer',
    :'waf_latency_10_to_50ms' => :'Integer',
    :'waf_latency_50_to_100ms' => :'Integer',
    :'waf_latency_100_to_250ms' => :'Integer',
    :'waf_latency_250_to_500ms' => :'Integer',
    :'waf_latency_500_to_1000ms' => :'Integer',
    :'waf_latency_1000_to_5000ms' => :'Integer',
    :'waf_latency_5000_to_10000ms' => :'Integer',
    :'waf_latency_10000_to_60000ms' => :'Integer',
    :'waf_latency_60000ms' => :'Integer',
    :'compute_responses' => :'Integer',
    :'compute_resp_header_bytes' => :'Integer',
    :'compute_resp_body_bytes' => :'Integer',
    :'compute_status_1xx' => :'Integer',
    :'compute_status_2xx' => :'Integer',
    :'compute_status_3xx' => :'Integer',
    :'compute_status_4xx' => :'Integer',
    :'compute_status_5xx' => :'Integer',
    :'compute_status_200' => :'Integer',
    :'compute_status_204' => :'Integer',
    :'compute_status_206' => :'Integer',
    :'compute_status_301' => :'Integer',
    :'compute_status_302' => :'Integer',
    :'compute_status_304' => :'Integer',
    :'compute_status_400' => :'Integer',
    :'compute_status_401' => :'Integer',
    :'compute_status_403' => :'Integer',
    :'compute_status_404' => :'Integer',
    :'compute_status_416' => :'Integer',
    :'compute_status_429' => :'Integer',
    :'compute_status_500' => :'Integer',
    :'compute_status_501' => :'Integer',
    :'compute_status_502' => :'Integer',
    :'compute_status_503' => :'Integer',
    :'compute_status_504' => :'Integer',
    :'compute_status_505' => :'Integer',
    :'compute_latency_0_to_1ms' => :'Integer',
    :'compute_latency_1_to_5ms' => :'Integer',
    :'compute_latency_5_to_10ms' => :'Integer',
    :'compute_latency_10_to_50ms' => :'Integer',
    :'compute_latency_50_to_100ms' => :'Integer',
    :'compute_latency_100_to_250ms' => :'Integer',
    :'compute_latency_250_to_500ms' => :'Integer',
    :'compute_latency_500_to_1000ms' => :'Integer',
    :'compute_latency_1000_to_5000ms' => :'Integer',
    :'compute_latency_5000_to_10000ms' => :'Integer',
    :'compute_latency_10000_to_60000ms' => :'Integer',
    :'compute_latency_60000ms' => :'Integer',
    :'all_responses' => :'Integer',
    :'all_resp_header_bytes' => :'Integer',
    :'all_resp_body_bytes' => :'Integer',
    :'all_status_1xx' => :'Integer',
    :'all_status_2xx' => :'Integer',
    :'all_status_3xx' => :'Integer',
    :'all_status_4xx' => :'Integer',
    :'all_status_5xx' => :'Integer',
    :'all_status_200' => :'Integer',
    :'all_status_204' => :'Integer',
    :'all_status_206' => :'Integer',
    :'all_status_301' => :'Integer',
    :'all_status_302' => :'Integer',
    :'all_status_304' => :'Integer',
    :'all_status_400' => :'Integer',
    :'all_status_401' => :'Integer',
    :'all_status_403' => :'Integer',
    :'all_status_404' => :'Integer',
    :'all_status_416' => :'Integer',
    :'all_status_429' => :'Integer',
    :'all_status_500' => :'Integer',
    :'all_status_501' => :'Integer',
    :'all_status_502' => :'Integer',
    :'all_status_503' => :'Integer',
    :'all_status_504' => :'Integer',
    :'all_status_505' => :'Integer',
    :'all_latency_0_to_1ms' => :'Integer',
    :'all_latency_1_to_5ms' => :'Integer',
    :'all_latency_5_to_10ms' => :'Integer',
    :'all_latency_10_to_50ms' => :'Integer',
    :'all_latency_50_to_100ms' => :'Integer',
    :'all_latency_100_to_250ms' => :'Integer',
    :'all_latency_250_to_500ms' => :'Integer',
    :'all_latency_500_to_1000ms' => :'Integer',
    :'all_latency_1000_to_5000ms' => :'Integer',
    :'all_latency_5000_to_10000ms' => :'Integer',
    :'all_latency_10000_to_60000ms' => :'Integer',
    :'all_latency_60000ms' => :'Integer'
  }
end

Instance Method Details

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



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
# File 'lib/fastly/models/origin_inspector_measurements.rb', line 1439

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      responses == o.responses &&
      resp_header_bytes == o.resp_header_bytes &&
      resp_body_bytes == o.resp_body_bytes &&
      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 &&
      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_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 &&
      latency_0_to_1ms == o.latency_0_to_1ms &&
      latency_1_to_5ms == o.latency_1_to_5ms &&
      latency_5_to_10ms == o.latency_5_to_10ms &&
      latency_10_to_50ms == o.latency_10_to_50ms &&
      latency_50_to_100ms == o.latency_50_to_100ms &&
      latency_100_to_250ms == o.latency_100_to_250ms &&
      latency_250_to_500ms == o.latency_250_to_500ms &&
      latency_500_to_1000ms == o.latency_500_to_1000ms &&
      latency_1000_to_5000ms == o.latency_1000_to_5000ms &&
      latency_5000_to_10000ms == o.latency_5000_to_10000ms &&
      latency_10000_to_60000ms == o.latency_10000_to_60000ms &&
      latency_60000ms == o.latency_60000ms &&
      waf_responses == o.waf_responses &&
      waf_resp_header_bytes == o.waf_resp_header_bytes &&
      waf_resp_body_bytes == o.waf_resp_body_bytes &&
      waf_status_1xx == o.waf_status_1xx &&
      waf_status_2xx == o.waf_status_2xx &&
      waf_status_3xx == o.waf_status_3xx &&
      waf_status_4xx == o.waf_status_4xx &&
      waf_status_5xx == o.waf_status_5xx &&
      waf_status_200 == o.waf_status_200 &&
      waf_status_204 == o.waf_status_204 &&
      waf_status_206 == o.waf_status_206 &&
      waf_status_301 == o.waf_status_301 &&
      waf_status_302 == o.waf_status_302 &&
      waf_status_304 == o.waf_status_304 &&
      waf_status_400 == o.waf_status_400 &&
      waf_status_401 == o.waf_status_401 &&
      waf_status_403 == o.waf_status_403 &&
      waf_status_404 == o.waf_status_404 &&
      waf_status_416 == o.waf_status_416 &&
      waf_status_429 == o.waf_status_429 &&
      waf_status_500 == o.waf_status_500 &&
      waf_status_501 == o.waf_status_501 &&
      waf_status_502 == o.waf_status_502 &&
      waf_status_503 == o.waf_status_503 &&
      waf_status_504 == o.waf_status_504 &&
      waf_status_505 == o.waf_status_505 &&
      waf_latency_0_to_1ms == o.waf_latency_0_to_1ms &&
      waf_latency_1_to_5ms == o.waf_latency_1_to_5ms &&
      waf_latency_5_to_10ms == o.waf_latency_5_to_10ms &&
      waf_latency_10_to_50ms == o.waf_latency_10_to_50ms &&
      waf_latency_50_to_100ms == o.waf_latency_50_to_100ms &&
      waf_latency_100_to_250ms == o.waf_latency_100_to_250ms &&
      waf_latency_250_to_500ms == o.waf_latency_250_to_500ms &&
      waf_latency_500_to_1000ms == o.waf_latency_500_to_1000ms &&
      waf_latency_1000_to_5000ms == o.waf_latency_1000_to_5000ms &&
      waf_latency_5000_to_10000ms == o.waf_latency_5000_to_10000ms &&
      waf_latency_10000_to_60000ms == o.waf_latency_10000_to_60000ms &&
      waf_latency_60000ms == o.waf_latency_60000ms &&
      compute_responses == o.compute_responses &&
      compute_resp_header_bytes == o.compute_resp_header_bytes &&
      compute_resp_body_bytes == o.compute_resp_body_bytes &&
      compute_status_1xx == o.compute_status_1xx &&
      compute_status_2xx == o.compute_status_2xx &&
      compute_status_3xx == o.compute_status_3xx &&
      compute_status_4xx == o.compute_status_4xx &&
      compute_status_5xx == o.compute_status_5xx &&
      compute_status_200 == o.compute_status_200 &&
      compute_status_204 == o.compute_status_204 &&
      compute_status_206 == o.compute_status_206 &&
      compute_status_301 == o.compute_status_301 &&
      compute_status_302 == o.compute_status_302 &&
      compute_status_304 == o.compute_status_304 &&
      compute_status_400 == o.compute_status_400 &&
      compute_status_401 == o.compute_status_401 &&
      compute_status_403 == o.compute_status_403 &&
      compute_status_404 == o.compute_status_404 &&
      compute_status_416 == o.compute_status_416 &&
      compute_status_429 == o.compute_status_429 &&
      compute_status_500 == o.compute_status_500 &&
      compute_status_501 == o.compute_status_501 &&
      compute_status_502 == o.compute_status_502 &&
      compute_status_503 == o.compute_status_503 &&
      compute_status_504 == o.compute_status_504 &&
      compute_status_505 == o.compute_status_505 &&
      compute_latency_0_to_1ms == o.compute_latency_0_to_1ms &&
      compute_latency_1_to_5ms == o.compute_latency_1_to_5ms &&
      compute_latency_5_to_10ms == o.compute_latency_5_to_10ms &&
      compute_latency_10_to_50ms == o.compute_latency_10_to_50ms &&
      compute_latency_50_to_100ms == o.compute_latency_50_to_100ms &&
      compute_latency_100_to_250ms == o.compute_latency_100_to_250ms &&
      compute_latency_250_to_500ms == o.compute_latency_250_to_500ms &&
      compute_latency_500_to_1000ms == o.compute_latency_500_to_1000ms &&
      compute_latency_1000_to_5000ms == o.compute_latency_1000_to_5000ms &&
      compute_latency_5000_to_10000ms == o.compute_latency_5000_to_10000ms &&
      compute_latency_10000_to_60000ms == o.compute_latency_10000_to_60000ms &&
      compute_latency_60000ms == o.compute_latency_60000ms &&
      all_responses == o.all_responses &&
      all_resp_header_bytes == o.all_resp_header_bytes &&
      all_resp_body_bytes == o.all_resp_body_bytes &&
      all_status_1xx == o.all_status_1xx &&
      all_status_2xx == o.all_status_2xx &&
      all_status_3xx == o.all_status_3xx &&
      all_status_4xx == o.all_status_4xx &&
      all_status_5xx == o.all_status_5xx &&
      all_status_200 == o.all_status_200 &&
      all_status_204 == o.all_status_204 &&
      all_status_206 == o.all_status_206 &&
      all_status_301 == o.all_status_301 &&
      all_status_302 == o.all_status_302 &&
      all_status_304 == o.all_status_304 &&
      all_status_400 == o.all_status_400 &&
      all_status_401 == o.all_status_401 &&
      all_status_403 == o.all_status_403 &&
      all_status_404 == o.all_status_404 &&
      all_status_416 == o.all_status_416 &&
      all_status_429 == o.all_status_429 &&
      all_status_500 == o.all_status_500 &&
      all_status_501 == o.all_status_501 &&
      all_status_502 == o.all_status_502 &&
      all_status_503 == o.all_status_503 &&
      all_status_504 == o.all_status_504 &&
      all_status_505 == o.all_status_505 &&
      all_latency_0_to_1ms == o.all_latency_0_to_1ms &&
      all_latency_1_to_5ms == o.all_latency_1_to_5ms &&
      all_latency_5_to_10ms == o.all_latency_5_to_10ms &&
      all_latency_10_to_50ms == o.all_latency_10_to_50ms &&
      all_latency_50_to_100ms == o.all_latency_50_to_100ms &&
      all_latency_100_to_250ms == o.all_latency_100_to_250ms &&
      all_latency_250_to_500ms == o.all_latency_250_to_500ms &&
      all_latency_500_to_1000ms == o.all_latency_500_to_1000ms &&
      all_latency_1000_to_5000ms == o.all_latency_1000_to_5000ms &&
      all_latency_5000_to_10000ms == o.all_latency_5000_to_10000ms &&
      all_latency_10000_to_60000ms == o.all_latency_10000_to_60000ms &&
      all_latency_60000ms == o.all_latency_60000ms
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



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
# File 'lib/fastly/models/origin_inspector_measurements.rb', line 1641

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



1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
# File 'lib/fastly/models/origin_inspector_measurements.rb', line 1712

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



1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
# File 'lib/fastly/models/origin_inspector_measurements.rb', line 1618

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


1598
1599
1600
# File 'lib/fastly/models/origin_inspector_measurements.rb', line 1598

def eql?(o)
  self == o
end

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



1604
1605
1606
# File 'lib/fastly/models/origin_inspector_measurements.rb', line 1604

def hash
  [responses, resp_header_bytes, resp_body_bytes, status_1xx, status_2xx, status_3xx, status_4xx, status_5xx, status_200, status_204, status_206, status_301, status_302, status_304, status_400, status_401, status_403, status_404, status_416, status_429, status_500, status_501, status_502, status_503, status_504, status_505, latency_0_to_1ms, latency_1_to_5ms, latency_5_to_10ms, latency_10_to_50ms, latency_50_to_100ms, latency_100_to_250ms, latency_250_to_500ms, latency_500_to_1000ms, latency_1000_to_5000ms, latency_5000_to_10000ms, latency_10000_to_60000ms, latency_60000ms, waf_responses, waf_resp_header_bytes, waf_resp_body_bytes, waf_status_1xx, waf_status_2xx, waf_status_3xx, waf_status_4xx, waf_status_5xx, waf_status_200, waf_status_204, waf_status_206, waf_status_301, waf_status_302, waf_status_304, waf_status_400, waf_status_401, waf_status_403, waf_status_404, waf_status_416, waf_status_429, waf_status_500, waf_status_501, waf_status_502, waf_status_503, waf_status_504, waf_status_505, waf_latency_0_to_1ms, waf_latency_1_to_5ms, waf_latency_5_to_10ms, waf_latency_10_to_50ms, waf_latency_50_to_100ms, waf_latency_100_to_250ms, waf_latency_250_to_500ms, waf_latency_500_to_1000ms, waf_latency_1000_to_5000ms, waf_latency_5000_to_10000ms, waf_latency_10000_to_60000ms, waf_latency_60000ms, compute_responses, compute_resp_header_bytes, compute_resp_body_bytes, compute_status_1xx, compute_status_2xx, compute_status_3xx, compute_status_4xx, compute_status_5xx, compute_status_200, compute_status_204, compute_status_206, compute_status_301, compute_status_302, compute_status_304, compute_status_400, compute_status_401, compute_status_403, compute_status_404, compute_status_416, compute_status_429, compute_status_500, compute_status_501, compute_status_502, compute_status_503, compute_status_504, compute_status_505, compute_latency_0_to_1ms, compute_latency_1_to_5ms, compute_latency_5_to_10ms, compute_latency_10_to_50ms, compute_latency_50_to_100ms, compute_latency_100_to_250ms, compute_latency_250_to_500ms, compute_latency_500_to_1000ms, compute_latency_1000_to_5000ms, compute_latency_5000_to_10000ms, compute_latency_10000_to_60000ms, compute_latency_60000ms, all_responses, all_resp_header_bytes, all_resp_body_bytes, all_status_1xx, all_status_2xx, all_status_3xx, all_status_4xx, all_status_5xx, all_status_200, all_status_204, all_status_206, all_status_301, all_status_302, all_status_304, all_status_400, all_status_401, all_status_403, all_status_404, all_status_416, all_status_429, all_status_500, all_status_501, all_status_502, all_status_503, all_status_504, all_status_505, all_latency_0_to_1ms, all_latency_1_to_5ms, all_latency_5_to_10ms, all_latency_10_to_50ms, all_latency_50_to_100ms, all_latency_100_to_250ms, all_latency_250_to_500ms, all_latency_500_to_1000ms, all_latency_1000_to_5000ms, all_latency_5000_to_10000ms, all_latency_10000_to_60000ms, all_latency_60000ms].hash
end

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properties with the reasons



1426
1427
1428
1429
# File 'lib/fastly/models/origin_inspector_measurements.rb', line 1426

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



1688
1689
1690
# File 'lib/fastly/models/origin_inspector_measurements.rb', line 1688

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



1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
# File 'lib/fastly/models/origin_inspector_measurements.rb', line 1694

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



1682
1683
1684
# File 'lib/fastly/models/origin_inspector_measurements.rb', line 1682

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



1433
1434
1435
# File 'lib/fastly/models/origin_inspector_measurements.rb', line 1433

def valid?
  true
end