Class: CallRecorderApi::Model::CreateFileResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(status, id, msg) ⇒ CreateFileResponse

Returns a new instance of CreateFileResponse.



10
11
12
13
14
15
16
17
18
# File 'lib/call_recorder_api/model/create_file_response.rb', line 10

def initialize(
    status,
    id,
    msg
)
    @status = status
    @id = id
    @msg = msg
end

Instance Attribute Details

#idObject

Returns the value of attribute id.



7
8
9
# File 'lib/call_recorder_api/model/create_file_response.rb', line 7

def id
  @id
end

#msgObject

Returns the value of attribute msg.



8
9
10
# File 'lib/call_recorder_api/model/create_file_response.rb', line 8

def msg
  @msg
end

#statusObject

Returns the value of attribute status.



6
7
8
# File 'lib/call_recorder_api/model/create_file_response.rb', line 6

def status
  @status
end

Instance Method Details

#to_sObject



20
21
22
23
24
25
26
# File 'lib/call_recorder_api/model/create_file_response.rb', line 20

def to_s
    'CreateFileResponse{' +
        'status=' + status.to_s + ', ' +
        'id=' + id.to_s + ', ' +
        'msg=' + msg.to_s +
    '}'
end