Class: Kaltura::KalturaUrlResource

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

Overview

Used to ingest media that is available on remote server and accessible using the supplied URL, media file will be downloaded using import job in order to make the asset ready.

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

#force_async_downloadObject

Force Import Job



7990
7991
7992
# File 'lib/kaltura_types.rb', line 7990

def force_async_download
  @force_async_download
end

#urlObject

Remote URL, FTP, HTTP or HTTPS



7988
7989
7990
# File 'lib/kaltura_types.rb', line 7988

def url
  @url
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



7996
7997
7998
7999
8000
8001
8002
8003
8004
# File 'lib/kaltura_types.rb', line 7996

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