Class: Hpe3parSdk::PrivateSpace

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(object_hash) ⇒ PrivateSpace

Returns a new instance of PrivateSpace.



1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
# File 'lib/Hpe3parSdk/models.rb', line 1664

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

  self.base = object_hash['base']

  self.raw_base = object_hash['rawBase']

  self.snapshot = object_hash['snapshot']

  self.raw_snapshot = object_hash['rawSnapshot']

end

Instance Attribute Details

#baseObject

type - Number

Base space in MiB.



1650
1651
1652
# File 'lib/Hpe3parSdk/models.rb', line 1650

def base
  @base
end

#raw_baseObject

type - Number

Raw base space in MiB.



1654
1655
1656
# File 'lib/Hpe3parSdk/models.rb', line 1654

def raw_base
  @raw_base
end

#raw_snapshotObject

type - Number

Raw snapshot space in MiB.



1662
1663
1664
# File 'lib/Hpe3parSdk/models.rb', line 1662

def raw_snapshot
  @raw_snapshot
end

#snapshotObject

type - Number

snapshot space in MiB.



1658
1659
1660
# File 'lib/Hpe3parSdk/models.rb', line 1658

def snapshot
  @snapshot
end