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