Class: Kaltura::KalturaEffect

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

Overview

Effects attributes

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

#effect_typeObject

Returns the value of attribute effect_type.



4345
4346
4347
# File 'lib/kaltura_types.rb', line 4345

def effect_type
  @effect_type
end

#valueObject

value



4347
4348
4349
# File 'lib/kaltura_types.rb', line 4347

def value
  @value
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



4353
4354
4355
4356
4357
4358
4359
4360
4361
# File 'lib/kaltura_types.rb', line 4353

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