Class: Kaltura::KalturaAccessControlMessage

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_types.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

#codeObject

Returns the value of attribute code.



150
151
152
# File 'lib/kaltura_types.rb', line 150

def code
  @code
end

#messageObject

Returns the value of attribute message.



149
150
151
# File 'lib/kaltura_types.rb', line 149

def message
  @message
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



153
154
155
156
157
158
159
160
161
# File 'lib/kaltura_types.rb', line 153

def from_xml(xml_element)
	super
	if xml_element.elements['message'] != nil
		self.message = xml_element.elements['message'].text
	end
	if xml_element.elements['code'] != nil
		self.code = xml_element.elements['code'].text
	end
end