Class: CallRecorderApi::Model::GetMetaFilesResponseMetaFiles

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id, parent_id, name, file, user_id, time) ⇒ GetMetaFilesResponseMetaFiles

Returns a new instance of GetMetaFilesResponseMetaFiles.



13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/call_recorder_api/model/get_meta_files_response_meta_files.rb', line 13

def initialize(
    id,
    parent_id,
    name,
    file,
    user_id,
    time
)
    @id = id
    @parent_id = parent_id
    @name = name
    @file = file
    @user_id = user_id
    @time = time
end

Instance Attribute Details

#fileObject

Returns the value of attribute file.



9
10
11
# File 'lib/call_recorder_api/model/get_meta_files_response_meta_files.rb', line 9

def file
  @file
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#parent_idObject

Returns the value of attribute parent_id.



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

def parent_id
  @parent_id
end

#timeObject

Returns the value of attribute time.



11
12
13
# File 'lib/call_recorder_api/model/get_meta_files_response_meta_files.rb', line 11

def time
  @time
end

#user_idObject

Returns the value of attribute user_id.



10
11
12
# File 'lib/call_recorder_api/model/get_meta_files_response_meta_files.rb', line 10

def user_id
  @user_id
end

Instance Method Details

#to_sObject



29
30
31
32
33
34
35
36
37
38
# File 'lib/call_recorder_api/model/get_meta_files_response_meta_files.rb', line 29

def to_s
    'GetMetaFilesResponseMetaFiles{' +
        'id=' + id.to_s + ', ' +
        'parent_id=' + parent_id.to_s + ', ' +
        'name=' + name.to_s + ', ' +
        'file=' + file.to_s + ', ' +
        'user_id=' + user_id.to_s + ', ' +
        'time=' + time.to_s +
    '}'
end