Class: Kaltura::KalturaEntryDistribution
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaEntryDistribution
- Defined in:
- lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb
Instance Attribute Summary collapse
-
#asset_ids ⇒ Object
Comma separated asset ids.
-
#created_at ⇒ Object
Entry distribution creation date as Unix timestamp (In seconds).
-
#dirty_status ⇒ Object
Returns the value of attribute dirty_status.
-
#distribution_profile_id ⇒ Object
Returns the value of attribute distribution_profile_id.
-
#entry_id ⇒ Object
Returns the value of attribute entry_id.
-
#error_description ⇒ Object
Returns the value of attribute error_description.
-
#error_number ⇒ Object
Returns the value of attribute error_number.
-
#error_type ⇒ Object
Returns the value of attribute error_type.
-
#flavor_asset_ids ⇒ Object
Comma separated flavor asset ids.
-
#has_delete_results_log ⇒ Object
Returns the value of attribute has_delete_results_log.
-
#has_delete_sent_data_log ⇒ Object
Returns the value of attribute has_delete_sent_data_log.
-
#has_submit_results_log ⇒ Object
Returns the value of attribute has_submit_results_log.
-
#has_submit_sent_data_log ⇒ Object
Returns the value of attribute has_submit_sent_data_log.
-
#has_update_results_log ⇒ Object
Returns the value of attribute has_update_results_log.
-
#has_update_sent_data_log ⇒ Object
Returns the value of attribute has_update_sent_data_log.
-
#id ⇒ Object
Auto generated unique id.
-
#partner_id ⇒ Object
Returns the value of attribute partner_id.
-
#plays ⇒ Object
The plays as retrieved from the remote destination reports.
-
#remote_id ⇒ Object
The id as returned from the distributed destination.
-
#status ⇒ Object
Returns the value of attribute status.
-
#submitted_at ⇒ Object
Entry distribution submission date as Unix timestamp (In seconds).
-
#sun_status ⇒ Object
Returns the value of attribute sun_status.
-
#sunrise ⇒ Object
Entry distribution publish time as Unix timestamp (In seconds).
-
#sunset ⇒ Object
Entry distribution un-publish time as Unix timestamp (In seconds).
-
#thumb_asset_ids ⇒ Object
Comma separated thumbnail asset ids.
-
#updated_at ⇒ Object
Entry distribution last update date as Unix timestamp (In seconds).
-
#validation_errors ⇒ Object
Returns the value of attribute validation_errors.
-
#views ⇒ Object
The views as retrieved from the remote destination reports.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#asset_ids ⇒ Object
Comma separated asset ids
628 629 630 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 628 def asset_ids @asset_ids end |
#created_at ⇒ Object
Entry distribution creation date as Unix timestamp (In seconds)
612 613 614 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 612 def created_at @created_at end |
#dirty_status ⇒ Object
Returns the value of attribute dirty_status.
622 623 624 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 622 def dirty_status @dirty_status end |
#distribution_profile_id ⇒ Object
Returns the value of attribute distribution_profile_id.
619 620 621 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 619 def distribution_profile_id @distribution_profile_id end |
#entry_id ⇒ Object
Returns the value of attribute entry_id.
617 618 619 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 617 def entry_id @entry_id end |
#error_description ⇒ Object
Returns the value of attribute error_description.
642 643 644 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 642 def error_description @error_description end |
#error_number ⇒ Object
Returns the value of attribute error_number.
641 642 643 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 641 def error_number @error_number end |
#error_type ⇒ Object
Returns the value of attribute error_type.
640 641 642 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 640 def error_type @error_type end |
#flavor_asset_ids ⇒ Object
Comma separated flavor asset ids
626 627 628 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 626 def flavor_asset_ids @flavor_asset_ids end |
#has_delete_results_log ⇒ Object
Returns the value of attribute has_delete_results_log.
647 648 649 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 647 def has_delete_results_log @has_delete_results_log end |
#has_delete_sent_data_log ⇒ Object
Returns the value of attribute has_delete_sent_data_log.
648 649 650 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 648 def has_delete_sent_data_log @has_delete_sent_data_log end |
#has_submit_results_log ⇒ Object
Returns the value of attribute has_submit_results_log.
643 644 645 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 643 def has_submit_results_log @has_submit_results_log end |
#has_submit_sent_data_log ⇒ Object
Returns the value of attribute has_submit_sent_data_log.
644 645 646 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 644 def has_submit_sent_data_log @has_submit_sent_data_log end |
#has_update_results_log ⇒ Object
Returns the value of attribute has_update_results_log.
645 646 647 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 645 def has_update_results_log @has_update_results_log end |
#has_update_sent_data_log ⇒ Object
Returns the value of attribute has_update_sent_data_log.
646 647 648 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 646 def has_update_sent_data_log @has_update_sent_data_log end |
#id ⇒ Object
Auto generated unique id
610 611 612 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 610 def id @id end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
618 619 620 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 618 def partner_id @partner_id end |
#plays ⇒ Object
The plays as retrieved from the remote destination reports
636 637 638 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 636 def plays @plays end |
#remote_id ⇒ Object
The id as returned from the distributed destination
634 635 636 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 634 def remote_id @remote_id end |
#status ⇒ Object
Returns the value of attribute status.
620 621 622 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 620 def status @status end |
#submitted_at ⇒ Object
Entry distribution submission date as Unix timestamp (In seconds)
616 617 618 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 616 def submitted_at @submitted_at end |
#sun_status ⇒ Object
Returns the value of attribute sun_status.
621 622 623 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 621 def sun_status @sun_status end |
#sunrise ⇒ Object
Entry distribution publish time as Unix timestamp (In seconds)
630 631 632 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 630 def sunrise @sunrise end |
#sunset ⇒ Object
Entry distribution un-publish time as Unix timestamp (In seconds)
632 633 634 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 632 def sunset @sunset end |
#thumb_asset_ids ⇒ Object
Comma separated thumbnail asset ids
624 625 626 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 624 def thumb_asset_ids @thumb_asset_ids end |
#updated_at ⇒ Object
Entry distribution last update date as Unix timestamp (In seconds)
614 615 616 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 614 def updated_at @updated_at end |
#validation_errors ⇒ Object
Returns the value of attribute validation_errors.
639 640 641 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 639 def validation_errors @validation_errors end |
#views ⇒ Object
The views as retrieved from the remote destination reports
638 639 640 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 638 def views @views end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
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 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 714 def from_xml(xml_element) super if xml_element.elements['id'] != nil self.id = xml_element.elements['id'].text end if xml_element.elements['createdAt'] != nil self.created_at = xml_element.elements['createdAt'].text end if xml_element.elements['updatedAt'] != nil self.updated_at = xml_element.elements['updatedAt'].text end if xml_element.elements['submittedAt'] != nil self.submitted_at = xml_element.elements['submittedAt'].text end if xml_element.elements['entryId'] != nil self.entry_id = xml_element.elements['entryId'].text end if xml_element.elements['partnerId'] != nil self.partner_id = xml_element.elements['partnerId'].text end if xml_element.elements['distributionProfileId'] != nil self.distribution_profile_id = xml_element.elements['distributionProfileId'].text end if xml_element.elements['status'] != nil self.status = xml_element.elements['status'].text end if xml_element.elements['sunStatus'] != nil self.sun_status = xml_element.elements['sunStatus'].text end if xml_element.elements['dirtyStatus'] != nil self.dirty_status = xml_element.elements['dirtyStatus'].text end if xml_element.elements['thumbAssetIds'] != nil self.thumb_asset_ids = xml_element.elements['thumbAssetIds'].text end if xml_element.elements['flavorAssetIds'] != nil self.flavor_asset_ids = xml_element.elements['flavorAssetIds'].text end if xml_element.elements['assetIds'] != nil self.asset_ids = xml_element.elements['assetIds'].text end if xml_element.elements['sunrise'] != nil self.sunrise = xml_element.elements['sunrise'].text end if xml_element.elements['sunset'] != nil self.sunset = xml_element.elements['sunset'].text end if xml_element.elements['remoteId'] != nil self.remote_id = xml_element.elements['remoteId'].text end if xml_element.elements['plays'] != nil self.plays = xml_element.elements['plays'].text end if xml_element.elements['views'] != nil self.views = xml_element.elements['views'].text end if xml_element.elements['validationErrors'] != nil self.validation_errors = KalturaClientBase.object_from_xml(xml_element.elements['validationErrors'], 'KalturaDistributionValidationError') end if xml_element.elements['errorType'] != nil self.error_type = xml_element.elements['errorType'].text end if xml_element.elements['errorNumber'] != nil self.error_number = xml_element.elements['errorNumber'].text end if xml_element.elements['errorDescription'] != nil self.error_description = xml_element.elements['errorDescription'].text end if xml_element.elements['hasSubmitResultsLog'] != nil self.has_submit_results_log = xml_element.elements['hasSubmitResultsLog'].text end if xml_element.elements['hasSubmitSentDataLog'] != nil self.has_submit_sent_data_log = xml_element.elements['hasSubmitSentDataLog'].text end if xml_element.elements['hasUpdateResultsLog'] != nil self.has_update_results_log = xml_element.elements['hasUpdateResultsLog'].text end if xml_element.elements['hasUpdateSentDataLog'] != nil self.has_update_sent_data_log = xml_element.elements['hasUpdateSentDataLog'].text end if xml_element.elements['hasDeleteResultsLog'] != nil self.has_delete_results_log = xml_element.elements['hasDeleteResultsLog'].text end if xml_element.elements['hasDeleteSentDataLog'] != nil self.has_delete_sent_data_log = xml_element.elements['hasDeleteSentDataLog'].text end end |