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.



603
604
605
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 603

def action
  @action
end

#descriptionObject

Returns the value of attribute description.



605
606
607
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 605

def description
  @description
end

#error_typeObject

Returns the value of attribute error_type.



604
605
606
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 604

def error_type
  @error_type
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



614
615
616
617
618
619
620
621
622
623
624
625
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 614

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