Class: Kaltura::KalturaFileAsset

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

#created_atObject

Returns the value of attribute created_at.



2729
2730
2731
# File 'lib/kaltura_types.rb', line 2729

def created_at
  @created_at
end

#file_asset_object_typeObject

Returns the value of attribute file_asset_object_type.



2723
2724
2725
# File 'lib/kaltura_types.rb', line 2723

def file_asset_object_type
  @file_asset_object_type
end

#file_extObject

Returns the value of attribute file_ext.



2727
2728
2729
# File 'lib/kaltura_types.rb', line 2727

def file_ext
  @file_ext
end

#idObject

Returns the value of attribute id.



2721
2722
2723
# File 'lib/kaltura_types.rb', line 2721

def id
  @id
end

#nameObject

Returns the value of attribute name.



2725
2726
2727
# File 'lib/kaltura_types.rb', line 2725

def name
  @name
end

#object_idObject

Returns the value of attribute object_id.



2724
2725
2726
# File 'lib/kaltura_types.rb', line 2724

def object_id
  @object_id
end

#partner_idObject

Returns the value of attribute partner_id.



2722
2723
2724
# File 'lib/kaltura_types.rb', line 2722

def partner_id
  @partner_id
end

#statusObject

Returns the value of attribute status.



2731
2732
2733
# File 'lib/kaltura_types.rb', line 2731

def status
  @status
end

#system_nameObject

Returns the value of attribute system_name.



2726
2727
2728
# File 'lib/kaltura_types.rb', line 2726

def system_name
  @system_name
end

#updated_atObject

Returns the value of attribute updated_at.



2730
2731
2732
# File 'lib/kaltura_types.rb', line 2730

def updated_at
  @updated_at
end

#versionObject

Returns the value of attribute version.



2728
2729
2730
# File 'lib/kaltura_types.rb', line 2728

def version
  @version
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
# File 'lib/kaltura_types.rb', line 2749

def from_xml(xml_element)
  super
  self.id = xml_element.elements['id'].text
  self.partner_id = xml_element.elements['partnerId'].text
  self.file_asset_object_type = xml_element.elements['fileAssetObjectType'].text
  self.object_id = xml_element.elements['objectId'].text
  self.name = xml_element.elements['name'].text
  self.system_name = xml_element.elements['systemName'].text
  self.file_ext = xml_element.elements['fileExt'].text
  self.version = xml_element.elements['version'].text
  self.created_at = xml_element.elements['createdAt'].text
  self.updated_at = xml_element.elements['updatedAt'].text
  self.status = xml_element.elements['status'].text
end