Class: Softlayer::Event::Log

Inherits:
Softlayer::Entity show all
Defined in:
lib/softlayer/event/log.rb

Defined Under Namespace

Classes: Representer

Constant Summary collapse

SERVICE =
'SoftLayer_Event_Log'

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

#account_idObject

Returns the value of attribute account_id.



5
6
7
# File 'lib/softlayer/event/log.rb', line 5

def 
  @account_id
end

#event_create_dateObject

Returns the value of attribute event_create_date.



6
7
8
# File 'lib/softlayer/event/log.rb', line 6

def event_create_date
  @event_create_date
end

#event_nameObject

Returns the value of attribute event_name.



7
8
9
# File 'lib/softlayer/event/log.rb', line 7

def event_name
  @event_name
end

#ip_addressObject

Returns the value of attribute ip_address.



8
9
10
# File 'lib/softlayer/event/log.rb', line 8

def ip_address
  @ip_address
end

#labelObject

Returns the value of attribute label.



9
10
11
# File 'lib/softlayer/event/log.rb', line 9

def label
  @label
end

#meta_dataObject

Returns the value of attribute meta_data.



10
11
12
# File 'lib/softlayer/event/log.rb', line 10

def 
  @meta_data
end

#object_idObject

Returns the value of attribute object_id.



11
12
13
# File 'lib/softlayer/event/log.rb', line 11

def object_id
  @object_id
end

#object_nameObject

Returns the value of attribute object_name.



12
13
14
# File 'lib/softlayer/event/log.rb', line 12

def object_name
  @object_name
end

#resourceObject

Returns the value of attribute resource.



13
14
15
# File 'lib/softlayer/event/log.rb', line 13

def resource
  @resource
end

#trace_idObject

Returns the value of attribute trace_id.



14
15
16
# File 'lib/softlayer/event/log.rb', line 14

def trace_id
  @trace_id
end

#userObject

Returns the value of attribute user.



18
19
20
# File 'lib/softlayer/event/log.rb', line 18

def user
  @user
end

#user_idObject

Returns the value of attribute user_id.



15
16
17
# File 'lib/softlayer/event/log.rb', line 15

def user_id
  @user_id
end

#user_typeObject

Returns the value of attribute user_type.



16
17
18
# File 'lib/softlayer/event/log.rb', line 16

def user_type
  @user_type
end

#usernameObject

Returns the value of attribute username.



17
18
19
# File 'lib/softlayer/event/log.rb', line 17

def username
  @username
end

Class Method Details

.get_all_event_names(message) ⇒ Object

object_name



21
22
23
# File 'lib/softlayer/event/log.rb', line 21

def self.get_all_event_names(message)
  request(:get_all_event_names, Array[String], message)
end

.get_all_event_object_namesObject



25
26
27
# File 'lib/softlayer/event/log.rb', line 25

def self.get_all_event_object_names
  request(:get_all_event_object_names, Array[String])
end

.get_all_objectsObject



29
30
31
# File 'lib/softlayer/event/log.rb', line 29

def self.get_all_objects
  request(:get_all_objects, Array[Softlayer::Event::Log])
end

.get_all_user_typesObject



33
34
35
# File 'lib/softlayer/event/log.rb', line 33

def self.get_all_user_types
  request(:get_all_user_types, Array[String])
end

Instance Method Details

#get_userObject



37
38
39
# File 'lib/softlayer/event/log.rb', line 37

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