Class: Kaltura::KalturaFileContainer
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaFileContainer
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#encryption_key ⇒ Object
Returns the value of attribute encryption_key.
-
#file_path ⇒ Object
Returns the value of attribute file_path.
-
#file_size ⇒ Object
Returns the value of attribute file_size.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#encryption_key ⇒ Object
Returns the value of attribute encryption_key.
4730 4731 4732 |
# File 'lib/kaltura_types.rb', line 4730 def encryption_key @encryption_key end |
#file_path ⇒ Object
Returns the value of attribute file_path.
4729 4730 4731 |
# File 'lib/kaltura_types.rb', line 4729 def file_path @file_path end |
#file_size ⇒ Object
Returns the value of attribute file_size.
4731 4732 4733 |
# File 'lib/kaltura_types.rb', line 4731 def file_size @file_size end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 |
# File 'lib/kaltura_types.rb', line 4737 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 |