Class: Kaltura::KalturaUrlResource
- Inherits:
-
KalturaContentResource
- Object
- KalturaObjectBase
- KalturaResource
- KalturaContentResource
- Kaltura::KalturaUrlResource
- 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.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#force_async_download ⇒ Object
Force Import Job.
-
#url ⇒ Object
Remote URL, FTP, HTTP or HTTPS.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#force_async_download ⇒ Object
Force Import Job
8146 8147 8148 |
# File 'lib/kaltura_types.rb', line 8146 def force_async_download @force_async_download end |
#url ⇒ Object
Remote URL, FTP, HTTP or HTTPS
8144 8145 8146 |
# File 'lib/kaltura_types.rb', line 8144 def url @url end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
8152 8153 8154 8155 8156 8157 8158 8159 8160 |
# File 'lib/kaltura_types.rb', line 8152 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 |