Class: Kaltura::KalturaRegexItem

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

#regexObject

Returns the value of attribute regex.



1891
1892
1893
# File 'lib/kaltura_types.rb', line 1891

def regex
  @regex
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



1894
1895
1896
1897
1898
1899
# File 'lib/kaltura_types.rb', line 1894

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