Class: Softlayer::Product::Item::Requirement

Inherits:
Entity
  • Object
show all
Defined in:
lib/softlayer/product/item/requirement.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

#idObject

Returns the value of attribute id.



5
6
7
# File 'lib/softlayer/product/item/requirement.rb', line 5

def id
  @id
end

#itemObject

Returns the value of attribute item.



9
10
11
# File 'lib/softlayer/product/item/requirement.rb', line 9

def item
  @item
end

#item_idObject

Returns the value of attribute item_id.



6
7
8
# File 'lib/softlayer/product/item/requirement.rb', line 6

def item_id
  @item_id
end

#messageObject

Returns the value of attribute message.



7
8
9
# File 'lib/softlayer/product/item/requirement.rb', line 7

def message
  @message
end

#productObject

Returns the value of attribute product.



10
11
12
# File 'lib/softlayer/product/item/requirement.rb', line 10

def product
  @product
end

#required_item_idObject

Returns the value of attribute required_item_id.



8
9
10
# File 'lib/softlayer/product/item/requirement.rb', line 8

def required_item_id
  @required_item_id
end