Class: Softlayer::User::Customer::External::Binding::Phone
Defined Under Namespace
Classes: Representer
Constant Summary
collapse
- SERVICE =
'SoftLayer_User_Customer_External_Binding_Phone'
Instance Attribute Summary collapse
#user
#active, #attribute_count, #attributes, #billing_item, #create_date, #external_id, #id, #note, #password, #type, #type_id, #user_id, #vendor, #vendor_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
extended, #filter, included, #limit, #mask, #request_headers
Instance Attribute Details
#binding_status ⇒ Object
Returns the value of attribute binding_status.
8
9
10
|
# File 'lib/softlayer/user/customer/external/binding/phone.rb', line 8
def binding_status
@binding_status
end
|
#pin_length ⇒ Object
Returns the value of attribute pin_length.
9
10
11
|
# File 'lib/softlayer/user/customer/external/binding/phone.rb', line 9
def pin_length
@pin_length
end
|
Instance Method Details
#check_phone_validation_result(message) ⇒ Object
12
13
14
|
# File 'lib/softlayer/user/customer/external/binding/phone.rb', line 12
def check_phone_validation_result(message)
request(:check_phone_validation_result, Boolean, message)
end
|
#delete_object ⇒ Object
16
17
18
|
# File 'lib/softlayer/user/customer/external/binding/phone.rb', line 16
def delete_object
request(:delete_object, Boolean)
end
|
#disable(message) ⇒ Object
21
22
23
|
# File 'lib/softlayer/user/customer/external/binding/phone.rb', line 21
def disable(message)
request(:disable, Boolean, message)
end
|
#enable ⇒ Object
25
26
27
|
# File 'lib/softlayer/user/customer/external/binding/phone.rb', line 25
def enable
request(:enable, Boolean)
end
|
#get_all_authentication_modes ⇒ Object
29
30
31
|
# File 'lib/softlayer/user/customer/external/binding/phone.rb', line 29
def get_all_authentication_modes
request(:get_all_authentication_modes, Array[String])
end
|
#get_all_authentication_pin_modes(message) ⇒ Object
authentication_mode_key_name
34
35
36
|
# File 'lib/softlayer/user/customer/external/binding/phone.rb', line 34
def get_all_authentication_pin_modes(message)
request(:get_all_authentication_pin_modes, Array[String], message)
end
|
#get_authentication_mode ⇒ Object
#get_billing_item ⇒ Object
46
47
48
|
# File 'lib/softlayer/user/customer/external/binding/phone.rb', line 46
def get_billing_item
request(:get_billing_item, Softlayer::Billing::Item)
end
|
#get_binding_status ⇒ Object
50
51
52
|
# File 'lib/softlayer/user/customer/external/binding/phone.rb', line 50
def get_binding_status
request(:get_binding_status, String)
end
|
#get_note ⇒ Object
54
55
56
|
# File 'lib/softlayer/user/customer/external/binding/phone.rb', line 54
def get_note
request(:get_note, String)
end
|
#get_phone_app_activation_code ⇒ Object
62
63
64
|
# File 'lib/softlayer/user/customer/external/binding/phone.rb', line 62
def get_phone_app_activation_code
request(:get_phone_app_activation_code, Array[Softlayer::User::External::Binding::Attribute])
end
|
#get_pin_length ⇒ Object
70
71
72
|
# File 'lib/softlayer/user/customer/external/binding/phone.rb', line 70
def get_pin_length
request(:get_pin_length, String)
end
|
#get_user ⇒ Object
78
79
80
|
# File 'lib/softlayer/user/customer/external/binding/phone.rb', line 78
def get_user
request(:get_user, Softlayer::User::Customer)
end
|
#request_phone_validation(message) ⇒ Object
87
88
89
|
# File 'lib/softlayer/user/customer/external/binding/phone.rb', line 87
def request_phone_validation(message)
request(:request_phone_validation, String, message)
end
|
#update_authentication_mode(message) ⇒ Object
92
93
94
|
# File 'lib/softlayer/user/customer/external/binding/phone.rb', line 92
def update_authentication_mode(message)
request(:update_authentication_mode, Boolean, message)
end
|
#update_note(message) ⇒ Object
97
98
99
|
# File 'lib/softlayer/user/customer/external/binding/phone.rb', line 97
def update_note(message)
request(:update_note, Boolean, message)
end
|
#update_phone(message) ⇒ Object
102
103
104
|
# File 'lib/softlayer/user/customer/external/binding/phone.rb', line 102
def update_phone(message)
request(:update_phone, Boolean, message)
end
|