Class: Kaltura::KalturaMixEntry

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

Instance Attribute Summary collapse

Attributes inherited from KalturaPlayableEntry

#duration, #duration_type, #height, #last_played_at, #ms_duration, #plays, #views, #width

Attributes inherited from KalturaBaseEntry

#access_control_id, #admin_tags, #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, #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

#data_contentObject

The xml data of the mix



7558
7559
7560
# File 'lib/kaltura_types.rb', line 7558

def data_content
  @data_content
end

#editor_typeObject

The editor type used to edit the metadata



7556
7557
7558
# File 'lib/kaltura_types.rb', line 7556

def editor_type
  @editor_type
end

#has_real_thumbnailObject

Indicates whether the user has submited a real thumbnail to the mix (Not the one that was generated automaticaly)



7554
7555
7556
# File 'lib/kaltura_types.rb', line 7554

def has_real_thumbnail
  @has_real_thumbnail
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
# File 'lib/kaltura_types.rb', line 7567

def from_xml(xml_element)
	super
	if xml_element.elements['hasRealThumbnail'] != nil
		self.has_real_thumbnail = xml_element.elements['hasRealThumbnail'].text
	end
	if xml_element.elements['editorType'] != nil
		self.editor_type = xml_element.elements['editorType'].text
	end
	if xml_element.elements['dataContent'] != nil
		self.data_content = xml_element.elements['dataContent'].text
	end
end