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.



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_updateObject

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_sunriseObject

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_sunsetObject

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

#nameObject

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_enabledObject

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

#typeObject

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_fieldsObject

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_xpathsObject

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