Class: Virtuozzo::SOAP::Types::Mailer::Sys_infoType

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

Overview

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

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



607
608
609
610
611
612
613
614
615
616
# File 'lib/virtuozzo/soap/types/mailer.rb', line 607

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.



600
601
602
# File 'lib/virtuozzo/soap/types/mailer.rb', line 600

def cpu_load
  @cpu_load
end

#cpu_statesObject

Returns the value of attribute cpu_states.



601
602
603
# File 'lib/virtuozzo/soap/types/mailer.rb', line 601

def cpu_states
  @cpu_states
end

#load_avgObject

Returns the value of attribute load_avg.



598
599
600
# File 'lib/virtuozzo/soap/types/mailer.rb', line 598

def load_avg
  @load_avg
end

#memoryObject

Returns the value of attribute memory.



604
605
606
# File 'lib/virtuozzo/soap/types/mailer.rb', line 604

def memory
  @memory
end

#processesObject

Returns the value of attribute processes.



599
600
601
# File 'lib/virtuozzo/soap/types/mailer.rb', line 599

def processes
  @processes
end

#swapObject

Returns the value of attribute swap.



605
606
607
# File 'lib/virtuozzo/soap/types/mailer.rb', line 605

def swap
  @swap
end

#uptimeObject

Returns the value of attribute uptime.



603
604
605
# File 'lib/virtuozzo/soap/types/mailer.rb', line 603

def uptime
  @uptime
end

#usersObject

Returns the value of attribute users.



602
603
604
# File 'lib/virtuozzo/soap/types/mailer.rb', line 602

def users
  @users
end