Class: Virtuozzo::SOAP::Types::Envm::Cpu_loadType

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

Overview

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

system - SOAP::SOAPLong
user - SOAP::SOAPLong
nice - SOAP::SOAPLong
idle - SOAP::SOAPLong

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(system = nil, user = nil, nice = nil, idle = nil) ⇒ Cpu_loadType

Returns a new instance of Cpu_loadType.



519
520
521
522
523
524
# File 'lib/virtuozzo/soap/types/envm.rb', line 519

def initialize(system = nil, user = nil, nice = nil, idle = nil)
  @system = system
  @user = user
  @nice = nice
  @idle = idle
end

Instance Attribute Details

#idleObject

Returns the value of attribute idle.



517
518
519
# File 'lib/virtuozzo/soap/types/envm.rb', line 517

def idle
  @idle
end

#niceObject

Returns the value of attribute nice.



516
517
518
# File 'lib/virtuozzo/soap/types/envm.rb', line 516

def nice
  @nice
end

#systemObject

Returns the value of attribute system.



514
515
516
# File 'lib/virtuozzo/soap/types/envm.rb', line 514

def system
  @system
end

#userObject

Returns the value of attribute user.



515
516
517
# File 'lib/virtuozzo/soap/types/envm.rb', line 515

def user
  @user
end