<commit_before><?php

/**
 * Represents the Bulk upload job data for xml bulk upload
 * @package plugins.bulkUploadCsv
 * @subpackage api.objects
 */
class KalturaBulkUploadCsvJobData extends KalturaBulkUploadJobData
{	
	/**
	 * The version of the csv file
	 * @var KalturaBulkUploadCsvVersion
	 * @readonly
	 */
	public $csvVersion = null;
	
	/**
	 * Array containing CSV headers
	 * @var KalturaStringArray
	 */
	public $columns;
	
	/**
	 * 
	 * Maps between objects and the properties
	 * @var array
	 */
	private static $map_between_objects = array
	(
		"csvVersion"
	);

	
	public function getMapBetweenObjects ( )
	{
		return array_merge ( parent::getMapBetweenObjects() , self::$map_between_objects );
	}
	
	public function toObject($dbData = null, $props_to_skip = array()) 
	{
		if(is_null($dbData))<commit_msg>def: 4834 add "columns" property to bulkUploadCsvJobData<commit_after><?php

/**
 * Represents the Bulk upload job data for xml bulk upload
 * @package plugins.bulkUploadCsv
 * @subpackage api.objects
 */
class KalturaBulkUploadCsvJobData extends KalturaBulkUploadJobData
{	
	/**
	 * The version of the csv file
	 * @var KalturaBulkUploadCsvVersion
	 * @readonly
	 */
	public $csvVersion = null;
	
	/**
	 * Array containing CSV headers
	 * @var KalturaStringArray
	 */
	public $columns;
	
	/**
	 * 
	 * Maps between objects and the properties
	 * @var array
	 */
	private static $map_between_objects = array
	(
		"csvVersion",
	    "columns",
	);

	
	public function getMapBetweenObjects ( )
	{
		return array_merge ( parent::getMapBetweenObjects() , self::$map_between_objects );
	}
	
	public function toObject($dbData = null, $props_to_skip = array()) 
	{
		if(is_null($dbData))
{'fraction_non_alphanumeric': 0.10647058823529412, 'fraction_numerical': 0.002352941176470588, 'mean_word_length': 3.9020172910662825, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4626340', 'n_tokens_mistral': 595, 'n_tokens_neox': 534, 'n_words': 138}