Class: Kaltura::KalturaConversionAttribute
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaConversionAttribute
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#flavor_params_id ⇒ Object
The id of the flavor params, set to null for source flavor.
-
#name ⇒ Object
Attribute name.
-
#value ⇒ Object
Attribute value.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#flavor_params_id ⇒ Object
The id of the flavor params, set to null for source flavor
3104 3105 3106 |
# File 'lib/kaltura_types.rb', line 3104 def flavor_params_id @flavor_params_id end |
#name ⇒ Object
Attribute name
3106 3107 3108 |
# File 'lib/kaltura_types.rb', line 3106 def name @name end |
#value ⇒ Object
Attribute value
3108 3109 3110 |
# File 'lib/kaltura_types.rb', line 3108 def value @value end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 |
# File 'lib/kaltura_types.rb', line 3114 def from_xml(xml_element) super if xml_element.elements['flavorParamsId'] != nil self.flavor_params_id = xml_element.elements['flavorParamsId'].text end if xml_element.elements['name'] != nil self.name = xml_element.elements['name'].text end if xml_element.elements['value'] != nil self.value = xml_element.elements['value'].text end end |