Class: CallRecorderApi::Model::UpdateProfileRequestData

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(f_name, l_name, email, is_public, language) ⇒ UpdateProfileRequestData

Returns a new instance of UpdateProfileRequestData.



12
13
14
15
16
17
18
19
20
21
22
23
24
# File 'lib/call_recorder_api/model/update_profile_request_data.rb', line 12

def initialize(
    f_name,
    l_name,
    email,
    is_public,
    language
)
    @f_name = f_name
    @l_name = l_name
    @email = email
    @is_public = is_public
    @language = language
end

Instance Attribute Details

#emailObject

Returns the value of attribute email.



8
9
10
# File 'lib/call_recorder_api/model/update_profile_request_data.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/update_profile_request_data.rb', line 6

def f_name
  @f_name
end

#is_publicObject

Returns the value of attribute is_public.



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

def is_public
  @is_public
end

#l_nameObject

Returns the value of attribute l_name.



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

def l_name
  @l_name
end

#languageObject

Returns the value of attribute language.



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

def language
  @language
end

Instance Method Details

#to_sObject



26
27
28
29
30
31
32
33
34
# File 'lib/call_recorder_api/model/update_profile_request_data.rb', line 26

def to_s
    'UpdateProfileRequestData{' +
        'f_name=' + f_name.to_s + ', ' +
        'l_name=' + l_name.to_s + ', ' +
        'email=' + email.to_s + ', ' +
        'is_public=' + is_public.to_s + ', ' +
        'language=' + language.to_s +
    '}'
end