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, 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.
504 505 506 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 504 def availability_update_enabled @availability_update_enabled end |
#delete_instead_update ⇒ Object
Returns the value of attribute delete_instead_update.
505 506 507 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 505 def delete_instead_update @delete_instead_update end |
#interval_before_sunrise ⇒ Object
Returns the value of attribute interval_before_sunrise.
506 507 508 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 506 def interval_before_sunrise @interval_before_sunrise end |
#interval_before_sunset ⇒ Object
Returns the value of attribute interval_before_sunset.
507 508 509 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 507 def interval_before_sunset @interval_before_sunset end |
#name ⇒ Object
Returns the value of attribute name.
502 503 504 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 502 def name @name end |
#schedule_update_enabled ⇒ Object
Returns the value of attribute schedule_update_enabled.
503 504 505 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 503 def schedule_update_enabled @schedule_update_enabled end |
#type ⇒ Object
Returns the value of attribute type.
501 502 503 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 501 def type @type end |
#update_required_entry_fields ⇒ Object
Returns the value of attribute update_required_entry_fields.
508 509 510 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 508 def update_required_entry_fields @update_required_entry_fields end |
#update_required_metadata_xpaths ⇒ Object
Returns the value of attribute update_required_metadata_xpaths.
509 510 511 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 509 def end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
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 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 527 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 |