Class: Kaltura::KalturaDistributionProvider
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaDistributionProvider
- Defined in:
- lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb
Direct Known Subclasses
KalturaGenericDistributionProvider, KalturaSyndicationDistributionProvider
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.
438 439 440 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 438 def availability_update_enabled @availability_update_enabled end |
#delete_instead_update ⇒ Object
Returns the value of attribute delete_instead_update.
439 440 441 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 439 def delete_instead_update @delete_instead_update end |
#interval_before_sunrise ⇒ Object
Returns the value of attribute interval_before_sunrise.
440 441 442 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 440 def interval_before_sunrise @interval_before_sunrise end |
#interval_before_sunset ⇒ Object
Returns the value of attribute interval_before_sunset.
441 442 443 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 441 def interval_before_sunset @interval_before_sunset end |
#name ⇒ Object
Returns the value of attribute name.
436 437 438 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 436 def name @name end |
#schedule_update_enabled ⇒ Object
Returns the value of attribute schedule_update_enabled.
437 438 439 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 437 def schedule_update_enabled @schedule_update_enabled end |
#type ⇒ Object
Returns the value of attribute type.
435 436 437 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 435 def type @type end |
#update_required_entry_fields ⇒ Object
Returns the value of attribute update_required_entry_fields.
442 443 444 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 442 def update_required_entry_fields @update_required_entry_fields end |
#update_required_metadata_xpaths ⇒ Object
Returns the value of attribute update_required_metadata_xpaths.
443 444 445 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 443 def end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
461 462 463 464 465 466 467 468 469 470 471 472 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 461 def from_xml(xml_element) super self.type = xml_element.elements['type'].text self.name = xml_element.elements['name'].text self.schedule_update_enabled = xml_element.elements['scheduleUpdateEnabled'].text self.availability_update_enabled = xml_element.elements['availabilityUpdateEnabled'].text self.delete_instead_update = xml_element.elements['deleteInsteadUpdate'].text self.interval_before_sunrise = xml_element.elements['intervalBeforeSunrise'].text self.interval_before_sunset = xml_element.elements['intervalBeforeSunset'].text self.update_required_entry_fields = xml_element.elements['updateRequiredEntryFields'].text self. = xml_element.elements['updateRequiredMetadataXPaths'].text end |