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.



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

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)



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

def allow_embed
  @allow_embed
end

#categoriesObject

Returns the value of attribute categories.



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

def categories
  @categories
end

#created_atObject

Creation date as Unix timestamp (In seconds)



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

def created_at
  @created_at
end

#enforce_entitlementObject

Should enforce entitlement on feed entries



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

def enforce_entitlement
  @enforce_entitlement
end

#entries_order_byObject

Returns the value of attribute entries_order_by.



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

def entries_order_by
  @entries_order_by
end

#feed_content_type_headerObject

Feed content-type header value



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

def feed_content_type_header
  @feed_content_type_header
end

#feed_urlObject

Returns the value of attribute feed_url.



1144
1145
1146
# File 'lib/kaltura_types.rb', line 1144

def feed_url
  @feed_url
end

#flavor_param_idObject

Returns the value of attribute flavor_param_id.



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

def flavor_param_id
  @flavor_param_id
end

#idObject

Returns the value of attribute id.



1143
1144
1145
# File 'lib/kaltura_types.rb', line 1143

def id
  @id
end

#landing_pageObject

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



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

def landing_page
  @landing_page
end

#nameObject

feed name



1150
1151
1152
# File 'lib/kaltura_types.rb', line 1150

def name
  @name
end

#partner_idObject

Returns the value of attribute partner_id.



1145
1146
1147
# File 'lib/kaltura_types.rb', line 1145

def partner_id
  @partner_id
end

#player_uiconf_idObject

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



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

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



1148
1149
1150
# File 'lib/kaltura_types.rb', line 1148

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.



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

def privacy_context
  @privacy_context
end

#statusObject

feed status



1152
1153
1154
# File 'lib/kaltura_types.rb', line 1152

def status
  @status
end

#storage_idObject

Returns the value of attribute storage_id.



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

def storage_id
  @storage_id
end

#transcode_existing_contentObject

Returns the value of attribute transcode_existing_content.



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

def transcode_existing_content
  @transcode_existing_content
end

#typeObject

feed type



1154
1155
1156
# File 'lib/kaltura_types.rb', line 1154

def type
  @type
end

#updated_atObject

Update date as Unix timestamp (In seconds)



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

def updated_at
  @updated_at
end

#use_category_entriesObject

Returns the value of attribute use_category_entries.



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

def use_category_entries
  @use_category_entries
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
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
# File 'lib/kaltura_types.rb', line 1223

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