Class: Kaltura::KalturaUploadResponse
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaUploadResponse
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#error_code ⇒ Object
Returns the value of attribute error_code.
-
#error_description ⇒ Object
Returns the value of attribute error_description.
-
#file_size ⇒ Object
Returns the value of attribute file_size.
-
#upload_token_id ⇒ Object
Returns the value of attribute upload_token_id.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#error_code ⇒ Object
Returns the value of attribute error_code.
10241 10242 10243 |
# File 'lib/kaltura_types.rb', line 10241 def error_code @error_code end |
#error_description ⇒ Object
Returns the value of attribute error_description.
10242 10243 10244 |
# File 'lib/kaltura_types.rb', line 10242 def error_description @error_description end |
#file_size ⇒ Object
Returns the value of attribute file_size.
10240 10241 10242 |
# File 'lib/kaltura_types.rb', line 10240 def file_size @file_size end |
#upload_token_id ⇒ Object
Returns the value of attribute upload_token_id.
10239 10240 10241 |
# File 'lib/kaltura_types.rb', line 10239 def upload_token_id @upload_token_id end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 10261 10262 10263 10264 10265 |
# File 'lib/kaltura_types.rb', line 10251 def from_xml(xml_element) super if xml_element.elements['uploadTokenId'] != nil self.upload_token_id = xml_element.elements['uploadTokenId'].text end if xml_element.elements['fileSize'] != nil self.file_size = xml_element.elements['fileSize'].text end if xml_element.elements['errorCode'] != nil self.error_code = xml_element.elements['errorCode'].text end if xml_element.elements['errorDescription'] != nil self.error_description = xml_element.elements['errorDescription'].text end end |