Class: Kaltura::KalturaFileContainer

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

#encryption_keyObject

Returns the value of attribute encryption_key.



4661
4662
4663
# File 'lib/kaltura_types.rb', line 4661

def encryption_key
  @encryption_key
end

#file_pathObject

Returns the value of attribute file_path.



4660
4661
4662
# File 'lib/kaltura_types.rb', line 4660

def file_path
  @file_path
end

#file_sizeObject

Returns the value of attribute file_size.



4662
4663
4664
# File 'lib/kaltura_types.rb', line 4662

def file_size
  @file_size
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
# File 'lib/kaltura_types.rb', line 4668

def from_xml(xml_element)
	super
	if xml_element.elements['filePath'] != nil
		self.file_path = xml_element.elements['filePath'].text
	end
	if xml_element.elements['encryptionKey'] != nil
		self.encryption_key = xml_element.elements['encryptionKey'].text
	end
	if xml_element.elements['fileSize'] != nil
		self.file_size = xml_element.elements['fileSize'].text
	end
end