Class: Softlayer::Product::Item::Policy::Assignment
- Defined in:
- lib/softlayer/product/item/policy/assignment.rb
Defined Under Namespace
Classes: Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Product_Item_Policy_Assignment'
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#policy_name ⇒ Object
Returns the value of attribute policy_name.
-
#product ⇒ Object
Returns the value of attribute product.
-
#product_id ⇒ Object
Returns the value of attribute product_id.
Instance Method Summary collapse
-
#accept_from_ticket(message) ⇒ Object
ticket_id.
- #get_object ⇒ Object
- #get_policy_document_contents ⇒ Object
- #get_policy_name ⇒ Object
- #get_product ⇒ Object
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/product/item/policy/assignment.rb', line 7 def id @id end |
#policy_name ⇒ Object
Returns the value of attribute policy_name.
9 10 11 |
# File 'lib/softlayer/product/item/policy/assignment.rb', line 9 def policy_name @policy_name end |
#product ⇒ Object
Returns the value of attribute product.
10 11 12 |
# File 'lib/softlayer/product/item/policy/assignment.rb', line 10 def product @product end |
#product_id ⇒ Object
Returns the value of attribute product_id.
8 9 10 |
# File 'lib/softlayer/product/item/policy/assignment.rb', line 8 def product_id @product_id end |
Instance Method Details
#accept_from_ticket(message) ⇒ Object
ticket_id
13 14 15 |
# File 'lib/softlayer/product/item/policy/assignment.rb', line 13 def accept_from_ticket() request(:accept_from_ticket, Boolean, ) end |
#get_object ⇒ Object
17 18 19 |
# File 'lib/softlayer/product/item/policy/assignment.rb', line 17 def get_object request(:get_object, Softlayer::Product::Item::Policy::Assignment) end |
#get_policy_document_contents ⇒ Object
21 22 23 |
# File 'lib/softlayer/product/item/policy/assignment.rb', line 21 def get_policy_document_contents request(:get_policy_document_contents, Softlayer::Base64Binary) end |
#get_policy_name ⇒ Object
25 26 27 |
# File 'lib/softlayer/product/item/policy/assignment.rb', line 25 def get_policy_name request(:get_policy_name, String) end |