Class: Softlayer::Provisioning::Maintenance::Classification
- Defined in:
- lib/softlayer/provisioning/maintenance/classification.rb,
lib/softlayer/provisioning/maintenance/classification/item.rb,
lib/softlayer/provisioning/maintenance/classification/item/category.rb
Defined Under Namespace
Modules: Item Classes: Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Provisioning_Maintenance_Classification'
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#item_categories ⇒ Object
Returns the value of attribute item_categories.
-
#item_category_count ⇒ Object
Returns the value of attribute item_category_count.
-
#slots ⇒ Object
Returns the value of attribute slots.
-
#type ⇒ Object
Returns the value of attribute type.
Class Method Summary collapse
-
.get_maintenance_classification(message) ⇒ Object
maintenance_classification_id.
- .get_maintenance_classifications_by_item_category ⇒ Object
Instance Method Summary collapse
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
#id ⇒ Object
Returns the value of attribute id.
7 8 9 |
# File 'lib/softlayer/provisioning/maintenance/classification.rb', line 7 def id @id end |
#item_categories ⇒ Object
Returns the value of attribute item_categories.
11 12 13 |
# File 'lib/softlayer/provisioning/maintenance/classification.rb', line 11 def item_categories @item_categories end |
#item_category_count ⇒ Object
Returns the value of attribute item_category_count.
10 11 12 |
# File 'lib/softlayer/provisioning/maintenance/classification.rb', line 10 def item_category_count @item_category_count end |
#slots ⇒ Object
Returns the value of attribute slots.
8 9 10 |
# File 'lib/softlayer/provisioning/maintenance/classification.rb', line 8 def slots @slots end |
#type ⇒ Object
Returns the value of attribute type.
9 10 11 |
# File 'lib/softlayer/provisioning/maintenance/classification.rb', line 9 def type @type end |
Class Method Details
.get_maintenance_classification(message) ⇒ Object
maintenance_classification_id
18 19 20 |
# File 'lib/softlayer/provisioning/maintenance/classification.rb', line 18 def self.get_maintenance_classification() request(:get_maintenance_classification, Array[Softlayer::Provisioning::Maintenance::Classification], ) end |
.get_maintenance_classifications_by_item_category ⇒ Object
22 23 24 |
# File 'lib/softlayer/provisioning/maintenance/classification.rb', line 22 def self.get_maintenance_classifications_by_item_category request(:get_maintenance_classifications_by_item_category, Array[Softlayer::Provisioning::Maintenance::Classification::Item::Category]) end |
Instance Method Details
#get_item_categories ⇒ Object
13 14 15 |
# File 'lib/softlayer/provisioning/maintenance/classification.rb', line 13 def get_item_categories request(:get_item_categories, Array[Softlayer::Provisioning::Maintenance::Classification::Item::Category]) end |
#get_object ⇒ Object
26 27 28 |
# File 'lib/softlayer/provisioning/maintenance/classification.rb', line 26 def get_object request(:get_object, Softlayer::Provisioning::Maintenance::Classification) end |