Class: Kaltura::KalturaEntryServerNode

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.



4479
4480
4481
# File 'lib/kaltura_types.rb', line 4479

def created_at
  @created_at
end

#entry_idObject

Returns the value of attribute entry_id.



4476
4477
4478
# File 'lib/kaltura_types.rb', line 4476

def entry_id
  @entry_id
end

#idObject

unique auto-generated identifier



4475
4476
4477
# File 'lib/kaltura_types.rb', line 4475

def id
  @id
end

#partner_idObject

Returns the value of attribute partner_id.



4478
4479
4480
# File 'lib/kaltura_types.rb', line 4478

def partner_id
  @partner_id
end

#server_node_idObject

Returns the value of attribute server_node_id.



4477
4478
4479
# File 'lib/kaltura_types.rb', line 4477

def server_node_id
  @server_node_id
end

#server_typeObject

Returns the value of attribute server_type.



4482
4483
4484
# File 'lib/kaltura_types.rb', line 4482

def server_type
  @server_type
end

#statusObject

Returns the value of attribute status.



4481
4482
4483
# File 'lib/kaltura_types.rb', line 4481

def status
  @status
end

#updated_atObject

Returns the value of attribute updated_at.



4480
4481
4482
# File 'lib/kaltura_types.rb', line 4480

def updated_at
  @updated_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
# File 'lib/kaltura_types.rb', line 4503

def from_xml(xml_element)
  super
  if xml_element.elements['id'] != nil
    self.id = xml_element.elements['id'].text
  end
  if xml_element.elements['entryId'] != nil
    self.entry_id = xml_element.elements['entryId'].text
  end
  if xml_element.elements['serverNodeId'] != nil
    self.server_node_id = xml_element.elements['serverNodeId'].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['serverType'] != nil
    self.server_type = xml_element.elements['serverType'].text
  end
end