Class: CallRecorderApi::Model::UpdateDeviceTokenRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/call_recorder_api/model/update_device_token_request.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_keyObject

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_tokenObject

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_typeObject

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_sObject



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