Class: Softlayer::User::Customer::Notification::Virtual::Guest

Inherits:
Entity
  • Object
show all
Defined in:
lib/softlayer/user/customer/notification/virtual/guest.rb

Defined Under Namespace

Classes: Representer

Constant Summary collapse

SERVICE =
'SoftLayer_User_Customer_Notification_Virtual_Guest'

Instance Attribute Summary collapse

Class Method Summary collapse

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

#guestObject

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_idObject

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

#idObject

Returns the value of attribute id.



9
10
11
# File 'lib/softlayer/user/customer/notification/virtual/guest.rb', line 9

def id
  @id
end

#userObject

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_idObject

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(message)
  request(:create_object, Softlayer::User::Customer::Notification::Virtual::Guest, message)
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(message)
  request(:create_objects, Array[Softlayer::User::Customer::Notification::Virtual::Guest], message)
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(message)
  request(:delete_objects, Boolean, message)
end

.find_by_guest_id(message) ⇒ Object

id



30
31
32
# File 'lib/softlayer/user/customer/notification/virtual/guest.rb', line 30

def self.find_by_guest_id(message)
  request(:find_by_guest_id, Array[Softlayer::User::Customer::Notification::Virtual::Guest], message)
end

Instance Method Details

#get_guestObject



34
35
36
# File 'lib/softlayer/user/customer/notification/virtual/guest.rb', line 34

def get_guest
  request(:get_guest, Softlayer::Virtual::Guest)
end

#get_objectObject



38
39
40
# File 'lib/softlayer/user/customer/notification/virtual/guest.rb', line 38

def get_object
  request(:get_object, Softlayer::User::Customer::Notification::Virtual::Guest)
end

#get_userObject



42
43
44
# File 'lib/softlayer/user/customer/notification/virtual/guest.rb', line 42

def get_user
  request(:get_user, Softlayer::User::Customer)
end