Class: CallRecorderApi::Model::RecoverFileRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(api_key, id, folder_id) ⇒ RecoverFileRequest



10
11
12
13
14
15
16
17
18
# File 'lib/call_recorder_api/model/recover_file_request.rb', line 10

def initialize(
    api_key,
    id,
    folder_id
)
    @api_key = api_key
    @id = id
    @folder_id = folder_id
end

Instance Attribute Details

#api_keyObject

Returns the value of attribute api_key.



6
7
8
# File 'lib/call_recorder_api/model/recover_file_request.rb', line 6

def api_key
  @api_key
end

#folder_idObject

Returns the value of attribute folder_id.



8
9
10
# File 'lib/call_recorder_api/model/recover_file_request.rb', line 8

def folder_id
  @folder_id
end

#idObject

Returns the value of attribute id.



7
8
9
# File 'lib/call_recorder_api/model/recover_file_request.rb', line 7

def id
  @id
end

Instance Method Details

#to_sObject



20
21
22
23
24
25
26
# File 'lib/call_recorder_api/model/recover_file_request.rb', line 20

def to_s
    'RecoverFileRequest{' +
        'api_key=' + api_key.to_s + ', ' +
        'id=' + id.to_s + ', ' +
        'folder_id=' + folder_id.to_s +
    '}'
end