Class: Kaltura::KalturaConfigurableDistributionProfile

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

#field_config_arrayObject

Returns the value of attribute field_config_array.



1081
1082
1083
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1081

def field_config_array
  @field_config_array
end

#item_xpaths_to_extendObject

Returns the value of attribute item_xpaths_to_extend.



1082
1083
1084
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1082

def item_xpaths_to_extend
  @item_xpaths_to_extend
end

#use_category_entriesObject

When checking custom XSLT conditions using the fieldConfigArray - address only categories associated with the entry via the categoryEntry object



1084
1085
1086
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1084

def use_category_entries
  @use_category_entries
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1090

def from_xml(xml_element)
	super
	if xml_element.elements['fieldConfigArray'] != nil
		self.field_config_array = KalturaClientBase.object_from_xml(xml_element.elements['fieldConfigArray'], 'KalturaDistributionFieldConfig')
	end
	if xml_element.elements['itemXpathsToExtend'] != nil
		self.item_xpaths_to_extend = KalturaClientBase.object_from_xml(xml_element.elements['itemXpathsToExtend'], 'KalturaExtendingItemMrssParameter')
	end
	if xml_element.elements['useCategoryEntries'] != nil
		self.use_category_entries = xml_element.elements['useCategoryEntries'].text
	end
end