class Kaltura::KalturaMappedObjectsCsvJobData

Attributes

additional_fields[RW]

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

mapped_fields[RW]

Array of header names and their mapped user fields

metadata_profile_id[RW]

The metadata profile we should look the xpath in

Public Instance Methods

from_xml(xml_element) click to toggle source
# File lib/kaltura_types.rb, line 17664
def from_xml(xml_element)
        super
        if xml_element.elements['metadataProfileId'] != nil
                self.metadata_profile_id = 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
end
metadata_profile_id=(val) click to toggle source
# File lib/kaltura_types.rb, line 17660
def metadata_profile_id=(val)
        @metadata_profile_id = val.to_i
end