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.



3520
3521
3522
# File 'lib/kaltura_types.rb', line 3520

def field_name
  @field_name
end

#xpathObject

Returns the value of attribute xpath.



3521
3522
3523
# File 'lib/kaltura_types.rb', line 3521

def xpath
  @xpath
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



3524
3525
3526
3527
3528
3529
3530
3531
3532
# File 'lib/kaltura_types.rb', line 3524

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