Class: Softlayer::Hardware::Component::Model::Generic

Inherits:
Entity
  • Object
show all
Defined in:
lib/softlayer/hardware/component/model/generic.rb,
lib/softlayer/hardware/component/model/generic/attribute.rb,
lib/softlayer/hardware/component/model/generic/marketing_feature.rb

Defined Under Namespace

Classes: Attribute, MarketingFeature, 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

#capacityObject

Returns the value of attribute capacity.



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

def capacity
  @capacity
end

#descriptionObject

Returns the value of attribute description.



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

def description
  @description
end

#hardware_component_model_countObject

Returns the value of attribute hardware_component_model_count.



14
15
16
# File 'lib/softlayer/hardware/component/model/generic.rb', line 14

def hardware_component_model_count
  @hardware_component_model_count
end

#hardware_component_modelsObject

Returns the value of attribute hardware_component_models.



15
16
17
# File 'lib/softlayer/hardware/component/model/generic.rb', line 15

def hardware_component_models
  @hardware_component_models
end

#hardware_component_typeObject

Returns the value of attribute hardware_component_type.



16
17
18
# File 'lib/softlayer/hardware/component/model/generic.rb', line 16

def hardware_component_type
  @hardware_component_type
end

#hardware_component_type_idObject

Returns the value of attribute hardware_component_type_id.



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

def hardware_component_type_id
  @hardware_component_type_id
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#marketing_featuresObject

Returns the value of attribute marketing_features.



17
18
19
# File 'lib/softlayer/hardware/component/model/generic.rb', line 17

def marketing_features
  @marketing_features
end

#unitsObject

Returns the value of attribute units.



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

def units
  @units
end

#upgrade_priorityObject

Returns the value of attribute upgrade_priority.



13
14
15
# File 'lib/softlayer/hardware/component/model/generic.rb', line 13

def upgrade_priority
  @upgrade_priority
end