Class: Virtuozzo::SOAP::Types::Resourcem::Allocate

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

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(resource_pool = nil, resource = nil, count = nil) ⇒ Allocate

Returns a new instance of Allocate.



2005
2006
2007
2008
2009
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 2005

def initialize(resource_pool = nil, resource = nil, count = nil)
  @resource_pool = resource_pool
  @resource = resource
  @count = count
end

Instance Attribute Details

#countObject

Returns the value of attribute count.



2003
2004
2005
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 2003

def count
  @count
end

#resourceObject

Returns the value of attribute resource.



2002
2003
2004
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 2002

def resource
  @resource
end

#resource_poolObject

Returns the value of attribute resource_pool.



2001
2002
2003
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 2001

def resource_pool
  @resource_pool
end