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.



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

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)



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

def allow_embed
  @allow_embed
end

#categoriesObject

Returns the value of attribute categories.



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

def categories
  @categories
end

#created_atObject

Creation date as Unix timestamp (In seconds)



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

def created_at
  @created_at
end

#enforce_entitlementObject

Should enforce entitlement on feed entries



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

def enforce_entitlement
  @enforce_entitlement
end

#entries_order_byObject

Returns the value of attribute entries_order_by.



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

def entries_order_by
  @entries_order_by
end

#feed_content_type_headerObject

Feed content-type header value



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

def feed_content_type_header
  @feed_content_type_header
end

#feed_urlObject

Returns the value of attribute feed_url.



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

def feed_url
  @feed_url
end

#flavor_param_idObject

Returns the value of attribute flavor_param_id.



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

def flavor_param_id
  @flavor_param_id
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#landing_pageObject

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



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

def landing_page
  @landing_page
end

#nameObject

feed name



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

def name
  @name
end

#partner_idObject

Returns the value of attribute partner_id.



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

def partner_id
  @partner_id
end

#player_uiconf_idObject

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



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

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



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

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.



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

def privacy_context
  @privacy_context
end

#statusObject

feed status



1175
1176
1177
# File 'lib/kaltura_types.rb', line 1175

def status
  @status
end

#storage_idObject

Returns the value of attribute storage_id.



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

def storage_id
  @storage_id
end

#transcode_existing_contentObject

Returns the value of attribute transcode_existing_content.



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

def transcode_existing_content
  @transcode_existing_content
end

#typeObject

feed type



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

def type
  @type
end

#updated_atObject

Update date as Unix timestamp (In seconds)



1201
1202
1203
# File 'lib/kaltura_types.rb', line 1201

def updated_at
  @updated_at
end

#use_category_entriesObject

Returns the value of attribute use_category_entries.



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

def use_category_entries
  @use_category_entries
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



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
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
# File 'lib/kaltura_types.rb', line 1246

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