Class: CallRecorderApi::Model::GetSettingsResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(status, app, credits, settings) ⇒ GetSettingsResponse

Returns a new instance of GetSettingsResponse.



11
12
13
14
15
16
17
18
19
20
21
# File 'lib/call_recorder_api/model/get_settings_response.rb', line 11

def initialize(
    status,
    app,
    credits,
    settings
)
    @status = status
    @app = app
    @credits = credits
    @settings = settings
end

Instance Attribute Details

#appObject

Returns the value of attribute app.



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

def app
  @app
end

#creditsObject

Returns the value of attribute credits.



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

def credits
  @credits
end

#settingsObject

Returns the value of attribute settings.



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

def settings
  @settings
end

#statusObject

Returns the value of attribute status.



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

def status
  @status
end

Instance Method Details

#to_sObject



23
24
25
26
27
28
29
30
# File 'lib/call_recorder_api/model/get_settings_response.rb', line 23

def to_s
    'GetSettingsResponse{' +
        'status=' + status.to_s + ', ' +
        'app=' + app.to_s + ', ' +
        'credits=' + credits.to_s + ', ' +
        'settings=' + settings.to_s +
    '}'
end