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