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.



15591
15592
15593
# File 'lib/kaltura_types.rb', line 15591

def adult_content
  @adult_content
end

#categoryObject

Returns the value of attribute category.



15590
15591
15592
# File 'lib/kaltura_types.rb', line 15590

def category
  @category
end

#feed_descriptionObject

feed description



15593
15594
15595
# File 'lib/kaltura_types.rb', line 15593

def feed_description
  @feed_description
end

#feed_landing_pageObject

feed landing page (i.e publisher website)



15595
15596
15597
# File 'lib/kaltura_types.rb', line 15595

def feed_landing_page
  @feed_landing_page
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



15598
15599
15600
15601
15602
15603
15604
15605
15606
15607
15608
15609
15610
15611
15612
# File 'lib/kaltura_types.rb', line 15598

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