Class: Kaltura::KalturaBulkUploadResult
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaBulkUploadResult
- Defined in:
- lib/kaltura_types.rb
Direct Known Subclasses
KalturaBulkUploadResultCategory, KalturaBulkUploadResultCategoryEntry, KalturaBulkUploadResultCategoryUser, KalturaBulkUploadResultEntry, KalturaBulkUploadResultUser
Instance Attribute Summary collapse
-
#action ⇒ Object
Returns the value of attribute action.
-
#bulk_upload_job_id ⇒ Object
The id of the parent job.
-
#bulk_upload_result_object_type ⇒ Object
Returns the value of attribute bulk_upload_result_object_type.
-
#error_code ⇒ Object
Returns the value of attribute error_code.
-
#error_description ⇒ Object
Returns the value of attribute error_description.
-
#error_type ⇒ Object
Returns the value of attribute error_type.
-
#id ⇒ Object
The id of the result.
-
#line_index ⇒ Object
The index of the line in the CSV.
-
#object_error_description ⇒ Object
Returns the value of attribute object_error_description.
-
#object_id ⇒ Object
Returns the value of attribute object_id.
-
#object_status ⇒ Object
Returns the value of attribute object_status.
-
#partner_data ⇒ Object
Returns the value of attribute partner_data.
-
#partner_id ⇒ Object
Returns the value of attribute partner_id.
-
#plugins_data ⇒ Object
Returns the value of attribute plugins_data.
-
#row_data ⇒ Object
The data as recieved in the csv.
-
#status ⇒ Object
Returns the value of attribute status.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#action ⇒ Object
Returns the value of attribute action.
1227 1228 1229 |
# File 'lib/kaltura_types.rb', line 1227 def action @action end |
#bulk_upload_job_id ⇒ Object
The id of the parent job
1221 1222 1223 |
# File 'lib/kaltura_types.rb', line 1221 def bulk_upload_job_id @bulk_upload_job_id end |
#bulk_upload_result_object_type ⇒ Object
Returns the value of attribute bulk_upload_result_object_type.
1230 1231 1232 |
# File 'lib/kaltura_types.rb', line 1230 def bulk_upload_result_object_type @bulk_upload_result_object_type end |
#error_code ⇒ Object
Returns the value of attribute error_code.
1238 1239 1240 |
# File 'lib/kaltura_types.rb', line 1238 def error_code @error_code end |
#error_description ⇒ Object
Returns the value of attribute error_description.
1237 1238 1239 |
# File 'lib/kaltura_types.rb', line 1237 def error_description @error_description end |
#error_type ⇒ Object
Returns the value of attribute error_type.
1239 1240 1241 |
# File 'lib/kaltura_types.rb', line 1239 def error_type @error_type end |
#id ⇒ Object
The id of the result
1218 1219 1220 |
# File 'lib/kaltura_types.rb', line 1218 def id @id end |
#line_index ⇒ Object
The index of the line in the CSV
1224 1225 1226 |
# File 'lib/kaltura_types.rb', line 1224 def line_index @line_index end |
#object_error_description ⇒ Object
Returns the value of attribute object_error_description.
1235 1236 1237 |
# File 'lib/kaltura_types.rb', line 1235 def object_error_description @object_error_description end |
#object_id ⇒ Object
Returns the value of attribute object_id.
1228 1229 1230 |
# File 'lib/kaltura_types.rb', line 1228 def object_id @object_id end |
#object_status ⇒ Object
Returns the value of attribute object_status.
1229 1230 1231 |
# File 'lib/kaltura_types.rb', line 1229 def object_status @object_status end |
#partner_data ⇒ Object
Returns the value of attribute partner_data.
1234 1235 1236 |
# File 'lib/kaltura_types.rb', line 1234 def partner_data @partner_data end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
1225 1226 1227 |
# File 'lib/kaltura_types.rb', line 1225 def partner_id @partner_id end |
#plugins_data ⇒ Object
Returns the value of attribute plugins_data.
1236 1237 1238 |
# File 'lib/kaltura_types.rb', line 1236 def plugins_data @plugins_data end |
#row_data ⇒ Object
The data as recieved in the csv
1233 1234 1235 |
# File 'lib/kaltura_types.rb', line 1233 def row_data @row_data end |
#status ⇒ Object
Returns the value of attribute status.
1226 1227 1228 |
# File 'lib/kaltura_types.rb', line 1226 def status @status end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 |
# File 'lib/kaltura_types.rb', line 1260 def from_xml(xml_element) super self.id = xml_element.elements['id'].text self.bulk_upload_job_id = xml_element.elements['bulkUploadJobId'].text self.line_index = xml_element.elements['lineIndex'].text self.partner_id = xml_element.elements['partnerId'].text self.status = xml_element.elements['status'].text self.action = xml_element.elements['action'].text self.object_id = xml_element.elements['objectId'].text self.object_status = xml_element.elements['objectStatus'].text self.bulk_upload_result_object_type = xml_element.elements['bulkUploadResultObjectType'].text self.row_data = xml_element.elements['rowData'].text self.partner_data = xml_element.elements['partnerData'].text self.object_error_description = xml_element.elements['objectErrorDescription'].text self.plugins_data = KalturaClientBase.object_from_xml(xml_element.elements['pluginsData'], 'KalturaBulkUploadPluginData') self.error_description = xml_element.elements['errorDescription'].text self.error_code = xml_element.elements['errorCode'].text self.error_type = xml_element.elements['errorType'].text end |