Class: Kaltura::KalturaYahooSyndicationFeed

Inherits:
KalturaBaseSyndicationFeed show all
Defined in:
lib/kaltura_types.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaBaseSyndicationFeed

#add_to_default_conversion_profile, #allow_embed, #categories, #created_at, #enforce_entitlement, #entries_order_by, #feed_content_type_header, #feed_url, #flavor_param_id, #id, #landing_page, #name, #partner_id, #player_uiconf_id, #playlist_id, #privacy_context, #status, #storage_id, #transcode_existing_content, #type, #updated_at, #use_category_entries

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#adult_contentObject

Returns the value of attribute adult_content.



16378
16379
16380
# File 'lib/kaltura_types.rb', line 16378

def adult_content
  @adult_content
end

#categoryObject

Returns the value of attribute category.



16377
16378
16379
# File 'lib/kaltura_types.rb', line 16377

def category
  @category
end

#feed_descriptionObject

feed description



16380
16381
16382
# File 'lib/kaltura_types.rb', line 16380

def feed_description
  @feed_description
end

#feed_landing_pageObject

feed landing page (i.e publisher website)



16382
16383
16384
# File 'lib/kaltura_types.rb', line 16382

def feed_landing_page
  @feed_landing_page
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



16385
16386
16387
16388
16389
16390
16391
16392
16393
16394
16395
16396
16397
16398
16399
# File 'lib/kaltura_types.rb', line 16385

def from_xml(xml_element)
	super
	if xml_element.elements['category'] != nil
		self.category = xml_element.elements['category'].text
	end
	if xml_element.elements['adultContent'] != nil
		self.adult_content = xml_element.elements['adultContent'].text
	end
	if xml_element.elements['feedDescription'] != nil
		self.feed_description = xml_element.elements['feedDescription'].text
	end
	if xml_element.elements['feedLandingPage'] != nil
		self.feed_landing_page = xml_element.elements['feedLandingPage'].text
	end
end