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, #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.



1456
1457
1458
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1456

def delete_action
  @delete_action
end

#fetch_report_actionObject

Returns the value of attribute fetch_report_action.



1457
1458
1459
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1457

def fetch_report_action
  @fetch_report_action
end

#generic_provider_idObject

Returns the value of attribute generic_provider_id.



1453
1454
1455
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1453

def generic_provider_id
  @generic_provider_id
end

#submit_actionObject

Returns the value of attribute submit_action.



1454
1455
1456
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1454

def submit_action
  @submit_action
end

#update_actionObject

Returns the value of attribute update_action.



1455
1456
1457
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1455

def update_action
  @update_action
end

#update_required_entry_fieldsObject

Returns the value of attribute update_required_entry_fields.



1458
1459
1460
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1458

def update_required_entry_fields
  @update_required_entry_fields
end

#update_required_metadata_xpathsObject

Returns the value of attribute update_required_metadata_xpaths.



1459
1460
1461
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1459

def 
  @update_required_metadata_xpaths
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1465

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