Class: Softlayer::Hardware::Component::Partition

Inherits:
Entity
  • Object
show all
Defined in:
lib/softlayer/hardware/component/partition.rb,
lib/softlayer/hardware/component/partition/template.rb,
lib/softlayer/hardware/component/partition/operating_system.rb,
lib/softlayer/hardware/component/partition/template/partition.rb

Defined Under Namespace

Classes: OperatingSystem, Representer, Template

Instance Attribute Summary collapse

Method Summary

Methods inherited from Model

all, all_request_for, create, find, #init_headers, parse, process_message, #request, request, service_name, #service_name, #to_hash, #to_softlayer

Methods included from Model::Operations

extended, #filter, included, #limit, #mask, #request_headers

Instance Attribute Details

#disk_numberObject

Returns the value of attribute disk_number.



7
8
9
# File 'lib/softlayer/hardware/component/partition.rb', line 7

def disk_number
  @disk_number
end

#growObject

Returns the value of attribute grow.



8
9
10
# File 'lib/softlayer/hardware/component/partition.rb', line 8

def grow
  @grow
end

#hardware_componentObject

Returns the value of attribute hardware_component.



12
13
14
# File 'lib/softlayer/hardware/component/partition.rb', line 12

def hardware_component
  @hardware_component
end

#hardware_component_idObject

Returns the value of attribute hardware_component_id.



9
10
11
# File 'lib/softlayer/hardware/component/partition.rb', line 9

def hardware_component_id
  @hardware_component_id
end

#minimum_sizeObject

Returns the value of attribute minimum_size.



10
11
12
# File 'lib/softlayer/hardware/component/partition.rb', line 10

def minimum_size
  @minimum_size
end

#nameObject

Returns the value of attribute name.



11
12
13
# File 'lib/softlayer/hardware/component/partition.rb', line 11

def name
  @name
end