Class: Softlayer::User::Customer::External::Binding::Phone

Inherits:
Softlayer::User::Customer::External::Binding show all
Defined in:
lib/softlayer/user/customer/external/binding/phone.rb

Defined Under Namespace

Classes: Representer

Constant Summary collapse

SERVICE =
'SoftLayer_User_Customer_External_Binding_Phone'

Instance Attribute Summary collapse

Attributes inherited from Softlayer::User::Customer::External::Binding

#user

Attributes inherited from External::Binding

#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

Methods included from Model::Operations

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

Instance Attribute Details

#binding_statusObject

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_lengthObject

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

token



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_objectObject



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

reason



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

def disable(message)
  request(:disable, Boolean, message)
end

#enableObject



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

def enable
  request(:enable, Boolean)
end

#get_all_authentication_modesObject



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_attributesObject



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

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

#get_authentication_modeObject



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

def get_authentication_mode
  request(:get_authentication_mode, Softlayer::Container::User::Customer::External::Binding::Phone::Mode)
end

#get_billing_itemObject



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_statusObject



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_noteObject



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

def get_note
  request(:get_note, String)
end

#get_objectObject



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

def get_object
  request(:get_object, Softlayer::User::Customer::External::Binding::Phone)
end

#get_phone_app_activation_codeObject



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_phone_dataObject



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

def get_phone_data
  request(:get_phone_data, Array[Softlayer::Container::User::Data::Phone])
end

#get_pin_lengthObject



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_typeObject



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

def get_type
  request(:get_type, Softlayer::User::External::Binding::Type)
end

#get_userObject



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

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

#get_vendorObject



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

def get_vendor
  request(:get_vendor, Softlayer::User::External::Binding::Vendor)
end

#request_phone_validation(message) ⇒ Object

phone_data



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

mode



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

text



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

phone_data



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

def update_phone(message)
  request(:update_phone, Boolean, message)
end