Class: Kaltura::KalturaBulkUploadJobData
- Inherits:
-
KalturaJobData
- Object
- KalturaObjectBase
- KalturaJobData
- Kaltura::KalturaBulkUploadJobData
- Defined in:
- lib/kaltura_types.rb
Direct Known Subclasses
KalturaBulkUploadCsvJobData, KalturaBulkUploadFilterJobData, KalturaBulkUploadScheduleEventJobData, KalturaBulkUploadXmlJobData
Instance Attribute Summary collapse
-
#bulk_upload_object_type ⇒ Object
Type of object for bulk upload.
-
#conversion_profile_id ⇒ Object
Selected profile id for all bulk entries.
-
#email_recipients ⇒ Object
Recipients of the email for bulk upload success/failure.
-
#file_name ⇒ Object
Friendly name of the file, used to be recognized later in the logs.
-
#file_path ⇒ Object
The bulk upload file path.
-
#num_of_entries ⇒ Object
Number of created entries.
-
#num_of_error_objects ⇒ Object
Number of objects that finished on error status.
-
#num_of_objects ⇒ Object
Number of created objects.
-
#object_data ⇒ Object
Data pertaining to the objects being uploaded.
-
#privileges ⇒ Object
privileges for the job.
-
#results_file_local_path ⇒ Object
Created by the API.
-
#results_file_url ⇒ Object
Created by the API.
-
#type ⇒ Object
Type of bulk upload.
-
#uploaded_by ⇒ Object
The screen name of the user.
-
#user_id ⇒ Object
Returns the value of attribute user_id.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#bulk_upload_object_type ⇒ Object
Type of object for bulk upload
11515 11516 11517 |
# File 'lib/kaltura_types.rb', line 11515 def bulk_upload_object_type @bulk_upload_object_type end |
#conversion_profile_id ⇒ Object
Selected profile id for all bulk entries
11503 11504 11505 |
# File 'lib/kaltura_types.rb', line 11503 def conversion_profile_id @conversion_profile_id end |
#email_recipients ⇒ Object
Recipients of the email for bulk upload success/failure
11523 11524 11525 |
# File 'lib/kaltura_types.rb', line 11523 def email_recipients @email_recipients end |
#file_name ⇒ Object
Friendly name of the file, used to be recognized later in the logs.
11517 11518 11519 |
# File 'lib/kaltura_types.rb', line 11517 def file_name @file_name end |
#file_path ⇒ Object
The bulk upload file path
11513 11514 11515 |
# File 'lib/kaltura_types.rb', line 11513 def file_path @file_path end |
#num_of_entries ⇒ Object
Number of created entries
11509 11510 11511 |
# File 'lib/kaltura_types.rb', line 11509 def num_of_entries @num_of_entries end |
#num_of_error_objects ⇒ Object
Number of objects that finished on error status
11525 11526 11527 |
# File 'lib/kaltura_types.rb', line 11525 def num_of_error_objects @num_of_error_objects end |
#num_of_objects ⇒ Object
Number of created objects
11511 11512 11513 |
# File 'lib/kaltura_types.rb', line 11511 def num_of_objects @num_of_objects end |
#object_data ⇒ Object
Data pertaining to the objects being uploaded
11519 11520 11521 |
# File 'lib/kaltura_types.rb', line 11519 def object_data @object_data end |
#privileges ⇒ Object
privileges for the job
11527 11528 11529 |
# File 'lib/kaltura_types.rb', line 11527 def privileges @privileges end |
#results_file_local_path ⇒ Object
Created by the API
11505 11506 11507 |
# File 'lib/kaltura_types.rb', line 11505 def results_file_local_path @results_file_local_path end |
#results_file_url ⇒ Object
Created by the API
11507 11508 11509 |
# File 'lib/kaltura_types.rb', line 11507 def results_file_url @results_file_url end |
#type ⇒ Object
Type of bulk upload
11521 11522 11523 |
# File 'lib/kaltura_types.rb', line 11521 def type @type end |
#uploaded_by ⇒ Object
The screen name of the user
11501 11502 11503 |
# File 'lib/kaltura_types.rb', line 11501 def uploaded_by @uploaded_by end |
#user_id ⇒ Object
Returns the value of attribute user_id.
11499 11500 11501 |
# File 'lib/kaltura_types.rb', line 11499 def user_id @user_id end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
11542 11543 11544 11545 11546 11547 11548 11549 11550 11551 11552 11553 11554 11555 11556 11557 11558 11559 11560 11561 11562 11563 11564 11565 11566 11567 11568 11569 11570 11571 11572 11573 11574 11575 11576 11577 11578 11579 11580 11581 11582 11583 11584 11585 11586 11587 11588 11589 |
# File 'lib/kaltura_types.rb', line 11542 def from_xml(xml_element) super if xml_element.elements['userId'] != nil self.user_id = xml_element.elements['userId'].text end if xml_element.elements['uploadedBy'] != nil self.uploaded_by = xml_element.elements['uploadedBy'].text end if xml_element.elements['conversionProfileId'] != nil self.conversion_profile_id = xml_element.elements['conversionProfileId'].text end if xml_element.elements['resultsFileLocalPath'] != nil self.results_file_local_path = xml_element.elements['resultsFileLocalPath'].text end if xml_element.elements['resultsFileUrl'] != nil self.results_file_url = xml_element.elements['resultsFileUrl'].text end if xml_element.elements['numOfEntries'] != nil self.num_of_entries = xml_element.elements['numOfEntries'].text end if xml_element.elements['numOfObjects'] != nil self.num_of_objects = xml_element.elements['numOfObjects'].text end if xml_element.elements['filePath'] != nil self.file_path = xml_element.elements['filePath'].text end if xml_element.elements['bulkUploadObjectType'] != nil self.bulk_upload_object_type = xml_element.elements['bulkUploadObjectType'].text end if xml_element.elements['fileName'] != nil self.file_name = xml_element.elements['fileName'].text end if xml_element.elements['objectData'] != nil self.object_data = KalturaClientBase.object_from_xml(xml_element.elements['objectData'], 'KalturaBulkUploadObjectData') end if xml_element.elements['type'] != nil self.type = xml_element.elements['type'].text end if xml_element.elements['emailRecipients'] != nil self.email_recipients = xml_element.elements['emailRecipients'].text end if xml_element.elements['numOfErrorObjects'] != nil self.num_of_error_objects = xml_element.elements['numOfErrorObjects'].text end if xml_element.elements['privileges'] != nil self.privileges = xml_element.elements['privileges'].text end end |