Class: Kaltura::KalturaUploadResponse

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_types.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#error_codeObject

Returns the value of attribute error_code.



9775
9776
9777
# File 'lib/kaltura_types.rb', line 9775

def error_code
  @error_code
end

#error_descriptionObject

Returns the value of attribute error_description.



9776
9777
9778
# File 'lib/kaltura_types.rb', line 9776

def error_description
  @error_description
end

#file_sizeObject

Returns the value of attribute file_size.



9774
9775
9776
# File 'lib/kaltura_types.rb', line 9774

def file_size
  @file_size
end

#upload_token_idObject

Returns the value of attribute upload_token_id.



9773
9774
9775
# File 'lib/kaltura_types.rb', line 9773

def upload_token_id
  @upload_token_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
# File 'lib/kaltura_types.rb', line 9785

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