Class: Softlayer::User::Customer::Notification::Virtual::Guest
Defined Under Namespace
Classes: Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_User_Customer_Notification_Virtual_Guest'
Instance Attribute Summary collapse
-
#guest ⇒ Object
Returns the value of attribute guest.
-
#guest_id ⇒ Object
Returns the value of attribute guest_id.
-
#id ⇒ Object
Returns the value of attribute id.
-
#user ⇒ Object
Returns the value of attribute user.
-
#user_id ⇒ Object
Returns the value of attribute user_id.
Class Method Summary collapse
-
.create_object(message) ⇒ Object
template_object.
-
.create_objects(message) ⇒ Object
template_objects.
-
.delete_objects(message) ⇒ Object
template_objects.
-
.find_by_guest_id(message) ⇒ Object
id.
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
#guest ⇒ Object
Returns the value of attribute guest.
11 12 13 |
# File 'lib/softlayer/user/customer/notification/virtual/guest.rb', line 11 def guest @guest end |
#guest_id ⇒ Object
Returns the value of attribute guest_id.
8 9 10 |
# File 'lib/softlayer/user/customer/notification/virtual/guest.rb', line 8 def guest_id @guest_id end |
#id ⇒ Object
Returns the value of attribute id.
9 10 11 |
# File 'lib/softlayer/user/customer/notification/virtual/guest.rb', line 9 def id @id end |
#user ⇒ Object
Returns the value of attribute user.
12 13 14 |
# File 'lib/softlayer/user/customer/notification/virtual/guest.rb', line 12 def user @user end |
#user_id ⇒ Object
Returns the value of attribute user_id.
10 11 12 |
# File 'lib/softlayer/user/customer/notification/virtual/guest.rb', line 10 def user_id @user_id end |
Class Method Details
.create_object(message) ⇒ Object
template_object
15 16 17 |
# File 'lib/softlayer/user/customer/notification/virtual/guest.rb', line 15 def self.create_object() request(:create_object, Softlayer::User::Customer::Notification::Virtual::Guest, ) end |
.create_objects(message) ⇒ Object
template_objects
20 21 22 |
# File 'lib/softlayer/user/customer/notification/virtual/guest.rb', line 20 def self.create_objects() request(:create_objects, Array[Softlayer::User::Customer::Notification::Virtual::Guest], ) end |
.delete_objects(message) ⇒ Object
template_objects
25 26 27 |
# File 'lib/softlayer/user/customer/notification/virtual/guest.rb', line 25 def self.delete_objects() request(:delete_objects, Boolean, ) end |
Instance Method Details
#get_guest ⇒ Object
34 35 36 |
# File 'lib/softlayer/user/customer/notification/virtual/guest.rb', line 34 def get_guest request(:get_guest, Softlayer::Virtual::Guest) end |