Class: Kaltura::KalturaBulkUpload

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

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#bulk_file_urlObject

Returns the value of attribute bulk_file_url.



2549
2550
2551
# File 'lib/kaltura_types.rb', line 2549

def bulk_file_url
  @bulk_file_url
end

#bulk_upload_object_typeObject

Returns the value of attribute bulk_upload_object_type.



2558
2559
2560
# File 'lib/kaltura_types.rb', line 2558

def bulk_upload_object_type
  @bulk_upload_object_type
end

#bulk_upload_typeObject

Returns the value of attribute bulk_upload_type.



2550
2551
2552
# File 'lib/kaltura_types.rb', line 2550

def bulk_upload_type
  @bulk_upload_type
end

#csv_file_urlObject

Returns the value of attribute csv_file_url.



2548
2549
2550
# File 'lib/kaltura_types.rb', line 2548

def csv_file_url
  @csv_file_url
end

#descriptionObject

Returns the value of attribute description.



2556
2557
2558
# File 'lib/kaltura_types.rb', line 2556

def description
  @description
end

#errorObject

Returns the value of attribute error.



2552
2553
2554
# File 'lib/kaltura_types.rb', line 2552

def error
  @error
end

#error_numberObject

Returns the value of attribute error_number.



2554
2555
2556
# File 'lib/kaltura_types.rb', line 2554

def error_number
  @error_number
end

#error_typeObject

Returns the value of attribute error_type.



2553
2554
2555
# File 'lib/kaltura_types.rb', line 2553

def error_type
  @error_type
end

#file_nameObject

Returns the value of attribute file_name.



2555
2556
2557
# File 'lib/kaltura_types.rb', line 2555

def file_name
  @file_name
end

#idObject

Returns the value of attribute id.



2541
2542
2543
# File 'lib/kaltura_types.rb', line 2541

def id
  @id
end

#log_file_urlObject

Returns the value of attribute log_file_url.



2547
2548
2549
# File 'lib/kaltura_types.rb', line 2547

def log_file_url
  @log_file_url
end

#num_of_entriesObject

Returns the value of attribute num_of_entries.



2545
2546
2547
# File 'lib/kaltura_types.rb', line 2545

def num_of_entries
  @num_of_entries
end

#num_of_objectsObject

Returns the value of attribute num_of_objects.



2557
2558
2559
# File 'lib/kaltura_types.rb', line 2557

def num_of_objects
  @num_of_objects
end

#resultsObject

Returns the value of attribute results.



2551
2552
2553
# File 'lib/kaltura_types.rb', line 2551

def results
  @results
end

#statusObject

Returns the value of attribute status.



2546
2547
2548
# File 'lib/kaltura_types.rb', line 2546

def status
  @status
end

#uploaded_byObject

Returns the value of attribute uploaded_by.



2542
2543
2544
# File 'lib/kaltura_types.rb', line 2542

def uploaded_by
  @uploaded_by
end

#uploaded_by_user_idObject

Returns the value of attribute uploaded_by_user_id.



2543
2544
2545
# File 'lib/kaltura_types.rb', line 2543

def uploaded_by_user_id
  @uploaded_by_user_id
end

#uploaded_onObject

Returns the value of attribute uploaded_on.



2544
2545
2546
# File 'lib/kaltura_types.rb', line 2544

def uploaded_on
  @uploaded_on
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
# File 'lib/kaltura_types.rb', line 2582

def from_xml(xml_element)
	super
	if xml_element.elements['id'] != nil
		self.id = xml_element.elements['id'].text
	end
	if xml_element.elements['uploadedBy'] != nil
		self.uploaded_by = xml_element.elements['uploadedBy'].text
	end
	if xml_element.elements['uploadedByUserId'] != nil
		self.uploaded_by_user_id = xml_element.elements['uploadedByUserId'].text
	end
	if xml_element.elements['uploadedOn'] != nil
		self.uploaded_on = xml_element.elements['uploadedOn'].text
	end
	if xml_element.elements['numOfEntries'] != nil
		self.num_of_entries = xml_element.elements['numOfEntries'].text
	end
	if xml_element.elements['status'] != nil
		self.status = xml_element.elements['status'].text
	end
	if xml_element.elements['logFileUrl'] != nil
		self.log_file_url = xml_element.elements['logFileUrl'].text
	end
	if xml_element.elements['csvFileUrl'] != nil
		self.csv_file_url = xml_element.elements['csvFileUrl'].text
	end
	if xml_element.elements['bulkFileUrl'] != nil
		self.bulk_file_url = xml_element.elements['bulkFileUrl'].text
	end
	if xml_element.elements['bulkUploadType'] != nil
		self.bulk_upload_type = xml_element.elements['bulkUploadType'].text
	end
	if xml_element.elements['results'] != nil
		self.results = KalturaClientBase.object_from_xml(xml_element.elements['results'], 'KalturaBulkUploadResult')
	end
	if xml_element.elements['error'] != nil
		self.error = xml_element.elements['error'].text
	end
	if xml_element.elements['errorType'] != nil
		self.error_type = xml_element.elements['errorType'].text
	end
	if xml_element.elements['errorNumber'] != nil
		self.error_number = xml_element.elements['errorNumber'].text
	end
	if xml_element.elements['fileName'] != nil
		self.file_name = xml_element.elements['fileName'].text
	end
	if xml_element.elements['description'] != nil
		self.description = xml_element.elements['description'].text
	end
	if xml_element.elements['numOfObjects'] != nil
		self.num_of_objects = xml_element.elements['numOfObjects'].text
	end
	if xml_element.elements['bulkUploadObjectType'] != nil
		self.bulk_upload_object_type = xml_element.elements['bulkUploadObjectType'].text
	end
end