Class: CallRecorderApi::Model::VerifyPhoneRequest
- Inherits:
-
Object
- Object
- CallRecorderApi::Model::VerifyPhoneRequest
- Defined in:
- lib/call_recorder_api/model/verify_phone_request.rb
Instance Attribute Summary collapse
-
#app ⇒ Object
Returns the value of attribute app.
-
#code ⇒ Object
Returns the value of attribute code.
-
#device_id ⇒ Object
Returns the value of attribute device_id.
-
#device_token ⇒ Object
Returns the value of attribute device_token.
-
#device_type ⇒ Object
Returns the value of attribute device_type.
-
#mcc ⇒ Object
Returns the value of attribute mcc.
-
#phone ⇒ Object
Returns the value of attribute phone.
-
#time_zone ⇒ Object
Returns the value of attribute time_zone.
-
#token ⇒ Object
Returns the value of attribute token.
Instance Method Summary collapse
-
#initialize(token, phone, code, mcc, app, device_token, device_id, device_type, time_zone) ⇒ VerifyPhoneRequest
constructor
A new instance of VerifyPhoneRequest.
- #to_s ⇒ Object
Constructor Details
#initialize(token, phone, code, mcc, app, device_token, device_id, device_type, time_zone) ⇒ VerifyPhoneRequest
Returns a new instance of VerifyPhoneRequest.
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
# File 'lib/call_recorder_api/model/verify_phone_request.rb', line 16 def initialize( token, phone, code, mcc, app, device_token, device_id, device_type, time_zone ) @token = token @phone = phone @code = code @mcc = mcc @app = app @device_token = device_token @device_id = device_id @device_type = device_type @time_zone = time_zone end |
Instance Attribute Details
#app ⇒ Object
Returns the value of attribute app.
10 11 12 |
# File 'lib/call_recorder_api/model/verify_phone_request.rb', line 10 def app @app end |
#code ⇒ Object
Returns the value of attribute code.
8 9 10 |
# File 'lib/call_recorder_api/model/verify_phone_request.rb', line 8 def code @code end |
#device_id ⇒ Object
Returns the value of attribute device_id.
12 13 14 |
# File 'lib/call_recorder_api/model/verify_phone_request.rb', line 12 def device_id @device_id end |
#device_token ⇒ Object
Returns the value of attribute device_token.
11 12 13 |
# File 'lib/call_recorder_api/model/verify_phone_request.rb', line 11 def device_token @device_token end |
#device_type ⇒ Object
Returns the value of attribute device_type.
13 14 15 |
# File 'lib/call_recorder_api/model/verify_phone_request.rb', line 13 def device_type @device_type end |
#mcc ⇒ Object
Returns the value of attribute mcc.
9 10 11 |
# File 'lib/call_recorder_api/model/verify_phone_request.rb', line 9 def mcc @mcc end |
#phone ⇒ Object
Returns the value of attribute phone.
7 8 9 |
# File 'lib/call_recorder_api/model/verify_phone_request.rb', line 7 def phone @phone end |
#time_zone ⇒ Object
Returns the value of attribute time_zone.
14 15 16 |
# File 'lib/call_recorder_api/model/verify_phone_request.rb', line 14 def time_zone @time_zone end |
#token ⇒ Object
Returns the value of attribute token.
6 7 8 |
# File 'lib/call_recorder_api/model/verify_phone_request.rb', line 6 def token @token end |
Instance Method Details
#to_s ⇒ Object
38 39 40 41 42 43 44 45 46 47 48 49 50 |
# File 'lib/call_recorder_api/model/verify_phone_request.rb', line 38 def to_s 'VerifyPhoneRequest{' + 'token=' + token.to_s + ', ' + 'phone=' + phone.to_s + ', ' + 'code=' + code.to_s + ', ' + 'mcc=' + mcc.to_s + ', ' + 'app=' + app.to_s + ', ' + 'device_token=' + device_token.to_s + ', ' + 'device_id=' + device_id.to_s + ', ' + 'device_type=' + device_type.to_s + ', ' + 'time_zone=' + time_zone.to_s + '}' end |