Class: Kaltura::KalturaDistributionValidationError

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

#actionObject

Returns the value of attribute action.



595
596
597
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 595

def action
  @action
end

#descriptionObject

Returns the value of attribute description.



597
598
599
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 597

def description
  @description
end

#error_typeObject

Returns the value of attribute error_type.



596
597
598
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 596

def error_type
  @error_type
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



606
607
608
609
610
611
612
613
614
615
616
617
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 606

def from_xml(xml_element)
	super
	if xml_element.elements['action'] != nil
		self.action = xml_element.elements['action'].text
	end
	if xml_element.elements['errorType'] != nil
		self.error_type = xml_element.elements['errorType'].text
	end
	if xml_element.elements['description'] != nil
		self.description = xml_element.elements['description'].text
	end
end