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



7502
7503
7504
# File 'lib/kaltura_types.rb', line 7502

def data_content
  @data_content
end

#editor_typeObject

The editor type used to edit the metadata



7500
7501
7502
# File 'lib/kaltura_types.rb', line 7500

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)



7498
7499
7500
# File 'lib/kaltura_types.rb', line 7498

def has_real_thumbnail
  @has_real_thumbnail
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
# File 'lib/kaltura_types.rb', line 7511

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