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.
1200 1201 1202 |
# File 'lib/kaltura_types.rb', line 1200 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)
1195 1196 1197 |
# File 'lib/kaltura_types.rb', line 1195 def @allow_embed end |
#categories ⇒ Object
Returns the value of attribute categories.
1201 1202 1203 |
# File 'lib/kaltura_types.rb', line 1201 def categories @categories end |
#created_at ⇒ Object
Creation date as Unix timestamp (In seconds)
1190 1191 1192 |
# File 'lib/kaltura_types.rb', line 1190 def created_at @created_at end |
#enforce_entitlement ⇒ Object
Should enforce entitlement on feed entries
1205 1206 1207 |
# File 'lib/kaltura_types.rb', line 1205 def enforce_entitlement @enforce_entitlement end |
#entries_order_by ⇒ Object
Returns the value of attribute entries_order_by.
1203 1204 1205 |
# File 'lib/kaltura_types.rb', line 1203 def entries_order_by @entries_order_by end |
#feed_content_type_header ⇒ Object
Feed content-type header value
1212 1213 1214 |
# File 'lib/kaltura_types.rb', line 1212 def feed_content_type_header @feed_content_type_header end |
#feed_url ⇒ Object
Returns the value of attribute feed_url.
1175 1176 1177 |
# File 'lib/kaltura_types.rb', line 1175 def feed_url @feed_url end |
#flavor_param_id ⇒ Object
Returns the value of attribute flavor_param_id.
1198 1199 1200 |
# File 'lib/kaltura_types.rb', line 1198 def flavor_param_id @flavor_param_id end |
#id ⇒ Object
Returns the value of attribute id.
1174 1175 1176 |
# File 'lib/kaltura_types.rb', line 1174 def id @id end |
#landing_page ⇒ Object
Base URL for each video, on the partners site This is required by all syndication types.
1188 1189 1190 |
# File 'lib/kaltura_types.rb', line 1188 def landing_page @landing_page end |
#name ⇒ Object
feed name
1181 1182 1183 |
# File 'lib/kaltura_types.rb', line 1181 def name @name end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
1176 1177 1178 |
# File 'lib/kaltura_types.rb', line 1176 def partner_id @partner_id end |
#player_uiconf_id ⇒ Object
Select a uiconf ID as player skin to include in the kwidget url
1197 1198 1199 |
# File 'lib/kaltura_types.rb', line 1197 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
1179 1180 1181 |
# File 'lib/kaltura_types.rb', line 1179 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.
1207 1208 1209 |
# File 'lib/kaltura_types.rb', line 1207 def privacy_context @privacy_context end |
#status ⇒ Object
feed status
1183 1184 1185 |
# File 'lib/kaltura_types.rb', line 1183 def status @status end |
#storage_id ⇒ Object
Returns the value of attribute storage_id.
1202 1203 1204 |
# File 'lib/kaltura_types.rb', line 1202 def storage_id @storage_id end |
#transcode_existing_content ⇒ Object
Returns the value of attribute transcode_existing_content.
1199 1200 1201 |
# File 'lib/kaltura_types.rb', line 1199 def transcode_existing_content @transcode_existing_content end |
#type ⇒ Object
feed type
1185 1186 1187 |
# File 'lib/kaltura_types.rb', line 1185 def type @type end |
#updated_at ⇒ Object
Update date as Unix timestamp (In seconds)
1209 1210 1211 |
# File 'lib/kaltura_types.rb', line 1209 def updated_at @updated_at end |
#use_category_entries ⇒ Object
Returns the value of attribute use_category_entries.
1210 1211 1212 |
# File 'lib/kaltura_types.rb', line 1210 def use_category_entries @use_category_entries end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 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 |
# File 'lib/kaltura_types.rb', line 1254 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 |