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.



16338
16339
16340
# File 'lib/kaltura_types.rb', line 16338

def adult_content
  @adult_content
end

#categoryObject

Returns the value of attribute category.



16337
16338
16339
# File 'lib/kaltura_types.rb', line 16337

def category
  @category
end

#feed_descriptionObject

feed description



16340
16341
16342
# File 'lib/kaltura_types.rb', line 16340

def feed_description
  @feed_description
end

#feed_landing_pageObject

feed landing page (i.e publisher website)



16342
16343
16344
# File 'lib/kaltura_types.rb', line 16342

def feed_landing_page
  @feed_landing_page
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



16345
16346
16347
16348
16349
16350
16351
16352
16353
16354
16355
16356
16357
16358
16359
# File 'lib/kaltura_types.rb', line 16345

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