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