Class: RtmHddPartitionStruct

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

Overview

http://soapi.ovh.com/managerrtmHddPartitionStruct

Constant Summary collapse

@@schema_type =
"rtmHddPartitionStruct"
@@schema_ns =
"http://soapi.ovh.com/manager"
@@schema_element =
[["device", ["SOAP::SOAPString", XSD::QName.new(nil, "device")]], ["percentUsed", ["SOAP::SOAPInt", XSD::QName.new(nil, "percentUsed")]], ["percentInodes", ["SOAP::SOAPInt", XSD::QName.new(nil, "percentInodes")]], ["mountPoint", ["SOAP::SOAPString", XSD::QName.new(nil, "mountPoint")]]]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(device = nil, percentUsed = nil, percentInodes = nil, mountPoint = nil) ⇒ RtmHddPartitionStruct

Returns a new instance of RtmHddPartitionStruct.



2796
2797
2798
2799
2800
2801
# File 'lib/ovhrb/manager/manager.rb', line 2796

def initialize(device = nil, percentUsed = nil, percentInodes = nil, mountPoint = nil)
  @device = device
  @percentUsed = percentUsed
  @percentInodes = percentInodes
  @mountPoint = mountPoint
end

Instance Attribute Details

#deviceObject

Returns the value of attribute device.



2791
2792
2793
# File 'lib/ovhrb/manager/manager.rb', line 2791

def device
  @device
end

#mountPointObject

Returns the value of attribute mountPoint.



2794
2795
2796
# File 'lib/ovhrb/manager/manager.rb', line 2794

def mountPoint
  @mountPoint
end

#percentInodesObject

Returns the value of attribute percentInodes.



2793
2794
2795
# File 'lib/ovhrb/manager/manager.rb', line 2793

def percentInodes
  @percentInodes
end

#percentUsedObject

Returns the value of attribute percentUsed.



2792
2793
2794
# File 'lib/ovhrb/manager/manager.rb', line 2792

def percentUsed
  @percentUsed
end