Class: CallRecorderApi::Model::CreateFileData

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, email, phone, l_name, f_name, notes, tags, source, remind_days, remind_date) ⇒ CreateFileData

Returns a new instance of CreateFileData.



17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# File 'lib/call_recorder_api/model/create_file_data.rb', line 17

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

Instance Attribute Details

#emailObject

Returns the value of attribute email.



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

def email
  @email
end

#f_nameObject

Returns the value of attribute f_name.



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

def f_name
  @f_name
end

#l_nameObject

Returns the value of attribute l_name.



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

def l_name
  @l_name
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#notesObject

Returns the value of attribute notes.



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

def notes
  @notes
end

#phoneObject

Returns the value of attribute phone.



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

def phone
  @phone
end

#remind_dateObject

Returns the value of attribute remind_date.



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

def remind_date
  @remind_date
end

#remind_daysObject

Returns the value of attribute remind_days.



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

def remind_days
  @remind_days
end

#sourceObject

Returns the value of attribute source.



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

def source
  @source
end

#tagsObject

Returns the value of attribute tags.



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

def tags
  @tags
end

Instance Method Details

#to_sObject



41
42
43
44
45
46
47
48
49
50
51
52
53
54
# File 'lib/call_recorder_api/model/create_file_data.rb', line 41

def to_s
    'CreateFileData{' +
        'name=' + name.to_s + ', ' +
        'email=' + email.to_s + ', ' +
        'phone=' + phone.to_s + ', ' +
        'l_name=' + l_name.to_s + ', ' +
        'f_name=' + f_name.to_s + ', ' +
        'notes=' + notes.to_s + ', ' +
        'tags=' + tags.to_s + ', ' +
        'source=' + source.to_s + ', ' +
        'remind_days=' + remind_days.to_s + ', ' +
        'remind_date=' + remind_date.to_s +
    '}'
end