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

#file_containerObject

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_idObject

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_resultObject

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_actionObject

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