Class: Virtuozzo::SOAP::Types::Resourcem::ResourcemType

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

Overview

Defined Under Namespace

Classes: Error, Ok

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(configuration = nil, ok = [], error = [], add_resource = [], remove_resource = [], set_pool = [], get_pool = [], allocate = [], release = [], resource = [], resource_pool = []) ⇒ ResourcemType

Returns a new instance of ResourcemType.



1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 1803

def initialize(configuration = nil, ok = [], error = [], add_resource = [], remove_resource = [], set_pool = [], get_pool = [], allocate = [], release = [], resource = [], resource_pool = [])
  @configuration = configuration
  @ok = ok
  @error = error
  @add_resource = add_resource
  @remove_resource = remove_resource
  @set_pool = set_pool
  @get_pool = get_pool
  @allocate = allocate
  @release = release
  @resource = resource
  @resource_pool = resource_pool
end

Instance Attribute Details

#add_resourceObject

Returns the value of attribute add_resource.



1794
1795
1796
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 1794

def add_resource
  @add_resource
end

#allocateObject

Returns the value of attribute allocate.



1798
1799
1800
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 1798

def allocate
  @allocate
end

#configurationObject

Returns the value of attribute configuration.



1791
1792
1793
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 1791

def configuration
  @configuration
end

#errorObject

Returns the value of attribute error.



1793
1794
1795
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 1793

def error
  @error
end

#get_poolObject

Returns the value of attribute get_pool.



1797
1798
1799
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 1797

def get_pool
  @get_pool
end

#okObject

Returns the value of attribute ok.



1792
1793
1794
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 1792

def ok
  @ok
end

#releaseObject

Returns the value of attribute release.



1799
1800
1801
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 1799

def release
  @release
end

#remove_resourceObject

Returns the value of attribute remove_resource.



1795
1796
1797
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 1795

def remove_resource
  @remove_resource
end

#resourceObject

Returns the value of attribute resource.



1800
1801
1802
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 1800

def resource
  @resource
end

#resource_poolObject

Returns the value of attribute resource_pool.



1801
1802
1803
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 1801

def resource_pool
  @resource_pool
end

#set_poolObject

Returns the value of attribute set_pool.



1796
1797
1798
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 1796

def set_pool
  @set_pool
end