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



7491
7492
7493
# File 'lib/kaltura_types.rb', line 7491

def data_content
  @data_content
end

#editor_typeObject

The editor type used to edit the metadata



7489
7490
7491
# File 'lib/kaltura_types.rb', line 7489

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)



7487
7488
7489
# File 'lib/kaltura_types.rb', line 7487

def has_real_thumbnail
  @has_real_thumbnail
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
# File 'lib/kaltura_types.rb', line 7500

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