Class: RtmRaidPartitionVolumeStruct

Inherits:
Object
  • Object
show all
Defined in:
lib/ovhrb/manager/manager.rb

Overview

http://soapi.ovh.com/managerrtmRaidPartitionVolumeStruct

Constant Summary collapse

@@schema_type =
"rtmRaidPartitionVolumeStruct"
@@schema_ns =
"http://soapi.ovh.com/manager"
@@schema_element =
[["volumeName", ["SOAP::SOAPString", XSD::QName.new(nil, "volumeName")]], ["flags", ["SOAP::SOAPString", XSD::QName.new(nil, "flags")]], ["status", ["SOAP::SOAPString", XSD::QName.new(nil, "status")]], ["type", ["SOAP::SOAPString", XSD::QName.new(nil, "type")]], ["capacity", ["SOAP::SOAPString", XSD::QName.new(nil, "capacity")]], ["phys", ["SOAP::SOAPInt", XSD::QName.new(nil, "phys")]], ["members", ["MyArrayOfRtmRaidPartitionVolumeMemberStructType", XSD::QName.new(nil, "members")]]]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(volumeName = nil, flags = nil, status = nil, type = nil, capacity = nil, phys = nil, members = nil) ⇒ RtmRaidPartitionVolumeStruct

Returns a new instance of RtmRaidPartitionVolumeStruct.



3041
3042
3043
3044
3045
3046
3047
3048
3049
# File 'lib/ovhrb/manager/manager.rb', line 3041

def initialize(volumeName = nil, flags = nil, status = nil, type = nil, capacity = nil, phys = nil, members = nil)
  @volumeName = volumeName
  @flags = flags
  @status = status
  @type = type
  @capacity = capacity
  @phys = phys
  @members = members
end

Instance Attribute Details

#capacityObject

Returns the value of attribute capacity.



3037
3038
3039
# File 'lib/ovhrb/manager/manager.rb', line 3037

def capacity
  @capacity
end

#flagsObject

Returns the value of attribute flags.



3034
3035
3036
# File 'lib/ovhrb/manager/manager.rb', line 3034

def flags
  @flags
end

#membersObject

Returns the value of attribute members.



3039
3040
3041
# File 'lib/ovhrb/manager/manager.rb', line 3039

def members
  @members
end

#physObject

Returns the value of attribute phys.



3038
3039
3040
# File 'lib/ovhrb/manager/manager.rb', line 3038

def phys
  @phys
end

#statusObject

Returns the value of attribute status.



3035
3036
3037
# File 'lib/ovhrb/manager/manager.rb', line 3035

def status
  @status
end

#typeObject

Returns the value of attribute type.



3036
3037
3038
# File 'lib/ovhrb/manager/manager.rb', line 3036

def type
  @type
end

#volumeNameObject

Returns the value of attribute volumeName.



3033
3034
3035
# File 'lib/ovhrb/manager/manager.rb', line 3033

def volumeName
  @volumeName
end