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