Class: Hpe3parSdk::Usage

Inherits:
Object
  • Object
show all
Defined in:
lib/Hpe3parSdk/models.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(object_hash) ⇒ Usage

Returns a new instance of Usage.



1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
# File 'lib/Hpe3parSdk/models.rb', line 1596

def initialize(object_hash)
  if object_hash == nil
    return
  end

  self.total_MiB = object_hash['totalMiB']

  self.raw_total_MiB = object_hash['rawTotalMiB']

  self.used_MiB = object_hash['usedMiB']

  self.raw_used_MiB = object_hash['rawUsedMiB']

end

Instance Attribute Details

#raw_total_MiBObject

type - Number

Total physical (raw) logical disk space in MiB.



1586
1587
1588
# File 'lib/Hpe3parSdk/models.rb', line 1586

def raw_total_MiB
  @raw_total_MiB
end

#raw_used_MiBObject

type - Number

Amount of physical (raw) logical disk used, in MiB.



1594
1595
1596
# File 'lib/Hpe3parSdk/models.rb', line 1594

def raw_used_MiB
  @raw_used_MiB
end

#total_MiBObject

type - Number

Total logical disk space in MiB.



1582
1583
1584
# File 'lib/Hpe3parSdk/models.rb', line 1582

def total_MiB
  @total_MiB
end

#used_MiBObject

type - Number

Amount of logical disk used, in MiB.



1590
1591
1592
# File 'lib/Hpe3parSdk/models.rb', line 1590

def used_MiB
  @used_MiB
end