Class: CallRecorderApi::Model::UpdateFileRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(api_key, id, f_name, l_name, notes, email, phone, tags, folder_id, name, remind_days, remind_date) ⇒ UpdateFileRequest

Returns a new instance of UpdateFileRequest.



19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# File 'lib/call_recorder_api/model/update_file_request.rb', line 19

def initialize(
    api_key,
    id,
    f_name,
    l_name,
    notes,
    email,
    phone,
    tags,
    folder_id,
    name,
    remind_days,
    remind_date
)
    @api_key = api_key
    @id = id
    @f_name = f_name
    @l_name = l_name
    @notes = notes
    @email = email
    @phone = phone
    @tags = tags
    @folder_id = folder_id
    @name = name
    @remind_days = remind_days
    @remind_date = remind_date
end

Instance Attribute Details

#api_keyObject

Returns the value of attribute api_key.



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

def api_key
  @api_key
end

#emailObject

Returns the value of attribute email.



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

def email
  @email
end

#f_nameObject

Returns the value of attribute f_name.



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

def f_name
  @f_name
end

#folder_idObject

Returns the value of attribute folder_id.



14
15
16
# File 'lib/call_recorder_api/model/update_file_request.rb', line 14

def folder_id
  @folder_id
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#l_nameObject

Returns the value of attribute l_name.



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

def l_name
  @l_name
end

#nameObject

Returns the value of attribute name.



15
16
17
# File 'lib/call_recorder_api/model/update_file_request.rb', line 15

def name
  @name
end

#notesObject

Returns the value of attribute notes.



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

def notes
  @notes
end

#phoneObject

Returns the value of attribute phone.



12
13
14
# File 'lib/call_recorder_api/model/update_file_request.rb', line 12

def phone
  @phone
end

#remind_dateObject

Returns the value of attribute remind_date.



17
18
19
# File 'lib/call_recorder_api/model/update_file_request.rb', line 17

def remind_date
  @remind_date
end

#remind_daysObject

Returns the value of attribute remind_days.



16
17
18
# File 'lib/call_recorder_api/model/update_file_request.rb', line 16

def remind_days
  @remind_days
end

#tagsObject

Returns the value of attribute tags.



13
14
15
# File 'lib/call_recorder_api/model/update_file_request.rb', line 13

def tags
  @tags
end

Instance Method Details

#to_sObject



47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# File 'lib/call_recorder_api/model/update_file_request.rb', line 47

def to_s
    'UpdateFileRequest{' +
        'api_key=' + api_key.to_s + ', ' +
        'id=' + id.to_s + ', ' +
        'f_name=' + f_name.to_s + ', ' +
        'l_name=' + l_name.to_s + ', ' +
        'notes=' + notes.to_s + ', ' +
        'email=' + email.to_s + ', ' +
        'phone=' + phone.to_s + ', ' +
        'tags=' + tags.to_s + ', ' +
        'folder_id=' + folder_id.to_s + ', ' +
        'name=' + name.to_s + ', ' +
        'remind_days=' + remind_days.to_s + ', ' +
        'remind_date=' + remind_date.to_s +
    '}'
end