Class: Virtuozzo::SOAP::Types::ProcInfo::Cpu_loadType

Inherits:
Object
  • Object
show all
Defined in:
lib/virtuozzo/soap/types/proc_info.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.



235
236
237
238
239
240
# File 'lib/virtuozzo/soap/types/proc_info.rb', line 235

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.



233
234
235
# File 'lib/virtuozzo/soap/types/proc_info.rb', line 233

def idle
  @idle
end

#niceObject

Returns the value of attribute nice.



232
233
234
# File 'lib/virtuozzo/soap/types/proc_info.rb', line 232

def nice
  @nice
end

#systemObject

Returns the value of attribute system.



230
231
232
# File 'lib/virtuozzo/soap/types/proc_info.rb', line 230

def system
  @system
end

#userObject

Returns the value of attribute user.



231
232
233
# File 'lib/virtuozzo/soap/types/proc_info.rb', line 231

def user
  @user
end