Class: Kaltura::KalturaBulkUploadJobData
- Inherits:
-
KalturaJobData
- Object
- KalturaObjectBase
- KalturaJobData
- Kaltura::KalturaBulkUploadJobData
- Defined in:
- lib/kaltura_types.rb
Direct Known Subclasses
KalturaBulkUploadCsvJobData, KalturaBulkUploadFilterJobData, 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.
-
#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
7413 7414 7415 |
# File 'lib/kaltura_types.rb', line 7413 def bulk_upload_object_type @bulk_upload_object_type end |
#conversion_profile_id ⇒ Object
Selected profile id for all bulk entries
7395 7396 7397 |
# File 'lib/kaltura_types.rb', line 7395 def conversion_profile_id @conversion_profile_id end |
#email_recipients ⇒ Object
Recipients of the email for bulk upload success/failure
7425 7426 7427 |
# File 'lib/kaltura_types.rb', line 7425 def email_recipients @email_recipients end |
#file_name ⇒ Object
Friendly name of the file, used to be recognized later in the logs.
7416 7417 7418 |
# File 'lib/kaltura_types.rb', line 7416 def file_name @file_name end |
#file_path ⇒ Object
The bulk upload file path
7410 7411 7412 |
# File 'lib/kaltura_types.rb', line 7410 def file_path @file_path end |
#num_of_entries ⇒ Object
Number of created entries
7404 7405 7406 |
# File 'lib/kaltura_types.rb', line 7404 def num_of_entries @num_of_entries end |
#num_of_error_objects ⇒ Object
Number of objects that finished on error status
7428 7429 7430 |
# File 'lib/kaltura_types.rb', line 7428 def num_of_error_objects @num_of_error_objects end |
#num_of_objects ⇒ Object
Number of created objects
7407 7408 7409 |
# File 'lib/kaltura_types.rb', line 7407 def num_of_objects @num_of_objects end |
#object_data ⇒ Object
Data pertaining to the objects being uploaded
7419 7420 7421 |
# File 'lib/kaltura_types.rb', line 7419 def object_data @object_data end |
#results_file_local_path ⇒ Object
Created by the API
7398 7399 7400 |
# File 'lib/kaltura_types.rb', line 7398 def results_file_local_path @results_file_local_path end |
#results_file_url ⇒ Object
Created by the API
7401 7402 7403 |
# File 'lib/kaltura_types.rb', line 7401 def results_file_url @results_file_url end |
#type ⇒ Object
Type of bulk upload
7422 7423 7424 |
# File 'lib/kaltura_types.rb', line 7422 def type @type end |
#uploaded_by ⇒ Object
The screen name of the user
7392 7393 7394 |
# File 'lib/kaltura_types.rb', line 7392 def uploaded_by @uploaded_by end |
#user_id ⇒ Object
Returns the value of attribute user_id.
7389 7390 7391 |
# File 'lib/kaltura_types.rb', line 7389 def user_id @user_id end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 |
# File 'lib/kaltura_types.rb', line 7443 def from_xml(xml_element) super self.user_id = xml_element.elements['userId'].text self.uploaded_by = xml_element.elements['uploadedBy'].text self.conversion_profile_id = xml_element.elements['conversionProfileId'].text self.results_file_local_path = xml_element.elements['resultsFileLocalPath'].text self.results_file_url = xml_element.elements['resultsFileUrl'].text self.num_of_entries = xml_element.elements['numOfEntries'].text self.num_of_objects = xml_element.elements['numOfObjects'].text self.file_path = xml_element.elements['filePath'].text self.bulk_upload_object_type = xml_element.elements['bulkUploadObjectType'].text self.file_name = xml_element.elements['fileName'].text self.object_data = KalturaClientBase.object_from_xml(xml_element.elements['objectData'], 'KalturaBulkUploadObjectData') self.type = xml_element.elements['type'].text self.email_recipients = xml_element.elements['emailRecipients'].text self.num_of_error_objects = xml_element.elements['numOfErrorObjects'].text end |