Class: Kaltura::KalturaMappedObjectsCsvJobData

Inherits:
KalturaExportCsvJobData show all
Defined in:
lib/kaltura_types.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaExportCsvJobData

#output_path, #shared_output_path, #user_mail, #user_name

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#additional_fieldsObject

The xpath to look in the metadataProfileId and the wanted csv field name



17946
17947
17948
# File 'lib/kaltura_types.rb', line 17946

def additional_fields
  @additional_fields
end

#mapped_fieldsObject

Array of header names and their mapped user fields



17948
17949
17950
# File 'lib/kaltura_types.rb', line 17948

def mapped_fields
  @mapped_fields
end

#metadata_profile_idObject

The metadata profile we should look the xpath in



17944
17945
17946
# File 'lib/kaltura_types.rb', line 17944

def 
  
end

#optionsObject

Returns the value of attribute options.



17949
17950
17951
# File 'lib/kaltura_types.rb', line 17949

def options
  @options
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



17955
17956
17957
17958
17959
17960
17961
17962
17963
17964
17965
17966
17967
17968
17969
# File 'lib/kaltura_types.rb', line 17955

def from_xml(xml_element)
  super
  if xml_element.elements['metadataProfileId'] != nil
    self. = xml_element.elements['metadataProfileId'].text
  end
  if xml_element.elements['additionalFields'] != nil
    self.additional_fields = KalturaClientBase.object_from_xml(xml_element.elements['additionalFields'], 'KalturaCsvAdditionalFieldInfo')
  end
  if xml_element.elements['mappedFields'] != nil
    self.mapped_fields = KalturaClientBase.object_from_xml(xml_element.elements['mappedFields'], 'KalturaKeyValue')
  end
  if xml_element.elements['options'] != nil
    self.options = KalturaClientBase.object_from_xml(xml_element.elements['options'], 'KalturaExportToCsvOptions')
  end
end