Class: Softlayer::User::External::Binding
- Defined in:
- lib/softlayer/user/external/binding.rb,
lib/softlayer/user/external/binding/type.rb,
lib/softlayer/user/external/binding/vendor.rb,
lib/softlayer/user/external/binding/attribute.rb
Direct Known Subclasses
Defined Under Namespace
Classes: Attribute, Representer, Type, Vendor
Constant Summary collapse
- SERVICE =
'SoftLayer_User_External_Binding'
Instance Attribute Summary collapse
-
#active ⇒ Object
Returns the value of attribute active.
-
#attribute_count ⇒ Object
Returns the value of attribute attribute_count.
-
#attributes ⇒ Object
Returns the value of attribute attributes.
-
#billing_item ⇒ Object
Returns the value of attribute billing_item.
-
#create_date ⇒ Object
Returns the value of attribute create_date.
-
#external_id ⇒ Object
Returns the value of attribute external_id.
-
#id ⇒ Object
Returns the value of attribute id.
-
#note ⇒ Object
Returns the value of attribute note.
-
#password ⇒ Object
Returns the value of attribute password.
-
#type ⇒ Object
Returns the value of attribute type.
-
#type_id ⇒ Object
Returns the value of attribute type_id.
-
#user_id ⇒ Object
Returns the value of attribute user_id.
-
#vendor ⇒ Object
Returns the value of attribute vendor.
-
#vendor_id ⇒ Object
Returns the value of attribute vendor_id.
Instance Method Summary collapse
- #delete_object ⇒ Object
- #get_attributes ⇒ Object
- #get_billing_item ⇒ Object
- #get_note ⇒ Object
- #get_object ⇒ Object
- #get_type ⇒ Object
- #get_vendor ⇒ Object
-
#update_note(message) ⇒ Object
text.
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
#active ⇒ Object
Returns the value of attribute active.
9 10 11 |
# File 'lib/softlayer/user/external/binding.rb', line 9 def active @active end |
#attribute_count ⇒ Object
Returns the value of attribute attribute_count.
17 18 19 |
# File 'lib/softlayer/user/external/binding.rb', line 17 def attribute_count @attribute_count end |
#attributes ⇒ Object
Returns the value of attribute attributes.
18 19 20 |
# File 'lib/softlayer/user/external/binding.rb', line 18 def attributes @attributes end |
#billing_item ⇒ Object
Returns the value of attribute billing_item.
19 20 21 |
# File 'lib/softlayer/user/external/binding.rb', line 19 def billing_item @billing_item end |
#create_date ⇒ Object
Returns the value of attribute create_date.
10 11 12 |
# File 'lib/softlayer/user/external/binding.rb', line 10 def create_date @create_date end |
#external_id ⇒ Object
Returns the value of attribute external_id.
11 12 13 |
# File 'lib/softlayer/user/external/binding.rb', line 11 def external_id @external_id end |
#id ⇒ Object
Returns the value of attribute id.
12 13 14 |
# File 'lib/softlayer/user/external/binding.rb', line 12 def id @id end |
#note ⇒ Object
Returns the value of attribute note.
20 21 22 |
# File 'lib/softlayer/user/external/binding.rb', line 20 def note @note end |
#password ⇒ Object
Returns the value of attribute password.
13 14 15 |
# File 'lib/softlayer/user/external/binding.rb', line 13 def password @password end |
#type ⇒ Object
Returns the value of attribute type.
21 22 23 |
# File 'lib/softlayer/user/external/binding.rb', line 21 def type @type end |
#type_id ⇒ Object
Returns the value of attribute type_id.
14 15 16 |
# File 'lib/softlayer/user/external/binding.rb', line 14 def type_id @type_id end |
#user_id ⇒ Object
Returns the value of attribute user_id.
15 16 17 |
# File 'lib/softlayer/user/external/binding.rb', line 15 def user_id @user_id end |
#vendor ⇒ Object
Returns the value of attribute vendor.
22 23 24 |
# File 'lib/softlayer/user/external/binding.rb', line 22 def vendor @vendor end |
#vendor_id ⇒ Object
Returns the value of attribute vendor_id.
16 17 18 |
# File 'lib/softlayer/user/external/binding.rb', line 16 def vendor_id @vendor_id end |
Instance Method Details
#delete_object ⇒ Object
24 25 26 |
# File 'lib/softlayer/user/external/binding.rb', line 24 def delete_object request(:delete_object, Boolean) end |
#get_attributes ⇒ Object
28 29 30 |
# File 'lib/softlayer/user/external/binding.rb', line 28 def get_attributes request(:get_attributes, Array[Softlayer::User::External::Binding::Attribute]) end |
#get_billing_item ⇒ Object
32 33 34 |
# File 'lib/softlayer/user/external/binding.rb', line 32 def get_billing_item request(:get_billing_item, Softlayer::Billing::Item) end |
#get_note ⇒ Object
36 37 38 |
# File 'lib/softlayer/user/external/binding.rb', line 36 def get_note request(:get_note, String) end |
#get_object ⇒ Object
40 41 42 |
# File 'lib/softlayer/user/external/binding.rb', line 40 def get_object request(:get_object, Softlayer::User::External::Binding) end |
#get_type ⇒ Object
44 45 46 |
# File 'lib/softlayer/user/external/binding.rb', line 44 def get_type request(:get_type, Softlayer::User::External::Binding::Type) end |
#get_vendor ⇒ Object
48 49 50 |
# File 'lib/softlayer/user/external/binding.rb', line 48 def get_vendor request(:get_vendor, Softlayer::User::External::Binding::Vendor) end |
#update_note(message) ⇒ Object
text
53 54 55 |
# File 'lib/softlayer/user/external/binding.rb', line 53 def update_note() request(:update_note, Boolean, ) end |