Class: FastpixClient::Models::Components::Views

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/fastpix_client/models/components/views.rb

Overview

Displays the result of the request.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(beacon_domain: nil, custom: nil, exit_before_video_start: nil, insert_timestamp: nil, ip_address: nil, os_version: nil, player_autoplay_on: nil, player_preload_on: nil, player_remote_played: nil, used_full_screen: nil, video_startup_failed: nil, view_has_ad: nil, view_has_error: nil, view_id: nil, workspace_id: nil, events: nil, asn_id: nil, asn_name: nil, average_bitrate: nil, avg_downscaling: nil, avg_request_latency: nil, avg_request_throughput: nil, avg_upscaling: nil, browser_engine: nil, browser_name: nil, browser_version: nil, buffer_count: nil, buffer_fill: nil, buffer_frequency: nil, buffer_ratio: nil, cdn: nil, city: nil, connection_type: nil, continent: nil, country: nil, country_code: nil, device_manufacturer: nil, device_model: nil, device_name: nil, device_type: nil, drm_type: nil, dropped_frame_count: nil, error_code: nil, error_context: nil, error_id: nil, error_message: nil, experiment_name: nil, fp_api_version: nil, fp_embed: nil, fp_embed_version: nil, fp_live_stream_id: nil, fp_playback_id: nil, fp_sdk: nil, fp_sdk_version: nil, fp_viewer_id: nil, jump_latency: nil, latitude: nil, live_stream_latency: nil, longitude: nil, max_downscaling: nil, max_request_latency: nil, max_upscaling: nil, media_id: nil, os_name: nil, page_context: nil, page_load_time: nil, playback_score: nil, player_height: nil, player_initialization_time: nil, player_instance_id: nil, player_language: nil, player_name: nil, player_poster: nil, player_resolution: nil, player_software_name: nil, player_software_version: nil, player_source_domain: nil, player_source_height: nil, player_source_width: nil, player_version: nil, player_view_count: nil, player_width: nil, property_id: nil, quality_of_experience_score: nil, region: nil, render_quality_score: nil, session_id: nil, sign: nil, stability_score: nil, startup_score: nil, sub_property_id: nil, total_startup_time: nil, updated_timestamp: nil, user_agent: nil, video_content_type: nil, video_duration: nil, video_encoding_variant: nil, video_id: nil, video_language: nil, video_producer: nil, video_resolution: nil, video_series: nil, video_source_domain: nil, video_source_duration: nil, video_source_hostname: nil, video_source_stream_type: nil, video_source_type: nil, video_source_url: nil, video_startup_time: nil, video_title: nil, video_variant_id: nil, video_variant_name: nil, view_end: nil, view_max_playhead_position: nil, view_page_url: nil, view_playing_time: nil, view_seeked_count: nil, view_seeked_duration: nil, view_session_id: nil, view_start: nil, view_total_content_playback_time: nil, viewer_id: nil, watch_time: nil) ⇒ Views

Returns a new instance of Views.



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
509
510
# File 'lib/fastpix_client/models/components/views.rb', line 386

def initialize(beacon_domain: nil, custom: nil, exit_before_video_start: nil, insert_timestamp: nil, ip_address: nil, os_version: nil, player_autoplay_on: nil, player_preload_on: nil, player_remote_played: nil, used_full_screen: nil, video_startup_failed: nil, view_has_ad: nil, view_has_error: nil, view_id: nil, workspace_id: nil, events: nil, asn_id: nil, asn_name: nil, average_bitrate: nil, avg_downscaling: nil, avg_request_latency: nil, avg_request_throughput: nil, avg_upscaling: nil, browser_engine: nil, browser_name: nil, browser_version: nil, buffer_count: nil, buffer_fill: nil, buffer_frequency: nil, buffer_ratio: nil, cdn: nil, city: nil, connection_type: nil, continent: nil, country: nil, country_code: nil, device_manufacturer: nil, device_model: nil, device_name: nil, device_type: nil, drm_type: nil, dropped_frame_count: nil, error_code: nil, error_context: nil, error_id: nil, error_message: nil, experiment_name: nil, fp_api_version: nil, fp_embed: nil, fp_embed_version: nil, fp_live_stream_id: nil, fp_playback_id: nil, fp_sdk: nil, fp_sdk_version: nil, fp_viewer_id: nil, jump_latency: nil, latitude: nil, live_stream_latency: nil, longitude: nil, max_downscaling: nil, max_request_latency: nil, max_upscaling: nil, media_id: nil, os_name: nil, page_context: nil, page_load_time: nil, playback_score: nil, player_height: nil, player_initialization_time: nil, player_instance_id: nil, player_language: nil, player_name: nil, player_poster: nil, player_resolution: nil, player_software_name: nil, player_software_version: nil, player_source_domain: nil, player_source_height: nil, player_source_width: nil, player_version: nil, player_view_count: nil, player_width: nil, property_id: nil, quality_of_experience_score: nil, region: nil, render_quality_score: nil, session_id: nil, sign: nil, stability_score: nil, startup_score: nil, sub_property_id: nil, total_startup_time: nil, updated_timestamp: nil, user_agent: nil, video_content_type: nil, video_duration: nil, video_encoding_variant: nil, video_id: nil, video_language: nil, video_producer: nil, video_resolution: nil, video_series: nil, video_source_domain: nil, video_source_duration: nil, video_source_hostname: nil, video_source_stream_type: nil, video_source_type: nil, video_source_url: nil, video_startup_time: nil, video_title: nil, video_variant_id: nil, video_variant_name: nil, view_end: nil, view_max_playhead_position: nil, view_page_url: nil, view_playing_time: nil, view_seeked_count: nil, view_seeked_duration: nil, view_session_id: nil, view_start: nil, view_total_content_playback_time: nil, viewer_id: nil, watch_time: nil)
  @beacon_domain = beacon_domain
  @custom = custom
  @exit_before_video_start = exit_before_video_start
  @insert_timestamp = insert_timestamp
  @ip_address = ip_address
  @os_version = os_version
  @player_autoplay_on = player_autoplay_on
  @player_preload_on = player_preload_on
  @player_remote_played = player_remote_played
  @used_full_screen = used_full_screen
  @video_startup_failed = video_startup_failed
  @view_has_ad = view_has_ad
  @view_has_error = view_has_error
  @view_id = view_id
  @workspace_id = workspace_id
  @events = events
  @asn_id = asn_id
  @asn_name = asn_name
  @average_bitrate = average_bitrate
  @avg_downscaling = avg_downscaling
  @avg_request_latency = avg_request_latency
  @avg_request_throughput = avg_request_throughput
  @avg_upscaling = avg_upscaling
  @browser_engine = browser_engine
  @browser_name = browser_name
  @browser_version = browser_version
  @buffer_count = buffer_count
  @buffer_fill = buffer_fill
  @buffer_frequency = buffer_frequency
  @buffer_ratio = buffer_ratio
  @cdn = cdn
  @city = city
  @connection_type = connection_type
  @continent = continent
  @country = country
  @country_code = country_code
  @device_manufacturer = device_manufacturer
  @device_model = device_model
  @device_name = device_name
  @device_type = device_type
  @drm_type = drm_type
  @dropped_frame_count = dropped_frame_count
  @error_code = error_code
  @error_context = error_context
  @error_id = error_id
  @error_message = error_message
  @experiment_name = experiment_name
  @fp_api_version = fp_api_version
  @fp_embed = fp_embed
  @fp_embed_version = fp_embed_version
  @fp_live_stream_id = fp_live_stream_id
  @fp_playback_id = fp_playback_id
  @fp_sdk = fp_sdk
  @fp_sdk_version = fp_sdk_version
  @fp_viewer_id = fp_viewer_id
  @jump_latency = jump_latency
  @latitude = latitude
  @live_stream_latency = live_stream_latency
  @longitude = longitude
  @max_downscaling = max_downscaling
  @max_request_latency = max_request_latency
  @max_upscaling = max_upscaling
  @media_id = media_id
  @os_name = os_name
  @page_context = page_context
  @page_load_time = page_load_time
  @playback_score = playback_score
  @player_height = player_height
  @player_initialization_time = player_initialization_time
  @player_instance_id = player_instance_id
  @player_language = player_language
  @player_name = player_name
  @player_poster = player_poster
  @player_resolution = player_resolution
  @player_software_name = player_software_name
  @player_software_version = player_software_version
  @player_source_domain = player_source_domain
  @player_source_height = player_source_height
  @player_source_width = player_source_width
  @player_version = player_version
  @player_view_count = player_view_count
  @player_width = player_width
  @property_id = property_id
  @quality_of_experience_score = quality_of_experience_score
  @region = region
  @render_quality_score = render_quality_score
  @session_id = session_id
  @sign = sign
  @stability_score = stability_score
  @startup_score = startup_score
  @sub_property_id = sub_property_id
  @total_startup_time = total_startup_time
  @updated_timestamp = updated_timestamp
  @user_agent = user_agent
  @video_content_type = video_content_type
  @video_duration = video_duration
  @video_encoding_variant = video_encoding_variant
  @video_id = video_id
  @video_language = video_language
  @video_producer = video_producer
  @video_resolution = video_resolution
  @video_series = video_series
  @video_source_domain = video_source_domain
  @video_source_duration = video_source_duration
  @video_source_hostname = video_source_hostname
  @video_source_stream_type = video_source_stream_type
  @video_source_type = video_source_type
  @video_source_url = video_source_url
  @video_startup_time = video_startup_time
  @video_title = video_title
  @video_variant_id = video_variant_id
  @video_variant_name = video_variant_name
  @view_end = view_end
  @view_max_playhead_position = view_max_playhead_position
  @view_page_url = view_page_url
  @view_playing_time = view_playing_time
  @view_seeked_count = view_seeked_count
  @view_seeked_duration = view_seeked_duration
  @view_session_id = view_session_id
  @view_start = view_start
  @view_total_content_playback_time = view_total_content_playback_time
  @viewer_id = viewer_id
  @watch_time = watch_time
end

Instance Method Details

#==(other) ⇒ Object



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
630
631
632
633
634
635
636
637
638
639
# File 'lib/fastpix_client/models/components/views.rb', line 513

def ==(other)
  return false unless other.is_a? self.class
  return false unless @beacon_domain == other.beacon_domain
  return false unless @custom == other.custom
  return false unless @exit_before_video_start == other.exit_before_video_start
  return false unless @insert_timestamp == other.insert_timestamp
  return false unless @ip_address == other.ip_address
  return false unless @os_version == other.os_version
  return false unless @player_autoplay_on == other.player_autoplay_on
  return false unless @player_preload_on == other.player_preload_on
  return false unless @player_remote_played == other.player_remote_played
  return false unless @used_full_screen == other.used_full_screen
  return false unless @video_startup_failed == other.video_startup_failed
  return false unless @view_has_ad == other.view_has_ad
  return false unless @view_has_error == other.view_has_error
  return false unless @view_id == other.view_id
  return false unless @workspace_id == other.workspace_id
  return false unless @events == other.events
  return false unless @asn_id == other.asn_id
  return false unless @asn_name == other.asn_name
  return false unless @average_bitrate == other.average_bitrate
  return false unless @avg_downscaling == other.avg_downscaling
  return false unless @avg_request_latency == other.avg_request_latency
  return false unless @avg_request_throughput == other.avg_request_throughput
  return false unless @avg_upscaling == other.avg_upscaling
  return false unless @browser_engine == other.browser_engine
  return false unless @browser_name == other.browser_name
  return false unless @browser_version == other.browser_version
  return false unless @buffer_count == other.buffer_count
  return false unless @buffer_fill == other.buffer_fill
  return false unless @buffer_frequency == other.buffer_frequency
  return false unless @buffer_ratio == other.buffer_ratio
  return false unless @cdn == other.cdn
  return false unless @city == other.city
  return false unless @connection_type == other.connection_type
  return false unless @continent == other.continent
  return false unless @country == other.country
  return false unless @country_code == other.country_code
  return false unless @device_manufacturer == other.device_manufacturer
  return false unless @device_model == other.device_model
  return false unless @device_name == other.device_name
  return false unless @device_type == other.device_type
  return false unless @drm_type == other.drm_type
  return false unless @dropped_frame_count == other.dropped_frame_count
  return false unless @error_code == other.error_code
  return false unless @error_context == other.error_context
  return false unless @error_id == other.error_id
  return false unless @error_message == other.error_message
  return false unless @experiment_name == other.experiment_name
  return false unless @fp_api_version == other.fp_api_version
  return false unless @fp_embed == other.fp_embed
  return false unless @fp_embed_version == other.fp_embed_version
  return false unless @fp_live_stream_id == other.fp_live_stream_id
  return false unless @fp_playback_id == other.fp_playback_id
  return false unless @fp_sdk == other.fp_sdk
  return false unless @fp_sdk_version == other.fp_sdk_version
  return false unless @fp_viewer_id == other.fp_viewer_id
  return false unless @jump_latency == other.jump_latency
  return false unless @latitude == other.latitude
  return false unless @live_stream_latency == other.live_stream_latency
  return false unless @longitude == other.longitude
  return false unless @max_downscaling == other.max_downscaling
  return false unless @max_request_latency == other.max_request_latency
  return false unless @max_upscaling == other.max_upscaling
  return false unless @media_id == other.media_id
  return false unless @os_name == other.os_name
  return false unless @page_context == other.page_context
  return false unless @page_load_time == other.page_load_time
  return false unless @playback_score == other.playback_score
  return false unless @player_height == other.player_height
  return false unless @player_initialization_time == other.player_initialization_time
  return false unless @player_instance_id == other.player_instance_id
  return false unless @player_language == other.player_language
  return false unless @player_name == other.player_name
  return false unless @player_poster == other.player_poster
  return false unless @player_resolution == other.player_resolution
  return false unless @player_software_name == other.player_software_name
  return false unless @player_software_version == other.player_software_version
  return false unless @player_source_domain == other.player_source_domain
  return false unless @player_source_height == other.player_source_height
  return false unless @player_source_width == other.player_source_width
  return false unless @player_version == other.player_version
  return false unless @player_view_count == other.player_view_count
  return false unless @player_width == other.player_width
  return false unless @property_id == other.property_id
  return false unless @quality_of_experience_score == other.quality_of_experience_score
  return false unless @region == other.region
  return false unless @render_quality_score == other.render_quality_score
  return false unless @session_id == other.session_id
  return false unless @sign == other.sign
  return false unless @stability_score == other.stability_score
  return false unless @startup_score == other.startup_score
  return false unless @sub_property_id == other.sub_property_id
  return false unless @total_startup_time == other.total_startup_time
  return false unless @updated_timestamp == other.updated_timestamp
  return false unless @user_agent == other.user_agent
  return false unless @video_content_type == other.video_content_type
  return false unless @video_duration == other.video_duration
  return false unless @video_encoding_variant == other.video_encoding_variant
  return false unless @video_id == other.video_id
  return false unless @video_language == other.video_language
  return false unless @video_producer == other.video_producer
  return false unless @video_resolution == other.video_resolution
  return false unless @video_series == other.video_series
  return false unless @video_source_domain == other.video_source_domain
  return false unless @video_source_duration == other.video_source_duration
  return false unless @video_source_hostname == other.video_source_hostname
  return false unless @video_source_stream_type == other.video_source_stream_type
  return false unless @video_source_type == other.video_source_type
  return false unless @video_source_url == other.video_source_url
  return false unless @video_startup_time == other.video_startup_time
  return false unless @video_title == other.video_title
  return false unless @video_variant_id == other.video_variant_id
  return false unless @video_variant_name == other.video_variant_name
  return false unless @view_end == other.view_end
  return false unless @view_max_playhead_position == other.view_max_playhead_position
  return false unless @view_page_url == other.view_page_url
  return false unless @view_playing_time == other.view_playing_time
  return false unless @view_seeked_count == other.view_seeked_count
  return false unless @view_seeked_duration == other.view_seeked_duration
  return false unless @view_session_id == other.view_session_id
  return false unless @view_start == other.view_start
  return false unless @view_total_content_playback_time == other.view_total_content_playback_time
  return false unless @viewer_id == other.viewer_id
  return false unless @watch_time == other.watch_time
  true
end