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.



4124
4125
4126
# File 'lib/kaltura_types.rb', line 4124

def effect_type
  @effect_type
end

#valueObject

value



4126
4127
4128
# File 'lib/kaltura_types.rb', line 4126

def value
  @value
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



4132
4133
4134
4135
4136
4137
4138
4139
4140
# File 'lib/kaltura_types.rb', line 4132

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