Class: CallRecorderApi::Model::GetProfileResponseProfile

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(f_name, l_name, email, phone, pic, language, is_public, play_beep, max_length, time_zone, time, pin) ⇒ GetProfileResponseProfile

Returns a new instance of GetProfileResponseProfile.



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/get_profile_response_profile.rb', line 19

def initialize(
    f_name,
    l_name,
    email,
    phone,
    pic,
    language,
    is_public,
    play_beep,
    max_length,
    time_zone,
    time,
    pin
)
    @f_name = f_name
    @l_name = l_name
    @email = email
    @phone = phone
    @pic = pic
    @language = language
    @is_public = is_public
    @play_beep = play_beep
    @max_length = max_length
    @time_zone = time_zone
    @time = time
    @pin = pin
end

Instance Attribute Details

#emailObject

Returns the value of attribute email.



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

def email
  @email
end

#f_nameObject

Returns the value of attribute f_name.



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

def f_name
  @f_name
end

#is_publicObject

Returns the value of attribute is_public.



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

def is_public
  @is_public
end

#l_nameObject

Returns the value of attribute l_name.



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

def l_name
  @l_name
end

#languageObject

Returns the value of attribute language.



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

def language
  @language
end

#max_lengthObject

Returns the value of attribute max_length.



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

def max_length
  @max_length
end

#phoneObject

Returns the value of attribute phone.



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

def phone
  @phone
end

#picObject

Returns the value of attribute pic.



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

def pic
  @pic
end

#pinObject

Returns the value of attribute pin.



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

def pin
  @pin
end

#play_beepObject

Returns the value of attribute play_beep.



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

def play_beep
  @play_beep
end

#timeObject

Returns the value of attribute time.



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

def time
  @time
end

#time_zoneObject

Returns the value of attribute time_zone.



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

def time_zone
  @time_zone
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/get_profile_response_profile.rb', line 47

def to_s
    'GetProfileResponseProfile{' +
        'f_name=' + f_name.to_s + ', ' +
        'l_name=' + l_name.to_s + ', ' +
        'email=' + email.to_s + ', ' +
        'phone=' + phone.to_s + ', ' +
        'pic=' + pic.to_s + ', ' +
        'language=' + language.to_s + ', ' +
        'is_public=' + is_public.to_s + ', ' +
        'play_beep=' + play_beep.to_s + ', ' +
        'max_length=' + max_length.to_s + ', ' +
        'time_zone=' + time_zone.to_s + ', ' +
        'time=' + time.to_s + ', ' +
        'pin=' + pin.to_s +
    '}'
end