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

#field_config_arrayObject

Returns the value of attribute field_config_array.



1089
1090
1091
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1089

def field_config_array
  @field_config_array
end

#item_xpaths_to_extendObject

Returns the value of attribute item_xpaths_to_extend.



1090
1091
1092
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1090

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



1092
1093
1094
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1092

def use_category_entries
  @use_category_entries
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1098

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