Class: Kaltura::KalturaVirusScanProfile

Inherits:
KalturaObjectBase 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

#action_if_infectedObject

Returns the value of attribute action_if_infected.



72
73
74
# File 'lib/kaltura_plugins/kaltura_virus_scan_client_plugin.rb', line 72

def action_if_infected
  @action_if_infected
end

#created_atObject

Returns the value of attribute created_at.



65
66
67
# File 'lib/kaltura_plugins/kaltura_virus_scan_client_plugin.rb', line 65

def created_at
  @created_at
end

#engine_typeObject

Returns the value of attribute engine_type.



70
71
72
# File 'lib/kaltura_plugins/kaltura_virus_scan_client_plugin.rb', line 70

def engine_type
  @engine_type
end

#entry_filterObject

Returns the value of attribute entry_filter.



71
72
73
# File 'lib/kaltura_plugins/kaltura_virus_scan_client_plugin.rb', line 71

def entry_filter
  @entry_filter
end

#idObject

Returns the value of attribute id.



64
65
66
# File 'lib/kaltura_plugins/kaltura_virus_scan_client_plugin.rb', line 64

def id
  @id
end

#nameObject

Returns the value of attribute name.



68
69
70
# File 'lib/kaltura_plugins/kaltura_virus_scan_client_plugin.rb', line 68

def name
  @name
end

#partner_idObject

Returns the value of attribute partner_id.



67
68
69
# File 'lib/kaltura_plugins/kaltura_virus_scan_client_plugin.rb', line 67

def partner_id
  @partner_id
end

#statusObject

Returns the value of attribute status.



69
70
71
# File 'lib/kaltura_plugins/kaltura_virus_scan_client_plugin.rb', line 69

def status
  @status
end

#updated_atObject

Returns the value of attribute updated_at.



66
67
68
# File 'lib/kaltura_plugins/kaltura_virus_scan_client_plugin.rb', line 66

def updated_at
  @updated_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



93
94
95
96
97
98
99
100
101
102
103
104
# File 'lib/kaltura_plugins/kaltura_virus_scan_client_plugin.rb', line 93

def from_xml(xml_element)
	super
	self.id = xml_element.elements['id'].text
	self.created_at = xml_element.elements['createdAt'].text
	self.updated_at = xml_element.elements['updatedAt'].text
	self.partner_id = xml_element.elements['partnerId'].text
	self.name = xml_element.elements['name'].text
	self.status = xml_element.elements['status'].text
	self.engine_type = xml_element.elements['engineType'].text
	self.entry_filter = KalturaClientBase.object_from_xml(xml_element.elements['entryFilter'], 'KalturaBaseEntryFilter')
	self.action_if_infected = xml_element.elements['actionIfInfected'].text
end