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
-
#file_container ⇒ Object
Returns the value of attribute file_container.
-
#flavor_asset_id ⇒ Object
Returns the value of attribute flavor_asset_id.
-
#scan_result ⇒ Object
Returns the value of attribute scan_result.
-
#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
#file_container ⇒ Object
Returns the value of attribute file_container.
143 144 145 |
# File 'lib/kaltura_plugins/kaltura_virus_scan_client_plugin.rb', line 143 def file_container @file_container end |
#flavor_asset_id ⇒ Object
Returns the value of attribute flavor_asset_id.
144 145 146 |
# File 'lib/kaltura_plugins/kaltura_virus_scan_client_plugin.rb', line 144 def flavor_asset_id @flavor_asset_id end |
#scan_result ⇒ Object
Returns the value of attribute scan_result.
145 146 147 |
# File 'lib/kaltura_plugins/kaltura_virus_scan_client_plugin.rb', line 145 def scan_result @scan_result end |
#virus_found_action ⇒ Object
Returns the value of attribute virus_found_action.
146 147 148 |
# File 'lib/kaltura_plugins/kaltura_virus_scan_client_plugin.rb', line 146 def virus_found_action @virus_found_action end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 |
# File 'lib/kaltura_plugins/kaltura_virus_scan_client_plugin.rb', line 155 def from_xml(xml_element) super if xml_element.elements['fileContainer'] != nil self.file_container = KalturaClientBase.object_from_xml(xml_element.elements['fileContainer'], 'KalturaFileContainer') end if xml_element.elements['flavorAssetId'] != nil self.flavor_asset_id = xml_element.elements['flavorAssetId'].text end if xml_element.elements['scanResult'] != nil self.scan_result = xml_element.elements['scanResult'].text end if xml_element.elements['virusFoundAction'] != nil self.virus_found_action = xml_element.elements['virusFoundAction'].text end end |