Class: Virtuozzo::SOAP::Types::Up2date::Sys_infoType

Inherits:
Object
  • Object
show all
Defined in:
lib/virtuozzo/soap/types/up2date.rb

Overview

http://www.swsoft.com/webservices/vzl/4.0.0/typessys_infoType

load_avg - Virtuozzo::SOAP::Drivers::Up2date::Load_avgType
processes - Virtuozzo::SOAP::Drivers::Up2date::ProcessesType
cpu_load - Virtuozzo::SOAP::Drivers::Up2date::Cpu_loadType
cpu_states - Virtuozzo::SOAP::Drivers::Up2date::Cpu_loadType
users - SOAP::SOAPInt
uptime - SOAP::SOAPLong
memory - Virtuozzo::SOAP::Drivers::Up2date::Sys_infoType::Memory
swap - Virtuozzo::SOAP::Drivers::Up2date::Sys_infoType::Swap

Defined Under Namespace

Classes: Memory, Swap

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(load_avg = nil, processes = nil, cpu_load = nil, cpu_states = nil, users = nil, uptime = nil, memory = nil, swap = nil) ⇒ Sys_infoType

Returns a new instance of Sys_infoType.



1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1418

def initialize(load_avg = nil, processes = nil, cpu_load = nil, cpu_states = nil, users = nil, uptime = nil, memory = nil, swap = nil)
  @load_avg = load_avg
  @processes = processes
  @cpu_load = cpu_load
  @cpu_states = cpu_states
  @users = users
  @uptime = uptime
  @memory = memory
  @swap = swap
end

Instance Attribute Details

#cpu_loadObject

Returns the value of attribute cpu_load.



1411
1412
1413
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1411

def cpu_load
  @cpu_load
end

#cpu_statesObject

Returns the value of attribute cpu_states.



1412
1413
1414
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1412

def cpu_states
  @cpu_states
end

#load_avgObject

Returns the value of attribute load_avg.



1409
1410
1411
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1409

def load_avg
  @load_avg
end

#memoryObject

Returns the value of attribute memory.



1415
1416
1417
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1415

def memory
  @memory
end

#processesObject

Returns the value of attribute processes.



1410
1411
1412
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1410

def processes
  @processes
end

#swapObject

Returns the value of attribute swap.



1416
1417
1418
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1416

def swap
  @swap
end

#uptimeObject

Returns the value of attribute uptime.



1414
1415
1416
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1414

def uptime
  @uptime
end

#usersObject

Returns the value of attribute users.



1413
1414
1415
# File 'lib/virtuozzo/soap/types/up2date.rb', line 1413

def users
  @users
end