Class: Virtuozzo::SOAP::Types::Resourcem::QosType

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

Overview

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

id - SOAP::SOAPString
soft - SOAP::SOAPLong
hard - SOAP::SOAPLong
cur - SOAP::SOAPLong

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, soft = nil, hard = nil, cur = nil) ⇒ QosType

Returns a new instance of QosType.



108
109
110
111
112
113
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 108

def initialize(id = nil, soft = nil, hard = nil, cur = nil)
  @id = id
  @soft = soft
  @hard = hard
  @cur = cur
end

Instance Attribute Details

#curObject

Returns the value of attribute cur.



106
107
108
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 106

def cur
  @cur
end

#hardObject

Returns the value of attribute hard.



105
106
107
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 105

def hard
  @hard
end

#idObject

Returns the value of attribute id.



103
104
105
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 103

def id
  @id
end

#softObject

Returns the value of attribute soft.



104
105
106
# File 'lib/virtuozzo/soap/types/resourcem.rb', line 104

def soft
  @soft
end