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.



4576
4577
4578
# File 'lib/kaltura_types.rb', line 4576

def created_at
  @created_at
end

#file_asset_object_typeObject

Returns the value of attribute file_asset_object_type.



4570
4571
4572
# File 'lib/kaltura_types.rb', line 4570

def file_asset_object_type
  @file_asset_object_type
end

#file_extObject

Returns the value of attribute file_ext.



4574
4575
4576
# File 'lib/kaltura_types.rb', line 4574

def file_ext
  @file_ext
end

#idObject

Returns the value of attribute id.



4568
4569
4570
# File 'lib/kaltura_types.rb', line 4568

def id
  @id
end

#nameObject

Returns the value of attribute name.



4572
4573
4574
# File 'lib/kaltura_types.rb', line 4572

def name
  @name
end

#object_idObject

Returns the value of attribute object_id.



4571
4572
4573
# File 'lib/kaltura_types.rb', line 4571

def object_id
  @object_id
end

#partner_idObject

Returns the value of attribute partner_id.



4569
4570
4571
# File 'lib/kaltura_types.rb', line 4569

def partner_id
  @partner_id
end

#statusObject

Returns the value of attribute status.



4578
4579
4580
# File 'lib/kaltura_types.rb', line 4578

def status
  @status
end

#system_nameObject

Returns the value of attribute system_name.



4573
4574
4575
# File 'lib/kaltura_types.rb', line 4573

def system_name
  @system_name
end

#updated_atObject

Returns the value of attribute updated_at.



4577
4578
4579
# File 'lib/kaltura_types.rb', line 4577

def updated_at
  @updated_at
end

#versionObject

Returns the value of attribute version.



4575
4576
4577
# File 'lib/kaltura_types.rb', line 4575

def version
  @version
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
# File 'lib/kaltura_types.rb', line 4596

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