Class: Kaltura::KalturaBaseSyndicationFeed

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

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#add_to_default_conversion_profileObject

Returns the value of attribute add_to_default_conversion_profile.



881
882
883
# File 'lib/kaltura_types.rb', line 881

def add_to_default_conversion_profile
  @add_to_default_conversion_profile
end

#allow_embedObject

allow_embed tells google OR yahoo weather to allow embedding the video on google OR yahoo video results or just to provide a link to the landing page. it is applied on the video-player_loc property in the XML (google) and addes media-player tag (yahoo)



875
876
877
# File 'lib/kaltura_types.rb', line 875

def allow_embed
  @allow_embed
end

#categoriesObject

Returns the value of attribute categories.



882
883
884
# File 'lib/kaltura_types.rb', line 882

def categories
  @categories
end

#created_atObject

Creation date as Unix timestamp (In seconds)



869
870
871
# File 'lib/kaltura_types.rb', line 869

def created_at
  @created_at
end

#enforce_entitlementObject

Should enforce entitlement on feed entries



887
888
889
# File 'lib/kaltura_types.rb', line 887

def enforce_entitlement
  @enforce_entitlement
end

#entries_order_byObject

Returns the value of attribute entries_order_by.



884
885
886
# File 'lib/kaltura_types.rb', line 884

def entries_order_by
  @entries_order_by
end

#feed_urlObject

Returns the value of attribute feed_url.



848
849
850
# File 'lib/kaltura_types.rb', line 848

def feed_url
  @feed_url
end

#flavor_param_idObject

Returns the value of attribute flavor_param_id.



879
880
881
# File 'lib/kaltura_types.rb', line 879

def flavor_param_id
  @flavor_param_id
end

#idObject

Returns the value of attribute id.



847
848
849
# File 'lib/kaltura_types.rb', line 847

def id
  @id
end

#landing_pageObject

Base URL for each video, on the partners site This is required by all syndication types.



866
867
868
# File 'lib/kaltura_types.rb', line 866

def landing_page
  @landing_page
end

#nameObject

feed name



856
857
858
# File 'lib/kaltura_types.rb', line 856

def name
  @name
end

#partner_idObject

Returns the value of attribute partner_id.



849
850
851
# File 'lib/kaltura_types.rb', line 849

def partner_id
  @partner_id
end

#player_uiconf_idObject

Select a uiconf ID as player skin to include in the kwidget url



878
879
880
# File 'lib/kaltura_types.rb', line 878

def player_uiconf_id
  @player_uiconf_id
end

#playlist_idObject

link a playlist that will set what content the feed will include if empty, all content will be included in feed



853
854
855
# File 'lib/kaltura_types.rb', line 853

def playlist_id
  @playlist_id
end

#privacy_contextObject

Set privacy context for search entries that assiged to private and public categories within a category privacy context.



890
891
892
# File 'lib/kaltura_types.rb', line 890

def privacy_context
  @privacy_context
end

#statusObject

feed status



859
860
861
# File 'lib/kaltura_types.rb', line 859

def status
  @status
end

#storage_idObject

Returns the value of attribute storage_id.



883
884
885
# File 'lib/kaltura_types.rb', line 883

def storage_id
  @storage_id
end

#transcode_existing_contentObject

Returns the value of attribute transcode_existing_content.



880
881
882
# File 'lib/kaltura_types.rb', line 880

def transcode_existing_content
  @transcode_existing_content
end

#typeObject

feed type



862
863
864
# File 'lib/kaltura_types.rb', line 862

def type
  @type
end

#updated_atObject

Update date as Unix timestamp (In seconds)



893
894
895
# File 'lib/kaltura_types.rb', line 893

def updated_at
  @updated_at
end

#use_category_entriesObject

Returns the value of attribute use_category_entries.



894
895
896
# File 'lib/kaltura_types.rb', line 894

def use_category_entries
  @use_category_entries
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
# File 'lib/kaltura_types.rb', line 936

def from_xml(xml_element)
  super
  self.id = xml_element.elements['id'].text
  self.feed_url = xml_element.elements['feedUrl'].text
  self.partner_id = xml_element.elements['partnerId'].text
  self.playlist_id = xml_element.elements['playlistId'].text
  self.name = xml_element.elements['name'].text
  self.status = xml_element.elements['status'].text
  self.type = xml_element.elements['type'].text
  self.landing_page = xml_element.elements['landingPage'].text
  self.created_at = xml_element.elements['createdAt'].text
  self.allow_embed = xml_element.elements['allowEmbed'].text
  self.player_uiconf_id = xml_element.elements['playerUiconfId'].text
  self.flavor_param_id = xml_element.elements['flavorParamId'].text
  self.transcode_existing_content = xml_element.elements['transcodeExistingContent'].text
  self.add_to_default_conversion_profile = xml_element.elements['addToDefaultConversionProfile'].text
  self.categories = xml_element.elements['categories'].text
  self.storage_id = xml_element.elements['storageId'].text
  self.entries_order_by = xml_element.elements['entriesOrderBy'].text
  self.enforce_entitlement = xml_element.elements['enforceEntitlement'].text
  self.privacy_context = xml_element.elements['privacyContext'].text
  self.updated_at = xml_element.elements['updatedAt'].text
  self.use_category_entries = xml_element.elements['useCategoryEntries'].text
end