Class: CallRecorderApi::Model::GetMessagesResponseMsg

Inherits:
Object
  • Object
show all
Defined in:
lib/call_recorder_api/model/get_messages_response_msg.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#bodyObject

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

#idObject

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

#timeObject

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

#titleObject

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_sObject



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