Class: Softlayer::Hardware::Power::Component

Inherits:
Entity
  • Object
show all
Defined in:
lib/softlayer/hardware/power/component.rb

Defined Under Namespace

Classes: Representer

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

#hardwareObject

Returns the value of attribute hardware.



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

def hardware
  @hardware
end

#hardware_idObject

Returns the value of attribute hardware_id.



5
6
7
# File 'lib/softlayer/hardware/power/component.rb', line 5

def hardware_id
  @hardware_id
end

#idObject

Returns the value of attribute id.



6
7
8
# File 'lib/softlayer/hardware/power/component.rb', line 6

def id
  @id
end