Class: Kaltura::KalturaFileAsset
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaFileAsset
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#file_asset_object_type ⇒ Object
Returns the value of attribute file_asset_object_type.
-
#file_ext ⇒ Object
Returns the value of attribute file_ext.
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#object_id ⇒ Object
Returns the value of attribute object_id.
-
#partner_id ⇒ Object
Returns the value of attribute partner_id.
-
#status ⇒ Object
Returns the value of attribute status.
-
#system_name ⇒ Object
Returns the value of attribute system_name.
-
#updated_at ⇒ Object
Returns the value of attribute updated_at.
-
#version ⇒ Object
Returns the value of attribute version.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#created_at ⇒ Object
Returns the value of attribute created_at.
4836 4837 4838 |
# File 'lib/kaltura_types.rb', line 4836 def created_at @created_at end |
#file_asset_object_type ⇒ Object
Returns the value of attribute file_asset_object_type.
4830 4831 4832 |
# File 'lib/kaltura_types.rb', line 4830 def file_asset_object_type @file_asset_object_type end |
#file_ext ⇒ Object
Returns the value of attribute file_ext.
4834 4835 4836 |
# File 'lib/kaltura_types.rb', line 4834 def file_ext @file_ext end |
#id ⇒ Object
Returns the value of attribute id.
4828 4829 4830 |
# File 'lib/kaltura_types.rb', line 4828 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
4832 4833 4834 |
# File 'lib/kaltura_types.rb', line 4832 def name @name end |
#object_id ⇒ Object
Returns the value of attribute object_id.
4831 4832 4833 |
# File 'lib/kaltura_types.rb', line 4831 def object_id @object_id end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
4829 4830 4831 |
# File 'lib/kaltura_types.rb', line 4829 def partner_id @partner_id end |
#status ⇒ Object
Returns the value of attribute status.
4838 4839 4840 |
# File 'lib/kaltura_types.rb', line 4838 def status @status end |
#system_name ⇒ Object
Returns the value of attribute system_name.
4833 4834 4835 |
# File 'lib/kaltura_types.rb', line 4833 def system_name @system_name end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
4837 4838 4839 |
# File 'lib/kaltura_types.rb', line 4837 def updated_at @updated_at end |
#version ⇒ Object
Returns the value of attribute version.
4835 4836 4837 |
# File 'lib/kaltura_types.rb', line 4835 def version @version end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 |
# File 'lib/kaltura_types.rb', line 4856 def from_xml(xml_element) super if xml_element.elements['id'] != nil self.id = xml_element.elements['id'].text end if xml_element.elements['partnerId'] != nil self.partner_id = xml_element.elements['partnerId'].text end if xml_element.elements['fileAssetObjectType'] != nil self.file_asset_object_type = xml_element.elements['fileAssetObjectType'].text end if xml_element.elements['objectId'] != nil self.object_id = xml_element.elements['objectId'].text end if xml_element.elements['name'] != nil self.name = xml_element.elements['name'].text end if xml_element.elements['systemName'] != nil self.system_name = xml_element.elements['systemName'].text end if xml_element.elements['fileExt'] != nil self.file_ext = xml_element.elements['fileExt'].text end if xml_element.elements['version'] != nil self.version = xml_element.elements['version'].text end if xml_element.elements['createdAt'] != nil self.created_at = xml_element.elements['createdAt'].text end if xml_element.elements['updatedAt'] != nil self.updated_at = xml_element.elements['updatedAt'].text end if xml_element.elements['status'] != nil self.status = xml_element.elements['status'].text end end |