Class: Kaltura::KalturaDistributionProvider

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#availability_update_enabledObject

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_updateObject

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_sunriseObject

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_sunsetObject

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

#nameObject

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_enabledObject

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

#typeObject

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_fieldsObject

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_xpathsObject

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 
  
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