Class: Kaltura::KalturaConversionAttribute

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_types.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

#flavor_params_idObject

The id of the flavor params, set to null for source flavor



3319
3320
3321
# File 'lib/kaltura_types.rb', line 3319

def flavor_params_id
  @flavor_params_id
end

#nameObject

Attribute name



3321
3322
3323
# File 'lib/kaltura_types.rb', line 3321

def name
  @name
end

#valueObject

Attribute value



3323
3324
3325
# File 'lib/kaltura_types.rb', line 3323

def value
  @value
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
# File 'lib/kaltura_types.rb', line 3329

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