Class: Kaltura::KalturaAuditTrail
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaAuditTrail
- Defined in:
- lib/kaltura_plugins/kaltura_audit_client_plugin.rb
Instance Attribute Summary collapse
-
#action ⇒ Object
Returns the value of attribute action.
-
#audit_object_type ⇒ Object
Returns the value of attribute audit_object_type.
-
#client_tag ⇒ Object
Returns the value of attribute client_tag.
-
#context ⇒ Object
Returns the value of attribute context.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#data ⇒ Object
Returns the value of attribute data.
-
#description ⇒ Object
Returns the value of attribute description.
-
#entry_id ⇒ Object
Returns the value of attribute entry_id.
-
#entry_point ⇒ Object
The API service and action that called and caused this audit.
-
#error_description ⇒ Object
Returns the value of attribute error_description.
-
#id ⇒ Object
Returns the value of attribute id.
-
#ip_address ⇒ Object
Returns the value of attribute ip_address.
-
#ks ⇒ Object
Returns the value of attribute ks.
-
#master_partner_id ⇒ Object
Returns the value of attribute master_partner_id.
-
#object_id ⇒ Object
Returns the value of attribute object_id.
-
#parsed_at ⇒ Object
Indicates when the data was parsed.
-
#partner_id ⇒ Object
Returns the value of attribute partner_id.
-
#related_object_id ⇒ Object
Returns the value of attribute related_object_id.
-
#related_object_type ⇒ Object
Returns the value of attribute related_object_type.
-
#request_id ⇒ Object
Returns the value of attribute request_id.
-
#server_name ⇒ Object
Returns the value of attribute server_name.
-
#status ⇒ Object
Returns the value of attribute status.
-
#user_agent ⇒ Object
Returns the value of attribute user_agent.
-
#user_id ⇒ Object
Returns the value of attribute user_id.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#action ⇒ Object
Returns the value of attribute action.
135 136 137 |
# File 'lib/kaltura_plugins/kaltura_audit_client_plugin.rb', line 135 def action @action end |
#audit_object_type ⇒ Object
Returns the value of attribute audit_object_type.
126 127 128 |
# File 'lib/kaltura_plugins/kaltura_audit_client_plugin.rb', line 126 def audit_object_type @audit_object_type end |
#client_tag ⇒ Object
Returns the value of attribute client_tag.
144 145 146 |
# File 'lib/kaltura_plugins/kaltura_audit_client_plugin.rb', line 144 def client_tag @client_tag end |
#context ⇒ Object
Returns the value of attribute context.
138 139 140 |
# File 'lib/kaltura_plugins/kaltura_audit_client_plugin.rb', line 138 def context @context end |
#created_at ⇒ Object
Returns the value of attribute created_at.
122 123 124 |
# File 'lib/kaltura_plugins/kaltura_audit_client_plugin.rb', line 122 def created_at @created_at end |
#data ⇒ Object
Returns the value of attribute data.
136 137 138 |
# File 'lib/kaltura_plugins/kaltura_audit_client_plugin.rb', line 136 def data @data end |
#description ⇒ Object
Returns the value of attribute description.
145 146 147 |
# File 'lib/kaltura_plugins/kaltura_audit_client_plugin.rb', line 145 def description @description end |
#entry_id ⇒ Object
Returns the value of attribute entry_id.
130 131 132 |
# File 'lib/kaltura_plugins/kaltura_audit_client_plugin.rb', line 130 def entry_id @entry_id end |
#entry_point ⇒ Object
The API service and action that called and caused this audit
140 141 142 |
# File 'lib/kaltura_plugins/kaltura_audit_client_plugin.rb', line 140 def entry_point @entry_point end |
#error_description ⇒ Object
Returns the value of attribute error_description.
146 147 148 |
# File 'lib/kaltura_plugins/kaltura_audit_client_plugin.rb', line 146 def error_description @error_description end |
#id ⇒ Object
Returns the value of attribute id.
121 122 123 |
# File 'lib/kaltura_plugins/kaltura_audit_client_plugin.rb', line 121 def id @id end |
#ip_address ⇒ Object
Returns the value of attribute ip_address.
142 143 144 |
# File 'lib/kaltura_plugins/kaltura_audit_client_plugin.rb', line 142 def ip_address @ip_address end |
#ks ⇒ Object
Returns the value of attribute ks.
137 138 139 |
# File 'lib/kaltura_plugins/kaltura_audit_client_plugin.rb', line 137 def ks @ks end |
#master_partner_id ⇒ Object
Returns the value of attribute master_partner_id.
131 132 133 |
# File 'lib/kaltura_plugins/kaltura_audit_client_plugin.rb', line 131 def master_partner_id @master_partner_id end |
#object_id ⇒ Object
Returns the value of attribute object_id.
127 128 129 |
# File 'lib/kaltura_plugins/kaltura_audit_client_plugin.rb', line 127 def object_id @object_id end |
#parsed_at ⇒ Object
Indicates when the data was parsed
124 125 126 |
# File 'lib/kaltura_plugins/kaltura_audit_client_plugin.rb', line 124 def parsed_at @parsed_at end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
132 133 134 |
# File 'lib/kaltura_plugins/kaltura_audit_client_plugin.rb', line 132 def partner_id @partner_id end |
#related_object_id ⇒ Object
Returns the value of attribute related_object_id.
128 129 130 |
# File 'lib/kaltura_plugins/kaltura_audit_client_plugin.rb', line 128 def @related_object_id end |
#related_object_type ⇒ Object
Returns the value of attribute related_object_type.
129 130 131 |
# File 'lib/kaltura_plugins/kaltura_audit_client_plugin.rb', line 129 def @related_object_type end |
#request_id ⇒ Object
Returns the value of attribute request_id.
133 134 135 |
# File 'lib/kaltura_plugins/kaltura_audit_client_plugin.rb', line 133 def request_id @request_id end |
#server_name ⇒ Object
Returns the value of attribute server_name.
141 142 143 |
# File 'lib/kaltura_plugins/kaltura_audit_client_plugin.rb', line 141 def server_name @server_name end |
#status ⇒ Object
Returns the value of attribute status.
125 126 127 |
# File 'lib/kaltura_plugins/kaltura_audit_client_plugin.rb', line 125 def status @status end |
#user_agent ⇒ Object
Returns the value of attribute user_agent.
143 144 145 |
# File 'lib/kaltura_plugins/kaltura_audit_client_plugin.rb', line 143 def user_agent @user_agent end |
#user_id ⇒ Object
Returns the value of attribute user_id.
134 135 136 |
# File 'lib/kaltura_plugins/kaltura_audit_client_plugin.rb', line 134 def user_id @user_id end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 |
# File 'lib/kaltura_plugins/kaltura_audit_client_plugin.rb', line 170 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['parsedAt'] != nil self.parsed_at = xml_element.elements['parsedAt'].text end if xml_element.elements['status'] != nil self.status = xml_element.elements['status'].text end if xml_element.elements['auditObjectType'] != nil self.audit_object_type = xml_element.elements['auditObjectType'].text end if xml_element.elements['objectId'] != nil self.object_id = xml_element.elements['objectId'].text end if xml_element.elements['relatedObjectId'] != nil self. = xml_element.elements['relatedObjectId'].text end if xml_element.elements['relatedObjectType'] != nil self. = xml_element.elements['relatedObjectType'].text end if xml_element.elements['entryId'] != nil self.entry_id = xml_element.elements['entryId'].text end if xml_element.elements['masterPartnerId'] != nil self.master_partner_id = xml_element.elements['masterPartnerId'].text end if xml_element.elements['partnerId'] != nil self.partner_id = xml_element.elements['partnerId'].text end if xml_element.elements['requestId'] != nil self.request_id = xml_element.elements['requestId'].text end if xml_element.elements['userId'] != nil self.user_id = xml_element.elements['userId'].text end if xml_element.elements['action'] != nil self.action = xml_element.elements['action'].text end if xml_element.elements['data'] != nil self.data = KalturaClientBase.object_from_xml(xml_element.elements['data'], 'KalturaAuditTrailInfo') end if xml_element.elements['ks'] != nil self.ks = xml_element.elements['ks'].text end if xml_element.elements['context'] != nil self.context = xml_element.elements['context'].text end if xml_element.elements['entryPoint'] != nil self.entry_point = xml_element.elements['entryPoint'].text end if xml_element.elements['serverName'] != nil self.server_name = xml_element.elements['serverName'].text end if xml_element.elements['ipAddress'] != nil self.ip_address = xml_element.elements['ipAddress'].text end if xml_element.elements['userAgent'] != nil self.user_agent = xml_element.elements['userAgent'].text end if xml_element.elements['clientTag'] != nil self.client_tag = xml_element.elements['clientTag'].text end if xml_element.elements['description'] != nil self.description = xml_element.elements['description'].text end if xml_element.elements['errorDescription'] != nil self.error_description = xml_element.elements['errorDescription'].text end end |