Class: CallRecorderApi::Model::UpdateUserRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(api_key, app, time_zone) ⇒ UpdateUserRequest

Returns a new instance of UpdateUserRequest.



10
11
12
13
14
15
16
17
18
# File 'lib/call_recorder_api/model/update_user_request.rb', line 10

def initialize(
    api_key,
    app,
    time_zone
)
    @api_key = api_key
    @app = app
    @time_zone = time_zone
end

Instance Attribute Details

#api_keyObject

Returns the value of attribute api_key.



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

def api_key
  @api_key
end

#appObject

Returns the value of attribute app.



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

def app
  @app
end

#time_zoneObject

Returns the value of attribute time_zone.



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

def time_zone
  @time_zone
end

Instance Method Details

#to_sObject



20
21
22
23
24
25
26
# File 'lib/call_recorder_api/model/update_user_request.rb', line 20

def to_s
    'UpdateUserRequest{' +
        'api_key=' + api_key.to_s + ', ' +
        'app=' + app.to_s + ', ' +
        'time_zone=' + time_zone.to_s +
    '}'
end