Class: Kaltura::KalturaExternalMediaEntry

Inherits:
KalturaMediaEntry show all
Defined in:
lib/kaltura_plugins/kaltura_external_media_client_plugin.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaMediaEntry

#conversion_quality, #credit_url, #credit_user_name, #data_url, #flavor_params_ids, #is_trim_disabled, #media_date, #media_type, #search_provider_id, #search_provider_type, #source_type, #streams

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

#asset_params_idsObject

Comma separated asset params ids that exists for this external media entry



76
77
78
# File 'lib/kaltura_plugins/kaltura_external_media_client_plugin.rb', line 76

def asset_params_ids
  @asset_params_ids
end

#external_source_typeObject

The source type of the external media



74
75
76
# File 'lib/kaltura_plugins/kaltura_external_media_client_plugin.rb', line 74

def external_source_type
  @external_source_type
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



79
80
81
82
83
84
85
86
87
# File 'lib/kaltura_plugins/kaltura_external_media_client_plugin.rb', line 79

def from_xml(xml_element)
	super
	if xml_element.elements['externalSourceType'] != nil
		self.external_source_type = xml_element.elements['externalSourceType'].text
	end
	if xml_element.elements['assetParamsIds'] != nil
		self.asset_params_ids = xml_element.elements['assetParamsIds'].text
	end
end