Class: Kaltura::KalturaVirusScanJobData

Inherits:
KalturaJobData show all
Defined in:
lib/kaltura_plugins/kaltura_virus_scan_client_plugin.rb

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

#flavor_asset_idObject

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_resultObject

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_pathObject

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_actionObject

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