Class: CallRecorderApi::Model::CreateFolderRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(api_key, name, pass) ⇒ CreateFolderRequest

Returns a new instance of CreateFolderRequest.



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

def initialize(
    api_key,
    name,
    pass
)
    @api_key = api_key
    @name = name
    @pass = pass
end

Instance Attribute Details

#api_keyObject

Returns the value of attribute api_key.



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

def api_key
  @api_key
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#passObject

Returns the value of attribute pass.



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

def pass
  @pass
end

Instance Method Details

#to_sObject



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

def to_s
    'CreateFolderRequest{' +
        'api_key=' + api_key.to_s + ', ' +
        'name=' + name.to_s + ', ' +
        'pass=' + pass.to_s +
    '}'
end