Class: Softlayer::User::Customer

Inherits:
Interface show all
Defined in:
lib/softlayer/user/customer.rb,
lib/softlayer/user/customer/link.rb,
lib/softlayer/user/customer/access.rb,
lib/softlayer/user/customer/status.rb,
lib/softlayer/user/customer/external.rb,
lib/softlayer/user/customer/prospect.rb,
lib/softlayer/user/customer/security.rb,
lib/softlayer/user/customer/notification.rb,
lib/softlayer/user/customer/mobile_device.rb,
lib/softlayer/user/customer/prospect/type.rb,
lib/softlayer/user/customer/link/the_planet.rb,
lib/softlayer/user/customer/security/answer.rb,
lib/softlayer/user/customer/additional_email.rb,
lib/softlayer/user/customer/external/binding.rb,
lib/softlayer/user/customer/api_authentication.rb,
lib/softlayer/user/customer/mobile_device/type.rb,
lib/softlayer/user/customer/customer_permission.rb,
lib/softlayer/user/customer/notification/virtual.rb,
lib/softlayer/user/customer/access/authentication.rb,
lib/softlayer/user/customer/external/binding/totp.rb,
lib/softlayer/user/customer/external/binding/type.rb,
lib/softlayer/user/customer/notification/hardware.rb,
lib/softlayer/user/customer/external/binding/phone.rb,
lib/softlayer/user/customer/external/binding/vendor.rb,
lib/softlayer/user/customer/external/binding/verisign.rb,
lib/softlayer/user/customer/prospect/service_provider.rb,
lib/softlayer/user/customer/external/binding/attribute.rb,
lib/softlayer/user/customer/notification/virtual/guest.rb,
lib/softlayer/user/customer/customer_permission/permission.rb,
lib/softlayer/user/customer/mobile_device/operating_system.rb,
lib/softlayer/user/customer/prospect/service_provider/enroll_request.rb

Defined Under Namespace

Modules: Access, CustomerPermission, External, Notification, Security Classes: AdditionalEmail, ApiAuthentication, Link, MobileDevice, Prospect, Representer, Status

Constant Summary collapse

SERVICE =
'SoftLayer_User_Customer'

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, request, #request, service_name, #service_name, #to_hash

Methods included from Model::Operations

extended, #filter, included, #limit, #mask, #request_headers

Instance Attribute Details

#accountObject

Returns the value of attribute account.



87
88
89
# File 'lib/softlayer/user/customer.rb', line 87

def 
  @account
end

#account_idObject

Returns the value of attribute account_id.



16
17
18
# File 'lib/softlayer/user/customer.rb', line 16

def 
  @account_id
end

#action_countObject

Returns the value of attribute action_count.



61
62
63
# File 'lib/softlayer/user/customer.rb', line 61

def action_count
  @action_count
end

#actionsObject

Returns the value of attribute actions.



88
89
90
# File 'lib/softlayer/user/customer.rb', line 88

def actions
  @actions
end

#additional_email_countObject

Returns the value of attribute additional_email_count.



62
63
64
# File 'lib/softlayer/user/customer.rb', line 62

def additional_email_count
  @additional_email_count
end

#additional_emailsObject

Returns the value of attribute additional_emails.



89
90
91
# File 'lib/softlayer/user/customer.rb', line 89

def additional_emails
  @additional_emails
end

#address1Object

Returns the value of attribute address1.



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

def address1
  @address1
end

#address2Object

Returns the value of attribute address2.



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

def address2
  @address2
end

#aimObject

Returns the value of attribute aim.



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

def aim
  @aim
end

#alternate_phoneObject

Returns the value of attribute alternate_phone.



20
21
22
# File 'lib/softlayer/user/customer.rb', line 20

def alternate_phone
  @alternate_phone
end

#api_authentication_key_countObject

Returns the value of attribute api_authentication_key_count.



63
64
65
# File 'lib/softlayer/user/customer.rb', line 63

def api_authentication_key_count
  @api_authentication_key_count
end

#api_authentication_keysObject

Returns the value of attribute api_authentication_keys.



90
91
92
# File 'lib/softlayer/user/customer.rb', line 90

def api_authentication_keys
  @api_authentication_keys
end

#authentication_tokenObject

Returns the value of attribute authentication_token.



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

def authentication_token
  @authentication_token
end

#cdn_account_countObject

Returns the value of attribute cdn_account_count.



64
65
66
# File 'lib/softlayer/user/customer.rb', line 64

def 
  @cdn_account_count
end

#cdn_accountsObject

Returns the value of attribute cdn_accounts.



91
92
93
# File 'lib/softlayer/user/customer.rb', line 91

def cdn_accounts
  @cdn_accounts
end

#child_user_countObject

Returns the value of attribute child_user_count.



65
66
67
# File 'lib/softlayer/user/customer.rb', line 65

def child_user_count
  @child_user_count
end

#child_usersObject

Returns the value of attribute child_users.



92
93
94
# File 'lib/softlayer/user/customer.rb', line 92

def child_users
  @child_users
end

#cityObject

Returns the value of attribute city.



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

def city
  @city
end

#closed_ticket_countObject

Returns the value of attribute closed_ticket_count.



66
67
68
# File 'lib/softlayer/user/customer.rb', line 66

def closed_ticket_count
  @closed_ticket_count
end

#closed_ticketsObject

Returns the value of attribute closed_tickets.



93
94
95
# File 'lib/softlayer/user/customer.rb', line 93

def closed_tickets
  @closed_tickets
end

#company_nameObject

Returns the value of attribute company_name.



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

def company_name
  @company_name
end

#countryObject

Returns the value of attribute country.



24
25
26
# File 'lib/softlayer/user/customer.rb', line 24

def country
  @country
end

#create_dateObject

Returns the value of attribute create_date.



25
26
27
# File 'lib/softlayer/user/customer.rb', line 25

def create_date
  @create_date
end

#daylight_savings_time_flagObject

Returns the value of attribute daylight_savings_time_flag.



26
27
28
# File 'lib/softlayer/user/customer.rb', line 26

def daylight_savings_time_flag
  @daylight_savings_time_flag
end

#deny_all_resource_access_on_create_flagObject

Returns the value of attribute deny_all_resource_access_on_create_flag.



27
28
29
# File 'lib/softlayer/user/customer.rb', line 27

def deny_all_resource_access_on_create_flag
  @deny_all_resource_access_on_create_flag
end

#display_nameObject

Returns the value of attribute display_name.



28
29
30
# File 'lib/softlayer/user/customer.rb', line 28

def display_name
  @display_name
end

#emailObject

Returns the value of attribute email.



29
30
31
# File 'lib/softlayer/user/customer.rb', line 29

def email
  @email
end

#external_binding_countObject

Returns the value of attribute external_binding_count.



67
68
69
# File 'lib/softlayer/user/customer.rb', line 67

def external_binding_count
  @external_binding_count
end

#external_bindingsObject

Returns the value of attribute external_bindings.



94
95
96
# File 'lib/softlayer/user/customer.rb', line 94

def external_bindings
  @external_bindings
end

#first_nameObject

Returns the value of attribute first_name.



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

def first_name
  @first_name
end

#forum_password_hashObject

Returns the value of attribute forum_password_hash.



31
32
33
# File 'lib/softlayer/user/customer.rb', line 31

def forum_password_hash
  @forum_password_hash
end

#hardwareObject

Returns the value of attribute hardware.



95
96
97
# File 'lib/softlayer/user/customer.rb', line 95

def hardware
  @hardware
end

#hardware_countObject

Returns the value of attribute hardware_count.



68
69
70
# File 'lib/softlayer/user/customer.rb', line 68

def hardware_count
  @hardware_count
end

#hardware_notification_countObject

Returns the value of attribute hardware_notification_count.



69
70
71
# File 'lib/softlayer/user/customer.rb', line 69

def hardware_notification_count
  @hardware_notification_count
end

#hardware_notificationsObject

Returns the value of attribute hardware_notifications.



96
97
98
# File 'lib/softlayer/user/customer.rb', line 96

def hardware_notifications
  @hardware_notifications
end

#has_acknowledged_support_policy_flagObject

Returns the value of attribute has_acknowledged_support_policy_flag.



97
98
99
# File 'lib/softlayer/user/customer.rb', line 97

def has_acknowledged_support_policy_flag
  @has_acknowledged_support_policy_flag
end

#has_full_hardware_access_flagObject

Returns the value of attribute has_full_hardware_access_flag.



98
99
100
# File 'lib/softlayer/user/customer.rb', line 98

def has_full_hardware_access_flag
  @has_full_hardware_access_flag
end

#has_full_virtual_guest_access_flagObject

Returns the value of attribute has_full_virtual_guest_access_flag.



99
100
101
# File 'lib/softlayer/user/customer.rb', line 99

def has_full_virtual_guest_access_flag
  @has_full_virtual_guest_access_flag
end

#icqObject

Returns the value of attribute icq.



32
33
34
# File 'lib/softlayer/user/customer.rb', line 32

def icq
  @icq
end

#idObject

Returns the value of attribute id.



33
34
35
# File 'lib/softlayer/user/customer.rb', line 33

def id
  @id
end

#ip_address_restrictionObject

Returns the value of attribute ip_address_restriction.



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

def ip_address_restriction
  @ip_address_restriction
end

#last_nameObject

Returns the value of attribute last_name.



35
36
37
# File 'lib/softlayer/user/customer.rb', line 35

def last_name
  @last_name
end

#layout_profile_countObject

Returns the value of attribute layout_profile_count.



70
71
72
# File 'lib/softlayer/user/customer.rb', line 70

def layout_profile_count
  @layout_profile_count
end

#layout_profilesObject

Returns the value of attribute layout_profiles.



100
101
102
# File 'lib/softlayer/user/customer.rb', line 100

def layout_profiles
  @layout_profiles
end

#localeObject

Returns the value of attribute locale.



101
102
103
# File 'lib/softlayer/user/customer.rb', line 101

def locale
  @locale
end

#locale_idObject

Returns the value of attribute locale_id.



36
37
38
# File 'lib/softlayer/user/customer.rb', line 36

def locale_id
  @locale_id
end

#login_attempt_countObject

Returns the value of attribute login_attempt_count.



71
72
73
# File 'lib/softlayer/user/customer.rb', line 71

def 
  @login_attempt_count
end

#login_attemptsObject

Returns the value of attribute login_attempts.



102
103
104
# File 'lib/softlayer/user/customer.rb', line 102

def 
  @login_attempts
end

#managed_by_federation_flagObject

Returns the value of attribute managed_by_federation_flag.



37
38
39
# File 'lib/softlayer/user/customer.rb', line 37

def managed_by_federation_flag
  @managed_by_federation_flag
end

#mobile_device_countObject

Returns the value of attribute mobile_device_count.



72
73
74
# File 'lib/softlayer/user/customer.rb', line 72

def mobile_device_count
  @mobile_device_count
end

#mobile_devicesObject

Returns the value of attribute mobile_devices.



103
104
105
# File 'lib/softlayer/user/customer.rb', line 103

def mobile_devices
  @mobile_devices
end

#modify_dateObject

Returns the value of attribute modify_date.



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

def modify_date
  @modify_date
end

#msnObject

Returns the value of attribute msn.



39
40
41
# File 'lib/softlayer/user/customer.rb', line 39

def msn
  @msn
end

#name_idObject

Returns the value of attribute name_id.



40
41
42
# File 'lib/softlayer/user/customer.rb', line 40

def name_id
  @name_id
end

#notification_subscriber_countObject

Returns the value of attribute notification_subscriber_count.



73
74
75
# File 'lib/softlayer/user/customer.rb', line 73

def notification_subscriber_count
  @notification_subscriber_count
end

#notification_subscribersObject

Returns the value of attribute notification_subscribers.



104
105
106
# File 'lib/softlayer/user/customer.rb', line 104

def notification_subscribers
  @notification_subscribers
end

#office_phoneObject

Returns the value of attribute office_phone.



41
42
43
# File 'lib/softlayer/user/customer.rb', line 41

def office_phone
  @office_phone
end

#open_ticket_countObject

Returns the value of attribute open_ticket_count.



74
75
76
# File 'lib/softlayer/user/customer.rb', line 74

def open_ticket_count
  @open_ticket_count
end

#open_ticketsObject

Returns the value of attribute open_tickets.



105
106
107
# File 'lib/softlayer/user/customer.rb', line 105

def open_tickets
  @open_tickets
end

#override_countObject

Returns the value of attribute override_count.



75
76
77
# File 'lib/softlayer/user/customer.rb', line 75

def override_count
  @override_count
end

#overridesObject

Returns the value of attribute overrides.



106
107
108
# File 'lib/softlayer/user/customer.rb', line 106

def overrides
  @overrides
end

#parentObject

Returns the value of attribute parent.



107
108
109
# File 'lib/softlayer/user/customer.rb', line 107

def parent
  @parent
end

#parent_idObject

Returns the value of attribute parent_id.



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

def parent_id
  @parent_id
end

#password_expire_dateObject

Returns the value of attribute password_expire_date.



43
44
45
# File 'lib/softlayer/user/customer.rb', line 43

def password_expire_date
  @password_expire_date
end

#permission_countObject

Returns the value of attribute permission_count.



76
77
78
# File 'lib/softlayer/user/customer.rb', line 76

def permission_count
  @permission_count
end

#permission_system_versionObject

Returns the value of attribute permission_system_version.



44
45
46
# File 'lib/softlayer/user/customer.rb', line 44

def permission_system_version
  @permission_system_version
end

#permissionsObject

Returns the value of attribute permissions.



108
109
110
# File 'lib/softlayer/user/customer.rb', line 108

def permissions
  @permissions
end

#postal_codeObject

Returns the value of attribute postal_code.



45
46
47
# File 'lib/softlayer/user/customer.rb', line 45

def postal_code
  @postal_code
end

#pptp_vpn_allowed_flagObject

Returns the value of attribute pptp_vpn_allowed_flag.



46
47
48
# File 'lib/softlayer/user/customer.rb', line 46

def pptp_vpn_allowed_flag
  @pptp_vpn_allowed_flag
end

#preference_countObject

Returns the value of attribute preference_count.



77
78
79
# File 'lib/softlayer/user/customer.rb', line 77

def preference_count
  @preference_count
end

#preferencesObject

Returns the value of attribute preferences.



109
110
111
# File 'lib/softlayer/user/customer.rb', line 109

def preferences
  @preferences
end

#role_countObject

Returns the value of attribute role_count.



78
79
80
# File 'lib/softlayer/user/customer.rb', line 78

def role_count
  @role_count
end

#rolesObject

Returns the value of attribute roles.



110
111
112
# File 'lib/softlayer/user/customer.rb', line 110

def roles
  @roles
end

Returns the value of attribute salesforce_user_link.



111
112
113
# File 'lib/softlayer/user/customer.rb', line 111

def salesforce_user_link
  @salesforce_user_link
end

#saved_idObject

Returns the value of attribute saved_id.



47
48
49
# File 'lib/softlayer/user/customer.rb', line 47

def saved_id
  @saved_id
end

#secondary_login_management_flagObject

Returns the value of attribute secondary_login_management_flag.



48
49
50
# File 'lib/softlayer/user/customer.rb', line 48

def 
  @secondary_login_management_flag
end

#secondary_login_required_flagObject

Returns the value of attribute secondary_login_required_flag.



49
50
51
# File 'lib/softlayer/user/customer.rb', line 49

def 
  @secondary_login_required_flag
end

#secondary_password_modify_dateObject

Returns the value of attribute secondary_password_modify_date.



50
51
52
# File 'lib/softlayer/user/customer.rb', line 50

def secondary_password_modify_date
  @secondary_password_modify_date
end

#secondary_password_timeout_daysObject

Returns the value of attribute secondary_password_timeout_days.



51
52
53
# File 'lib/softlayer/user/customer.rb', line 51

def secondary_password_timeout_days
  @secondary_password_timeout_days
end

#security_answer_countObject

Returns the value of attribute security_answer_count.



79
80
81
# File 'lib/softlayer/user/customer.rb', line 79

def security_answer_count
  @security_answer_count
end

#security_answersObject

Returns the value of attribute security_answers.



112
113
114
# File 'lib/softlayer/user/customer.rb', line 112

def security_answers
  @security_answers
end

#smsObject

Returns the value of attribute sms.



52
53
54
# File 'lib/softlayer/user/customer.rb', line 52

def sms
  @sms
end

#ssl_vpn_allowed_flagObject

Returns the value of attribute ssl_vpn_allowed_flag.



53
54
55
# File 'lib/softlayer/user/customer.rb', line 53

def ssl_vpn_allowed_flag
  @ssl_vpn_allowed_flag
end

#stateObject

Returns the value of attribute state.



54
55
56
# File 'lib/softlayer/user/customer.rb', line 54

def state
  @state
end

#status_dateObject

Returns the value of attribute status_date.



55
56
57
# File 'lib/softlayer/user/customer.rb', line 55

def status_date
  @status_date
end

#subscriber_countObject

Returns the value of attribute subscriber_count.



80
81
82
# File 'lib/softlayer/user/customer.rb', line 80

def subscriber_count
  @subscriber_count
end

#subscribersObject

Returns the value of attribute subscribers.



113
114
115
# File 'lib/softlayer/user/customer.rb', line 113

def subscribers
  @subscribers
end

#successful_login_countObject

Returns the value of attribute successful_login_count.



81
82
83
# File 'lib/softlayer/user/customer.rb', line 81

def 
  @successful_login_count
end

#successful_loginsObject

Returns the value of attribute successful_logins.



114
115
116
# File 'lib/softlayer/user/customer.rb', line 114

def successful_logins
  @successful_logins
end

#support_policy_acknowledgement_required_flagObject

Returns the value of attribute support_policy_acknowledgement_required_flag.



115
116
117
# File 'lib/softlayer/user/customer.rb', line 115

def support_policy_acknowledgement_required_flag
  @support_policy_acknowledgement_required_flag
end

#survey_countObject

Returns the value of attribute survey_count.



82
83
84
# File 'lib/softlayer/user/customer.rb', line 82

def survey_count
  @survey_count
end

#survey_required_flagObject

Returns the value of attribute survey_required_flag.



116
117
118
# File 'lib/softlayer/user/customer.rb', line 116

def survey_required_flag
  @survey_required_flag
end

#surveysObject

Returns the value of attribute surveys.



117
118
119
# File 'lib/softlayer/user/customer.rb', line 117

def surveys
  @surveys
end

#ticket_countObject

Returns the value of attribute ticket_count.



83
84
85
# File 'lib/softlayer/user/customer.rb', line 83

def ticket_count
  @ticket_count
end

#ticketsObject

Returns the value of attribute tickets.



118
119
120
# File 'lib/softlayer/user/customer.rb', line 118

def tickets
  @tickets
end

#timezoneObject

Returns the value of attribute timezone.



119
120
121
# File 'lib/softlayer/user/customer.rb', line 119

def timezone
  @timezone
end

#timezone_idObject

Returns the value of attribute timezone_id.



56
57
58
# File 'lib/softlayer/user/customer.rb', line 56

def timezone_id
  @timezone_id
end

#unsuccessful_login_countObject

Returns the value of attribute unsuccessful_login_count.



84
85
86
# File 'lib/softlayer/user/customer.rb', line 84

def 
  @unsuccessful_login_count
end

#unsuccessful_loginsObject

Returns the value of attribute unsuccessful_logins.



120
121
122
# File 'lib/softlayer/user/customer.rb', line 120

def unsuccessful_logins
  @unsuccessful_logins
end

Returns the value of attribute user_link_count.



85
86
87
# File 'lib/softlayer/user/customer.rb', line 85

def user_link_count
  @user_link_count
end

Returns the value of attribute user_links.



121
122
123
# File 'lib/softlayer/user/customer.rb', line 121

def user_links
  @user_links
end

#user_statusObject

Returns the value of attribute user_status.



122
123
124
# File 'lib/softlayer/user/customer.rb', line 122

def user_status
  @user_status
end

#user_status_idObject

Returns the value of attribute user_status_id.



57
58
59
# File 'lib/softlayer/user/customer.rb', line 57

def user_status_id
  @user_status_id
end

#usernameObject

Returns the value of attribute username.



58
59
60
# File 'lib/softlayer/user/customer.rb', line 58

def username
  @username
end

#virtual_guest_countObject

Returns the value of attribute virtual_guest_count.



86
87
88
# File 'lib/softlayer/user/customer.rb', line 86

def virtual_guest_count
  @virtual_guest_count
end

#virtual_guestsObject

Returns the value of attribute virtual_guests.



123
124
125
# File 'lib/softlayer/user/customer.rb', line 123

def virtual_guests
  @virtual_guests
end

#vpn_manual_configObject

Returns the value of attribute vpn_manual_config.



59
60
61
# File 'lib/softlayer/user/customer.rb', line 59

def vpn_manual_config
  @vpn_manual_config
end

#yahooObject

Returns the value of attribute yahoo.



60
61
62
# File 'lib/softlayer/user/customer.rb', line 60

def yahoo
  @yahoo
end

Class Method Details

.check_external_authentication_status(authentication_container = nil) ⇒ Object



188
189
190
191
# File 'lib/softlayer/user/customer.rb', line 188

def self.check_external_authentication_status(authentication_container = nil)
  message = {authentication_container: authentication_container}
  request(:check_external_authentication_status, Softlayer::Container::User::Customer::Portal::Token, message)
end

.create_object(template_object = nil, password = nil, vpn_password = nil) ⇒ Object



198
199
200
201
# File 'lib/softlayer/user/customer.rb', line 198

def self.create_object(template_object = nil, password = nil, vpn_password = nil)
  message = {template_object: template_object, password: password, vpn_password: vpn_password}
  request(:create_object, Softlayer::User::Customer, message)
end

.edit_objects(template_objects = nil) ⇒ Object



218
219
220
221
# File 'lib/softlayer/user/customer.rb', line 218

def self.edit_objects(template_objects = nil)
  message = {template_objects: template_objects}
  request(:edit_objects, Boolean, message)
end

.get_active_external_authentication_vendorsObject



236
237
238
# File 'lib/softlayer/user/customer.rb', line 236

def self.get_active_external_authentication_vendors
  request(:get_active_external_authentication_vendors, Array[Softlayer::Container::User::Customer::External::Binding::Vendor])
end

.get_default_security_questions(key = nil) ⇒ Object



273
274
275
276
# File 'lib/softlayer/user/customer.rb', line 273

def self.get_default_security_questions(key = nil)
  message = {key: key}
  request(:get_default_security_questions, Array[Softlayer::User::Security::Question], message)
end

.get_portal_login_token(username = nil, password = nil, security_question_id = nil, security_question_answer = nil) ⇒ Object



350
351
352
353
# File 'lib/softlayer/user/customer.rb', line 350

def self.(username = nil, password = nil, security_question_id = nil, security_question_answer = nil)
  message = {username: username, password: password, security_question_id: security_question_id, security_question_answer: security_question_answer}
  request(:get_portal_login_token, Softlayer::Container::User::Customer::Portal::Token, message)
end

.get_user_from_lost_password_request(key = nil) ⇒ Object



424
425
426
427
# File 'lib/softlayer/user/customer.rb', line 424

def self.get_user_from_lost_password_request(key = nil)
  message = {key: key}
  request(:get_user_from_lost_password_request, Array[Softlayer::User::Security::Question], message)
end

.initiate_external_authentication(authentication_container = nil) ⇒ Object



454
455
456
457
# File 'lib/softlayer/user/customer.rb', line 454

def self.initiate_external_authentication(authentication_container = nil)
  message = {authentication_container: authentication_container}
  request(:initiate_external_authentication, String, message)
end

.lost_password(username = nil, email = nil) ⇒ Object



473
474
475
476
# File 'lib/softlayer/user/customer.rb', line 473

def self.lost_password(username = nil, email = nil)
  message = {username: username, email: email}
  request(:lost_password, Boolean, message)
end

.perform_external_authentication(authentication_container = nil) ⇒ Object



478
479
480
481
# File 'lib/softlayer/user/customer.rb', line 478

def self.perform_external_authentication(authentication_container = nil)
  message = {authentication_container: authentication_container}
  request(:perform_external_authentication, Softlayer::Container::User::Customer::Portal::Token, message)
end

.remove_api_authentication_key(key_id = nil) ⇒ Object



491
492
493
494
# File 'lib/softlayer/user/customer.rb', line 491

def self.remove_api_authentication_key(key_id = nil)
  message = {key_id: key_id}
  request(:remove_api_authentication_key, Boolean, message)
end

.reset_expired_password(username = nil, password = nil, new_password = nil, security_question_id = nil, security_question_answer = nil) ⇒ Object



541
542
543
544
# File 'lib/softlayer/user/customer.rb', line 541

def self.reset_expired_password(username = nil, password = nil, new_password = nil, security_question_id = nil, security_question_answer = nil)
  message = {username: username, password: password, new_password: new_password, security_question_id: security_question_id, security_question_answer: security_question_answer}
  request(:reset_expired_password, Boolean, message)
end

.saml_authenticate(account_id = nil, saml_response = nil) ⇒ Object



546
547
548
549
# File 'lib/softlayer/user/customer.rb', line 546

def self.saml_authenticate( = nil, saml_response = nil)
  message = {account_id: , saml_response: saml_response}
  request(:saml_authenticate, Softlayer::Container::User::Customer::Portal::Token, message)
end

.saml_begin_authentication(account_id = nil) ⇒ Object



551
552
553
554
# File 'lib/softlayer/user/customer.rb', line 551

def self.saml_begin_authentication( = nil)
  message = {account_id: }
  request(:saml_begin_authentication, String, message)
end

.set_password_from_lost_password_request(key = nil, password = nil, security_answers = nil) ⇒ Object



565
566
567
568
# File 'lib/softlayer/user/customer.rb', line 565

def self.set_password_from_lost_password_request(key = nil, password = nil, security_answers = nil)
  message = {key: key, password: password, security_answers: security_answers}
  request(:set_password_from_lost_password_request, Boolean, message)
end

.validate_authentication_token(authentication_token = nil) ⇒ Object



604
605
606
607
# File 'lib/softlayer/user/customer.rb', line 604

def self.validate_authentication_token(authentication_token = nil)
  message = {authentication_token: authentication_token}
  request(:validate_authentication_token, Softlayer::Container::User::Customer::Portal::Token, message)
end

Instance Method Details

#acknowledge_support_policyObject



125
126
127
# File 'lib/softlayer/user/customer.rb', line 125

def acknowledge_support_policy
  request(:acknowledge_support_policy, nil)
end

#add_api_authentication_keyObject



129
130
131
# File 'lib/softlayer/user/customer.rb', line 129

def add_api_authentication_key
  request(:add_api_authentication_key, String)
end

#add_bulk_hardware_access(hardware_ids = nil) ⇒ Object



133
134
135
136
# File 'lib/softlayer/user/customer.rb', line 133

def add_bulk_hardware_access(hardware_ids = nil)
  message = {hardware_ids: hardware_ids}
  request(:add_bulk_hardware_access, Boolean, message)
end

#add_bulk_portal_permission(permissions = nil) ⇒ Object



138
139
140
141
# File 'lib/softlayer/user/customer.rb', line 138

def add_bulk_portal_permission(permissions = nil)
  message = {permissions: permissions}
  request(:add_bulk_portal_permission, Boolean, message)
end

#add_bulk_roles(roles = nil) ⇒ Object



143
144
145
146
# File 'lib/softlayer/user/customer.rb', line 143

def add_bulk_roles(roles = nil)
  message = {roles: roles}
  request(:add_bulk_roles, nil, message)
end

#add_bulk_virtual_guest_access(virtual_guest_ids = nil) ⇒ Object



148
149
150
151
# File 'lib/softlayer/user/customer.rb', line 148

def add_bulk_virtual_guest_access(virtual_guest_ids = nil)
  message = {virtual_guest_ids: virtual_guest_ids}
  request(:add_bulk_virtual_guest_access, Boolean, message)
end

#add_external_binding(external_binding = nil) ⇒ Object



153
154
155
156
# File 'lib/softlayer/user/customer.rb', line 153

def add_external_binding(external_binding = nil)
  message = {external_binding: external_binding}
  request(:add_external_binding, Softlayer::User::Customer::External::Binding, message)
end

#add_hardware_access(hardware_id = nil) ⇒ Object



158
159
160
161
# File 'lib/softlayer/user/customer.rb', line 158

def add_hardware_access(hardware_id = nil)
  message = {hardware_id: hardware_id}
  request(:add_hardware_access, Boolean, message)
end

#add_notification_subscriber(notification_key_name = nil) ⇒ Object



163
164
165
166
# File 'lib/softlayer/user/customer.rb', line 163

def add_notification_subscriber(notification_key_name = nil)
  message = {notification_key_name: notification_key_name}
  request(:add_notification_subscriber, Boolean, message)
end

#add_portal_permission(permission = nil) ⇒ Object



168
169
170
171
# File 'lib/softlayer/user/customer.rb', line 168

def add_portal_permission(permission = nil)
  message = {permission: permission}
  request(:add_portal_permission, Boolean, message)
end

#add_role(role = nil) ⇒ Object



173
174
175
176
# File 'lib/softlayer/user/customer.rb', line 173

def add_role(role = nil)
  message = {role: role}
  request(:add_role, nil, message)
end

#add_virtual_guest_access(virtual_guest_id = nil) ⇒ Object



178
179
180
181
# File 'lib/softlayer/user/customer.rb', line 178

def add_virtual_guest_access(virtual_guest_id = nil)
  message = {virtual_guest_id: virtual_guest_id}
  request(:add_virtual_guest_access, Boolean, message)
end

#change_preference(preference_type_key_name = nil, value = nil) ⇒ Object



183
184
185
186
# File 'lib/softlayer/user/customer.rb', line 183

def change_preference(preference_type_key_name = nil, value = nil)
  message = {preference_type_key_name: preference_type_key_name, value: value}
  request(:change_preference, Array[Softlayer::User::Preference], message)
end

#create_notification_subscriber(key_name = nil, resource_table_id = nil) ⇒ Object



193
194
195
196
# File 'lib/softlayer/user/customer.rb', line 193

def create_notification_subscriber(key_name = nil, resource_table_id = nil)
  message = {key_name: key_name, resource_table_id: resource_table_id}
  request(:create_notification_subscriber, Boolean, message)
end

#create_subscriber_delivery_methods(notification_key_name = nil, delivery_method_key_names = nil) ⇒ Object



203
204
205
206
# File 'lib/softlayer/user/customer.rb', line 203

def create_subscriber_delivery_methods(notification_key_name = nil, delivery_method_key_names = nil)
  message = {notification_key_name: notification_key_name, delivery_method_key_names: delivery_method_key_names}
  request(:create_subscriber_delivery_methods, Boolean, message)
end

#deactivate_notification_subscriber(key_name = nil, resource_table_id = nil) ⇒ Object



208
209
210
211
# File 'lib/softlayer/user/customer.rb', line 208

def deactivate_notification_subscriber(key_name = nil, resource_table_id = nil)
  message = {key_name: key_name, resource_table_id: resource_table_id}
  request(:deactivate_notification_subscriber, Boolean, message)
end

#edit_object(template_object = nil) ⇒ Object



213
214
215
216
# File 'lib/softlayer/user/customer.rb', line 213

def edit_object(template_object = nil)
  message = {template_object: template_object}
  request(:edit_object, Boolean, message)
end

#find_user_preference(profile_name = nil, container_keyname = nil, preference_keyname = nil) ⇒ Object



223
224
225
226
# File 'lib/softlayer/user/customer.rb', line 223

def find_user_preference(profile_name = nil, container_keyname = nil, preference_keyname = nil)
  message = {profile_name: profile_name, container_keyname: container_keyname, preference_keyname: preference_keyname}
  request(:find_user_preference, Array[Softlayer::Layout::Profile], message)
end

#get_accountObject



228
229
230
# File 'lib/softlayer/user/customer.rb', line 228

def 
  request(:get_account, Softlayer::Account)
end

#get_actionsObject



232
233
234
# File 'lib/softlayer/user/customer.rb', line 232

def get_actions
  request(:get_actions, Array[Softlayer::User::Permission::Action])
end

#get_additional_emailsObject



240
241
242
# File 'lib/softlayer/user/customer.rb', line 240

def get_additional_emails
  request(:get_additional_emails, Array[Softlayer::User::Customer::AdditionalEmail])
end

#get_allowed_hardware_idsObject



244
245
246
# File 'lib/softlayer/user/customer.rb', line 244

def get_allowed_hardware_ids
  request(:get_allowed_hardware_ids, Array[Integer])
end

#get_allowed_virtual_guest_idsObject



248
249
250
# File 'lib/softlayer/user/customer.rb', line 248

def get_allowed_virtual_guest_ids
  request(:get_allowed_virtual_guest_ids, Array[Integer])
end

#get_api_authentication_keysObject



252
253
254
# File 'lib/softlayer/user/customer.rb', line 252

def get_api_authentication_keys
  request(:get_api_authentication_keys, Array[Softlayer::User::Customer::ApiAuthentication])
end

#get_authentication_token(token = nil) ⇒ Object



256
257
258
259
# File 'lib/softlayer/user/customer.rb', line 256

def get_authentication_token(token = nil)
  message = {token: token}
  request(:get_authentication_token, Softlayer::Container::User::Authentication::Token, message)
end

#get_cdn_accountsObject



261
262
263
# File 'lib/softlayer/user/customer.rb', line 261

def get_cdn_accounts
  request(:get_cdn_accounts, Array[Softlayer::Network::ContentDelivery::Account])
end

#get_child_usersObject



265
266
267
# File 'lib/softlayer/user/customer.rb', line 265

def get_child_users
  request(:get_child_users, Array[Softlayer::User::Customer])
end

#get_closed_ticketsObject



269
270
271
# File 'lib/softlayer/user/customer.rb', line 269

def get_closed_tickets
  request(:get_closed_tickets, Array[Softlayer::Ticket])
end

#get_external_bindingsObject



278
279
280
# File 'lib/softlayer/user/customer.rb', line 278

def get_external_bindings
  request(:get_external_bindings, Array[Softlayer::User::External::Binding])
end

#get_hardwareObject



282
283
284
# File 'lib/softlayer/user/customer.rb', line 282

def get_hardware
  request(:get_hardware, Array[Softlayer::Hardware])
end

#get_hardware_countObject



286
287
288
# File 'lib/softlayer/user/customer.rb', line 286

def get_hardware_count
  request(:get_hardware_count, Integer)
end

#get_hardware_notificationsObject



290
291
292
# File 'lib/softlayer/user/customer.rb', line 290

def get_hardware_notifications
  request(:get_hardware_notifications, Array[Softlayer::User::Customer::Notification::Hardware])
end

#get_has_acknowledged_support_policy_flagObject



294
295
296
# File 'lib/softlayer/user/customer.rb', line 294

def get_has_acknowledged_support_policy_flag
  request(:get_has_acknowledged_support_policy_flag, Boolean)
end

#get_has_full_hardware_access_flagObject



298
299
300
# File 'lib/softlayer/user/customer.rb', line 298

def get_has_full_hardware_access_flag
  request(:get_has_full_hardware_access_flag, Boolean)
end

#get_has_full_virtual_guest_access_flagObject



302
303
304
# File 'lib/softlayer/user/customer.rb', line 302

def get_has_full_virtual_guest_access_flag
  request(:get_has_full_virtual_guest_access_flag, Boolean)
end

#get_impersonation_tokenObject



306
307
308
# File 'lib/softlayer/user/customer.rb', line 306

def get_impersonation_token
  request(:get_impersonation_token, String)
end

#get_layout_profilesObject



310
311
312
# File 'lib/softlayer/user/customer.rb', line 310

def get_layout_profiles
  request(:get_layout_profiles, Array[Softlayer::Layout::Profile])
end

#get_localeObject



314
315
316
# File 'lib/softlayer/user/customer.rb', line 314

def get_locale
  request(:get_locale, Softlayer::Locale)
end

#get_login_attemptsObject



318
319
320
# File 'lib/softlayer/user/customer.rb', line 318

def 
  request(:get_login_attempts, Array[Softlayer::User::Customer::Access::Authentication])
end

#get_mobile_devicesObject



322
323
324
# File 'lib/softlayer/user/customer.rb', line 322

def get_mobile_devices
  request(:get_mobile_devices, Array[Softlayer::User::Customer::MobileDevice])
end

#get_notification_subscribersObject



326
327
328
# File 'lib/softlayer/user/customer.rb', line 326

def get_notification_subscribers
  request(:get_notification_subscribers, Array[Softlayer::Notification::Subscriber])
end

#get_objectObject



330
331
332
# File 'lib/softlayer/user/customer.rb', line 330

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

#get_open_ticketsObject



334
335
336
# File 'lib/softlayer/user/customer.rb', line 334

def get_open_tickets
  request(:get_open_tickets, Array[Softlayer::Ticket])
end

#get_overridesObject



338
339
340
# File 'lib/softlayer/user/customer.rb', line 338

def get_overrides
  request(:get_overrides, Array[Softlayer::Network::Service::Vpn::Overrides])
end

#get_parentObject



342
343
344
# File 'lib/softlayer/user/customer.rb', line 342

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

#get_permissionsObject



346
347
348
# File 'lib/softlayer/user/customer.rb', line 346

def get_permissions
  request(:get_permissions, Array[Softlayer::User::Customer::CustomerPermission::Permission])
end

#get_preference(preference_type_key_name = nil) ⇒ Object



355
356
357
358
# File 'lib/softlayer/user/customer.rb', line 355

def get_preference(preference_type_key_name = nil)
  message = {preference_type_key_name: preference_type_key_name}
  request(:get_preference, Softlayer::User::Preference, message)
end

#get_preference_typesObject



360
361
362
# File 'lib/softlayer/user/customer.rb', line 360

def get_preference_types
  request(:get_preference_types, Array[Softlayer::User::Preference::Type])
end

#get_preferencesObject



364
365
366
# File 'lib/softlayer/user/customer.rb', line 364

def get_preferences
  request(:get_preferences, Array[Softlayer::User::Preference])
end

#get_rolesObject



368
369
370
# File 'lib/softlayer/user/customer.rb', line 368

def get_roles
  request(:get_roles, Array[Softlayer::User::Permission::Role])
end


372
373
374
# File 'lib/softlayer/user/customer.rb', line 372

def get_salesforce_user_link
  request(:get_salesforce_user_link, Softlayer::User::Customer::Link)
end

#get_security_answersObject



376
377
378
# File 'lib/softlayer/user/customer.rb', line 376

def get_security_answers
  request(:get_security_answers, Array[Softlayer::User::Customer::Security::Answer])
end

#get_subscribersObject



380
381
382
# File 'lib/softlayer/user/customer.rb', line 380

def get_subscribers
  request(:get_subscribers, Array[Softlayer::Notification::User::Subscriber])
end

#get_successful_loginsObject



384
385
386
# File 'lib/softlayer/user/customer.rb', line 384

def get_successful_logins
  request(:get_successful_logins, Array[Softlayer::User::Customer::Access::Authentication])
end

#get_support_policy_acknowledgement_required_flagObject



388
389
390
# File 'lib/softlayer/user/customer.rb', line 388

def get_support_policy_acknowledgement_required_flag
  request(:get_support_policy_acknowledgement_required_flag, Integer)
end

#get_support_policy_documentObject



392
393
394
# File 'lib/softlayer/user/customer.rb', line 392

def get_support_policy_document
  request(:get_support_policy_document, Softlayer::Base64Binary)
end

#get_support_policy_nameObject



396
397
398
# File 'lib/softlayer/user/customer.rb', line 396

def get_support_policy_name
  request(:get_support_policy_name, String)
end

#get_supported_localesObject



400
401
402
# File 'lib/softlayer/user/customer.rb', line 400

def get_supported_locales
  request(:get_supported_locales, Array[Softlayer::Locale])
end

#get_survey_required_flagObject



404
405
406
# File 'lib/softlayer/user/customer.rb', line 404

def get_survey_required_flag
  request(:get_survey_required_flag, Boolean)
end

#get_surveysObject



408
409
410
# File 'lib/softlayer/user/customer.rb', line 408

def get_surveys
  request(:get_surveys, Array[Softlayer::Survey])
end

#get_ticketsObject



412
413
414
# File 'lib/softlayer/user/customer.rb', line 412

def get_tickets
  request(:get_tickets, Array[Softlayer::Ticket])
end

#get_timezoneObject



416
417
418
# File 'lib/softlayer/user/customer.rb', line 416

def get_timezone
  request(:get_timezone, Softlayer::Locale::Timezone)
end

#get_unsuccessful_loginsObject



420
421
422
# File 'lib/softlayer/user/customer.rb', line 420

def get_unsuccessful_logins
  request(:get_unsuccessful_logins, Array[Softlayer::User::Customer::Access::Authentication])
end


429
430
431
# File 'lib/softlayer/user/customer.rb', line 429

def get_user_links
  request(:get_user_links, Array[Softlayer::User::Customer::Link])
end

#get_user_preferences(profile_name = nil, container_keyname = nil) ⇒ Object



433
434
435
436
# File 'lib/softlayer/user/customer.rb', line 433

def get_user_preferences(profile_name = nil, container_keyname = nil)
  message = {profile_name: profile_name, container_keyname: container_keyname}
  request(:get_user_preferences, Array[Softlayer::Layout::Profile], message)
end

#get_user_statusObject



438
439
440
# File 'lib/softlayer/user/customer.rb', line 438

def get_user_status
  request(:get_user_status, Softlayer::User::Customer::Status)
end

#get_virtual_guest_countObject



442
443
444
# File 'lib/softlayer/user/customer.rb', line 442

def get_virtual_guest_count
  request(:get_virtual_guest_count, Integer)
end

#get_virtual_guestsObject



446
447
448
# File 'lib/softlayer/user/customer.rb', line 446

def get_virtual_guests
  request(:get_virtual_guests, Array[Softlayer::Virtual::Guest])
end

#in_terminal_statusObject



450
451
452
# File 'lib/softlayer/user/customer.rb', line 450

def in_terminal_status
  request(:in_terminal_status, Boolean)
end

#is_master_userObject



459
460
461
# File 'lib/softlayer/user/customer.rb', line 459

def is_master_user
  request(:is_master_user, Boolean)
end

#is_valid_forum_password(password = nil) ⇒ Object



463
464
465
466
# File 'lib/softlayer/user/customer.rb', line 463

def is_valid_forum_password(password = nil)
  message = {password: password}
  request(:is_valid_forum_password, Boolean, message)
end

#is_valid_portal_password(password = nil) ⇒ Object



468
469
470
471
# File 'lib/softlayer/user/customer.rb', line 468

def is_valid_portal_password(password = nil)
  message = {password: password}
  request(:is_valid_portal_password, Boolean, message)
end

#remove_all_hardware_access_for_this_userObject



483
484
485
# File 'lib/softlayer/user/customer.rb', line 483

def remove_all_hardware_access_for_this_user
  request(:remove_all_hardware_access_for_this_user, Boolean)
end

#remove_all_virtual_access_for_this_userObject



487
488
489
# File 'lib/softlayer/user/customer.rb', line 487

def remove_all_virtual_access_for_this_user
  request(:remove_all_virtual_access_for_this_user, Boolean)
end

#remove_bulk_hardware_access(hardware_ids = nil) ⇒ Object



496
497
498
499
# File 'lib/softlayer/user/customer.rb', line 496

def remove_bulk_hardware_access(hardware_ids = nil)
  message = {hardware_ids: hardware_ids}
  request(:remove_bulk_hardware_access, Boolean, message)
end

#remove_bulk_portal_permission(permissions = nil) ⇒ Object



501
502
503
504
# File 'lib/softlayer/user/customer.rb', line 501

def remove_bulk_portal_permission(permissions = nil)
  message = {permissions: permissions}
  request(:remove_bulk_portal_permission, Boolean, message)
end

#remove_bulk_roles(roles = nil) ⇒ Object



506
507
508
509
# File 'lib/softlayer/user/customer.rb', line 506

def remove_bulk_roles(roles = nil)
  message = {roles: roles}
  request(:remove_bulk_roles, nil, message)
end

#remove_bulk_virtual_guest_access(virtual_guest_ids = nil) ⇒ Object



511
512
513
514
# File 'lib/softlayer/user/customer.rb', line 511

def remove_bulk_virtual_guest_access(virtual_guest_ids = nil)
  message = {virtual_guest_ids: virtual_guest_ids}
  request(:remove_bulk_virtual_guest_access, Boolean, message)
end

#remove_external_binding(external_binding = nil) ⇒ Object



516
517
518
519
# File 'lib/softlayer/user/customer.rb', line 516

def remove_external_binding(external_binding = nil)
  message = {external_binding: external_binding}
  request(:remove_external_binding, Boolean, message)
end

#remove_hardware_access(hardware_id = nil) ⇒ Object



521
522
523
524
# File 'lib/softlayer/user/customer.rb', line 521

def remove_hardware_access(hardware_id = nil)
  message = {hardware_id: hardware_id}
  request(:remove_hardware_access, Boolean, message)
end

#remove_portal_permission(permission = nil) ⇒ Object



526
527
528
529
# File 'lib/softlayer/user/customer.rb', line 526

def remove_portal_permission(permission = nil)
  message = {permission: permission}
  request(:remove_portal_permission, Boolean, message)
end

#remove_role(role = nil) ⇒ Object



531
532
533
534
# File 'lib/softlayer/user/customer.rb', line 531

def remove_role(role = nil)
  message = {role: role}
  request(:remove_role, nil, message)
end

#remove_virtual_guest_access(virtual_guest_id = nil) ⇒ Object



536
537
538
539
# File 'lib/softlayer/user/customer.rb', line 536

def remove_virtual_guest_access(virtual_guest_id = nil)
  message = {virtual_guest_id: virtual_guest_id}
  request(:remove_virtual_guest_access, Boolean, message)
end

#saml_begin_logoutObject



556
557
558
# File 'lib/softlayer/user/customer.rb', line 556

def saml_begin_logout
  request(:saml_begin_logout, String)
end

#saml_logout(saml_response = nil) ⇒ Object



560
561
562
563
# File 'lib/softlayer/user/customer.rb', line 560

def saml_logout(saml_response = nil)
  message = {saml_response: saml_response}
  request(:saml_logout, nil, message)
end

#update_forum_password(password = nil) ⇒ Object



570
571
572
573
# File 'lib/softlayer/user/customer.rb', line 570

def update_forum_password(password = nil)
  message = {password: password}
  request(:update_forum_password, Boolean, message)
end

#update_notification_subscriber(notification_key_name = nil, active = nil) ⇒ Object



575
576
577
578
# File 'lib/softlayer/user/customer.rb', line 575

def update_notification_subscriber(notification_key_name = nil, active = nil)
  message = {notification_key_name: notification_key_name, active: active}
  request(:update_notification_subscriber, Boolean, message)
end

#update_password(password = nil) ⇒ Object



580
581
582
583
# File 'lib/softlayer/user/customer.rb', line 580

def update_password(password = nil)
  message = {password: password}
  request(:update_password, Boolean, message)
end

#update_security_answers(questions = nil, answers = nil) ⇒ Object



585
586
587
588
# File 'lib/softlayer/user/customer.rb', line 585

def update_security_answers(questions = nil, answers = nil)
  message = {questions: questions, answers: answers}
  request(:update_security_answers, Boolean, message)
end

#update_subscriber_delivery_method(notification_key_name = nil, delivery_method_key_names = nil, active = nil) ⇒ Object



590
591
592
593
# File 'lib/softlayer/user/customer.rb', line 590

def update_subscriber_delivery_method(notification_key_name = nil, delivery_method_key_names = nil, active = nil)
  message = {notification_key_name: notification_key_name, delivery_method_key_names: delivery_method_key_names, active: active}
  request(:update_subscriber_delivery_method, Boolean, message)
end

#update_vpn_password(password = nil) ⇒ Object



595
596
597
598
# File 'lib/softlayer/user/customer.rb', line 595

def update_vpn_password(password = nil)
  message = {password: password}
  request(:update_vpn_password, Boolean, message)
end

#update_vpn_userObject



600
601
602
# File 'lib/softlayer/user/customer.rb', line 600

def update_vpn_user
  request(:update_vpn_user, Boolean)
end