Class: Kaltura::KalturaGenericDistributionProfile

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

Instance Attribute Summary collapse

Attributes inherited from KalturaDistributionProfile

#auto_create_flavors, #auto_create_thumb, #created_at, #delete_enabled, #distribute_trigger, #id, #name, #optional_asset_distribution_rules, #optional_flavor_params_ids, #optional_thumb_dimensions, #partner_id, #provider_type, #recommended_dc_for_download, #recommended_dc_for_execute, #recommended_storage_profile_for_download, #report_enabled, #required_asset_distribution_rules, #required_flavor_params_ids, #required_thumb_dimensions, #status, #submit_enabled, #sunrise_default_offset, #sunset_default_offset, #support_image_entry, #update_enabled, #updated_at

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#delete_actionObject

Returns the value of attribute delete_action.



1464
1465
1466
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1464

def delete_action
  @delete_action
end

#fetch_report_actionObject

Returns the value of attribute fetch_report_action.



1465
1466
1467
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1465

def fetch_report_action
  @fetch_report_action
end

#generic_provider_idObject

Returns the value of attribute generic_provider_id.



1461
1462
1463
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1461

def generic_provider_id
  @generic_provider_id
end

#submit_actionObject

Returns the value of attribute submit_action.



1462
1463
1464
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1462

def submit_action
  @submit_action
end

#update_actionObject

Returns the value of attribute update_action.



1463
1464
1465
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1463

def update_action
  @update_action
end

#update_required_entry_fieldsObject

Returns the value of attribute update_required_entry_fields.



1466
1467
1468
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1466

def update_required_entry_fields
  @update_required_entry_fields
end

#update_required_metadata_xpathsObject

Returns the value of attribute update_required_metadata_xpaths.



1467
1468
1469
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1467

def 
  @update_required_metadata_xpaths
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1473

def from_xml(xml_element)
	super
	if xml_element.elements['genericProviderId'] != nil
		self.generic_provider_id = xml_element.elements['genericProviderId'].text
	end
	if xml_element.elements['submitAction'] != nil
		self.submit_action = KalturaClientBase.object_from_xml(xml_element.elements['submitAction'], 'KalturaGenericDistributionProfileAction')
	end
	if xml_element.elements['updateAction'] != nil
		self.update_action = KalturaClientBase.object_from_xml(xml_element.elements['updateAction'], 'KalturaGenericDistributionProfileAction')
	end
	if xml_element.elements['deleteAction'] != nil
		self.delete_action = KalturaClientBase.object_from_xml(xml_element.elements['deleteAction'], 'KalturaGenericDistributionProfileAction')
	end
	if xml_element.elements['fetchReportAction'] != nil
		self.fetch_report_action = KalturaClientBase.object_from_xml(xml_element.elements['fetchReportAction'], 'KalturaGenericDistributionProfileAction')
	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