Class: CallRecorderApi::Model::UpdateDeviceTokenRequest
- Inherits:
-
Object
- Object
- CallRecorderApi::Model::UpdateDeviceTokenRequest
- Defined in:
- lib/call_recorder_api/model/update_device_token_request.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#device_token ⇒ Object
Returns the value of attribute device_token.
-
#device_type ⇒ Object
Returns the value of attribute device_type.
Instance Method Summary collapse
-
#initialize(api_key, device_token, device_type) ⇒ UpdateDeviceTokenRequest
constructor
A new instance of UpdateDeviceTokenRequest.
- #to_s ⇒ Object
Constructor Details
#initialize(api_key, device_token, device_type) ⇒ UpdateDeviceTokenRequest
Returns a new instance of UpdateDeviceTokenRequest.
10 11 12 13 14 15 16 17 18 |
# File 'lib/call_recorder_api/model/update_device_token_request.rb', line 10 def initialize( api_key, device_token, device_type ) @api_key = api_key @device_token = device_token @device_type = device_type end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
6 7 8 |
# File 'lib/call_recorder_api/model/update_device_token_request.rb', line 6 def api_key @api_key end |
#device_token ⇒ Object
Returns the value of attribute device_token.
7 8 9 |
# File 'lib/call_recorder_api/model/update_device_token_request.rb', line 7 def device_token @device_token end |
#device_type ⇒ Object
Returns the value of attribute device_type.
8 9 10 |
# File 'lib/call_recorder_api/model/update_device_token_request.rb', line 8 def device_type @device_type end |
Instance Method Details
#to_s ⇒ Object
20 21 22 23 24 25 26 |
# File 'lib/call_recorder_api/model/update_device_token_request.rb', line 20 def to_s 'UpdateDeviceTokenRequest{' + 'api_key=' + api_key.to_s + ', ' + 'device_token=' + device_token.to_s + ', ' + 'device_type=' + device_type.to_s + '}' end |