Class: Virtuozzo::SOAP::Types::Networkm::Sys_infoType

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

Overview

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

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



666
667
668
669
670
671
672
673
674
675
# File 'lib/virtuozzo/soap/types/networkm.rb', line 666

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.



659
660
661
# File 'lib/virtuozzo/soap/types/networkm.rb', line 659

def cpu_load
  @cpu_load
end

#cpu_statesObject

Returns the value of attribute cpu_states.



660
661
662
# File 'lib/virtuozzo/soap/types/networkm.rb', line 660

def cpu_states
  @cpu_states
end

#load_avgObject

Returns the value of attribute load_avg.



657
658
659
# File 'lib/virtuozzo/soap/types/networkm.rb', line 657

def load_avg
  @load_avg
end

#memoryObject

Returns the value of attribute memory.



663
664
665
# File 'lib/virtuozzo/soap/types/networkm.rb', line 663

def memory
  @memory
end

#processesObject

Returns the value of attribute processes.



658
659
660
# File 'lib/virtuozzo/soap/types/networkm.rb', line 658

def processes
  @processes
end

#swapObject

Returns the value of attribute swap.



664
665
666
# File 'lib/virtuozzo/soap/types/networkm.rb', line 664

def swap
  @swap
end

#uptimeObject

Returns the value of attribute uptime.



662
663
664
# File 'lib/virtuozzo/soap/types/networkm.rb', line 662

def uptime
  @uptime
end

#usersObject

Returns the value of attribute users.



661
662
663
# File 'lib/virtuozzo/soap/types/networkm.rb', line 661

def users
  @users
end