Class: Kaltura::KalturaVirusScanJobData
- Inherits:
-
KalturaJobData
- Object
- KalturaObjectBase
- KalturaJobData
- Kaltura::KalturaVirusScanJobData
- Defined in:
- lib/kaltura_plugins/kaltura_virus_scan_client_plugin.rb
Instance Attribute Summary collapse
-
#flavor_asset_id ⇒ Object
Returns the value of attribute flavor_asset_id.
-
#scan_result ⇒ Object
Returns the value of attribute scan_result.
-
#src_file_path ⇒ Object
Returns the value of attribute src_file_path.
-
#virus_found_action ⇒ Object
Returns the value of attribute virus_found_action.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#flavor_asset_id ⇒ Object
Returns the value of attribute flavor_asset_id.
121 122 123 |
# File 'lib/kaltura_plugins/kaltura_virus_scan_client_plugin.rb', line 121 def flavor_asset_id @flavor_asset_id end |
#scan_result ⇒ Object
Returns the value of attribute scan_result.
122 123 124 |
# File 'lib/kaltura_plugins/kaltura_virus_scan_client_plugin.rb', line 122 def scan_result @scan_result end |
#src_file_path ⇒ Object
Returns the value of attribute src_file_path.
120 121 122 |
# File 'lib/kaltura_plugins/kaltura_virus_scan_client_plugin.rb', line 120 def src_file_path @src_file_path end |
#virus_found_action ⇒ Object
Returns the value of attribute virus_found_action.
123 124 125 |
# File 'lib/kaltura_plugins/kaltura_virus_scan_client_plugin.rb', line 123 def virus_found_action @virus_found_action end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
132 133 134 135 136 137 138 |
# File 'lib/kaltura_plugins/kaltura_virus_scan_client_plugin.rb', line 132 def from_xml(xml_element) super self.src_file_path = xml_element.elements['srcFilePath'].text self.flavor_asset_id = xml_element.elements['flavorAssetId'].text self.scan_result = xml_element.elements['scanResult'].text self.virus_found_action = xml_element.elements['virusFoundAction'].text end |