Class: Kaltura::KalturaHttpNotificationObjectData
- Inherits:
-
KalturaHttpNotificationData
- Object
- KalturaObjectBase
- KalturaHttpNotificationData
- Kaltura::KalturaHttpNotificationObjectData
- Defined in:
- lib/kaltura_plugins/kaltura_http_notification_client_plugin.rb
Overview
Evaluates PHP statement, depends on the execution context
Instance Attribute Summary collapse
-
#api_object_type ⇒ Object
Kaltura API object type.
-
#code ⇒ Object
PHP code.
-
#data_string_replacements ⇒ Object
An array of pattern-replacement pairs used for data string regex replacements.
-
#format ⇒ Object
Data format.
-
#ignore_null ⇒ Object
Ignore null attributes during serialization.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#api_object_type ⇒ Object
Kaltura API object type
161 162 163 |
# File 'lib/kaltura_plugins/kaltura_http_notification_client_plugin.rb', line 161 def api_object_type @api_object_type end |
#code ⇒ Object
PHP code
167 168 169 |
# File 'lib/kaltura_plugins/kaltura_http_notification_client_plugin.rb', line 167 def code @code end |
#data_string_replacements ⇒ Object
An array of pattern-replacement pairs used for data string regex replacements
169 170 171 |
# File 'lib/kaltura_plugins/kaltura_http_notification_client_plugin.rb', line 169 def data_string_replacements @data_string_replacements end |
#format ⇒ Object
Data format
163 164 165 |
# File 'lib/kaltura_plugins/kaltura_http_notification_client_plugin.rb', line 163 def format @format end |
#ignore_null ⇒ Object
Ignore null attributes during serialization
165 166 167 |
# File 'lib/kaltura_plugins/kaltura_http_notification_client_plugin.rb', line 165 def ignore_null @ignore_null end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 |
# File 'lib/kaltura_plugins/kaltura_http_notification_client_plugin.rb', line 178 def from_xml(xml_element) super if xml_element.elements['apiObjectType'] != nil self.api_object_type = xml_element.elements['apiObjectType'].text end if xml_element.elements['format'] != nil self.format = xml_element.elements['format'].text end if xml_element.elements['ignoreNull'] != nil self.ignore_null = xml_element.elements['ignoreNull'].text end if xml_element.elements['code'] != nil self.code = xml_element.elements['code'].text end if xml_element.elements['dataStringReplacements'] != nil self.data_string_replacements = KalturaClientBase.object_from_xml(xml_element.elements['dataStringReplacements'], 'KalturaKeyValue') end end |