Class: Kaltura::KalturaMultiLingualString
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaMultiLingualString
- Defined in:
- lib/kaltura_types.rb
Overview
A Multi Lingual String
Instance Attribute Summary collapse
-
#language ⇒ Object
The language of the value.
-
#value ⇒ Object
Value.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#language ⇒ Object
The language of the value
856 857 858 |
# File 'lib/kaltura_types.rb', line 856 def language @language end |
#value ⇒ Object
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 |