Class: Kaltura::KalturaBulkUploadResult
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaBulkUploadResult
- Defined in:
- lib/kaltura_types.rb
Direct Known Subclasses
KalturaBulkUploadResultCategory, KalturaBulkUploadResultCategoryEntry, KalturaBulkUploadResultCategoryUser, KalturaBulkUploadResultEntry, KalturaBulkUploadResultJob, KalturaBulkUploadResultScheduleEvent, KalturaBulkUploadResultScheduleResource, KalturaBulkUploadResultUser, KalturaBulkUploadResultUserEntry
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.
2219 2220 2221 |
# File 'lib/kaltura_types.rb', line 2219 def action @action end |
#bulk_upload_job_id ⇒ Object
The id of the parent job
2214 2215 2216 |
# File 'lib/kaltura_types.rb', line 2214 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.
2222 2223 2224 |
# File 'lib/kaltura_types.rb', line 2222 def bulk_upload_result_object_type @bulk_upload_result_object_type end |
#error_code ⇒ Object
Returns the value of attribute error_code.
2229 2230 2231 |
# File 'lib/kaltura_types.rb', line 2229 def error_code @error_code end |
#error_description ⇒ Object
Returns the value of attribute error_description.
2228 2229 2230 |
# File 'lib/kaltura_types.rb', line 2228 def error_description @error_description end |
#error_type ⇒ Object
Returns the value of attribute error_type.
2230 2231 2232 |
# File 'lib/kaltura_types.rb', line 2230 def error_type @error_type end |
#id ⇒ Object
The id of the result
2212 2213 2214 |
# File 'lib/kaltura_types.rb', line 2212 def id @id end |
#line_index ⇒ Object
The index of the line in the CSV
2216 2217 2218 |
# File 'lib/kaltura_types.rb', line 2216 def line_index @line_index end |
#object_error_description ⇒ Object
Returns the value of attribute object_error_description.
2226 2227 2228 |
# File 'lib/kaltura_types.rb', line 2226 def object_error_description @object_error_description end |
#object_id ⇒ Object
Returns the value of attribute object_id.
2220 2221 2222 |
# File 'lib/kaltura_types.rb', line 2220 def object_id @object_id end |
#object_status ⇒ Object
Returns the value of attribute object_status.
2221 2222 2223 |
# File 'lib/kaltura_types.rb', line 2221 def object_status @object_status end |
#partner_data ⇒ Object
Returns the value of attribute partner_data.
2225 2226 2227 |
# File 'lib/kaltura_types.rb', line 2225 def partner_data @partner_data end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
2217 2218 2219 |
# File 'lib/kaltura_types.rb', line 2217 def partner_id @partner_id end |
#plugins_data ⇒ Object
Returns the value of attribute plugins_data.
2227 2228 2229 |
# File 'lib/kaltura_types.rb', line 2227 def plugins_data @plugins_data end |
#row_data ⇒ Object
The data as recieved in the csv
2224 2225 2226 |
# File 'lib/kaltura_types.rb', line 2224 def row_data @row_data end |
#status ⇒ Object
Returns the value of attribute status.
2218 2219 2220 |
# File 'lib/kaltura_types.rb', line 2218 def status @status end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 |
# File 'lib/kaltura_types.rb', line 2251 def from_xml(xml_element) super if xml_element.elements['id'] != nil self.id = xml_element.elements['id'].text end if xml_element.elements['bulkUploadJobId'] != nil self.bulk_upload_job_id = xml_element.elements['bulkUploadJobId'].text end if xml_element.elements['lineIndex'] != nil self.line_index = xml_element.elements['lineIndex'].text end if xml_element.elements['partnerId'] != nil self.partner_id = xml_element.elements['partnerId'].text end if xml_element.elements['status'] != nil self.status = xml_element.elements['status'].text end if xml_element.elements['action'] != nil self.action = xml_element.elements['action'].text end if xml_element.elements['objectId'] != nil self.object_id = xml_element.elements['objectId'].text end if xml_element.elements['objectStatus'] != nil self.object_status = xml_element.elements['objectStatus'].text end if xml_element.elements['bulkUploadResultObjectType'] != nil self.bulk_upload_result_object_type = xml_element.elements['bulkUploadResultObjectType'].text end if xml_element.elements['rowData'] != nil self.row_data = xml_element.elements['rowData'].text end if xml_element.elements['partnerData'] != nil self.partner_data = xml_element.elements['partnerData'].text end if xml_element.elements['objectErrorDescription'] != nil self.object_error_description = xml_element.elements['objectErrorDescription'].text end if xml_element.elements['pluginsData'] != nil self.plugins_data = KalturaClientBase.object_from_xml(xml_element.elements['pluginsData'], 'KalturaBulkUploadPluginData') end if xml_element.elements['errorDescription'] != nil self.error_description = xml_element.elements['errorDescription'].text end if xml_element.elements['errorCode'] != nil self.error_code = xml_element.elements['errorCode'].text end if xml_element.elements['errorType'] != nil self.error_type = xml_element.elements['errorType'].text end end |