Class: Kaltura::KalturaUploadedFileTokenResource

Overview

Used to ingest media that uploaded to the system and represented by token that returned from upload.upload action or uploadToken.add action.

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

#tokenObject

Token that returned from upload.upload action or uploadToken.add action.



20031
20032
20033
# File 'lib/kaltura_types.rb', line 20031

def token
  @token
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



20034
20035
20036
20037
20038
20039
# File 'lib/kaltura_types.rb', line 20034

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