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.



4888
4889
4890
# File 'lib/kaltura_types.rb', line 4888

def created_at
  @created_at
end

#file_asset_object_typeObject

Returns the value of attribute file_asset_object_type.



4882
4883
4884
# File 'lib/kaltura_types.rb', line 4882

def file_asset_object_type
  @file_asset_object_type
end

#file_extObject

Returns the value of attribute file_ext.



4886
4887
4888
# File 'lib/kaltura_types.rb', line 4886

def file_ext
  @file_ext
end

#idObject

Returns the value of attribute id.



4880
4881
4882
# File 'lib/kaltura_types.rb', line 4880

def id
  @id
end

#nameObject

Returns the value of attribute name.



4884
4885
4886
# File 'lib/kaltura_types.rb', line 4884

def name
  @name
end

#object_idObject

Returns the value of attribute object_id.



4883
4884
4885
# File 'lib/kaltura_types.rb', line 4883

def object_id
  @object_id
end

#partner_idObject

Returns the value of attribute partner_id.



4881
4882
4883
# File 'lib/kaltura_types.rb', line 4881

def partner_id
  @partner_id
end

#statusObject

Returns the value of attribute status.



4890
4891
4892
# File 'lib/kaltura_types.rb', line 4890

def status
  @status
end

#system_nameObject

Returns the value of attribute system_name.



4885
4886
4887
# File 'lib/kaltura_types.rb', line 4885

def system_name
  @system_name
end

#updated_atObject

Returns the value of attribute updated_at.



4889
4890
4891
# File 'lib/kaltura_types.rb', line 4889

def updated_at
  @updated_at
end

#versionObject

Returns the value of attribute version.



4887
4888
4889
# File 'lib/kaltura_types.rb', line 4887

def version
  @version
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
# File 'lib/kaltura_types.rb', line 4908

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