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
539 540 541 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 539 def asset_ids @asset_ids end |
#created_at ⇒ Object
Entry distribution creation date as Unix timestamp (In seconds)
518 519 520 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 518 def created_at @created_at end |
#dirty_status ⇒ Object
Returns the value of attribute dirty_status.
530 531 532 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 530 def dirty_status @dirty_status end |
#distribution_profile_id ⇒ Object
Returns the value of attribute distribution_profile_id.
527 528 529 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 527 def distribution_profile_id @distribution_profile_id end |
#entry_id ⇒ Object
Returns the value of attribute entry_id.
525 526 527 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 525 def entry_id @entry_id end |
#error_description ⇒ Object
Returns the value of attribute error_description.
558 559 560 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 558 def error_description @error_description end |
#error_number ⇒ Object
Returns the value of attribute error_number.
557 558 559 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 557 def error_number @error_number end |
#error_type ⇒ Object
Returns the value of attribute error_type.
556 557 558 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 556 def error_type @error_type end |
#flavor_asset_ids ⇒ Object
Comma separated flavor asset ids
536 537 538 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 536 def flavor_asset_ids @flavor_asset_ids end |
#has_delete_results_log ⇒ Object
Returns the value of attribute has_delete_results_log.
563 564 565 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 563 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.
564 565 566 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 564 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.
559 560 561 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 559 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.
560 561 562 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 560 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.
561 562 563 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 561 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.
562 563 564 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 562 def has_update_sent_data_log @has_update_sent_data_log end |
#id ⇒ Object
Auto generated unique id
515 516 517 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 515 def id @id end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
526 527 528 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 526 def partner_id @partner_id end |
#plays ⇒ Object
The plays as retrieved from the remote destination reports
551 552 553 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 551 def plays @plays end |
#remote_id ⇒ Object
The id as returned from the distributed destination
548 549 550 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 548 def remote_id @remote_id end |
#status ⇒ Object
Returns the value of attribute status.
528 529 530 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 528 def status @status end |
#submitted_at ⇒ Object
Entry distribution submission date as Unix timestamp (In seconds)
524 525 526 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 524 def submitted_at @submitted_at end |
#sun_status ⇒ Object
Returns the value of attribute sun_status.
529 530 531 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 529 def sun_status @sun_status end |
#sunrise ⇒ Object
Entry distribution publish time as Unix timestamp (In seconds)
542 543 544 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 542 def sunrise @sunrise end |
#sunset ⇒ Object
Entry distribution un-publish time as Unix timestamp (In seconds)
545 546 547 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 545 def sunset @sunset end |
#thumb_asset_ids ⇒ Object
Comma separated thumbnail asset ids
533 534 535 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 533 def thumb_asset_ids @thumb_asset_ids end |
#updated_at ⇒ Object
Entry distribution last update date as Unix timestamp (In seconds)
521 522 523 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 521 def updated_at @updated_at end |
#validation_errors ⇒ Object
Returns the value of attribute validation_errors.
555 556 557 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 555 def validation_errors @validation_errors end |
#views ⇒ Object
The views as retrieved from the remote destination reports
554 555 556 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 554 def views @views end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
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 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 630 def from_xml(xml_element) super self.id = xml_element.elements['id'].text self.created_at = xml_element.elements['createdAt'].text self.updated_at = xml_element.elements['updatedAt'].text self.submitted_at = xml_element.elements['submittedAt'].text self.entry_id = xml_element.elements['entryId'].text self.partner_id = xml_element.elements['partnerId'].text self.distribution_profile_id = xml_element.elements['distributionProfileId'].text self.status = xml_element.elements['status'].text self.sun_status = xml_element.elements['sunStatus'].text self.dirty_status = xml_element.elements['dirtyStatus'].text self.thumb_asset_ids = xml_element.elements['thumbAssetIds'].text self.flavor_asset_ids = xml_element.elements['flavorAssetIds'].text self.asset_ids = xml_element.elements['assetIds'].text self.sunrise = xml_element.elements['sunrise'].text self.sunset = xml_element.elements['sunset'].text self.remote_id = xml_element.elements['remoteId'].text self.plays = xml_element.elements['plays'].text self.views = xml_element.elements['views'].text self.validation_errors = KalturaClientBase.object_from_xml(xml_element.elements['validationErrors'], 'KalturaDistributionValidationError') self.error_type = xml_element.elements['errorType'].text self.error_number = xml_element.elements['errorNumber'].text self.error_description = xml_element.elements['errorDescription'].text self.has_submit_results_log = xml_element.elements['hasSubmitResultsLog'].text self.has_submit_sent_data_log = xml_element.elements['hasSubmitSentDataLog'].text self.has_update_results_log = xml_element.elements['hasUpdateResultsLog'].text self.has_update_sent_data_log = xml_element.elements['hasUpdateSentDataLog'].text self.has_delete_results_log = xml_element.elements['hasDeleteResultsLog'].text self.has_delete_sent_data_log = xml_element.elements['hasDeleteSentDataLog'].text end |