Class: Kaltura::KalturaAssetResource

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

Overview

Used to ingest media that is already ingested to Kaltura system as a different flavor asset in the past, the new created flavor asset will be ready immediately using a file sync of link type that will point to the existing file sync of the existing flavor asset.

Instance Attribute Summary collapse

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_idObject

ID of the source asset



16388
16389
16390
# File 'lib/kaltura_types.rb', line 16388

def asset_id
  @asset_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



16391
16392
16393
16394
16395
16396
# File 'lib/kaltura_types.rb', line 16391

def from_xml(xml_element)
  super
  if xml_element.elements['assetId'] != nil
    self.asset_id = xml_element.elements['assetId'].text
  end
end