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.



582
583
584
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 582

def action
  @action
end

#descriptionObject

Returns the value of attribute description.



584
585
586
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 584

def description
  @description
end

#error_typeObject

Returns the value of attribute error_type.



583
584
585
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 583

def error_type
  @error_type
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



593
594
595
596
597
598
599
600
601
602
603
604
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 593

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