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.



10149
10150
10151
# File 'lib/kaltura_types.rb', line 10149

def error_code
  @error_code
end

#error_descriptionObject

Returns the value of attribute error_description.



10150
10151
10152
# File 'lib/kaltura_types.rb', line 10150

def error_description
  @error_description
end

#file_sizeObject

Returns the value of attribute file_size.



10148
10149
10150
# File 'lib/kaltura_types.rb', line 10148

def file_size
  @file_size
end

#upload_token_idObject

Returns the value of attribute upload_token_id.



10147
10148
10149
# File 'lib/kaltura_types.rb', line 10147

def upload_token_id
  @upload_token_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
# File 'lib/kaltura_types.rb', line 10159

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