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.



3598
3599
3600
# File 'lib/kaltura_types.rb', line 3598

def field_name
  @field_name
end

#xpathObject

Returns the value of attribute xpath.



3599
3600
3601
# File 'lib/kaltura_types.rb', line 3599

def xpath
  @xpath
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



3602
3603
3604
3605
3606
3607
3608
3609
3610
# File 'lib/kaltura_types.rb', line 3602

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