Class: Kaltura::KalturaCsvAdditionalFieldInfo

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

#field_nameObject

Returns the value of attribute field_name.



3608
3609
3610
# File 'lib/kaltura_types.rb', line 3608

def field_name
  @field_name
end

#xpathObject

Returns the value of attribute xpath.



3609
3610
3611
# File 'lib/kaltura_types.rb', line 3609

def xpath
  @xpath
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



3612
3613
3614
3615
3616
3617
3618
3619
3620
# File 'lib/kaltura_types.rb', line 3612

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