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.
518 519 520 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 518 def availability_update_enabled @availability_update_enabled end |
#delete_instead_update ⇒ Object
Returns the value of attribute delete_instead_update.
519 520 521 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 519 def delete_instead_update @delete_instead_update end |
#interval_before_sunrise ⇒ Object
Returns the value of attribute interval_before_sunrise.
520 521 522 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 520 def interval_before_sunrise @interval_before_sunrise end |
#interval_before_sunset ⇒ Object
Returns the value of attribute interval_before_sunset.
521 522 523 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 521 def interval_before_sunset @interval_before_sunset end |
#name ⇒ Object
Returns the value of attribute name.
516 517 518 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 516 def name @name end |
#schedule_update_enabled ⇒ Object
Returns the value of attribute schedule_update_enabled.
517 518 519 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 517 def schedule_update_enabled @schedule_update_enabled end |
#type ⇒ Object
Returns the value of attribute type.
515 516 517 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 515 def type @type end |
#update_required_entry_fields ⇒ Object
Returns the value of attribute update_required_entry_fields.
522 523 524 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 522 def update_required_entry_fields @update_required_entry_fields end |
#update_required_metadata_xpaths ⇒ Object
Returns the value of attribute update_required_metadata_xpaths.
523 524 525 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 523 def @update_required_metadata_xpaths end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
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 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 541 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 |