Class: CallRecorderApi::Model::UploadMetaFileRequest
- Inherits:
-
Object
- Object
- CallRecorderApi::Model::UploadMetaFileRequest
- Defined in:
- lib/call_recorder_api/model/upload_meta_file_request.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#file ⇒ Object
Returns the value of attribute file.
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#parent_id ⇒ Object
Returns the value of attribute parent_id.
Instance Method Summary collapse
-
#initialize(api_key, file, name, parent_id, id) ⇒ UploadMetaFileRequest
constructor
A new instance of UploadMetaFileRequest.
- #to_s ⇒ Object
Constructor Details
#initialize(api_key, file, name, parent_id, id) ⇒ UploadMetaFileRequest
Returns a new instance of UploadMetaFileRequest.
12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/call_recorder_api/model/upload_meta_file_request.rb', line 12 def initialize( api_key, file, name, parent_id, id ) @api_key = api_key @file = file @name = name @parent_id = parent_id @id = id end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
6 7 8 |
# File 'lib/call_recorder_api/model/upload_meta_file_request.rb', line 6 def api_key @api_key end |
#file ⇒ Object
Returns the value of attribute file.
7 8 9 |
# File 'lib/call_recorder_api/model/upload_meta_file_request.rb', line 7 def file @file end |
#id ⇒ Object
Returns the value of attribute id.
10 11 12 |
# File 'lib/call_recorder_api/model/upload_meta_file_request.rb', line 10 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
8 9 10 |
# File 'lib/call_recorder_api/model/upload_meta_file_request.rb', line 8 def name @name end |
#parent_id ⇒ Object
Returns the value of attribute parent_id.
9 10 11 |
# File 'lib/call_recorder_api/model/upload_meta_file_request.rb', line 9 def parent_id @parent_id end |
Instance Method Details
#to_s ⇒ Object
26 27 28 29 30 31 32 33 34 |
# File 'lib/call_recorder_api/model/upload_meta_file_request.rb', line 26 def to_s 'UploadMetaFileRequest{' + 'api_key=' + api_key.to_s + ', ' + 'file=' + file.to_s + ', ' + 'name=' + name.to_s + ', ' + 'parent_id=' + parent_id.to_s + ', ' + 'id=' + id.to_s + '}' end |