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.



4336
4337
4338
# File 'lib/kaltura_types.rb', line 4336

def created_at
  @created_at
end

#entry_idObject

Returns the value of attribute entry_id.



4333
4334
4335
# File 'lib/kaltura_types.rb', line 4333

def entry_id
  @entry_id
end

#idObject

unique auto-generated identifier



4332
4333
4334
# File 'lib/kaltura_types.rb', line 4332

def id
  @id
end

#partner_idObject

Returns the value of attribute partner_id.



4335
4336
4337
# File 'lib/kaltura_types.rb', line 4335

def partner_id
  @partner_id
end

#server_node_idObject

Returns the value of attribute server_node_id.



4334
4335
4336
# File 'lib/kaltura_types.rb', line 4334

def server_node_id
  @server_node_id
end

#server_typeObject

Returns the value of attribute server_type.



4339
4340
4341
# File 'lib/kaltura_types.rb', line 4339

def server_type
  @server_type
end

#statusObject

Returns the value of attribute status.



4338
4339
4340
# File 'lib/kaltura_types.rb', line 4338

def status
  @status
end

#updated_atObject

Returns the value of attribute updated_at.



4337
4338
4339
# File 'lib/kaltura_types.rb', line 4337

def updated_at
  @updated_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
# File 'lib/kaltura_types.rb', line 4360

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