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.



4771
4772
4773
# File 'lib/kaltura_types.rb', line 4771

def created_at
  @created_at
end

#file_asset_object_typeObject

Returns the value of attribute file_asset_object_type.



4765
4766
4767
# File 'lib/kaltura_types.rb', line 4765

def file_asset_object_type
  @file_asset_object_type
end

#file_extObject

Returns the value of attribute file_ext.



4769
4770
4771
# File 'lib/kaltura_types.rb', line 4769

def file_ext
  @file_ext
end

#idObject

Returns the value of attribute id.



4763
4764
4765
# File 'lib/kaltura_types.rb', line 4763

def id
  @id
end

#nameObject

Returns the value of attribute name.



4767
4768
4769
# File 'lib/kaltura_types.rb', line 4767

def name
  @name
end

#object_idObject

Returns the value of attribute object_id.



4766
4767
4768
# File 'lib/kaltura_types.rb', line 4766

def object_id
  @object_id
end

#partner_idObject

Returns the value of attribute partner_id.



4764
4765
4766
# File 'lib/kaltura_types.rb', line 4764

def partner_id
  @partner_id
end

#statusObject

Returns the value of attribute status.



4773
4774
4775
# File 'lib/kaltura_types.rb', line 4773

def status
  @status
end

#system_nameObject

Returns the value of attribute system_name.



4768
4769
4770
# File 'lib/kaltura_types.rb', line 4768

def system_name
  @system_name
end

#updated_atObject

Returns the value of attribute updated_at.



4772
4773
4774
# File 'lib/kaltura_types.rb', line 4772

def updated_at
  @updated_at
end

#versionObject

Returns the value of attribute version.



4770
4771
4772
# File 'lib/kaltura_types.rb', line 4770

def version
  @version
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
# File 'lib/kaltura_types.rb', line 4791

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