Class: MuxRuby::VideoView

Inherits:
Object
  • Object
show all
Defined in:
lib/mux_ruby/models/video_view.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ VideoView

Initializes the object

Parameters:

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

    Model attributes in the form of hash



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
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
# File 'lib/mux_ruby/models/video_view.rb', line 829

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  if attributes.key?(:'events')
    if (value = attributes[:'events']).is_a?(Array)
      self.events = value
    end
  end

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Instance Attribute Details

#ad_attempt_countObject

Returns the value of attribute ad_attempt_count.



300
301
302
# File 'lib/mux_ruby/models/video_view.rb', line 300

def ad_attempt_count
  @ad_attempt_count
end

#ad_break_countObject

Returns the value of attribute ad_break_count.



302
303
304
# File 'lib/mux_ruby/models/video_view.rb', line 302

def ad_break_count
  @ad_break_count
end

#ad_break_error_countObject

Returns the value of attribute ad_break_error_count.



304
305
306
# File 'lib/mux_ruby/models/video_view.rb', line 304

def ad_break_error_count
  @ad_break_error_count
end

#ad_break_error_percentageObject

Returns the value of attribute ad_break_error_percentage.



306
307
308
# File 'lib/mux_ruby/models/video_view.rb', line 306

def ad_break_error_percentage
  @ad_break_error_percentage
end

#ad_error_countObject

Returns the value of attribute ad_error_count.



308
309
310
# File 'lib/mux_ruby/models/video_view.rb', line 308

def ad_error_count
  @ad_error_count
end

#ad_error_percentageObject

Returns the value of attribute ad_error_percentage.



310
311
312
# File 'lib/mux_ruby/models/video_view.rb', line 310

def ad_error_percentage
  @ad_error_percentage
end

#ad_exit_before_start_countObject

Returns the value of attribute ad_exit_before_start_count.



318
319
320
# File 'lib/mux_ruby/models/video_view.rb', line 318

def ad_exit_before_start_count
  @ad_exit_before_start_count
end

#ad_exit_before_start_percentageObject

Returns the value of attribute ad_exit_before_start_percentage.



320
321
322
# File 'lib/mux_ruby/models/video_view.rb', line 320

def ad_exit_before_start_percentage
  @ad_exit_before_start_percentage
end

#ad_impression_countObject

Returns the value of attribute ad_impression_count.



312
313
314
# File 'lib/mux_ruby/models/video_view.rb', line 312

def ad_impression_count
  @ad_impression_count
end

#ad_playback_failure_error_type_idObject

Returns the value of attribute ad_playback_failure_error_type_id.



334
335
336
# File 'lib/mux_ruby/models/video_view.rb', line 334

def ad_playback_failure_error_type_id
  @ad_playback_failure_error_type_id
end

#ad_preroll_startup_timeObject

Returns the value of attribute ad_preroll_startup_time.



338
339
340
# File 'lib/mux_ruby/models/video_view.rb', line 338

def ad_preroll_startup_time
  @ad_preroll_startup_time
end

#ad_startup_error_countObject

Returns the value of attribute ad_startup_error_count.



314
315
316
# File 'lib/mux_ruby/models/video_view.rb', line 314

def ad_startup_error_count
  @ad_startup_error_count
end

#ad_startup_error_percentageObject

Returns the value of attribute ad_startup_error_percentage.



316
317
318
# File 'lib/mux_ruby/models/video_view.rb', line 316

def ad_startup_error_percentage
  @ad_startup_error_percentage
end

#asnObject

Returns the value of attribute asn.



232
233
234
# File 'lib/mux_ruby/models/video_view.rb', line 232

def asn
  @asn
end

#asn_nameObject

Returns the value of attribute asn_name.



234
235
236
# File 'lib/mux_ruby/models/video_view.rb', line 234

def asn_name
  @asn_name
end

#asset_idObject

Returns the value of attribute asset_id.



280
281
282
# File 'lib/mux_ruby/models/video_view.rb', line 280

def asset_id
  @asset_id
end

#buffering_countObject

Returns the value of attribute buffering_count.



42
43
44
# File 'lib/mux_ruby/models/video_view.rb', line 42

def buffering_count
  @buffering_count
end

#buffering_durationObject

Returns the value of attribute buffering_duration.



128
129
130
# File 'lib/mux_ruby/models/video_view.rb', line 128

def buffering_duration
  @buffering_duration
end

#buffering_rateObject

Returns the value of attribute buffering_rate.



158
159
160
# File 'lib/mux_ruby/models/video_view.rb', line 158

def buffering_rate
  @buffering_rate
end

#cdnObject

Returns the value of attribute cdn.



66
67
68
# File 'lib/mux_ruby/models/video_view.rb', line 66

def cdn
  @cdn
end

#cityObject

Returns the value of attribute city.



48
49
50
# File 'lib/mux_ruby/models/video_view.rb', line 48

def city
  @city
end

#continent_codeObject

Returns the value of attribute continent_code.



176
177
178
# File 'lib/mux_ruby/models/video_view.rb', line 176

def continent_code
  @continent_code
end

#country_codeObject

Returns the value of attribute country_code.



220
221
222
# File 'lib/mux_ruby/models/video_view.rb', line 220

def country_code
  @country_code
end

#country_nameObject

Returns the value of attribute country_name.



36
37
38
# File 'lib/mux_ruby/models/video_view.rb', line 36

def country_name
  @country_name
end

#custom_1Object

Returns the value of attribute custom_1.



258
259
260
# File 'lib/mux_ruby/models/video_view.rb', line 258

def custom_1
  @custom_1
end

#custom_10Object

Returns the value of attribute custom_10.



276
277
278
# File 'lib/mux_ruby/models/video_view.rb', line 276

def custom_10
  @custom_10
end

#custom_2Object

Returns the value of attribute custom_2.



260
261
262
# File 'lib/mux_ruby/models/video_view.rb', line 260

def custom_2
  @custom_2
end

#custom_3Object

Returns the value of attribute custom_3.



262
263
264
# File 'lib/mux_ruby/models/video_view.rb', line 262

def custom_3
  @custom_3
end

#custom_4Object

Returns the value of attribute custom_4.



264
265
266
# File 'lib/mux_ruby/models/video_view.rb', line 264

def custom_4
  @custom_4
end

#custom_5Object

Returns the value of attribute custom_5.



266
267
268
# File 'lib/mux_ruby/models/video_view.rb', line 266

def custom_5
  @custom_5
end

#custom_6Object

Returns the value of attribute custom_6.



268
269
270
# File 'lib/mux_ruby/models/video_view.rb', line 268

def custom_6
  @custom_6
end

#custom_7Object

Returns the value of attribute custom_7.



270
271
272
# File 'lib/mux_ruby/models/video_view.rb', line 270

def custom_7
  @custom_7
end

#custom_8Object

Returns the value of attribute custom_8.



272
273
274
# File 'lib/mux_ruby/models/video_view.rb', line 272

def custom_8
  @custom_8
end

#custom_9Object

Returns the value of attribute custom_9.



274
275
276
# File 'lib/mux_ruby/models/video_view.rb', line 274

def custom_9
  @custom_9
end

#environment_idObject

Returns the value of attribute environment_id.



282
283
284
# File 'lib/mux_ruby/models/video_view.rb', line 282

def environment_id
  @environment_id
end

#error_type_idObject

Returns the value of attribute error_type_id.



170
171
172
# File 'lib/mux_ruby/models/video_view.rb', line 170

def error_type_id
  @error_type_id
end

#eventsObject

Returns the value of attribute events.



160
161
162
# File 'lib/mux_ruby/models/video_view.rb', line 160

def events
  @events
end

#exit_before_video_startObject

Returns the value of attribute exit_before_video_start.



180
181
182
# File 'lib/mux_ruby/models/video_view.rb', line 180

def exit_before_video_start
  @exit_before_video_start
end

#experiment_nameObject

Returns the value of attribute experiment_name.



122
123
124
# File 'lib/mux_ruby/models/video_view.rb', line 122

def experiment_name
  @experiment_name
end

#idObject

Returns the value of attribute id.



200
201
202
# File 'lib/mux_ruby/models/video_view.rb', line 200

def id
  @id
end

#inserted_atObject

Returns the value of attribute inserted_at.



96
97
98
# File 'lib/mux_ruby/models/video_view.rb', line 96

def inserted_at
  @inserted_at
end

#ispObject

Returns the value of attribute isp.



224
225
226
# File 'lib/mux_ruby/models/video_view.rb', line 224

def isp
  @isp
end

#latitudeObject

Returns the value of attribute latitude.



92
93
94
# File 'lib/mux_ruby/models/video_view.rb', line 92

def latitude
  @latitude
end

#live_stream_idObject

Returns the value of attribute live_stream_id.



284
285
286
# File 'lib/mux_ruby/models/video_view.rb', line 284

def live_stream_id
  @live_stream_id
end

#live_stream_latencyObject

Returns the value of attribute live_stream_latency.



278
279
280
# File 'lib/mux_ruby/models/video_view.rb', line 278

def live_stream_latency
  @live_stream_latency
end

#long_rebufferingObject

Returns the value of attribute long_rebuffering.



324
325
326
# File 'lib/mux_ruby/models/video_view.rb', line 324

def long_rebuffering
  @long_rebuffering
end

#long_resumeObject

Returns the value of attribute long_resume.



322
323
324
# File 'lib/mux_ruby/models/video_view.rb', line 322

def long_resume
  @long_resume
end

#longitudeObject

Returns the value of attribute longitude.



40
41
42
# File 'lib/mux_ruby/models/video_view.rb', line 40

def longitude
  @longitude
end

#metroObject

Returns the value of attribute metro.



84
85
86
# File 'lib/mux_ruby/models/video_view.rb', line 84

def metro
  @metro
end

#mux_api_versionObject

Returns the value of attribute mux_api_version.



196
197
198
# File 'lib/mux_ruby/models/video_view.rb', line 196

def mux_api_version
  @mux_api_version
end

#mux_embedObject

Returns the value of attribute mux_embed.



286
287
288
# File 'lib/mux_ruby/models/video_view.rb', line 286

def mux_embed
  @mux_embed
end

#mux_embed_versionObject

Returns the value of attribute mux_embed_version.



100
101
102
# File 'lib/mux_ruby/models/video_view.rb', line 100

def mux_embed_version
  @mux_embed_version
end

#mux_viewer_idObject

Returns the value of attribute mux_viewer_id.



172
173
174
# File 'lib/mux_ruby/models/video_view.rb', line 172

def mux_viewer_id
  @mux_viewer_id
end

#page_load_timeObject

Returns the value of attribute page_load_time.



104
105
106
# File 'lib/mux_ruby/models/video_view.rb', line 104

def page_load_time
  @page_load_time
end

#page_typeObject

Returns the value of attribute page_type.



30
31
32
# File 'lib/mux_ruby/models/video_view.rb', line 30

def page_type
  @page_type
end

#page_urlObject

Returns the value of attribute page_url.



82
83
84
# File 'lib/mux_ruby/models/video_view.rb', line 82

def page_url
  @page_url
end

#platform_descriptionObject

Returns the value of attribute platform_description.



52
53
54
# File 'lib/mux_ruby/models/video_view.rb', line 52

def platform_description
  @platform_description
end

#platform_summaryObject

Returns the value of attribute platform_summary.



136
137
138
# File 'lib/mux_ruby/models/video_view.rb', line 136

def platform_summary
  @platform_summary
end

#playback_business_exception_error_type_idObject

Returns the value of attribute playback_business_exception_error_type_id.



328
329
330
# File 'lib/mux_ruby/models/video_view.rb', line 328

def playback_business_exception_error_type_id
  @playback_business_exception_error_type_id
end

#playback_failureObject

Returns the value of attribute playback_failure.



332
333
334
# File 'lib/mux_ruby/models/video_view.rb', line 332

def playback_failure
  @playback_failure
end

#playback_failure_error_type_idObject

Returns the value of attribute playback_failure_error_type_id.



326
327
328
# File 'lib/mux_ruby/models/video_view.rb', line 326

def playback_failure_error_type_id
  @playback_failure_error_type_id
end

#playback_idObject

Returns the value of attribute playback_id.



288
289
290
# File 'lib/mux_ruby/models/video_view.rb', line 288

def playback_id
  @playback_id
end

#playback_scoreObject

Returns the value of attribute playback_score.



80
81
82
# File 'lib/mux_ruby/models/video_view.rb', line 80

def playback_score
  @playback_score
end

#player_autoplayObject

Returns the value of attribute player_autoplay.



228
229
230
# File 'lib/mux_ruby/models/video_view.rb', line 228

def player_autoplay
  @player_autoplay
end

#player_error_codeObject

Returns the value of attribute player_error_code.



156
157
158
# File 'lib/mux_ruby/models/video_view.rb', line 156

def player_error_code
  @player_error_code
end

#player_error_contextObject

Returns the value of attribute player_error_context.



290
291
292
# File 'lib/mux_ruby/models/video_view.rb', line 290

def player_error_context
  @player_error_context
end

#player_error_messageObject

Returns the value of attribute player_error_message.



74
75
76
# File 'lib/mux_ruby/models/video_view.rb', line 74

def player_error_message
  @player_error_message
end

#player_heightObject

Returns the value of attribute player_height.



230
231
232
# File 'lib/mux_ruby/models/video_view.rb', line 230

def player_height
  @player_height
end

#player_instance_idObject

Returns the value of attribute player_instance_id.



68
69
70
# File 'lib/mux_ruby/models/video_view.rb', line 68

def player_instance_id
  @player_instance_id
end

#player_languageObject

Returns the value of attribute player_language.



102
103
104
# File 'lib/mux_ruby/models/video_view.rb', line 102

def player_language
  @player_language
end

#player_load_timeObject

Returns the value of attribute player_load_time.



134
135
136
# File 'lib/mux_ruby/models/video_view.rb', line 134

def player_load_time
  @player_load_time
end

#player_mux_plugin_nameObject

Returns the value of attribute player_mux_plugin_name.



240
241
242
# File 'lib/mux_ruby/models/video_view.rb', line 240

def player_mux_plugin_name
  @player_mux_plugin_name
end

#player_mux_plugin_versionObject

Returns the value of attribute player_mux_plugin_version.



76
77
78
# File 'lib/mux_ruby/models/video_view.rb', line 76

def player_mux_plugin_version
  @player_mux_plugin_version
end

#player_nameObject

Returns the value of attribute player_name.



162
163
164
# File 'lib/mux_ruby/models/video_view.rb', line 162

def player_name
  @player_name
end

#player_posterObject

Returns the value of attribute player_poster.



186
187
188
# File 'lib/mux_ruby/models/video_view.rb', line 186

def player_poster
  @player_poster
end

#player_preloadObject

Returns the value of attribute player_preload.



126
127
128
# File 'lib/mux_ruby/models/video_view.rb', line 126

def player_preload
  @player_preload
end

#player_remote_playedObject

Returns the value of attribute player_remote_played.



244
245
246
# File 'lib/mux_ruby/models/video_view.rb', line 244

def player_remote_played
  @player_remote_played
end

#player_softwareObject

Returns the value of attribute player_software.



132
133
134
# File 'lib/mux_ruby/models/video_view.rb', line 132

def player_software
  @player_software
end

#player_software_versionObject

Returns the value of attribute player_software_version.



238
239
240
# File 'lib/mux_ruby/models/video_view.rb', line 238

def player_software_version
  @player_software_version
end

#player_source_domainObject

Returns the value of attribute player_source_domain.



22
23
24
# File 'lib/mux_ruby/models/video_view.rb', line 22

def player_source_domain
  @player_source_domain
end

#player_source_durationObject

Returns the value of attribute player_source_duration.



192
193
194
# File 'lib/mux_ruby/models/video_view.rb', line 192

def player_source_duration
  @player_source_duration
end

#player_source_heightObject

Returns the value of attribute player_source_height.



38
39
40
# File 'lib/mux_ruby/models/video_view.rb', line 38

def player_source_height
  @player_source_height
end

#player_source_host_nameObject

Returns the value of attribute player_source_host_name.



94
95
96
# File 'lib/mux_ruby/models/video_view.rb', line 94

def player_source_host_name
  @player_source_host_name
end

#player_source_stream_typeObject

Returns the value of attribute player_source_stream_type.



114
115
116
# File 'lib/mux_ruby/models/video_view.rb', line 114

def player_source_stream_type
  @player_source_stream_type
end

#player_source_typeObject

Returns the value of attribute player_source_type.



46
47
48
# File 'lib/mux_ruby/models/video_view.rb', line 46

def player_source_type
  @player_source_type
end

#player_source_urlObject

Returns the value of attribute player_source_url.



194
195
196
# File 'lib/mux_ruby/models/video_view.rb', line 194

def player_source_url
  @player_source_url
end

#player_source_widthObject

Returns the value of attribute player_source_width.



72
73
74
# File 'lib/mux_ruby/models/video_view.rb', line 72

def player_source_width
  @player_source_width
end

#player_startup_timeObject

Returns the value of attribute player_startup_time.



212
213
214
# File 'lib/mux_ruby/models/video_view.rb', line 212

def player_startup_time
  @player_startup_time
end

#player_versionObject

Returns the value of attribute player_version.



110
111
112
# File 'lib/mux_ruby/models/video_view.rb', line 110

def player_version
  @player_version
end

#player_view_countObject

Returns the value of attribute player_view_count.



130
131
132
# File 'lib/mux_ruby/models/video_view.rb', line 130

def player_view_count
  @player_view_count
end

#player_widthObject

Returns the value of attribute player_width.



140
141
142
# File 'lib/mux_ruby/models/video_view.rb', line 140

def player_width
  @player_width
end

#preroll_ad_asset_hostnameObject

Returns the value of attribute preroll_ad_asset_hostname.



20
21
22
# File 'lib/mux_ruby/models/video_view.rb', line 20

def preroll_ad_asset_hostname
  @preroll_ad_asset_hostname
end

#preroll_ad_tag_hostnameObject

Returns the value of attribute preroll_ad_tag_hostname.



116
117
118
# File 'lib/mux_ruby/models/video_view.rb', line 116

def preroll_ad_tag_hostname
  @preroll_ad_tag_hostname
end

#preroll_playedObject

Returns the value of attribute preroll_played.



150
151
152
# File 'lib/mux_ruby/models/video_view.rb', line 150

def preroll_played
  @preroll_played
end

#preroll_requestedObject

Returns the value of attribute preroll_requested.



28
29
30
# File 'lib/mux_ruby/models/video_view.rb', line 28

def preroll_requested
  @preroll_requested
end

#property_idObject

Returns the value of attribute property_id.



226
227
228
# File 'lib/mux_ruby/models/video_view.rb', line 226

def property_id
  @property_id
end

#quality_scoreObject

Returns the value of attribute quality_score.



236
237
238
# File 'lib/mux_ruby/models/video_view.rb', line 236

def quality_score
  @quality_score
end

#rebuffer_percentageObject

Returns the value of attribute rebuffer_percentage.



204
205
206
# File 'lib/mux_ruby/models/video_view.rb', line 204

def rebuffer_percentage
  @rebuffer_percentage
end

#rebuffering_scoreObject

Returns the value of attribute rebuffering_score.



120
121
122
# File 'lib/mux_ruby/models/video_view.rb', line 120

def rebuffering_score
  @rebuffering_score
end

#regionObject

Returns the value of attribute region.



24
25
26
# File 'lib/mux_ruby/models/video_view.rb', line 24

def region
  @region
end

#requests_for_first_prerollObject

Returns the value of attribute requests_for_first_preroll.



88
89
90
# File 'lib/mux_ruby/models/video_view.rb', line 88

def requests_for_first_preroll
  @requests_for_first_preroll
end

#session_idObject

Returns the value of attribute session_id.



178
179
180
# File 'lib/mux_ruby/models/video_view.rb', line 178

def session_id
  @session_id
end

#short_timeObject

Returns the value of attribute short_time.



202
203
204
# File 'lib/mux_ruby/models/video_view.rb', line 202

def short_time
  @short_time
end

#startup_scoreObject

Returns the value of attribute startup_score.



32
33
34
# File 'lib/mux_ruby/models/video_view.rb', line 32

def startup_score
  @startup_score
end

#sub_property_idObject

Returns the value of attribute sub_property_id.



242
243
244
# File 'lib/mux_ruby/models/video_view.rb', line 242

def sub_property_id
  @sub_property_id
end

#time_to_first_frameObject

Returns the value of attribute time_to_first_frame.



206
207
208
# File 'lib/mux_ruby/models/video_view.rb', line 206

def time_to_first_frame
  @time_to_first_frame
end

#updated_atObject

Returns the value of attribute updated_at.



62
63
64
# File 'lib/mux_ruby/models/video_view.rb', line 62

def updated_at
  @updated_at
end

#used_fullscreenObject

Returns the value of attribute used_fullscreen.



222
223
224
# File 'lib/mux_ruby/models/video_view.rb', line 222

def used_fullscreen
  @used_fullscreen
end

#video_content_typeObject

Returns the value of attribute video_content_type.



182
183
184
# File 'lib/mux_ruby/models/video_view.rb', line 182

def video_content_type
  @video_content_type
end

#video_durationObject

Returns the value of attribute video_duration.



44
45
46
# File 'lib/mux_ruby/models/video_view.rb', line 44

def video_duration
  @video_duration
end

#video_encoding_variantObject

Returns the value of attribute video_encoding_variant.



138
139
140
# File 'lib/mux_ruby/models/video_view.rb', line 138

def video_encoding_variant
  @video_encoding_variant
end

#video_idObject

Returns the value of attribute video_id.



174
175
176
# File 'lib/mux_ruby/models/video_view.rb', line 174

def video_id
  @video_id
end

#video_languageObject

Returns the value of attribute video_language.



70
71
72
# File 'lib/mux_ruby/models/video_view.rb', line 70

def video_language
  @video_language
end

#video_producerObject

Returns the value of attribute video_producer.



168
169
170
# File 'lib/mux_ruby/models/video_view.rb', line 168

def video_producer
  @video_producer
end

#video_seriesObject

Returns the value of attribute video_series.



58
59
60
# File 'lib/mux_ruby/models/video_view.rb', line 58

def video_series
  @video_series
end

#video_startup_business_exception_error_type_idObject

Returns the value of attribute video_startup_business_exception_error_type_id.



330
331
332
# File 'lib/mux_ruby/models/video_view.rb', line 330

def video_startup_business_exception_error_type_id
  @video_startup_business_exception_error_type_id
end

#video_startup_failureObject

Returns the value of attribute video_startup_failure.



298
299
300
# File 'lib/mux_ruby/models/video_view.rb', line 298

def video_startup_failure
  @video_startup_failure
end

#video_startup_preroll_load_timeObject

Returns the value of attribute video_startup_preroll_load_time.



108
109
110
# File 'lib/mux_ruby/models/video_view.rb', line 108

def video_startup_preroll_load_time
  @video_startup_preroll_load_time
end

#video_startup_preroll_request_timeObject

Returns the value of attribute video_startup_preroll_request_time.



54
55
56
# File 'lib/mux_ruby/models/video_view.rb', line 54

def video_startup_preroll_request_time
  @video_startup_preroll_request_time
end

#video_stream_typeObject

Returns the value of attribute video_stream_type.



210
211
212
# File 'lib/mux_ruby/models/video_view.rb', line 210

def video_stream_type
  @video_stream_type
end

#video_titleObject

Returns the value of attribute video_title.



198
199
200
# File 'lib/mux_ruby/models/video_view.rb', line 198

def video_title
  @video_title
end

#video_variant_idObject

Returns the value of attribute video_variant_id.



190
191
192
# File 'lib/mux_ruby/models/video_view.rb', line 190

def video_variant_id
  @video_variant_id
end

#video_variant_nameObject

Returns the value of attribute video_variant_name.



148
149
150
# File 'lib/mux_ruby/models/video_view.rb', line 148

def video_variant_name
  @video_variant_name
end

#view_average_request_latencyObject

Returns the value of attribute view_average_request_latency.



188
189
190
# File 'lib/mux_ruby/models/video_view.rb', line 188

def view_average_request_latency
  @view_average_request_latency
end

#view_average_request_throughputObject

Returns the value of attribute view_average_request_throughput.



166
167
168
# File 'lib/mux_ruby/models/video_view.rb', line 166

def view_average_request_throughput
  @view_average_request_throughput
end

#view_content_startup_timeObject

Returns the value of attribute view_content_startup_time.



336
337
338
# File 'lib/mux_ruby/models/video_view.rb', line 336

def view_content_startup_time
  @view_content_startup_time
end

#view_drm_typeObject

Returns the value of attribute view_drm_type.



292
293
294
# File 'lib/mux_ruby/models/video_view.rb', line 292

def view_drm_type
  @view_drm_type
end

#view_droppedObject

Returns the value of attribute view_dropped.



340
341
342
# File 'lib/mux_ruby/models/video_view.rb', line 340

def view_dropped
  @view_dropped
end

#view_dropped_frame_countObject

Returns the value of attribute view_dropped_frame_count.



294
295
296
# File 'lib/mux_ruby/models/video_view.rb', line 294

def view_dropped_frame_count
  @view_dropped_frame_count
end

#view_endObject

Returns the value of attribute view_end.



98
99
100
# File 'lib/mux_ruby/models/video_view.rb', line 98

def view_end
  @view_end
end

#view_error_idObject

Returns the value of attribute view_error_id.



146
147
148
# File 'lib/mux_ruby/models/video_view.rb', line 146

def view_error_id
  @view_error_id
end

#view_has_adObject

Returns the value of attribute view_has_ad.



296
297
298
# File 'lib/mux_ruby/models/video_view.rb', line 296

def view_has_ad
  @view_has_ad
end

#view_idObject

Returns the value of attribute view_id.



50
51
52
# File 'lib/mux_ruby/models/video_view.rb', line 50

def view_id
  @view_id
end

#view_max_downscale_percentageObject

Returns the value of attribute view_max_downscale_percentage.



216
217
218
# File 'lib/mux_ruby/models/video_view.rb', line 216

def view_max_downscale_percentage
  @view_max_downscale_percentage
end

#view_max_playhead_positionObject

Returns the value of attribute view_max_playhead_position.



246
247
248
# File 'lib/mux_ruby/models/video_view.rb', line 246

def view_max_playhead_position
  @view_max_playhead_position
end

#view_max_request_latencyObject

Returns the value of attribute view_max_request_latency.



86
87
88
# File 'lib/mux_ruby/models/video_view.rb', line 86

def view_max_request_latency
  @view_max_request_latency
end

#view_max_upscale_percentageObject

Returns the value of attribute view_max_upscale_percentage.



218
219
220
# File 'lib/mux_ruby/models/video_view.rb', line 218

def view_max_upscale_percentage
  @view_max_upscale_percentage
end

#view_playing_timeObject

Returns the value of attribute view_playing_time.



248
249
250
# File 'lib/mux_ruby/models/video_view.rb', line 248

def view_playing_time
  @view_playing_time
end

#view_seek_countObject

Returns the value of attribute view_seek_count.



142
143
144
# File 'lib/mux_ruby/models/video_view.rb', line 142

def view_seek_count
  @view_seek_count
end

#view_seek_durationObject

Returns the value of attribute view_seek_duration.



34
35
36
# File 'lib/mux_ruby/models/video_view.rb', line 34

def view_seek_duration
  @view_seek_duration
end

#view_session_idObject

Returns the value of attribute view_session_id.



250
251
252
# File 'lib/mux_ruby/models/video_view.rb', line 250

def view_session_id
  @view_session_id
end

#view_startObject

Returns the value of attribute view_start.



164
165
166
# File 'lib/mux_ruby/models/video_view.rb', line 164

def view_start
  @view_start
end

#view_total_content_playback_timeObject

Returns the value of attribute view_total_content_playback_time.



64
65
66
# File 'lib/mux_ruby/models/video_view.rb', line 64

def view_total_content_playback_time
  @view_total_content_playback_time
end

#view_total_downscalingObject

Returns the value of attribute view_total_downscaling.



90
91
92
# File 'lib/mux_ruby/models/video_view.rb', line 90

def view_total_downscaling
  @view_total_downscaling
end

#view_total_upscalingObject

Returns the value of attribute view_total_upscaling.



18
19
20
# File 'lib/mux_ruby/models/video_view.rb', line 18

def view_total_upscaling
  @view_total_upscaling
end

#viewer_application_engineObject

Returns the value of attribute viewer_application_engine.



152
153
154
# File 'lib/mux_ruby/models/video_view.rb', line 152

def viewer_application_engine
  @viewer_application_engine
end

#viewer_application_nameObject

Returns the value of attribute viewer_application_name.



60
61
62
# File 'lib/mux_ruby/models/video_view.rb', line 60

def viewer_application_name
  @viewer_application_name
end

#viewer_application_versionObject

Returns the value of attribute viewer_application_version.



214
215
216
# File 'lib/mux_ruby/models/video_view.rb', line 214

def viewer_application_version
  @viewer_application_version
end

#viewer_connection_typeObject

Returns the value of attribute viewer_connection_type.



252
253
254
# File 'lib/mux_ruby/models/video_view.rb', line 252

def viewer_connection_type
  @viewer_connection_type
end

#viewer_device_categoryObject

Returns the value of attribute viewer_device_category.



106
107
108
# File 'lib/mux_ruby/models/video_view.rb', line 106

def viewer_device_category
  @viewer_device_category
end

#viewer_device_manufacturerObject

Returns the value of attribute viewer_device_manufacturer.



118
119
120
# File 'lib/mux_ruby/models/video_view.rb', line 118

def viewer_device_manufacturer
  @viewer_device_manufacturer
end

#viewer_device_modelObject

Returns the value of attribute viewer_device_model.



254
255
256
# File 'lib/mux_ruby/models/video_view.rb', line 254

def viewer_device_model
  @viewer_device_model
end

#viewer_device_nameObject

Returns the value of attribute viewer_device_name.



56
57
58
# File 'lib/mux_ruby/models/video_view.rb', line 56

def viewer_device_name
  @viewer_device_name
end

#viewer_experience_scoreObject

Returns the value of attribute viewer_experience_score.



144
145
146
# File 'lib/mux_ruby/models/video_view.rb', line 144

def viewer_experience_score
  @viewer_experience_score
end

#viewer_os_architectureObject

Returns the value of attribute viewer_os_architecture.



154
155
156
# File 'lib/mux_ruby/models/video_view.rb', line 154

def viewer_os_architecture
  @viewer_os_architecture
end

#viewer_os_familyObject

Returns the value of attribute viewer_os_family.



184
185
186
# File 'lib/mux_ruby/models/video_view.rb', line 184

def viewer_os_family
  @viewer_os_family
end

#viewer_os_versionObject

Returns the value of attribute viewer_os_version.



124
125
126
# File 'lib/mux_ruby/models/video_view.rb', line 124

def viewer_os_version
  @viewer_os_version
end

#viewer_user_agentObject

Returns the value of attribute viewer_user_agent.



26
27
28
# File 'lib/mux_ruby/models/video_view.rb', line 26

def viewer_user_agent
  @viewer_user_agent
end

#viewer_user_idObject

Returns the value of attribute viewer_user_id.



208
209
210
# File 'lib/mux_ruby/models/video_view.rb', line 208

def viewer_user_id
  @viewer_user_id
end

#watch_timeObject

Returns the value of attribute watch_time.



112
113
114
# File 'lib/mux_ruby/models/video_view.rb', line 112

def watch_time
  @watch_time
end

#watchedObject

Returns the value of attribute watched.



78
79
80
# File 'lib/mux_ruby/models/video_view.rb', line 78

def watched
  @watched
end

#weighted_average_bitrateObject

Returns the value of attribute weighted_average_bitrate.



256
257
258
# File 'lib/mux_ruby/models/video_view.rb', line 256

def weighted_average_bitrate
  @weighted_average_bitrate
end

Class Method Details

.acceptable_attributesObject

Returns all the JSON keys this model knows about



511
512
513
# File 'lib/mux_ruby/models/video_view.rb', line 511

def self.acceptable_attributes
  attribute_map.values
end

.attribute_mapObject

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



343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
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
# File 'lib/mux_ruby/models/video_view.rb', line 343

def self.attribute_map
  {
    :'view_total_upscaling' => :'view_total_upscaling',
    :'preroll_ad_asset_hostname' => :'preroll_ad_asset_hostname',
    :'player_source_domain' => :'player_source_domain',
    :'region' => :'region',
    :'viewer_user_agent' => :'viewer_user_agent',
    :'preroll_requested' => :'preroll_requested',
    :'page_type' => :'page_type',
    :'startup_score' => :'startup_score',
    :'view_seek_duration' => :'view_seek_duration',
    :'country_name' => :'country_name',
    :'player_source_height' => :'player_source_height',
    :'longitude' => :'longitude',
    :'buffering_count' => :'buffering_count',
    :'video_duration' => :'video_duration',
    :'player_source_type' => :'player_source_type',
    :'city' => :'city',
    :'view_id' => :'view_id',
    :'platform_description' => :'platform_description',
    :'video_startup_preroll_request_time' => :'video_startup_preroll_request_time',
    :'viewer_device_name' => :'viewer_device_name',
    :'video_series' => :'video_series',
    :'viewer_application_name' => :'viewer_application_name',
    :'updated_at' => :'updated_at',
    :'view_total_content_playback_time' => :'view_total_content_playback_time',
    :'cdn' => :'cdn',
    :'player_instance_id' => :'player_instance_id',
    :'video_language' => :'video_language',
    :'player_source_width' => :'player_source_width',
    :'player_error_message' => :'player_error_message',
    :'player_mux_plugin_version' => :'player_mux_plugin_version',
    :'watched' => :'watched',
    :'playback_score' => :'playback_score',
    :'page_url' => :'page_url',
    :'metro' => :'metro',
    :'view_max_request_latency' => :'view_max_request_latency',
    :'requests_for_first_preroll' => :'requests_for_first_preroll',
    :'view_total_downscaling' => :'view_total_downscaling',
    :'latitude' => :'latitude',
    :'player_source_host_name' => :'player_source_host_name',
    :'inserted_at' => :'inserted_at',
    :'view_end' => :'view_end',
    :'mux_embed_version' => :'mux_embed_version',
    :'player_language' => :'player_language',
    :'page_load_time' => :'page_load_time',
    :'viewer_device_category' => :'viewer_device_category',
    :'video_startup_preroll_load_time' => :'video_startup_preroll_load_time',
    :'player_version' => :'player_version',
    :'watch_time' => :'watch_time',
    :'player_source_stream_type' => :'player_source_stream_type',
    :'preroll_ad_tag_hostname' => :'preroll_ad_tag_hostname',
    :'viewer_device_manufacturer' => :'viewer_device_manufacturer',
    :'rebuffering_score' => :'rebuffering_score',
    :'experiment_name' => :'experiment_name',
    :'viewer_os_version' => :'viewer_os_version',
    :'player_preload' => :'player_preload',
    :'buffering_duration' => :'buffering_duration',
    :'player_view_count' => :'player_view_count',
    :'player_software' => :'player_software',
    :'player_load_time' => :'player_load_time',
    :'platform_summary' => :'platform_summary',
    :'video_encoding_variant' => :'video_encoding_variant',
    :'player_width' => :'player_width',
    :'view_seek_count' => :'view_seek_count',
    :'viewer_experience_score' => :'viewer_experience_score',
    :'view_error_id' => :'view_error_id',
    :'video_variant_name' => :'video_variant_name',
    :'preroll_played' => :'preroll_played',
    :'viewer_application_engine' => :'viewer_application_engine',
    :'viewer_os_architecture' => :'viewer_os_architecture',
    :'player_error_code' => :'player_error_code',
    :'buffering_rate' => :'buffering_rate',
    :'events' => :'events',
    :'player_name' => :'player_name',
    :'view_start' => :'view_start',
    :'view_average_request_throughput' => :'view_average_request_throughput',
    :'video_producer' => :'video_producer',
    :'error_type_id' => :'error_type_id',
    :'mux_viewer_id' => :'mux_viewer_id',
    :'video_id' => :'video_id',
    :'continent_code' => :'continent_code',
    :'session_id' => :'session_id',
    :'exit_before_video_start' => :'exit_before_video_start',
    :'video_content_type' => :'video_content_type',
    :'viewer_os_family' => :'viewer_os_family',
    :'player_poster' => :'player_poster',
    :'view_average_request_latency' => :'view_average_request_latency',
    :'video_variant_id' => :'video_variant_id',
    :'player_source_duration' => :'player_source_duration',
    :'player_source_url' => :'player_source_url',
    :'mux_api_version' => :'mux_api_version',
    :'video_title' => :'video_title',
    :'id' => :'id',
    :'short_time' => :'short_time',
    :'rebuffer_percentage' => :'rebuffer_percentage',
    :'time_to_first_frame' => :'time_to_first_frame',
    :'viewer_user_id' => :'viewer_user_id',
    :'video_stream_type' => :'video_stream_type',
    :'player_startup_time' => :'player_startup_time',
    :'viewer_application_version' => :'viewer_application_version',
    :'view_max_downscale_percentage' => :'view_max_downscale_percentage',
    :'view_max_upscale_percentage' => :'view_max_upscale_percentage',
    :'country_code' => :'country_code',
    :'used_fullscreen' => :'used_fullscreen',
    :'isp' => :'isp',
    :'property_id' => :'property_id',
    :'player_autoplay' => :'player_autoplay',
    :'player_height' => :'player_height',
    :'asn' => :'asn',
    :'asn_name' => :'asn_name',
    :'quality_score' => :'quality_score',
    :'player_software_version' => :'player_software_version',
    :'player_mux_plugin_name' => :'player_mux_plugin_name',
    :'sub_property_id' => :'sub_property_id',
    :'player_remote_played' => :'player_remote_played',
    :'view_max_playhead_position' => :'view_max_playhead_position',
    :'view_playing_time' => :'view_playing_time',
    :'view_session_id' => :'view_session_id',
    :'viewer_connection_type' => :'viewer_connection_type',
    :'viewer_device_model' => :'viewer_device_model',
    :'weighted_average_bitrate' => :'weighted_average_bitrate',
    :'custom_1' => :'custom_1',
    :'custom_2' => :'custom_2',
    :'custom_3' => :'custom_3',
    :'custom_4' => :'custom_4',
    :'custom_5' => :'custom_5',
    :'custom_6' => :'custom_6',
    :'custom_7' => :'custom_7',
    :'custom_8' => :'custom_8',
    :'custom_9' => :'custom_9',
    :'custom_10' => :'custom_10',
    :'live_stream_latency' => :'live_stream_latency',
    :'asset_id' => :'asset_id',
    :'environment_id' => :'environment_id',
    :'live_stream_id' => :'live_stream_id',
    :'mux_embed' => :'mux_embed',
    :'playback_id' => :'playback_id',
    :'player_error_context' => :'player_error_context',
    :'view_drm_type' => :'view_drm_type',
    :'view_dropped_frame_count' => :'view_dropped_frame_count',
    :'view_has_ad' => :'view_has_ad',
    :'video_startup_failure' => :'video_startup_failure',
    :'ad_attempt_count' => :'ad_attempt_count',
    :'ad_break_count' => :'ad_break_count',
    :'ad_break_error_count' => :'ad_break_error_count',
    :'ad_break_error_percentage' => :'ad_break_error_percentage',
    :'ad_error_count' => :'ad_error_count',
    :'ad_error_percentage' => :'ad_error_percentage',
    :'ad_impression_count' => :'ad_impression_count',
    :'ad_startup_error_count' => :'ad_startup_error_count',
    :'ad_startup_error_percentage' => :'ad_startup_error_percentage',
    :'ad_exit_before_start_count' => :'ad_exit_before_start_count',
    :'ad_exit_before_start_percentage' => :'ad_exit_before_start_percentage',
    :'long_resume' => :'long_resume',
    :'long_rebuffering' => :'long_rebuffering',
    :'playback_failure_error_type_id' => :'playback_failure_error_type_id',
    :'playback_business_exception_error_type_id' => :'playback_business_exception_error_type_id',
    :'video_startup_business_exception_error_type_id' => :'video_startup_business_exception_error_type_id',
    :'playback_failure' => :'playback_failure',
    :'ad_playback_failure_error_type_id' => :'ad_playback_failure_error_type_id',
    :'view_content_startup_time' => :'view_content_startup_time',
    :'ad_preroll_startup_time' => :'ad_preroll_startup_time',
    :'view_dropped' => :'view_dropped'
  }
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



1690
1691
1692
# File 'lib/mux_ruby/models/video_view.rb', line 1690

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

.openapi_nullableObject

List of attributes with nullable: true



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
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
# File 'lib/mux_ruby/models/video_view.rb', line 684

def self.openapi_nullable
  Set.new([
    :'view_total_upscaling',
    :'preroll_ad_asset_hostname',
    :'player_source_domain',
    :'region',
    :'viewer_user_agent',
    :'preroll_requested',
    :'page_type',
    :'startup_score',
    :'view_seek_duration',
    :'country_name',
    :'player_source_height',
    :'longitude',
    :'buffering_count',
    :'video_duration',
    :'player_source_type',
    :'city',
    :'platform_description',
    :'video_startup_preroll_request_time',
    :'viewer_device_name',
    :'video_series',
    :'viewer_application_name',
    :'view_total_content_playback_time',
    :'cdn',
    :'player_instance_id',
    :'video_language',
    :'player_source_width',
    :'player_error_message',
    :'player_mux_plugin_version',
    :'playback_score',
    :'page_url',
    :'metro',
    :'view_max_request_latency',
    :'requests_for_first_preroll',
    :'view_total_downscaling',
    :'latitude',
    :'player_source_host_name',
    :'mux_embed_version',
    :'player_language',
    :'page_load_time',
    :'viewer_device_category',
    :'video_startup_preroll_load_time',
    :'player_version',
    :'watch_time',
    :'player_source_stream_type',
    :'preroll_ad_tag_hostname',
    :'viewer_device_manufacturer',
    :'rebuffering_score',
    :'experiment_name',
    :'viewer_os_version',
    :'buffering_duration',
    :'player_view_count',
    :'player_software',
    :'player_load_time',
    :'platform_summary',
    :'video_encoding_variant',
    :'player_width',
    :'view_seek_count',
    :'viewer_experience_score',
    :'view_error_id',
    :'video_variant_name',
    :'preroll_played',
    :'viewer_application_engine',
    :'viewer_os_architecture',
    :'player_error_code',
    :'buffering_rate',
    :'player_name',
    :'view_average_request_throughput',
    :'video_producer',
    :'error_type_id',
    :'video_id',
    :'continent_code',
    :'video_content_type',
    :'viewer_os_family',
    :'player_poster',
    :'view_average_request_latency',
    :'video_variant_id',
    :'player_source_duration',
    :'player_source_url',
    :'video_title',
    :'rebuffer_percentage',
    :'time_to_first_frame',
    :'viewer_user_id',
    :'video_stream_type',
    :'player_startup_time',
    :'viewer_application_version',
    :'view_max_downscale_percentage',
    :'view_max_upscale_percentage',
    :'country_code',
    :'isp',
    :'player_height',
    :'asn',
    :'asn_name',
    :'quality_score',
    :'player_software_version',
    :'player_mux_plugin_name',
    :'sub_property_id',
    :'player_remote_played',
    :'view_max_playhead_position',
    :'view_playing_time',
    :'view_session_id',
    :'viewer_connection_type',
    :'viewer_device_model',
    :'weighted_average_bitrate',
    :'custom_1',
    :'custom_2',
    :'custom_3',
    :'custom_4',
    :'custom_5',
    :'custom_6',
    :'custom_7',
    :'custom_8',
    :'custom_9',
    :'custom_10',
    :'live_stream_latency',
    :'asset_id',
    :'live_stream_id',
    :'mux_embed',
    :'playback_id',
    :'player_error_context',
    :'view_drm_type',
    :'view_dropped_frame_count',
    :'ad_attempt_count',
    :'ad_break_count',
    :'ad_break_error_count',
    :'ad_break_error_percentage',
    :'ad_error_count',
    :'ad_error_percentage',
    :'ad_impression_count',
    :'ad_startup_error_count',
    :'ad_startup_error_percentage',
    :'ad_exit_before_start_count',
    :'ad_exit_before_start_percentage',
    :'playback_failure_error_type_id',
    :'playback_business_exception_error_type_id',
    :'video_startup_business_exception_error_type_id',
    :'ad_playback_failure_error_type_id',
    :'view_content_startup_time',
    :'ad_preroll_startup_time',
  ])
end

.openapi_typesObject

Attribute type mapping.



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
630
631
632
633
634
635
636
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
# File 'lib/mux_ruby/models/video_view.rb', line 516

def self.openapi_types
  {
    :'view_total_upscaling' => :'String',
    :'preroll_ad_asset_hostname' => :'String',
    :'player_source_domain' => :'String',
    :'region' => :'String',
    :'viewer_user_agent' => :'String',
    :'preroll_requested' => :'Boolean',
    :'page_type' => :'String',
    :'startup_score' => :'String',
    :'view_seek_duration' => :'Integer',
    :'country_name' => :'String',
    :'player_source_height' => :'Integer',
    :'longitude' => :'String',
    :'buffering_count' => :'Integer',
    :'video_duration' => :'Integer',
    :'player_source_type' => :'String',
    :'city' => :'String',
    :'view_id' => :'String',
    :'platform_description' => :'String',
    :'video_startup_preroll_request_time' => :'Integer',
    :'viewer_device_name' => :'String',
    :'video_series' => :'String',
    :'viewer_application_name' => :'String',
    :'updated_at' => :'String',
    :'view_total_content_playback_time' => :'Integer',
    :'cdn' => :'String',
    :'player_instance_id' => :'String',
    :'video_language' => :'String',
    :'player_source_width' => :'Integer',
    :'player_error_message' => :'String',
    :'player_mux_plugin_version' => :'String',
    :'watched' => :'Boolean',
    :'playback_score' => :'String',
    :'page_url' => :'String',
    :'metro' => :'String',
    :'view_max_request_latency' => :'Integer',
    :'requests_for_first_preroll' => :'Integer',
    :'view_total_downscaling' => :'String',
    :'latitude' => :'String',
    :'player_source_host_name' => :'String',
    :'inserted_at' => :'String',
    :'view_end' => :'String',
    :'mux_embed_version' => :'String',
    :'player_language' => :'String',
    :'page_load_time' => :'Integer',
    :'viewer_device_category' => :'String',
    :'video_startup_preroll_load_time' => :'Integer',
    :'player_version' => :'String',
    :'watch_time' => :'Integer',
    :'player_source_stream_type' => :'String',
    :'preroll_ad_tag_hostname' => :'String',
    :'viewer_device_manufacturer' => :'String',
    :'rebuffering_score' => :'String',
    :'experiment_name' => :'String',
    :'viewer_os_version' => :'String',
    :'player_preload' => :'Boolean',
    :'buffering_duration' => :'Integer',
    :'player_view_count' => :'Integer',
    :'player_software' => :'String',
    :'player_load_time' => :'Integer',
    :'platform_summary' => :'String',
    :'video_encoding_variant' => :'String',
    :'player_width' => :'Integer',
    :'view_seek_count' => :'Integer',
    :'viewer_experience_score' => :'String',
    :'view_error_id' => :'Integer',
    :'video_variant_name' => :'String',
    :'preroll_played' => :'Boolean',
    :'viewer_application_engine' => :'String',
    :'viewer_os_architecture' => :'String',
    :'player_error_code' => :'String',
    :'buffering_rate' => :'String',
    :'events' => :'Array<VideoViewEvent>',
    :'player_name' => :'String',
    :'view_start' => :'String',
    :'view_average_request_throughput' => :'Integer',
    :'video_producer' => :'String',
    :'error_type_id' => :'Integer',
    :'mux_viewer_id' => :'String',
    :'video_id' => :'String',
    :'continent_code' => :'String',
    :'session_id' => :'String',
    :'exit_before_video_start' => :'Boolean',
    :'video_content_type' => :'String',
    :'viewer_os_family' => :'String',
    :'player_poster' => :'String',
    :'view_average_request_latency' => :'Integer',
    :'video_variant_id' => :'String',
    :'player_source_duration' => :'Integer',
    :'player_source_url' => :'String',
    :'mux_api_version' => :'String',
    :'video_title' => :'String',
    :'id' => :'String',
    :'short_time' => :'String',
    :'rebuffer_percentage' => :'String',
    :'time_to_first_frame' => :'Integer',
    :'viewer_user_id' => :'String',
    :'video_stream_type' => :'String',
    :'player_startup_time' => :'Integer',
    :'viewer_application_version' => :'String',
    :'view_max_downscale_percentage' => :'String',
    :'view_max_upscale_percentage' => :'String',
    :'country_code' => :'String',
    :'used_fullscreen' => :'Boolean',
    :'isp' => :'String',
    :'property_id' => :'Integer',
    :'player_autoplay' => :'Boolean',
    :'player_height' => :'Integer',
    :'asn' => :'Integer',
    :'asn_name' => :'String',
    :'quality_score' => :'String',
    :'player_software_version' => :'String',
    :'player_mux_plugin_name' => :'String',
    :'sub_property_id' => :'String',
    :'player_remote_played' => :'Boolean',
    :'view_max_playhead_position' => :'String',
    :'view_playing_time' => :'String',
    :'view_session_id' => :'String',
    :'viewer_connection_type' => :'String',
    :'viewer_device_model' => :'String',
    :'weighted_average_bitrate' => :'Float',
    :'custom_1' => :'String',
    :'custom_2' => :'String',
    :'custom_3' => :'String',
    :'custom_4' => :'String',
    :'custom_5' => :'String',
    :'custom_6' => :'String',
    :'custom_7' => :'String',
    :'custom_8' => :'String',
    :'custom_9' => :'String',
    :'custom_10' => :'String',
    :'live_stream_latency' => :'Integer',
    :'asset_id' => :'String',
    :'environment_id' => :'String',
    :'live_stream_id' => :'String',
    :'mux_embed' => :'String',
    :'playback_id' => :'String',
    :'player_error_context' => :'String',
    :'view_drm_type' => :'String',
    :'view_dropped_frame_count' => :'Integer',
    :'view_has_ad' => :'Boolean',
    :'video_startup_failure' => :'Boolean',
    :'ad_attempt_count' => :'Integer',
    :'ad_break_count' => :'Integer',
    :'ad_break_error_count' => :'Integer',
    :'ad_break_error_percentage' => :'String',
    :'ad_error_count' => :'Integer',
    :'ad_error_percentage' => :'String',
    :'ad_impression_count' => :'Integer',
    :'ad_startup_error_count' => :'Integer',
    :'ad_startup_error_percentage' => :'String',
    :'ad_exit_before_start_count' => :'Integer',
    :'ad_exit_before_start_percentage' => :'String',
    :'long_resume' => :'Boolean',
    :'long_rebuffering' => :'Boolean',
    :'playback_failure_error_type_id' => :'Integer',
    :'playback_business_exception_error_type_id' => :'Integer',
    :'video_startup_business_exception_error_type_id' => :'Integer',
    :'playback_failure' => :'Boolean',
    :'ad_playback_failure_error_type_id' => :'Integer',
    :'view_content_startup_time' => :'Integer',
    :'ad_preroll_startup_time' => :'Integer',
    :'view_dropped' => :'Boolean'
  }
end

Instance Method Details

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
# File 'lib/mux_ruby/models/video_view.rb', line 1508

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      view_total_upscaling == o.view_total_upscaling &&
      preroll_ad_asset_hostname == o.preroll_ad_asset_hostname &&
      player_source_domain == o.player_source_domain &&
      region == o.region &&
      viewer_user_agent == o.viewer_user_agent &&
      preroll_requested == o.preroll_requested &&
      page_type == o.page_type &&
      startup_score == o.startup_score &&
      view_seek_duration == o.view_seek_duration &&
      country_name == o.country_name &&
      player_source_height == o.player_source_height &&
      longitude == o.longitude &&
      buffering_count == o.buffering_count &&
      video_duration == o.video_duration &&
      player_source_type == o.player_source_type &&
      city == o.city &&
      view_id == o.view_id &&
      platform_description == o.platform_description &&
      video_startup_preroll_request_time == o.video_startup_preroll_request_time &&
      viewer_device_name == o.viewer_device_name &&
      video_series == o.video_series &&
      viewer_application_name == o.viewer_application_name &&
      updated_at == o.updated_at &&
      view_total_content_playback_time == o.view_total_content_playback_time &&
      cdn == o.cdn &&
      player_instance_id == o.player_instance_id &&
      video_language == o.video_language &&
      player_source_width == o.player_source_width &&
      player_error_message == o.player_error_message &&
      player_mux_plugin_version == o.player_mux_plugin_version &&
      watched == o.watched &&
      playback_score == o.playback_score &&
      page_url == o.page_url &&
      metro == o.metro &&
      view_max_request_latency == o.view_max_request_latency &&
      requests_for_first_preroll == o.requests_for_first_preroll &&
      view_total_downscaling == o.view_total_downscaling &&
      latitude == o.latitude &&
      player_source_host_name == o.player_source_host_name &&
      inserted_at == o.inserted_at &&
      view_end == o.view_end &&
      mux_embed_version == o.mux_embed_version &&
      player_language == o.player_language &&
      page_load_time == o.page_load_time &&
      viewer_device_category == o.viewer_device_category &&
      video_startup_preroll_load_time == o.video_startup_preroll_load_time &&
      player_version == o.player_version &&
      watch_time == o.watch_time &&
      player_source_stream_type == o.player_source_stream_type &&
      preroll_ad_tag_hostname == o.preroll_ad_tag_hostname &&
      viewer_device_manufacturer == o.viewer_device_manufacturer &&
      rebuffering_score == o.rebuffering_score &&
      experiment_name == o.experiment_name &&
      viewer_os_version == o.viewer_os_version &&
      player_preload == o.player_preload &&
      buffering_duration == o.buffering_duration &&
      player_view_count == o.player_view_count &&
      player_software == o.player_software &&
      player_load_time == o.player_load_time &&
      platform_summary == o.platform_summary &&
      video_encoding_variant == o.video_encoding_variant &&
      player_width == o.player_width &&
      view_seek_count == o.view_seek_count &&
      viewer_experience_score == o.viewer_experience_score &&
      view_error_id == o.view_error_id &&
      video_variant_name == o.video_variant_name &&
      preroll_played == o.preroll_played &&
      viewer_application_engine == o.viewer_application_engine &&
      viewer_os_architecture == o.viewer_os_architecture &&
      player_error_code == o.player_error_code &&
      buffering_rate == o.buffering_rate &&
      events == o.events &&
      player_name == o.player_name &&
      view_start == o.view_start &&
      view_average_request_throughput == o.view_average_request_throughput &&
      video_producer == o.video_producer &&
      error_type_id == o.error_type_id &&
      mux_viewer_id == o.mux_viewer_id &&
      video_id == o.video_id &&
      continent_code == o.continent_code &&
      session_id == o.session_id &&
      exit_before_video_start == o.exit_before_video_start &&
      video_content_type == o.video_content_type &&
      viewer_os_family == o.viewer_os_family &&
      player_poster == o.player_poster &&
      view_average_request_latency == o.view_average_request_latency &&
      video_variant_id == o.video_variant_id &&
      player_source_duration == o.player_source_duration &&
      player_source_url == o.player_source_url &&
      mux_api_version == o.mux_api_version &&
      video_title == o.video_title &&
      id == o.id &&
      short_time == o.short_time &&
      rebuffer_percentage == o.rebuffer_percentage &&
      time_to_first_frame == o.time_to_first_frame &&
      viewer_user_id == o.viewer_user_id &&
      video_stream_type == o.video_stream_type &&
      player_startup_time == o.player_startup_time &&
      viewer_application_version == o.viewer_application_version &&
      view_max_downscale_percentage == o.view_max_downscale_percentage &&
      view_max_upscale_percentage == o.view_max_upscale_percentage &&
      country_code == o.country_code &&
      used_fullscreen == o.used_fullscreen &&
      isp == o.isp &&
      property_id == o.property_id &&
      player_autoplay == o.player_autoplay &&
      player_height == o.player_height &&
      asn == o.asn &&
      asn_name == o.asn_name &&
      quality_score == o.quality_score &&
      player_software_version == o.player_software_version &&
      player_mux_plugin_name == o.player_mux_plugin_name &&
      sub_property_id == o.sub_property_id &&
      player_remote_played == o.player_remote_played &&
      view_max_playhead_position == o.view_max_playhead_position &&
      view_playing_time == o.view_playing_time &&
      view_session_id == o.view_session_id &&
      viewer_connection_type == o.viewer_connection_type &&
      viewer_device_model == o.viewer_device_model &&
      weighted_average_bitrate == o.weighted_average_bitrate &&
      custom_1 == o.custom_1 &&
      custom_2 == o.custom_2 &&
      custom_3 == o.custom_3 &&
      custom_4 == o.custom_4 &&
      custom_5 == o.custom_5 &&
      custom_6 == o.custom_6 &&
      custom_7 == o.custom_7 &&
      custom_8 == o.custom_8 &&
      custom_9 == o.custom_9 &&
      custom_10 == o.custom_10 &&
      live_stream_latency == o.live_stream_latency &&
      asset_id == o.asset_id &&
      environment_id == o.environment_id &&
      live_stream_id == o.live_stream_id &&
      mux_embed == o.mux_embed &&
      playback_id == o.playback_id &&
      player_error_context == o.player_error_context &&
      view_drm_type == o.view_drm_type &&
      view_dropped_frame_count == o.view_dropped_frame_count &&
      view_has_ad == o.view_has_ad &&
      video_startup_failure == o.video_startup_failure &&
      ad_attempt_count == o.ad_attempt_count &&
      ad_break_count == o.ad_break_count &&
      ad_break_error_count == o.ad_break_error_count &&
      ad_break_error_percentage == o.ad_break_error_percentage &&
      ad_error_count == o.ad_error_count &&
      ad_error_percentage == o.ad_error_percentage &&
      ad_impression_count == o.ad_impression_count &&
      ad_startup_error_count == o.ad_startup_error_count &&
      ad_startup_error_percentage == o.ad_startup_error_percentage &&
      ad_exit_before_start_count == o.ad_exit_before_start_count &&
      ad_exit_before_start_percentage == o.ad_exit_before_start_percentage &&
      long_resume == o.long_resume &&
      long_rebuffering == o.long_rebuffering &&
      playback_failure_error_type_id == o.playback_failure_error_type_id &&
      playback_business_exception_error_type_id == o.playback_business_exception_error_type_id &&
      video_startup_business_exception_error_type_id == o.video_startup_business_exception_error_type_id &&
      playback_failure == o.playback_failure &&
      ad_playback_failure_error_type_id == o.ad_playback_failure_error_type_id &&
      view_content_startup_time == o.view_content_startup_time &&
      ad_preroll_startup_time == o.ad_preroll_startup_time &&
      view_dropped == o.view_dropped
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



1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
# File 'lib/mux_ruby/models/video_view.rb', line 1720

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 = MuxRuby.const_get(type)
    klass.respond_to?(:openapi_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



1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
# File 'lib/mux_ruby/models/video_view.rb', line 1791

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



1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
# File 'lib/mux_ruby/models/video_view.rb', line 1697

def build_from_hash(attributes)
  return nil unless attributes.is_a?(Hash)
  self.class.openapi_types.each_pair do |key, type|
    if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_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


1677
1678
1679
# File 'lib/mux_ruby/models/video_view.rb', line 1677

def eql?(o)
  self == o
end

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



1683
1684
1685
# File 'lib/mux_ruby/models/video_view.rb', line 1683

def hash
  [view_total_upscaling, preroll_ad_asset_hostname, player_source_domain, region, viewer_user_agent, preroll_requested, page_type, startup_score, view_seek_duration, country_name, player_source_height, longitude, buffering_count, video_duration, player_source_type, city, view_id, platform_description, video_startup_preroll_request_time, viewer_device_name, video_series, viewer_application_name, updated_at, view_total_content_playback_time, cdn, player_instance_id, video_language, player_source_width, player_error_message, player_mux_plugin_version, watched, playback_score, page_url, metro, view_max_request_latency, requests_for_first_preroll, view_total_downscaling, latitude, player_source_host_name, inserted_at, view_end, mux_embed_version, player_language, page_load_time, viewer_device_category, video_startup_preroll_load_time, player_version, watch_time, player_source_stream_type, preroll_ad_tag_hostname, viewer_device_manufacturer, rebuffering_score, experiment_name, viewer_os_version, player_preload, buffering_duration, player_view_count, player_software, player_load_time, platform_summary, video_encoding_variant, player_width, view_seek_count, viewer_experience_score, view_error_id, video_variant_name, preroll_played, viewer_application_engine, viewer_os_architecture, player_error_code, buffering_rate, events, player_name, view_start, view_average_request_throughput, video_producer, error_type_id, mux_viewer_id, video_id, continent_code, session_id, exit_before_video_start, video_content_type, viewer_os_family, player_poster, view_average_request_latency, video_variant_id, player_source_duration, player_source_url, mux_api_version, video_title, id, short_time, rebuffer_percentage, time_to_first_frame, viewer_user_id, video_stream_type, player_startup_time, viewer_application_version, view_max_downscale_percentage, view_max_upscale_percentage, country_code, used_fullscreen, isp, property_id, player_autoplay, player_height, asn, asn_name, quality_score, player_software_version, player_mux_plugin_name, sub_property_id, player_remote_played, view_max_playhead_position, view_playing_time, view_session_id, viewer_connection_type, viewer_device_model, weighted_average_bitrate, custom_1, custom_2, custom_3, custom_4, custom_5, custom_6, custom_7, custom_8, custom_9, custom_10, live_stream_latency, asset_id, environment_id, live_stream_id, mux_embed, playback_id, player_error_context, view_drm_type, view_dropped_frame_count, view_has_ad, video_startup_failure, ad_attempt_count, ad_break_count, ad_break_error_count, ad_break_error_percentage, ad_error_count, ad_error_percentage, ad_impression_count, ad_startup_error_count, ad_startup_error_percentage, ad_exit_before_start_count, ad_exit_before_start_percentage, long_resume, long_rebuffering, playback_failure_error_type_id, playback_business_exception_error_type_id, video_startup_business_exception_error_type_id, playback_failure, ad_playback_failure_error_type_id, view_content_startup_time, ad_preroll_startup_time, view_dropped].hash
end

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properties with the reasons



1495
1496
1497
1498
# File 'lib/mux_ruby/models/video_view.rb', line 1495

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



1767
1768
1769
# File 'lib/mux_ruby/models/video_view.rb', line 1767

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



1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
# File 'lib/mux_ruby/models/video_view.rb', line 1773

def to_hash
  hash = {}
  self.class.attribute_map.each_pair do |attr, param|
    value = self.send(attr)
    if value.nil?
      is_nullable = self.class.openapi_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



1761
1762
1763
# File 'lib/mux_ruby/models/video_view.rb', line 1761

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



1502
1503
1504
# File 'lib/mux_ruby/models/video_view.rb', line 1502

def valid?
  true
end