Class: Kaltura::KalturaDoubleClickDistributionProfile

Inherits:
KalturaConfigurableDistributionProfile show all
Defined in:
lib/kaltura_plugins/kaltura_double_click_distribution_client_plugin.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaConfigurableDistributionProfile

#field_config_array, #item_xpaths_to_extend, #use_category_entries

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

#channel_descriptionObject

Returns the value of attribute channel_description.



65
66
67
# File 'lib/kaltura_plugins/kaltura_double_click_distribution_client_plugin.rb', line 65

def channel_description
  @channel_description
end

Returns the value of attribute channel_link.



64
65
66
# File 'lib/kaltura_plugins/kaltura_double_click_distribution_client_plugin.rb', line 64

def channel_link
  @channel_link
end

#channel_titleObject

Returns the value of attribute channel_title.



63
64
65
# File 'lib/kaltura_plugins/kaltura_double_click_distribution_client_plugin.rb', line 63

def channel_title
  @channel_title
end

#cue_points_providerObject

Returns the value of attribute cue_points_provider.



67
68
69
# File 'lib/kaltura_plugins/kaltura_double_click_distribution_client_plugin.rb', line 67

def cue_points_provider
  @cue_points_provider
end

#feed_urlObject

Returns the value of attribute feed_url.



66
67
68
# File 'lib/kaltura_plugins/kaltura_double_click_distribution_client_plugin.rb', line 66

def feed_url
  @feed_url
end

#ignore_scheduling_in_feedObject

Returns the value of attribute ignore_scheduling_in_feed.



69
70
71
# File 'lib/kaltura_plugins/kaltura_double_click_distribution_client_plugin.rb', line 69

def ignore_scheduling_in_feed
  @ignore_scheduling_in_feed
end

#items_per_pageObject

Returns the value of attribute items_per_page.



68
69
70
# File 'lib/kaltura_plugins/kaltura_double_click_distribution_client_plugin.rb', line 68

def items_per_page
  @items_per_page
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# File 'lib/kaltura_plugins/kaltura_double_click_distribution_client_plugin.rb', line 75

def from_xml(xml_element)
	super
	if xml_element.elements['channelTitle'] != nil
		self.channel_title = xml_element.elements['channelTitle'].text
	end
	if xml_element.elements['channelLink'] != nil
		self.channel_link = xml_element.elements['channelLink'].text
	end
	if xml_element.elements['channelDescription'] != nil
		self.channel_description = xml_element.elements['channelDescription'].text
	end
	if xml_element.elements['feedUrl'] != nil
		self.feed_url = xml_element.elements['feedUrl'].text
	end
	if xml_element.elements['cuePointsProvider'] != nil
		self.cue_points_provider = xml_element.elements['cuePointsProvider'].text
	end
	if xml_element.elements['itemsPerPage'] != nil
		self.items_per_page = xml_element.elements['itemsPerPage'].text
	end
	if xml_element.elements['ignoreSchedulingInFeed'] != nil
		self.ignore_scheduling_in_feed = xml_element.elements['ignoreSchedulingInFeed'].text
	end
end