Class: Kaltura::KalturaUsersCsvJobData

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

Instance Attribute Summary collapse

Attributes inherited from KalturaExportCsvJobData

#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



18082
18083
18084
# File 'lib/kaltura_types.rb', line 18082

def additional_fields
  @additional_fields
end

#filterObject

The filter should return the list of users that need to be specified in the csv.



18078
18079
18080
# File 'lib/kaltura_types.rb', line 18078

def filter
  @filter
end

#metadata_profile_idObject

The metadata profile we should look the xpath in



18080
18081
18082
# File 'lib/kaltura_types.rb', line 18080

def 
  @metadata_profile_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



18088
18089
18090
18091
18092
18093
18094
18095
18096
18097
18098
18099
# File 'lib/kaltura_types.rb', line 18088

def from_xml(xml_element)
	super
	if xml_element.elements['filter'] != nil
		self.filter = KalturaClientBase.object_from_xml(xml_element.elements['filter'], 'KalturaUserFilter')
	end
	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
end