Class: CallRecorderApi::Model::UpdateFolderRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(api_key, id, name, pass, is_private) ⇒ UpdateFolderRequest



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

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

Instance Attribute Details

#api_keyObject

Returns the value of attribute api_key.



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

def api_key
  @api_key
end

#idObject

Returns the value of attribute id.



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

def id
  @id
end

#is_privateObject

Returns the value of attribute is_private.



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

def is_private
  @is_private
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#passObject

Returns the value of attribute pass.



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

def pass
  @pass
end

Instance Method Details

#to_sObject



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

def to_s
    'UpdateFolderRequest{' +
        'api_key=' + api_key.to_s + ', ' +
        'id=' + id.to_s + ', ' +
        'name=' + name.to_s + ', ' +
        'pass=' + pass.to_s + ', ' +
        'is_private=' + is_private.to_s +
    '}'
end