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.



3623
3624
3625
# File 'lib/kaltura_types.rb', line 3623

def field_name
  @field_name
end

#xpathObject

Returns the value of attribute xpath.



3624
3625
3626
# File 'lib/kaltura_types.rb', line 3624

def xpath
  @xpath
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



3627
3628
3629
3630
3631
3632
3633
3634
3635
# File 'lib/kaltura_types.rb', line 3627

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