Class: MuxRuby::VideoView
- Inherits:
-
Object
- Object
- MuxRuby::VideoView
- Defined in:
- lib/mux_ruby/models/video_view.rb
Instance Attribute Summary collapse
-
#asn ⇒ Object
Returns the value of attribute asn.
-
#asn_name ⇒ Object
Returns the value of attribute asn_name.
-
#buffering_count ⇒ Object
Returns the value of attribute buffering_count.
-
#buffering_duration ⇒ Object
Returns the value of attribute buffering_duration.
-
#buffering_rate ⇒ Object
Returns the value of attribute buffering_rate.
-
#cdn ⇒ Object
Returns the value of attribute cdn.
-
#city ⇒ Object
Returns the value of attribute city.
-
#continent_code ⇒ Object
Returns the value of attribute continent_code.
-
#country_code ⇒ Object
Returns the value of attribute country_code.
-
#country_name ⇒ Object
Returns the value of attribute country_name.
-
#error_type_id ⇒ Object
Returns the value of attribute error_type_id.
-
#events ⇒ Object
Returns the value of attribute events.
-
#exit_before_video_start ⇒ Object
Returns the value of attribute exit_before_video_start.
-
#experiment_name ⇒ Object
Returns the value of attribute experiment_name.
-
#id ⇒ Object
Returns the value of attribute id.
-
#inserted_at ⇒ Object
Returns the value of attribute inserted_at.
-
#isp ⇒ Object
Returns the value of attribute isp.
-
#latitude ⇒ Object
Returns the value of attribute latitude.
-
#longitude ⇒ Object
Returns the value of attribute longitude.
-
#metro ⇒ Object
Returns the value of attribute metro.
-
#mux_api_version ⇒ Object
Returns the value of attribute mux_api_version.
-
#mux_embed_version ⇒ Object
Returns the value of attribute mux_embed_version.
-
#mux_viewer_id ⇒ Object
Returns the value of attribute mux_viewer_id.
-
#page_load_time ⇒ Object
Returns the value of attribute page_load_time.
-
#page_type ⇒ Object
Returns the value of attribute page_type.
-
#page_url ⇒ Object
Returns the value of attribute page_url.
-
#platform_description ⇒ Object
Returns the value of attribute platform_description.
-
#platform_summary ⇒ Object
Returns the value of attribute platform_summary.
-
#playback_score ⇒ Object
Returns the value of attribute playback_score.
-
#player_autoplay ⇒ Object
Returns the value of attribute player_autoplay.
-
#player_error_code ⇒ Object
Returns the value of attribute player_error_code.
-
#player_error_message ⇒ Object
Returns the value of attribute player_error_message.
-
#player_height ⇒ Object
Returns the value of attribute player_height.
-
#player_instance_id ⇒ Object
Returns the value of attribute player_instance_id.
-
#player_language ⇒ Object
Returns the value of attribute player_language.
-
#player_load_time ⇒ Object
Returns the value of attribute player_load_time.
-
#player_mux_plugin_name ⇒ Object
Returns the value of attribute player_mux_plugin_name.
-
#player_mux_plugin_version ⇒ Object
Returns the value of attribute player_mux_plugin_version.
-
#player_name ⇒ Object
Returns the value of attribute player_name.
-
#player_poster ⇒ Object
Returns the value of attribute player_poster.
-
#player_preload ⇒ Object
Returns the value of attribute player_preload.
-
#player_remote_played ⇒ Object
Returns the value of attribute player_remote_played.
-
#player_software ⇒ Object
Returns the value of attribute player_software.
-
#player_software_version ⇒ Object
Returns the value of attribute player_software_version.
-
#player_source_domain ⇒ Object
Returns the value of attribute player_source_domain.
-
#player_source_duration ⇒ Object
Returns the value of attribute player_source_duration.
-
#player_source_height ⇒ Object
Returns the value of attribute player_source_height.
-
#player_source_host_name ⇒ Object
Returns the value of attribute player_source_host_name.
-
#player_source_stream_type ⇒ Object
Returns the value of attribute player_source_stream_type.
-
#player_source_type ⇒ Object
Returns the value of attribute player_source_type.
-
#player_source_url ⇒ Object
Returns the value of attribute player_source_url.
-
#player_source_width ⇒ Object
Returns the value of attribute player_source_width.
-
#player_startup_time ⇒ Object
Returns the value of attribute player_startup_time.
-
#player_version ⇒ Object
Returns the value of attribute player_version.
-
#player_view_count ⇒ Object
Returns the value of attribute player_view_count.
-
#player_width ⇒ Object
Returns the value of attribute player_width.
-
#preroll_ad_asset_hostname ⇒ Object
Returns the value of attribute preroll_ad_asset_hostname.
-
#preroll_ad_tag_hostname ⇒ Object
Returns the value of attribute preroll_ad_tag_hostname.
-
#preroll_played ⇒ Object
Returns the value of attribute preroll_played.
-
#preroll_requested ⇒ Object
Returns the value of attribute preroll_requested.
-
#property_id ⇒ Object
Returns the value of attribute property_id.
-
#quality_score ⇒ Object
Returns the value of attribute quality_score.
-
#rebuffer_percentage ⇒ Object
Returns the value of attribute rebuffer_percentage.
-
#rebuffering_score ⇒ Object
Returns the value of attribute rebuffering_score.
-
#region ⇒ Object
Returns the value of attribute region.
-
#requests_for_first_preroll ⇒ Object
Returns the value of attribute requests_for_first_preroll.
-
#session_id ⇒ Object
Returns the value of attribute session_id.
-
#short_time ⇒ Object
Returns the value of attribute short_time.
-
#startup_score ⇒ Object
Returns the value of attribute startup_score.
-
#sub_property_id ⇒ Object
Returns the value of attribute sub_property_id.
-
#time_to_first_frame ⇒ Object
Returns the value of attribute time_to_first_frame.
-
#updated_at ⇒ Object
Returns the value of attribute updated_at.
-
#used_fullscreen ⇒ Object
Returns the value of attribute used_fullscreen.
-
#video_content_type ⇒ Object
Returns the value of attribute video_content_type.
-
#video_duration ⇒ Object
Returns the value of attribute video_duration.
-
#video_encoding_variant ⇒ Object
Returns the value of attribute video_encoding_variant.
-
#video_id ⇒ Object
Returns the value of attribute video_id.
-
#video_language ⇒ Object
Returns the value of attribute video_language.
-
#video_producer ⇒ Object
Returns the value of attribute video_producer.
-
#video_series ⇒ Object
Returns the value of attribute video_series.
-
#video_startup_preroll_load_time ⇒ Object
Returns the value of attribute video_startup_preroll_load_time.
-
#video_startup_preroll_request_time ⇒ Object
Returns the value of attribute video_startup_preroll_request_time.
-
#video_stream_type ⇒ Object
Returns the value of attribute video_stream_type.
-
#video_title ⇒ Object
Returns the value of attribute video_title.
-
#video_variant_id ⇒ Object
Returns the value of attribute video_variant_id.
-
#video_variant_name ⇒ Object
Returns the value of attribute video_variant_name.
-
#view_average_request_latency ⇒ Object
Returns the value of attribute view_average_request_latency.
-
#view_average_request_throughput ⇒ Object
Returns the value of attribute view_average_request_throughput.
-
#view_end ⇒ Object
Returns the value of attribute view_end.
-
#view_error_id ⇒ Object
Returns the value of attribute view_error_id.
-
#view_id ⇒ Object
Returns the value of attribute view_id.
-
#view_max_downscale_percentage ⇒ Object
Returns the value of attribute view_max_downscale_percentage.
-
#view_max_playhead_position ⇒ Object
Returns the value of attribute view_max_playhead_position.
-
#view_max_request_latency ⇒ Object
Returns the value of attribute view_max_request_latency.
-
#view_max_upscale_percentage ⇒ Object
Returns the value of attribute view_max_upscale_percentage.
-
#view_playing_time ⇒ Object
Returns the value of attribute view_playing_time.
-
#view_seek_count ⇒ Object
Returns the value of attribute view_seek_count.
-
#view_seek_duration ⇒ Object
Returns the value of attribute view_seek_duration.
-
#view_session_id ⇒ Object
Returns the value of attribute view_session_id.
-
#view_start ⇒ Object
Returns the value of attribute view_start.
-
#view_total_content_playback_time ⇒ Object
Returns the value of attribute view_total_content_playback_time.
-
#view_total_downscaling ⇒ Object
Returns the value of attribute view_total_downscaling.
-
#view_total_upscaling ⇒ Object
Returns the value of attribute view_total_upscaling.
-
#viewer_application_engine ⇒ Object
Returns the value of attribute viewer_application_engine.
-
#viewer_application_name ⇒ Object
Returns the value of attribute viewer_application_name.
-
#viewer_application_version ⇒ Object
Returns the value of attribute viewer_application_version.
-
#viewer_connection_type ⇒ Object
Returns the value of attribute viewer_connection_type.
-
#viewer_device_category ⇒ Object
Returns the value of attribute viewer_device_category.
-
#viewer_device_manufacturer ⇒ Object
Returns the value of attribute viewer_device_manufacturer.
-
#viewer_device_model ⇒ Object
Returns the value of attribute viewer_device_model.
-
#viewer_device_name ⇒ Object
Returns the value of attribute viewer_device_name.
-
#viewer_experience_score ⇒ Object
Returns the value of attribute viewer_experience_score.
-
#viewer_os_architecture ⇒ Object
Returns the value of attribute viewer_os_architecture.
-
#viewer_os_family ⇒ Object
Returns the value of attribute viewer_os_family.
-
#viewer_os_version ⇒ Object
Returns the value of attribute viewer_os_version.
-
#viewer_user_agent ⇒ Object
Returns the value of attribute viewer_user_agent.
-
#viewer_user_id ⇒ Object
Returns the value of attribute viewer_user_id.
-
#watch_time ⇒ Object
Returns the value of attribute watch_time.
-
#watched ⇒ Object
Returns the value of attribute watched.
-
#weighted_average_bitrate ⇒ Object
Returns the value of attribute weighted_average_bitrate.
Class Method Summary collapse
-
.acceptable_attributes ⇒ Object
Returns all the JSON keys this model knows about.
-
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
-
.build_from_hash(attributes) ⇒ Object
Builds the object from hash.
-
.openapi_nullable ⇒ Object
List of attributes with nullable: true.
-
.openapi_types ⇒ Object
Attribute type mapping.
Instance Method Summary collapse
-
#==(o) ⇒ Object
Checks equality by comparing each attribute.
-
#_deserialize(type, value) ⇒ Object
Deserializes the data based on type.
-
#_to_hash(value) ⇒ Hash
Outputs non-array value in the form of hash For object, use to_hash.
-
#build_from_hash(attributes) ⇒ Object
Builds the object from hash.
- #eql?(o) ⇒ Boolean
-
#hash ⇒ Integer
Calculates hash code according to all attributes.
-
#initialize(attributes = {}) ⇒ VideoView
constructor
Initializes the object.
-
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons.
-
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility).
-
#to_hash ⇒ Hash
Returns the object in the form of hash.
-
#to_s ⇒ String
Returns the string representation of the object.
-
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid.
Constructor Details
#initialize(attributes = {}) ⇒ VideoView
Initializes the object
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 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 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 |
# File 'lib/mux_ruby/models/video_view.rb', line 523 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. = 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. = 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. = 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 end |
Instance Attribute Details
#asn ⇒ Object
Returns the value of attribute asn.
232 233 234 |
# File 'lib/mux_ruby/models/video_view.rb', line 232 def asn @asn end |
#asn_name ⇒ Object
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 |
#buffering_count ⇒ Object
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_duration ⇒ Object
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_rate ⇒ Object
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 |
#cdn ⇒ Object
Returns the value of attribute cdn.
66 67 68 |
# File 'lib/mux_ruby/models/video_view.rb', line 66 def cdn @cdn end |
#city ⇒ Object
Returns the value of attribute city.
48 49 50 |
# File 'lib/mux_ruby/models/video_view.rb', line 48 def city @city end |
#continent_code ⇒ Object
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_code ⇒ Object
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_name ⇒ Object
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 |
#error_type_id ⇒ Object
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 |
#events ⇒ Object
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_start ⇒ Object
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_name ⇒ Object
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 |
#id ⇒ Object
Returns the value of attribute id.
200 201 202 |
# File 'lib/mux_ruby/models/video_view.rb', line 200 def id @id end |
#inserted_at ⇒ Object
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 |
#isp ⇒ Object
Returns the value of attribute isp.
224 225 226 |
# File 'lib/mux_ruby/models/video_view.rb', line 224 def isp @isp end |
#latitude ⇒ Object
Returns the value of attribute latitude.
92 93 94 |
# File 'lib/mux_ruby/models/video_view.rb', line 92 def latitude @latitude end |
#longitude ⇒ Object
Returns the value of attribute longitude.
40 41 42 |
# File 'lib/mux_ruby/models/video_view.rb', line 40 def longitude @longitude end |
#metro ⇒ Object
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_version ⇒ Object
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_embed_version ⇒ Object
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 end |
#mux_viewer_id ⇒ Object
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_time ⇒ Object
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_type ⇒ Object
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_url ⇒ Object
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_description ⇒ Object
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_summary ⇒ Object
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_score ⇒ Object
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_autoplay ⇒ Object
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_code ⇒ Object
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_message ⇒ Object
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 end |
#player_height ⇒ Object
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_id ⇒ Object
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_language ⇒ Object
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_time ⇒ Object
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_name ⇒ Object
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_version ⇒ Object
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_name ⇒ Object
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_poster ⇒ Object
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_preload ⇒ Object
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_played ⇒ Object
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_software ⇒ Object
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_version ⇒ Object
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_domain ⇒ Object
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_duration ⇒ Object
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_height ⇒ Object
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_name ⇒ Object
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_type ⇒ Object
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_type ⇒ Object
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_url ⇒ Object
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_width ⇒ Object
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_time ⇒ Object
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_version ⇒ Object
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_count ⇒ Object
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_width ⇒ Object
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_hostname ⇒ Object
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_hostname ⇒ Object
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_played ⇒ Object
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_requested ⇒ Object
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_id ⇒ Object
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_score ⇒ Object
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_percentage ⇒ Object
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_score ⇒ Object
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 |
#region ⇒ Object
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_preroll ⇒ Object
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_id ⇒ Object
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_time ⇒ Object
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_score ⇒ Object
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_id ⇒ Object
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_frame ⇒ Object
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_at ⇒ Object
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_fullscreen ⇒ Object
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_type ⇒ Object
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_duration ⇒ Object
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_variant ⇒ Object
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_id ⇒ Object
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_language ⇒ Object
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_producer ⇒ Object
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_series ⇒ Object
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_preroll_load_time ⇒ Object
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_time ⇒ Object
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_type ⇒ Object
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_title ⇒ Object
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_id ⇒ Object
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_name ⇒ Object
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_latency ⇒ Object
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_throughput ⇒ Object
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_end ⇒ Object
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_id ⇒ Object
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_id ⇒ Object
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_percentage ⇒ Object
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_position ⇒ Object
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_latency ⇒ Object
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_percentage ⇒ Object
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_time ⇒ Object
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 end |
#view_seek_count ⇒ Object
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_duration ⇒ Object
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_id ⇒ Object
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_start ⇒ Object
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_time ⇒ Object
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_downscaling ⇒ Object
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_upscaling ⇒ Object
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_engine ⇒ Object
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_name ⇒ Object
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_version ⇒ Object
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_type ⇒ Object
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_category ⇒ Object
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_manufacturer ⇒ Object
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_model ⇒ Object
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_name ⇒ Object
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_score ⇒ Object
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_architecture ⇒ Object
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_family ⇒ Object
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_version ⇒ Object
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_agent ⇒ Object
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_id ⇒ Object
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_time ⇒ Object
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 |
#watched ⇒ Object
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_bitrate ⇒ Object
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_attributes ⇒ Object
Returns all the JSON keys this model knows about
385 386 387 |
# File 'lib/mux_ruby/models/video_view.rb', line 385 def self.acceptable_attributes attribute_map.values end |
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 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 |
# File 'lib/mux_ruby/models/video_view.rb', line 259 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' } end |
.build_from_hash(attributes) ⇒ Object
Builds the object from hash
1174 1175 1176 |
# File 'lib/mux_ruby/models/video_view.rb', line 1174 def self.build_from_hash(attributes) new.build_from_hash(attributes) end |
.openapi_nullable ⇒ Object
List of attributes with nullable: true
516 517 518 519 |
# File 'lib/mux_ruby/models/video_view.rb', line 516 def self.openapi_nullable Set.new([ ]) end |
.openapi_types ⇒ Object
Attribute type mapping.
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 511 512 513 |
# File 'lib/mux_ruby/models/video_view.rb', line 390 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' => :'Integer' } end |
Instance Method Details
#==(o) ⇒ Object
Checks equality by comparing each attribute.
1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 |
# File 'lib/mux_ruby/models/video_view.rb', line 1034 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 && == o. && 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 && == o. && 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 && == o. && 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 end |
#_deserialize(type, value) ⇒ Object
Deserializes the data based on type
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 |
# File 'lib/mux_ruby/models/video_view.rb', line 1204 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
1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 |
# File 'lib/mux_ruby/models/video_view.rb', line 1275 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
1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 |
# File 'lib/mux_ruby/models/video_view.rb', line 1181 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
1161 1162 1163 |
# File 'lib/mux_ruby/models/video_view.rb', line 1161 def eql?(o) self == o end |
#hash ⇒ Integer
Calculates hash code according to all attributes.
1167 1168 1169 |
# File 'lib/mux_ruby/models/video_view.rb', line 1167 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_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, , 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_session_id, viewer_connection_type, viewer_device_model, weighted_average_bitrate].hash end |
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
1021 1022 1023 1024 |
# File 'lib/mux_ruby/models/video_view.rb', line 1021 def list_invalid_properties invalid_properties = Array.new invalid_properties end |
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility)
1251 1252 1253 |
# File 'lib/mux_ruby/models/video_view.rb', line 1251 def to_body to_hash end |
#to_hash ⇒ Hash
Returns the object in the form of hash
1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 |
# File 'lib/mux_ruby/models/video_view.rb', line 1257 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_s ⇒ String
Returns the string representation of the object
1245 1246 1247 |
# File 'lib/mux_ruby/models/video_view.rb', line 1245 def to_s to_hash.to_s end |
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
1028 1029 1030 |
# File 'lib/mux_ruby/models/video_view.rb', line 1028 def valid? true end |