Class: Softlayer::User::Customer::ApiAuthentication

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

Defined Under Namespace

Classes: Representer

Constant Summary collapse

SERVICE =
'SoftLayer_User_Customer_ApiAuthentication'

Instance Attribute 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

#authentication_keyObject

Returns the value of attribute authentication_key.



6
7
8
# File 'lib/softlayer/user/customer/api_authentication.rb', line 6

def authentication_key
  @authentication_key
end

#idObject

Returns the value of attribute id.



7
8
9
# File 'lib/softlayer/user/customer/api_authentication.rb', line 7

def id
  @id
end

#ip_address_restrictionObject

Returns the value of attribute ip_address_restriction.



8
9
10
# File 'lib/softlayer/user/customer/api_authentication.rb', line 8

def ip_address_restriction
  @ip_address_restriction
end

#timestamp_keyObject

Returns the value of attribute timestamp_key.



9
10
11
# File 'lib/softlayer/user/customer/api_authentication.rb', line 9

def timestamp_key
  @timestamp_key
end

#userObject

Returns the value of attribute user.



11
12
13
# File 'lib/softlayer/user/customer/api_authentication.rb', line 11

def user
  @user
end

#user_idObject

Returns the value of attribute user_id.



10
11
12
# File 'lib/softlayer/user/customer/api_authentication.rb', line 10

def user_id
  @user_id
end

Instance Method Details

#edit_object(message) ⇒ Object

template_object



14
15
16
# File 'lib/softlayer/user/customer/api_authentication.rb', line 14

def edit_object(message)
  request(:edit_object, Softlayer::User::Customer::ApiAuthentication, message)
end

#get_objectObject



18
19
20
# File 'lib/softlayer/user/customer/api_authentication.rb', line 18

def get_object
  request(:get_object, Softlayer::User::Customer::ApiAuthentication)
end

#get_userObject



22
23
24
# File 'lib/softlayer/user/customer/api_authentication.rb', line 22

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