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.



1208
1209
1210
# File 'lib/kaltura_types.rb', line 1208

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)



1203
1204
1205
# File 'lib/kaltura_types.rb', line 1203

def allow_embed
  @allow_embed
end

#categoriesObject

Returns the value of attribute categories.



1209
1210
1211
# File 'lib/kaltura_types.rb', line 1209

def categories
  @categories
end

#created_atObject

Creation date as Unix timestamp (In seconds)



1198
1199
1200
# File 'lib/kaltura_types.rb', line 1198

def created_at
  @created_at
end

#enforce_entitlementObject

Should enforce entitlement on feed entries



1213
1214
1215
# File 'lib/kaltura_types.rb', line 1213

def enforce_entitlement
  @enforce_entitlement
end

#entries_order_byObject

Returns the value of attribute entries_order_by.



1211
1212
1213
# File 'lib/kaltura_types.rb', line 1211

def entries_order_by
  @entries_order_by
end

#feed_content_type_headerObject

Feed content-type header value



1220
1221
1222
# File 'lib/kaltura_types.rb', line 1220

def feed_content_type_header
  @feed_content_type_header
end

#feed_urlObject

Returns the value of attribute feed_url.



1183
1184
1185
# File 'lib/kaltura_types.rb', line 1183

def feed_url
  @feed_url
end

#flavor_param_idObject

Returns the value of attribute flavor_param_id.



1206
1207
1208
# File 'lib/kaltura_types.rb', line 1206

def flavor_param_id
  @flavor_param_id
end

#idObject

Returns the value of attribute id.



1182
1183
1184
# File 'lib/kaltura_types.rb', line 1182

def id
  @id
end

#landing_pageObject

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



1196
1197
1198
# File 'lib/kaltura_types.rb', line 1196

def landing_page
  @landing_page
end

#nameObject

feed name



1189
1190
1191
# File 'lib/kaltura_types.rb', line 1189

def name
  @name
end

#partner_idObject

Returns the value of attribute partner_id.



1184
1185
1186
# File 'lib/kaltura_types.rb', line 1184

def partner_id
  @partner_id
end

#player_uiconf_idObject

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



1205
1206
1207
# File 'lib/kaltura_types.rb', line 1205

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



1187
1188
1189
# File 'lib/kaltura_types.rb', line 1187

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.



1215
1216
1217
# File 'lib/kaltura_types.rb', line 1215

def privacy_context
  @privacy_context
end

#statusObject

feed status



1191
1192
1193
# File 'lib/kaltura_types.rb', line 1191

def status
  @status
end

#storage_idObject

Returns the value of attribute storage_id.



1210
1211
1212
# File 'lib/kaltura_types.rb', line 1210

def storage_id
  @storage_id
end

#transcode_existing_contentObject

Returns the value of attribute transcode_existing_content.



1207
1208
1209
# File 'lib/kaltura_types.rb', line 1207

def transcode_existing_content
  @transcode_existing_content
end

#typeObject

feed type



1193
1194
1195
# File 'lib/kaltura_types.rb', line 1193

def type
  @type
end

#updated_atObject

Update date as Unix timestamp (In seconds)



1217
1218
1219
# File 'lib/kaltura_types.rb', line 1217

def updated_at
  @updated_at
end

#use_category_entriesObject

Returns the value of attribute use_category_entries.



1218
1219
1220
# File 'lib/kaltura_types.rb', line 1218

def use_category_entries
  @use_category_entries
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



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
1323
1324
1325
1326
1327
1328
1329
1330
# File 'lib/kaltura_types.rb', line 1262

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.allow_embed = 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