Class: Kaltura::KalturaResponseProfile

Inherits:
KalturaDetachedResponseProfile show all
Defined in:
lib/kaltura_types.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaDetachedResponseProfile

#fields, #filter, #mappings, #name, #pager, #related_profiles, #type

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

Creation time as Unix timestamp (In seconds)



8512
8513
8514
# File 'lib/kaltura_types.rb', line 8512

def created_at
  @created_at
end

#idObject

Auto generated numeric identifier



8507
8508
8509
# File 'lib/kaltura_types.rb', line 8507

def id
  @id
end

#partner_idObject

Returns the value of attribute partner_id.



8510
8511
8512
# File 'lib/kaltura_types.rb', line 8510

def partner_id
  @partner_id
end

#statusObject

Returns the value of attribute status.



8515
8516
8517
# File 'lib/kaltura_types.rb', line 8515

def status
  @status
end

#system_nameObject

Unique system name



8509
8510
8511
# File 'lib/kaltura_types.rb', line 8509

def system_name
  @system_name
end

#updated_atObject

Update time as Unix timestamp (In seconds)



8514
8515
8516
# File 'lib/kaltura_types.rb', line 8514

def updated_at
  @updated_at
end

#versionObject

Returns the value of attribute version.



8516
8517
8518
# File 'lib/kaltura_types.rb', line 8516

def version
  @version
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
# File 'lib/kaltura_types.rb', line 8537

def from_xml(xml_element)
  super
  if xml_element.elements['id'] != nil
    self.id = xml_element.elements['id'].text
  end
  if xml_element.elements['systemName'] != nil
    self.system_name = xml_element.elements['systemName'].text
  end
  if xml_element.elements['partnerId'] != nil
    self.partner_id = xml_element.elements['partnerId'].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
  if xml_element.elements['version'] != nil
    self.version = xml_element.elements['version'].text
  end
end