Class: Kaltura::KalturaDistributionProvider
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaDistributionProvider
- Defined in:
- lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb
Direct Known Subclasses
KalturaAvnDistributionProvider, KalturaComcastMrssDistributionProvider, KalturaCrossKalturaDistributionProvider, KalturaDailymotionDistributionProvider, KalturaDoubleClickDistributionProvider, KalturaFacebookDistributionProvider, KalturaFreewheelDistributionProvider, KalturaFreewheelGenericDistributionProvider, KalturaFtpDistributionProvider, KalturaGenericDistributionProvider, KalturaHuluDistributionProvider, KalturaIdeticDistributionProvider, KalturaMetroPcsDistributionProvider, KalturaMsnDistributionProvider, KalturaPodcastDistributionProvider, KalturaQuickPlayDistributionProvider, KalturaSyndicationDistributionProvider, KalturaUnicornDistributionProvider, KalturaYahooDistributionProvider, KalturaYouTubeDistributionProvider, KalturaYoutubeApiDistributionProvider
Instance Attribute Summary collapse
-
#availability_update_enabled ⇒ Object
Returns the value of attribute availability_update_enabled.
-
#delete_instead_update ⇒ Object
Returns the value of attribute delete_instead_update.
-
#interval_before_sunrise ⇒ Object
Returns the value of attribute interval_before_sunrise.
-
#interval_before_sunset ⇒ Object
Returns the value of attribute interval_before_sunset.
-
#name ⇒ Object
Returns the value of attribute name.
-
#schedule_update_enabled ⇒ Object
Returns the value of attribute schedule_update_enabled.
-
#type ⇒ Object
Returns the value of attribute type.
-
#update_required_entry_fields ⇒ Object
Returns the value of attribute update_required_entry_fields.
-
#update_required_metadata_xpaths ⇒ Object
Returns the value of attribute update_required_metadata_xpaths.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#availability_update_enabled ⇒ Object
Returns the value of attribute availability_update_enabled.
525 526 527 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 525 def availability_update_enabled @availability_update_enabled end |
#delete_instead_update ⇒ Object
Returns the value of attribute delete_instead_update.
526 527 528 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 526 def delete_instead_update @delete_instead_update end |
#interval_before_sunrise ⇒ Object
Returns the value of attribute interval_before_sunrise.
527 528 529 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 527 def interval_before_sunrise @interval_before_sunrise end |
#interval_before_sunset ⇒ Object
Returns the value of attribute interval_before_sunset.
528 529 530 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 528 def interval_before_sunset @interval_before_sunset end |
#name ⇒ Object
Returns the value of attribute name.
523 524 525 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 523 def name @name end |
#schedule_update_enabled ⇒ Object
Returns the value of attribute schedule_update_enabled.
524 525 526 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 524 def schedule_update_enabled @schedule_update_enabled end |
#type ⇒ Object
Returns the value of attribute type.
522 523 524 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 522 def type @type end |
#update_required_entry_fields ⇒ Object
Returns the value of attribute update_required_entry_fields.
529 530 531 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 529 def update_required_entry_fields @update_required_entry_fields end |
#update_required_metadata_xpaths ⇒ Object
Returns the value of attribute update_required_metadata_xpaths.
530 531 532 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 530 def @update_required_metadata_xpaths end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
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 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 548 def from_xml(xml_element) super if xml_element.elements['type'] != nil self.type = xml_element.elements['type'].text end if xml_element.elements['name'] != nil self.name = xml_element.elements['name'].text end if xml_element.elements['scheduleUpdateEnabled'] != nil self.schedule_update_enabled = xml_element.elements['scheduleUpdateEnabled'].text end if xml_element.elements['availabilityUpdateEnabled'] != nil self.availability_update_enabled = xml_element.elements['availabilityUpdateEnabled'].text end if xml_element.elements['deleteInsteadUpdate'] != nil self.delete_instead_update = xml_element.elements['deleteInsteadUpdate'].text end if xml_element.elements['intervalBeforeSunrise'] != nil self.interval_before_sunrise = xml_element.elements['intervalBeforeSunrise'].text end if xml_element.elements['intervalBeforeSunset'] != nil self.interval_before_sunset = xml_element.elements['intervalBeforeSunset'].text end if xml_element.elements['updateRequiredEntryFields'] != nil self.update_required_entry_fields = xml_element.elements['updateRequiredEntryFields'].text end if xml_element.elements['updateRequiredMetadataXPaths'] != nil self. = xml_element.elements['updateRequiredMetadataXPaths'].text end end |