Class: Kaltura::KalturaMultiLingualString

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_types.rb

Overview

A Multi Lingual String

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

#languageObject

The language of the value



856
857
858
# File 'lib/kaltura_types.rb', line 856

def language
  @language
end

#valueObject

Value



858
859
860
# File 'lib/kaltura_types.rb', line 858

def value
  @value
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



861
862
863
864
865
866
867
868
869
# File 'lib/kaltura_types.rb', line 861

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