Class: Virtuozzo::SOAP::Types::Devm::Sys_infoType

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

Overview

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

load_avg - Virtuozzo::SOAP::Types::Devm::Load_avgType
processes - Virtuozzo::SOAP::Types::Devm::ProcessesType
cpu_load - Virtuozzo::SOAP::Types::Devm::Cpu_loadType
cpu_states - Virtuozzo::SOAP::Types::Devm::Cpu_loadType
users - SOAP::SOAPInt
uptime - SOAP::SOAPLong
memory - Virtuozzo::SOAP::Types::Devm::Sys_infoType::Memory
swap - Virtuozzo::SOAP::Types::Devm::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.



1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
# File 'lib/virtuozzo/soap/types/devm.rb', line 1314

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.



1307
1308
1309
# File 'lib/virtuozzo/soap/types/devm.rb', line 1307

def cpu_load
  @cpu_load
end

#cpu_statesObject

Returns the value of attribute cpu_states.



1308
1309
1310
# File 'lib/virtuozzo/soap/types/devm.rb', line 1308

def cpu_states
  @cpu_states
end

#load_avgObject

Returns the value of attribute load_avg.



1305
1306
1307
# File 'lib/virtuozzo/soap/types/devm.rb', line 1305

def load_avg
  @load_avg
end

#memoryObject

Returns the value of attribute memory.



1311
1312
1313
# File 'lib/virtuozzo/soap/types/devm.rb', line 1311

def memory
  @memory
end

#processesObject

Returns the value of attribute processes.



1306
1307
1308
# File 'lib/virtuozzo/soap/types/devm.rb', line 1306

def processes
  @processes
end

#swapObject

Returns the value of attribute swap.



1312
1313
1314
# File 'lib/virtuozzo/soap/types/devm.rb', line 1312

def swap
  @swap
end

#uptimeObject

Returns the value of attribute uptime.



1310
1311
1312
# File 'lib/virtuozzo/soap/types/devm.rb', line 1310

def uptime
  @uptime
end

#usersObject

Returns the value of attribute users.



1309
1310
1311
# File 'lib/virtuozzo/soap/types/devm.rb', line 1309

def users
  @users
end