class Kaltura::KalturaHttpNotificationObjectData
Evaluates PHP statement, depends on the execution context
Attributes
api_object_type[RW]
Kaltura
API object type
code[RW]
PHP code
data_string_replacements[RW]
An array of pattern-replacement pairs used for data string regex replacements
format[RW]
Data format
ignore_null[RW]
Ignore null attributes during serialization
Public Instance Methods
format=(val)
click to toggle source
# File lib/kaltura_plugins/kaltura_http_notification_client_plugin.rb, line 171 def format=(val) @format = val.to_i end
from_xml(xml_element)
click to toggle source
Calls superclass method
Kaltura::KalturaHttpNotificationData#from_xml
# 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
ignore_null=(val)
click to toggle source
# File lib/kaltura_plugins/kaltura_http_notification_client_plugin.rb, line 174 def ignore_null=(val) @ignore_null = to_b(val) end