Class: Kaltura::KalturaMappedObjectsCsvJobData
- Inherits:
-
KalturaExportCsvJobData
- Object
- KalturaObjectBase
- KalturaJobData
- KalturaExportCsvJobData
- Kaltura::KalturaMappedObjectsCsvJobData
- Defined in:
- lib/kaltura_types.rb
Direct Known Subclasses
KalturaCategoriesCsvJobData, KalturaEntriesCsvJobData, KalturaUsersCsvJobData
Instance Attribute Summary collapse
-
#additional_fields ⇒ Object
The xpath to look in the metadataProfileId and the wanted csv field name.
-
#mapped_fields ⇒ Object
Array of header names and their mapped user fields.
-
#metadata_profile_id ⇒ Object
The metadata profile we should look the xpath in.
-
#options ⇒ Object
Returns the value of attribute options.
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
Instance Attribute Details
#additional_fields ⇒ Object
The xpath to look in the metadataProfileId and the wanted csv field name
17905 17906 17907 |
# File 'lib/kaltura_types.rb', line 17905 def additional_fields @additional_fields end |
#mapped_fields ⇒ Object
Array of header names and their mapped user fields
17907 17908 17909 |
# File 'lib/kaltura_types.rb', line 17907 def mapped_fields @mapped_fields end |
#metadata_profile_id ⇒ Object
The metadata profile we should look the xpath in
17903 17904 17905 |
# File 'lib/kaltura_types.rb', line 17903 def end |
#options ⇒ Object
Returns the value of attribute options.
17908 17909 17910 |
# File 'lib/kaltura_types.rb', line 17908 def end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
17914 17915 17916 17917 17918 17919 17920 17921 17922 17923 17924 17925 17926 17927 17928 |
# File 'lib/kaltura_types.rb', line 17914 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. = KalturaClientBase.object_from_xml(xml_element.elements['options'], 'KalturaExportToCsvOptions') end end |