Class: Virtuozzo::SOAP::Types::Resourcem::Sys_infoType

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

Overview

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

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



651
652
653
654
655
656
657
658
659
660
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 651

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.



644
645
646
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 644

def cpu_load
  @cpu_load
end

#cpu_statesObject

Returns the value of attribute cpu_states.



645
646
647
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 645

def cpu_states
  @cpu_states
end

#load_avgObject

Returns the value of attribute load_avg.



642
643
644
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 642

def load_avg
  @load_avg
end

#memoryObject

Returns the value of attribute memory.



648
649
650
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 648

def memory
  @memory
end

#processesObject

Returns the value of attribute processes.



643
644
645
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 643

def processes
  @processes
end

#swapObject

Returns the value of attribute swap.



649
650
651
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 649

def swap
  @swap
end

#uptimeObject

Returns the value of attribute uptime.



647
648
649
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 647

def uptime
  @uptime
end

#usersObject

Returns the value of attribute users.



646
647
648
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 646

def users
  @users
end