Class: Kaltura::KalturaPlaylist

Inherits:
KalturaBaseEntry show all
Defined in:
lib/kaltura_types.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaBaseEntry

#access_control_id, #admin_tags, #application, #application_version, #block_auto_transcript, #capabilities, #categories, #categories_ids, #conversion_profile_id, #created_at, #creator_id, #description, #display_in_search, #download_url, #end_date, #entitled_users_edit, #entitled_users_publish, #entitled_users_view, #group_id, #id, #license_type, #moderation_count, #moderation_status, #multi_lingual_description, #multi_lingual_name, #multi_lingual_tags, #name, #operation_attributes, #parent_entry_id, #partner_data, #partner_id, #partner_sort_value, #rank, #redirect_entry_id, #reference_id, #replaced_entry_id, #replacement_status, #replacing_entry_id, #root_entry_id, #search_text, #start_date, #status, #tags, #template_entry_id, #thumbnail_url, #total_rank, #type, #updated_at, #user_id, #version, #votes

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#durationObject

The duration in seconds



8428
8429
8430
# File 'lib/kaltura_types.rb', line 8428

def duration
  @duration
end

#execute_urlObject

The url for this playlist



8430
8431
8432
# File 'lib/kaltura_types.rb', line 8430

def execute_url
  @execute_url
end

#filtersObject

Returns the value of attribute filters.



8418
8419
8420
# File 'lib/kaltura_types.rb', line 8418

def filters
  @filters
end

#playlist_contentObject

Content of the playlist - XML if the playlistType is dynamic text if the playlistType is static url if the playlistType is mRss



8417
8418
8419
# File 'lib/kaltura_types.rb', line 8417

def playlist_content
  @playlist_content
end

#playlist_typeObject

Type of playlist



8422
8423
8424
# File 'lib/kaltura_types.rb', line 8422

def playlist_type
  @playlist_type
end

#playsObject

Number of plays



8424
8425
8426
# File 'lib/kaltura_types.rb', line 8424

def plays
  @plays
end

#total_resultsObject

Maximum count of results to be returned in playlist execution



8420
8421
8422
# File 'lib/kaltura_types.rb', line 8420

def total_results
  @total_results
end

#viewsObject

Number of views



8426
8427
8428
# File 'lib/kaltura_types.rb', line 8426

def views
  @views
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
# File 'lib/kaltura_types.rb', line 8448

def from_xml(xml_element)
	super
	if xml_element.elements['playlistContent'] != nil
		self.playlist_content = xml_element.elements['playlistContent'].text
	end
	if xml_element.elements['filters'] != nil
		self.filters = KalturaClientBase.object_from_xml(xml_element.elements['filters'], 'KalturaMediaEntryFilterForPlaylist')
	end
	if xml_element.elements['totalResults'] != nil
		self.total_results = xml_element.elements['totalResults'].text
	end
	if xml_element.elements['playlistType'] != nil
		self.playlist_type = xml_element.elements['playlistType'].text
	end
	if xml_element.elements['plays'] != nil
		self.plays = xml_element.elements['plays'].text
	end
	if xml_element.elements['views'] != nil
		self.views = xml_element.elements['views'].text
	end
	if xml_element.elements['duration'] != nil
		self.duration = xml_element.elements['duration'].text
	end
	if xml_element.elements['executeUrl'] != nil
		self.execute_url = xml_element.elements['executeUrl'].text
	end
end