Class: Virtuozzo::SOAP::Types::Backupm::Sys_infoType

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

Overview

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

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



829
830
831
832
833
834
835
836
837
838
# File 'lib/virtuozzo/soap/types/backupm.rb', line 829

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.



822
823
824
# File 'lib/virtuozzo/soap/types/backupm.rb', line 822

def cpu_load
  @cpu_load
end

#cpu_statesObject

Returns the value of attribute cpu_states.



823
824
825
# File 'lib/virtuozzo/soap/types/backupm.rb', line 823

def cpu_states
  @cpu_states
end

#load_avgObject

Returns the value of attribute load_avg.



820
821
822
# File 'lib/virtuozzo/soap/types/backupm.rb', line 820

def load_avg
  @load_avg
end

#memoryObject

Returns the value of attribute memory.



826
827
828
# File 'lib/virtuozzo/soap/types/backupm.rb', line 826

def memory
  @memory
end

#processesObject

Returns the value of attribute processes.



821
822
823
# File 'lib/virtuozzo/soap/types/backupm.rb', line 821

def processes
  @processes
end

#swapObject

Returns the value of attribute swap.



827
828
829
# File 'lib/virtuozzo/soap/types/backupm.rb', line 827

def swap
  @swap
end

#uptimeObject

Returns the value of attribute uptime.



825
826
827
# File 'lib/virtuozzo/soap/types/backupm.rb', line 825

def uptime
  @uptime
end

#usersObject

Returns the value of attribute users.



824
825
826
# File 'lib/virtuozzo/soap/types/backupm.rb', line 824

def users
  @users
end