Class: Kaltura::KalturaBaseSyndicationFeed
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaBaseSyndicationFeed
- Defined in:
- lib/kaltura_types.rb
Direct Known Subclasses
KalturaGenericSyndicationFeed, KalturaGoogleVideoSyndicationFeed, KalturaITunesSyndicationFeed, KalturaTubeMogulSyndicationFeed, KalturaYahooSyndicationFeed
Instance Attribute Summary collapse
-
#add_to_default_conversion_profile ⇒ Object
Returns the value of attribute add_to_default_conversion_profile.
-
#allow_embed ⇒ Object
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.
-
#categories ⇒ Object
Returns the value of attribute categories.
-
#created_at ⇒ Object
Creation date as Unix timestamp (In seconds).
-
#enforce_entitlement ⇒ Object
Should enforce entitlement on feed entries.
-
#entries_order_by ⇒ Object
Returns the value of attribute entries_order_by.
-
#feed_content_type_header ⇒ Object
Feed content-type header value.
-
#feed_url ⇒ Object
Returns the value of attribute feed_url.
-
#flavor_param_id ⇒ Object
Returns the value of attribute flavor_param_id.
-
#id ⇒ Object
Returns the value of attribute id.
-
#landing_page ⇒ Object
Base URL for each video, on the partners site This is required by all syndication types.
-
#name ⇒ Object
feed name.
-
#partner_id ⇒ Object
Returns the value of attribute partner_id.
-
#player_uiconf_id ⇒ Object
Select a uiconf ID as player skin to include in the kwidget url.
-
#playlist_id ⇒ Object
link a playlist that will set what content the feed will include if empty, all content will be included in feed.
-
#privacy_context ⇒ Object
Set privacy context for search entries that assiged to private and public categories within a category privacy context.
-
#status ⇒ Object
feed status.
-
#storage_id ⇒ Object
Returns the value of attribute storage_id.
-
#transcode_existing_content ⇒ Object
Returns the value of attribute transcode_existing_content.
-
#type ⇒ Object
feed type.
-
#updated_at ⇒ Object
Update date as Unix timestamp (In seconds).
-
#use_category_entries ⇒ Object
Returns the value of attribute use_category_entries.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#add_to_default_conversion_profile ⇒ Object
Returns the value of attribute add_to_default_conversion_profile.
1243 1244 1245 |
# File 'lib/kaltura_types.rb', line 1243 def add_to_default_conversion_profile @add_to_default_conversion_profile end |
#allow_embed ⇒ Object
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)
1238 1239 1240 |
# File 'lib/kaltura_types.rb', line 1238 def @allow_embed end |
#categories ⇒ Object
Returns the value of attribute categories.
1244 1245 1246 |
# File 'lib/kaltura_types.rb', line 1244 def categories @categories end |
#created_at ⇒ Object
Creation date as Unix timestamp (In seconds)
1233 1234 1235 |
# File 'lib/kaltura_types.rb', line 1233 def created_at @created_at end |
#enforce_entitlement ⇒ Object
Should enforce entitlement on feed entries
1248 1249 1250 |
# File 'lib/kaltura_types.rb', line 1248 def enforce_entitlement @enforce_entitlement end |
#entries_order_by ⇒ Object
Returns the value of attribute entries_order_by.
1246 1247 1248 |
# File 'lib/kaltura_types.rb', line 1246 def entries_order_by @entries_order_by end |
#feed_content_type_header ⇒ Object
Feed content-type header value
1255 1256 1257 |
# File 'lib/kaltura_types.rb', line 1255 def feed_content_type_header @feed_content_type_header end |
#feed_url ⇒ Object
Returns the value of attribute feed_url.
1218 1219 1220 |
# File 'lib/kaltura_types.rb', line 1218 def feed_url @feed_url end |
#flavor_param_id ⇒ Object
Returns the value of attribute flavor_param_id.
1241 1242 1243 |
# File 'lib/kaltura_types.rb', line 1241 def flavor_param_id @flavor_param_id end |
#id ⇒ Object
Returns the value of attribute id.
1217 1218 1219 |
# File 'lib/kaltura_types.rb', line 1217 def id @id end |
#landing_page ⇒ Object
Base URL for each video, on the partners site This is required by all syndication types.
1231 1232 1233 |
# File 'lib/kaltura_types.rb', line 1231 def landing_page @landing_page end |
#name ⇒ Object
feed name
1224 1225 1226 |
# File 'lib/kaltura_types.rb', line 1224 def name @name end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
1219 1220 1221 |
# File 'lib/kaltura_types.rb', line 1219 def partner_id @partner_id end |
#player_uiconf_id ⇒ Object
Select a uiconf ID as player skin to include in the kwidget url
1240 1241 1242 |
# File 'lib/kaltura_types.rb', line 1240 def player_uiconf_id @player_uiconf_id end |
#playlist_id ⇒ Object
link a playlist that will set what content the feed will include if empty, all content will be included in feed
1222 1223 1224 |
# File 'lib/kaltura_types.rb', line 1222 def playlist_id @playlist_id end |
#privacy_context ⇒ Object
Set privacy context for search entries that assiged to private and public categories within a category privacy context.
1250 1251 1252 |
# File 'lib/kaltura_types.rb', line 1250 def privacy_context @privacy_context end |
#status ⇒ Object
feed status
1226 1227 1228 |
# File 'lib/kaltura_types.rb', line 1226 def status @status end |
#storage_id ⇒ Object
Returns the value of attribute storage_id.
1245 1246 1247 |
# File 'lib/kaltura_types.rb', line 1245 def storage_id @storage_id end |
#transcode_existing_content ⇒ Object
Returns the value of attribute transcode_existing_content.
1242 1243 1244 |
# File 'lib/kaltura_types.rb', line 1242 def transcode_existing_content @transcode_existing_content end |
#type ⇒ Object
feed type
1228 1229 1230 |
# File 'lib/kaltura_types.rb', line 1228 def type @type end |
#updated_at ⇒ Object
Update date as Unix timestamp (In seconds)
1252 1253 1254 |
# File 'lib/kaltura_types.rb', line 1252 def updated_at @updated_at end |
#use_category_entries ⇒ Object
Returns the value of attribute use_category_entries.
1253 1254 1255 |
# File 'lib/kaltura_types.rb', line 1253 def use_category_entries @use_category_entries end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 |
# File 'lib/kaltura_types.rb', line 1297 def from_xml(xml_element) super if xml_element.elements['id'] != nil self.id = xml_element.elements['id'].text end if xml_element.elements['feedUrl'] != nil self.feed_url = xml_element.elements['feedUrl'].text end if xml_element.elements['partnerId'] != nil self.partner_id = xml_element.elements['partnerId'].text end if xml_element.elements['playlistId'] != nil self.playlist_id = xml_element.elements['playlistId'].text end if xml_element.elements['name'] != nil self.name = xml_element.elements['name'].text end if xml_element.elements['status'] != nil self.status = xml_element.elements['status'].text end if xml_element.elements['type'] != nil self.type = xml_element.elements['type'].text end if xml_element.elements['landingPage'] != nil self.landing_page = xml_element.elements['landingPage'].text end if xml_element.elements['createdAt'] != nil self.created_at = xml_element.elements['createdAt'].text end if xml_element.elements['allowEmbed'] != nil self. = xml_element.elements['allowEmbed'].text end if xml_element.elements['playerUiconfId'] != nil self.player_uiconf_id = xml_element.elements['playerUiconfId'].text end if xml_element.elements['flavorParamId'] != nil self.flavor_param_id = xml_element.elements['flavorParamId'].text end if xml_element.elements['transcodeExistingContent'] != nil self.transcode_existing_content = xml_element.elements['transcodeExistingContent'].text end if xml_element.elements['addToDefaultConversionProfile'] != nil self.add_to_default_conversion_profile = xml_element.elements['addToDefaultConversionProfile'].text end if xml_element.elements['categories'] != nil self.categories = xml_element.elements['categories'].text end if xml_element.elements['storageId'] != nil self.storage_id = xml_element.elements['storageId'].text end if xml_element.elements['entriesOrderBy'] != nil self.entries_order_by = xml_element.elements['entriesOrderBy'].text end if xml_element.elements['enforceEntitlement'] != nil self.enforce_entitlement = xml_element.elements['enforceEntitlement'].text end if xml_element.elements['privacyContext'] != nil self.privacy_context = xml_element.elements['privacyContext'].text end if xml_element.elements['updatedAt'] != nil self.updated_at = xml_element.elements['updatedAt'].text end if xml_element.elements['useCategoryEntries'] != nil self.use_category_entries = xml_element.elements['useCategoryEntries'].text end if xml_element.elements['feedContentTypeHeader'] != nil self.feed_content_type_header = xml_element.elements['feedContentTypeHeader'].text end end |