Class: Kaltura::KalturaEntryResource

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 entry 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 entry.

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

#entry_idObject

ID of the source entry



16431
16432
16433
# File 'lib/kaltura_types.rb', line 16431

def entry_id
  @entry_id
end

#flavor_params_idObject

ID of the source flavor params, set to null to use the source flavor



16433
16434
16435
# File 'lib/kaltura_types.rb', line 16433

def flavor_params_id
  @flavor_params_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



16439
16440
16441
16442
16443
16444
16445
16446
16447
# File 'lib/kaltura_types.rb', line 16439

def from_xml(xml_element)
  super
  if xml_element.elements['entryId'] != nil
    self.entry_id = xml_element.elements['entryId'].text
  end
  if xml_element.elements['flavorParamsId'] != nil
    self.flavor_params_id = xml_element.elements['flavorParamsId'].text
  end
end