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.



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

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)



1177
1178
1179
# File 'lib/kaltura_types.rb', line 1177

def allow_embed
  @allow_embed
end

#categoriesObject

Returns the value of attribute categories.



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

def categories
  @categories
end

#created_atObject

Creation date as Unix timestamp (In seconds)



1172
1173
1174
# File 'lib/kaltura_types.rb', line 1172

def created_at
  @created_at
end

#enforce_entitlementObject

Should enforce entitlement on feed entries



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

def enforce_entitlement
  @enforce_entitlement
end

#entries_order_byObject

Returns the value of attribute entries_order_by.



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

def entries_order_by
  @entries_order_by
end

#feed_content_type_headerObject

Feed content-type header value



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

def feed_content_type_header
  @feed_content_type_header
end

#feed_urlObject

Returns the value of attribute feed_url.



1157
1158
1159
# File 'lib/kaltura_types.rb', line 1157

def feed_url
  @feed_url
end

#flavor_param_idObject

Returns the value of attribute flavor_param_id.



1180
1181
1182
# File 'lib/kaltura_types.rb', line 1180

def flavor_param_id
  @flavor_param_id
end

#idObject

Returns the value of attribute id.



1156
1157
1158
# File 'lib/kaltura_types.rb', line 1156

def id
  @id
end

#landing_pageObject

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



1170
1171
1172
# File 'lib/kaltura_types.rb', line 1170

def landing_page
  @landing_page
end

#nameObject

feed name



1163
1164
1165
# File 'lib/kaltura_types.rb', line 1163

def name
  @name
end

#partner_idObject

Returns the value of attribute partner_id.



1158
1159
1160
# File 'lib/kaltura_types.rb', line 1158

def partner_id
  @partner_id
end

#player_uiconf_idObject

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



1179
1180
1181
# File 'lib/kaltura_types.rb', line 1179

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



1161
1162
1163
# File 'lib/kaltura_types.rb', line 1161

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.



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

def privacy_context
  @privacy_context
end

#statusObject

feed status



1165
1166
1167
# File 'lib/kaltura_types.rb', line 1165

def status
  @status
end

#storage_idObject

Returns the value of attribute storage_id.



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

def storage_id
  @storage_id
end

#transcode_existing_contentObject

Returns the value of attribute transcode_existing_content.



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

def transcode_existing_content
  @transcode_existing_content
end

#typeObject

feed type



1167
1168
1169
# File 'lib/kaltura_types.rb', line 1167

def type
  @type
end

#updated_atObject

Update date as Unix timestamp (In seconds)



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

def updated_at
  @updated_at
end

#use_category_entriesObject

Returns the value of attribute use_category_entries.



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

def use_category_entries
  @use_category_entries
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
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
# File 'lib/kaltura_types.rb', line 1236

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