Class: CallRecorderApi::Model::CloneFileRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(api_key, id) ⇒ CloneFileRequest

Returns a new instance of CloneFileRequest.



9
10
11
12
13
14
15
# File 'lib/call_recorder_api/model/clone_file_request.rb', line 9

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

Instance Attribute Details

#api_keyObject

Returns the value of attribute api_key.



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

def api_key
  @api_key
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

Instance Method Details

#to_sObject



17
18
19
20
21
22
# File 'lib/call_recorder_api/model/clone_file_request.rb', line 17

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