Class: Kaltura::KalturaVirusScanProfile
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaVirusScanProfile
- Defined in:
- lib/kaltura_plugins/kaltura_virus_scan_client_plugin.rb
Instance Attribute Summary collapse
-
#action_if_infected ⇒ Object
Returns the value of attribute action_if_infected.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#engine_type ⇒ Object
Returns the value of attribute engine_type.
-
#entry_filter ⇒ Object
Returns the value of attribute entry_filter.
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#partner_id ⇒ Object
Returns the value of attribute partner_id.
-
#status ⇒ Object
Returns the value of attribute status.
-
#updated_at ⇒ Object
Returns the value of attribute updated_at.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#action_if_infected ⇒ Object
Returns the value of attribute action_if_infected.
75 76 77 |
# File 'lib/kaltura_plugins/kaltura_virus_scan_client_plugin.rb', line 75 def action_if_infected @action_if_infected end |
#created_at ⇒ Object
Returns the value of attribute created_at.
68 69 70 |
# File 'lib/kaltura_plugins/kaltura_virus_scan_client_plugin.rb', line 68 def created_at @created_at end |
#engine_type ⇒ Object
Returns the value of attribute engine_type.
73 74 75 |
# File 'lib/kaltura_plugins/kaltura_virus_scan_client_plugin.rb', line 73 def engine_type @engine_type end |
#entry_filter ⇒ Object
Returns the value of attribute entry_filter.
74 75 76 |
# File 'lib/kaltura_plugins/kaltura_virus_scan_client_plugin.rb', line 74 def entry_filter @entry_filter end |
#id ⇒ Object
Returns the value of attribute id.
67 68 69 |
# File 'lib/kaltura_plugins/kaltura_virus_scan_client_plugin.rb', line 67 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
71 72 73 |
# File 'lib/kaltura_plugins/kaltura_virus_scan_client_plugin.rb', line 71 def name @name end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
70 71 72 |
# File 'lib/kaltura_plugins/kaltura_virus_scan_client_plugin.rb', line 70 def partner_id @partner_id end |
#status ⇒ Object
Returns the value of attribute status.
72 73 74 |
# File 'lib/kaltura_plugins/kaltura_virus_scan_client_plugin.rb', line 72 def status @status end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
69 70 71 |
# File 'lib/kaltura_plugins/kaltura_virus_scan_client_plugin.rb', line 69 def updated_at @updated_at end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 |
# File 'lib/kaltura_plugins/kaltura_virus_scan_client_plugin.rb', line 96 def from_xml(xml_element) super if xml_element.elements['id'] != nil self.id = xml_element.elements['id'].text end if xml_element.elements['createdAt'] != nil self.created_at = xml_element.elements['createdAt'].text end if xml_element.elements['updatedAt'] != nil self.updated_at = xml_element.elements['updatedAt'].text end if xml_element.elements['partnerId'] != nil self.partner_id = xml_element.elements['partnerId'].text end if xml_element.elements['name'] != nil self.name = xml_element.elements['name'].text end if xml_element.elements['status'] != nil self.status = xml_element.elements['status'].text end if xml_element.elements['engineType'] != nil self.engine_type = xml_element.elements['engineType'].text end if xml_element.elements['entryFilter'] != nil self.entry_filter = KalturaClientBase.object_from_xml(xml_element.elements['entryFilter'], 'KalturaBaseEntryFilter') end if xml_element.elements['actionIfInfected'] != nil self.action_if_infected = xml_element.elements['actionIfInfected'].text end end |