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.
-
#url_headers ⇒ Object
Returns the value of attribute url_headers.
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
8503 8504 8505 |
# File 'lib/kaltura_types.rb', line 8503 def force_async_download @force_async_download end |
#url ⇒ Object
Remote URL, FTP, HTTP or HTTPS
8501 8502 8503 |
# File 'lib/kaltura_types.rb', line 8501 def url @url end |
#url_headers ⇒ Object
Returns the value of attribute url_headers.
8504 8505 8506 |
# File 'lib/kaltura_types.rb', line 8504 def url_headers @url_headers end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 |
# File 'lib/kaltura_types.rb', line 8510 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 if xml_element.elements['urlHeaders'] != nil self.url_headers = KalturaClientBase.object_from_xml(xml_element.elements['urlHeaders'], 'KalturaString') end end |