kleister 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +18 -0
- data/CONTRIBUTING.md +121 -0
- data/DCO +34 -0
- data/LICENSE +202 -0
- data/README.md +67 -0
- data/lib/kleister/api/auth_api.rb +331 -0
- data/lib/kleister/api/fabric_api.rb +367 -0
- data/lib/kleister/api/forge_api.rb +367 -0
- data/lib/kleister/api/minecraft_api.rb +367 -0
- data/lib/kleister/api/mod_api.rb +1603 -0
- data/lib/kleister/api/neoforge_api.rb +367 -0
- data/lib/kleister/api/pack_api.rb +1603 -0
- data/lib/kleister/api/profile_api.rb +198 -0
- data/lib/kleister/api/quilt_api.rb +367 -0
- data/lib/kleister/api/team_api.rb +1283 -0
- data/lib/kleister/api/user_api.rb +1283 -0
- data/lib/kleister/api_client.rb +429 -0
- data/lib/kleister/api_error.rb +56 -0
- data/lib/kleister/configuration.rb +397 -0
- data/lib/kleister/models/auth_login.rb +231 -0
- data/lib/kleister/models/auth_token.rb +227 -0
- data/lib/kleister/models/auth_verify.rb +227 -0
- data/lib/kleister/models/build.rb +365 -0
- data/lib/kleister/models/build_version.rb +261 -0
- data/lib/kleister/models/build_version_params.rb +233 -0
- data/lib/kleister/models/build_versions.rb +235 -0
- data/lib/kleister/models/builds.rb +227 -0
- data/lib/kleister/models/fabric.rb +235 -0
- data/lib/kleister/models/fabric_build_params.rb +233 -0
- data/lib/kleister/models/fabric_builds.rb +228 -0
- data/lib/kleister/models/fabrics.rb +220 -0
- data/lib/kleister/models/forge.rb +243 -0
- data/lib/kleister/models/forge_build_params.rb +233 -0
- data/lib/kleister/models/forge_builds.rb +227 -0
- data/lib/kleister/models/forges.rb +220 -0
- data/lib/kleister/models/minecraft.rb +243 -0
- data/lib/kleister/models/minecraft_build_params.rb +233 -0
- data/lib/kleister/models/minecraft_builds.rb +228 -0
- data/lib/kleister/models/minecrafts.rb +220 -0
- data/lib/kleister/models/mod.rb +350 -0
- data/lib/kleister/models/mod_team_params.rb +265 -0
- data/lib/kleister/models/mod_teams.rb +227 -0
- data/lib/kleister/models/mod_user_params.rb +265 -0
- data/lib/kleister/models/mod_users.rb +227 -0
- data/lib/kleister/models/mods.rb +220 -0
- data/lib/kleister/models/neoforge.rb +243 -0
- data/lib/kleister/models/neoforge_build_params.rb +233 -0
- data/lib/kleister/models/neoforge_builds.rb +228 -0
- data/lib/kleister/models/neoforges.rb +220 -0
- data/lib/kleister/models/notification.rb +228 -0
- data/lib/kleister/models/pack.rb +334 -0
- data/lib/kleister/models/pack_back.rb +289 -0
- data/lib/kleister/models/pack_icon.rb +289 -0
- data/lib/kleister/models/pack_logo.rb +289 -0
- data/lib/kleister/models/pack_team_params.rb +265 -0
- data/lib/kleister/models/pack_teams.rb +227 -0
- data/lib/kleister/models/pack_user_params.rb +265 -0
- data/lib/kleister/models/pack_users.rb +227 -0
- data/lib/kleister/models/packs.rb +220 -0
- data/lib/kleister/models/profile.rb +313 -0
- data/lib/kleister/models/quilt.rb +235 -0
- data/lib/kleister/models/quilt_build_params.rb +233 -0
- data/lib/kleister/models/quilt_builds.rb +227 -0
- data/lib/kleister/models/quilts.rb +220 -0
- data/lib/kleister/models/team.rb +267 -0
- data/lib/kleister/models/team_mod.rb +304 -0
- data/lib/kleister/models/team_mod_params.rb +265 -0
- data/lib/kleister/models/team_mods.rb +227 -0
- data/lib/kleister/models/team_pack.rb +304 -0
- data/lib/kleister/models/team_pack_params.rb +265 -0
- data/lib/kleister/models/team_packs.rb +227 -0
- data/lib/kleister/models/team_user_params.rb +265 -0
- data/lib/kleister/models/team_users.rb +227 -0
- data/lib/kleister/models/teams.rb +220 -0
- data/lib/kleister/models/user.rb +315 -0
- data/lib/kleister/models/user_auth.rb +234 -0
- data/lib/kleister/models/user_mod.rb +304 -0
- data/lib/kleister/models/user_mod_params.rb +265 -0
- data/lib/kleister/models/user_mods.rb +227 -0
- data/lib/kleister/models/user_pack.rb +304 -0
- data/lib/kleister/models/user_pack_params.rb +265 -0
- data/lib/kleister/models/user_packs.rb +227 -0
- data/lib/kleister/models/user_team.rb +304 -0
- data/lib/kleister/models/user_team_params.rb +265 -0
- data/lib/kleister/models/user_teams.rb +227 -0
- data/lib/kleister/models/users.rb +220 -0
- data/lib/kleister/models/validation.rb +220 -0
- data/lib/kleister/models/version.rb +280 -0
- data/lib/kleister/models/version_build_params.rb +233 -0
- data/lib/kleister/models/version_builds.rb +235 -0
- data/lib/kleister/models/version_file.rb +289 -0
- data/lib/kleister/models/versions.rb +227 -0
- data/lib/kleister/version.rb +13 -0
- data/lib/kleister.rb +121 -0
- metadata +180 -0
@@ -0,0 +1,367 @@
|
|
1
|
+
# Kleister OpenAPI
|
2
|
+
#
|
3
|
+
# API definition for Kleister, manage mod packs for Minecraft
|
4
|
+
#
|
5
|
+
# The version of the OpenAPI document: 1.0.0-alpha1
|
6
|
+
# Contact: kleister@webhippie.de
|
7
|
+
# Generated by: https://openapi-generator.tech
|
8
|
+
# Generator version: 7.6.0
|
9
|
+
#
|
10
|
+
|
11
|
+
require 'cgi'
|
12
|
+
|
13
|
+
module Kleister
|
14
|
+
class ForgeApi
|
15
|
+
attr_accessor :api_client
|
16
|
+
|
17
|
+
def initialize(api_client = ApiClient.default)
|
18
|
+
@api_client = api_client
|
19
|
+
end
|
20
|
+
|
21
|
+
# Attach a build to a Forge version
|
22
|
+
# @param forge_id [String] A forge identifier or slug
|
23
|
+
# @param forge_build_params [ForgeBuildParams] The build data to attach
|
24
|
+
# @param [Hash] opts the optional parameters
|
25
|
+
# @return [Notification]
|
26
|
+
def attach_forge_to_build(forge_id, forge_build_params, opts = {})
|
27
|
+
data, _status_code, _headers = attach_forge_to_build_with_http_info(forge_id, forge_build_params, opts)
|
28
|
+
data
|
29
|
+
end
|
30
|
+
|
31
|
+
# Attach a build to a Forge version
|
32
|
+
# @param forge_id [String] A forge identifier or slug
|
33
|
+
# @param forge_build_params [ForgeBuildParams] The build data to attach
|
34
|
+
# @param [Hash] opts the optional parameters
|
35
|
+
# @return [Array<(Notification, Integer, Hash)>] Notification data, response status code and response headers
|
36
|
+
def attach_forge_to_build_with_http_info(forge_id, forge_build_params, opts = {})
|
37
|
+
if @api_client.config.debugging
|
38
|
+
@api_client.config.logger.debug 'Calling API: ForgeApi.attach_forge_to_build ...'
|
39
|
+
end
|
40
|
+
# verify the required parameter 'forge_id' is set
|
41
|
+
if @api_client.config.client_side_validation && forge_id.nil?
|
42
|
+
raise ArgumentError, "Missing the required parameter 'forge_id' when calling ForgeApi.attach_forge_to_build"
|
43
|
+
end
|
44
|
+
# verify the required parameter 'forge_build_params' is set
|
45
|
+
if @api_client.config.client_side_validation && forge_build_params.nil?
|
46
|
+
raise ArgumentError, "Missing the required parameter 'forge_build_params' when calling ForgeApi.attach_forge_to_build"
|
47
|
+
end
|
48
|
+
|
49
|
+
# resource path
|
50
|
+
local_var_path = '/forge/{forge_id}/builds'.sub('{' + 'forge_id' + '}', CGI.escape(forge_id.to_s))
|
51
|
+
|
52
|
+
# query parameters
|
53
|
+
query_params = opts[:query_params] || {}
|
54
|
+
|
55
|
+
# header parameters
|
56
|
+
header_params = opts[:header_params] || {}
|
57
|
+
# HTTP header 'Accept' (if needed)
|
58
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
59
|
+
# HTTP header 'Content-Type'
|
60
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
61
|
+
unless content_type.nil?
|
62
|
+
header_params['Content-Type'] = content_type
|
63
|
+
end
|
64
|
+
|
65
|
+
# form parameters
|
66
|
+
form_params = opts[:form_params] || {}
|
67
|
+
|
68
|
+
# http body (model)
|
69
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(forge_build_params)
|
70
|
+
|
71
|
+
# return_type
|
72
|
+
return_type = opts[:debug_return_type] || 'Notification'
|
73
|
+
|
74
|
+
# auth_names
|
75
|
+
auth_names = opts[:debug_auth_names] || %w[Cookie Basic Header Bearer]
|
76
|
+
|
77
|
+
new_options = opts.merge(
|
78
|
+
operation: :'ForgeApi.attach_forge_to_build',
|
79
|
+
header_params: header_params,
|
80
|
+
query_params: query_params,
|
81
|
+
form_params: form_params,
|
82
|
+
body: post_body,
|
83
|
+
auth_names: auth_names,
|
84
|
+
return_type: return_type
|
85
|
+
)
|
86
|
+
|
87
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
88
|
+
if @api_client.config.debugging
|
89
|
+
@api_client.config.logger.debug "API called: ForgeApi#attach_forge_to_build\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
90
|
+
end
|
91
|
+
[data, status_code, headers]
|
92
|
+
end
|
93
|
+
|
94
|
+
# Unlink a build from a Forge version
|
95
|
+
# @param forge_id [String] A forge identifier or slug
|
96
|
+
# @param forge_build_params [ForgeBuildParams] The build data to unlink
|
97
|
+
# @param [Hash] opts the optional parameters
|
98
|
+
# @return [Notification]
|
99
|
+
def delete_forge_from_build(forge_id, forge_build_params, opts = {})
|
100
|
+
data, _status_code, _headers = delete_forge_from_build_with_http_info(forge_id, forge_build_params, opts)
|
101
|
+
data
|
102
|
+
end
|
103
|
+
|
104
|
+
# Unlink a build from a Forge version
|
105
|
+
# @param forge_id [String] A forge identifier or slug
|
106
|
+
# @param forge_build_params [ForgeBuildParams] The build data to unlink
|
107
|
+
# @param [Hash] opts the optional parameters
|
108
|
+
# @return [Array<(Notification, Integer, Hash)>] Notification data, response status code and response headers
|
109
|
+
def delete_forge_from_build_with_http_info(forge_id, forge_build_params, opts = {})
|
110
|
+
if @api_client.config.debugging
|
111
|
+
@api_client.config.logger.debug 'Calling API: ForgeApi.delete_forge_from_build ...'
|
112
|
+
end
|
113
|
+
# verify the required parameter 'forge_id' is set
|
114
|
+
if @api_client.config.client_side_validation && forge_id.nil?
|
115
|
+
raise ArgumentError, "Missing the required parameter 'forge_id' when calling ForgeApi.delete_forge_from_build"
|
116
|
+
end
|
117
|
+
# verify the required parameter 'forge_build_params' is set
|
118
|
+
if @api_client.config.client_side_validation && forge_build_params.nil?
|
119
|
+
raise ArgumentError, "Missing the required parameter 'forge_build_params' when calling ForgeApi.delete_forge_from_build"
|
120
|
+
end
|
121
|
+
|
122
|
+
# resource path
|
123
|
+
local_var_path = '/forge/{forge_id}/builds'.sub('{' + 'forge_id' + '}', CGI.escape(forge_id.to_s))
|
124
|
+
|
125
|
+
# query parameters
|
126
|
+
query_params = opts[:query_params] || {}
|
127
|
+
|
128
|
+
# header parameters
|
129
|
+
header_params = opts[:header_params] || {}
|
130
|
+
# HTTP header 'Accept' (if needed)
|
131
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
132
|
+
# HTTP header 'Content-Type'
|
133
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
134
|
+
unless content_type.nil?
|
135
|
+
header_params['Content-Type'] = content_type
|
136
|
+
end
|
137
|
+
|
138
|
+
# form parameters
|
139
|
+
form_params = opts[:form_params] || {}
|
140
|
+
|
141
|
+
# http body (model)
|
142
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(forge_build_params)
|
143
|
+
|
144
|
+
# return_type
|
145
|
+
return_type = opts[:debug_return_type] || 'Notification'
|
146
|
+
|
147
|
+
# auth_names
|
148
|
+
auth_names = opts[:debug_auth_names] || %w[Cookie Basic Header Bearer]
|
149
|
+
|
150
|
+
new_options = opts.merge(
|
151
|
+
operation: :'ForgeApi.delete_forge_from_build',
|
152
|
+
header_params: header_params,
|
153
|
+
query_params: query_params,
|
154
|
+
form_params: form_params,
|
155
|
+
body: post_body,
|
156
|
+
auth_names: auth_names,
|
157
|
+
return_type: return_type
|
158
|
+
)
|
159
|
+
|
160
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
161
|
+
if @api_client.config.debugging
|
162
|
+
@api_client.config.logger.debug "API called: ForgeApi#delete_forge_from_build\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
163
|
+
end
|
164
|
+
[data, status_code, headers]
|
165
|
+
end
|
166
|
+
|
167
|
+
# Fetch the builds attached to a Forge version
|
168
|
+
# @param forge_id [String] A forge identifier or slug
|
169
|
+
# @param [Hash] opts the optional parameters
|
170
|
+
# @option opts [String] :search Search query
|
171
|
+
# @option opts [String] :sort Sorting column (default to 'name')
|
172
|
+
# @option opts [String] :order Sorting order (default to 'asc')
|
173
|
+
# @option opts [Integer] :limit Paging limit (default to 100)
|
174
|
+
# @option opts [Integer] :offset Paging offset (default to 0)
|
175
|
+
# @return [ForgeBuilds]
|
176
|
+
def list_forge_builds(forge_id, opts = {})
|
177
|
+
data, _status_code, _headers = list_forge_builds_with_http_info(forge_id, opts)
|
178
|
+
data
|
179
|
+
end
|
180
|
+
|
181
|
+
# Fetch the builds attached to a Forge version
|
182
|
+
# @param forge_id [String] A forge identifier or slug
|
183
|
+
# @param [Hash] opts the optional parameters
|
184
|
+
# @option opts [String] :search Search query
|
185
|
+
# @option opts [String] :sort Sorting column (default to 'name')
|
186
|
+
# @option opts [String] :order Sorting order (default to 'asc')
|
187
|
+
# @option opts [Integer] :limit Paging limit (default to 100)
|
188
|
+
# @option opts [Integer] :offset Paging offset (default to 0)
|
189
|
+
# @return [Array<(ForgeBuilds, Integer, Hash)>] ForgeBuilds data, response status code and response headers
|
190
|
+
def list_forge_builds_with_http_info(forge_id, opts = {})
|
191
|
+
if @api_client.config.debugging
|
192
|
+
@api_client.config.logger.debug 'Calling API: ForgeApi.list_forge_builds ...'
|
193
|
+
end
|
194
|
+
# verify the required parameter 'forge_id' is set
|
195
|
+
if @api_client.config.client_side_validation && forge_id.nil?
|
196
|
+
raise ArgumentError, "Missing the required parameter 'forge_id' when calling ForgeApi.list_forge_builds"
|
197
|
+
end
|
198
|
+
|
199
|
+
allowable_values = %w[name public]
|
200
|
+
if @api_client.config.client_side_validation && opts[:sort] && !allowable_values.include?(opts[:sort])
|
201
|
+
raise ArgumentError, "invalid value for \"sort\", must be one of #{allowable_values}"
|
202
|
+
end
|
203
|
+
|
204
|
+
allowable_values = %w[asc desc]
|
205
|
+
if @api_client.config.client_side_validation && opts[:order] && !allowable_values.include?(opts[:order])
|
206
|
+
raise ArgumentError, "invalid value for \"order\", must be one of #{allowable_values}"
|
207
|
+
end
|
208
|
+
|
209
|
+
# resource path
|
210
|
+
local_var_path = '/forge/{forge_id}/builds'.sub('{' + 'forge_id' + '}', CGI.escape(forge_id.to_s))
|
211
|
+
|
212
|
+
# query parameters
|
213
|
+
query_params = opts[:query_params] || {}
|
214
|
+
query_params[:search] = opts[:search] unless opts[:search].nil?
|
215
|
+
query_params[:sort] = opts[:sort] unless opts[:sort].nil?
|
216
|
+
query_params[:order] = opts[:order] unless opts[:order].nil?
|
217
|
+
query_params[:limit] = opts[:limit] unless opts[:limit].nil?
|
218
|
+
query_params[:offset] = opts[:offset] unless opts[:offset].nil?
|
219
|
+
|
220
|
+
# header parameters
|
221
|
+
header_params = opts[:header_params] || {}
|
222
|
+
# HTTP header 'Accept' (if needed)
|
223
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
224
|
+
|
225
|
+
# form parameters
|
226
|
+
form_params = opts[:form_params] || {}
|
227
|
+
|
228
|
+
# http body (model)
|
229
|
+
post_body = opts[:debug_body]
|
230
|
+
|
231
|
+
# return_type
|
232
|
+
return_type = opts[:debug_return_type] || 'ForgeBuilds'
|
233
|
+
|
234
|
+
# auth_names
|
235
|
+
auth_names = opts[:debug_auth_names] || %w[Cookie Basic Header Bearer]
|
236
|
+
|
237
|
+
new_options = opts.merge(
|
238
|
+
operation: :'ForgeApi.list_forge_builds',
|
239
|
+
header_params: header_params,
|
240
|
+
query_params: query_params,
|
241
|
+
form_params: form_params,
|
242
|
+
body: post_body,
|
243
|
+
auth_names: auth_names,
|
244
|
+
return_type: return_type
|
245
|
+
)
|
246
|
+
|
247
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
248
|
+
if @api_client.config.debugging
|
249
|
+
@api_client.config.logger.debug "API called: ForgeApi#list_forge_builds\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
250
|
+
end
|
251
|
+
[data, status_code, headers]
|
252
|
+
end
|
253
|
+
|
254
|
+
# Fetch the available Forge versions
|
255
|
+
# @param [Hash] opts the optional parameters
|
256
|
+
# @option opts [String] :search Search query
|
257
|
+
# @return [Forges]
|
258
|
+
def list_forges(opts = {})
|
259
|
+
data, _status_code, _headers = list_forges_with_http_info(opts)
|
260
|
+
data
|
261
|
+
end
|
262
|
+
|
263
|
+
# Fetch the available Forge versions
|
264
|
+
# @param [Hash] opts the optional parameters
|
265
|
+
# @option opts [String] :search Search query
|
266
|
+
# @return [Array<(Forges, Integer, Hash)>] Forges data, response status code and response headers
|
267
|
+
def list_forges_with_http_info(opts = {})
|
268
|
+
if @api_client.config.debugging
|
269
|
+
@api_client.config.logger.debug 'Calling API: ForgeApi.list_forges ...'
|
270
|
+
end
|
271
|
+
# resource path
|
272
|
+
local_var_path = '/forge'
|
273
|
+
|
274
|
+
# query parameters
|
275
|
+
query_params = opts[:query_params] || {}
|
276
|
+
query_params[:search] = opts[:search] unless opts[:search].nil?
|
277
|
+
|
278
|
+
# header parameters
|
279
|
+
header_params = opts[:header_params] || {}
|
280
|
+
# HTTP header 'Accept' (if needed)
|
281
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
282
|
+
|
283
|
+
# form parameters
|
284
|
+
form_params = opts[:form_params] || {}
|
285
|
+
|
286
|
+
# http body (model)
|
287
|
+
post_body = opts[:debug_body]
|
288
|
+
|
289
|
+
# return_type
|
290
|
+
return_type = opts[:debug_return_type] || 'Forges'
|
291
|
+
|
292
|
+
# auth_names
|
293
|
+
auth_names = opts[:debug_auth_names] || %w[Cookie Basic Header Bearer]
|
294
|
+
|
295
|
+
new_options = opts.merge(
|
296
|
+
operation: :'ForgeApi.list_forges',
|
297
|
+
header_params: header_params,
|
298
|
+
query_params: query_params,
|
299
|
+
form_params: form_params,
|
300
|
+
body: post_body,
|
301
|
+
auth_names: auth_names,
|
302
|
+
return_type: return_type
|
303
|
+
)
|
304
|
+
|
305
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
306
|
+
if @api_client.config.debugging
|
307
|
+
@api_client.config.logger.debug "API called: ForgeApi#list_forges\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
308
|
+
end
|
309
|
+
[data, status_code, headers]
|
310
|
+
end
|
311
|
+
|
312
|
+
# Update the available Forge versions
|
313
|
+
# @param [Hash] opts the optional parameters
|
314
|
+
# @return [Notification]
|
315
|
+
def update_forge(opts = {})
|
316
|
+
data, _status_code, _headers = update_forge_with_http_info(opts)
|
317
|
+
data
|
318
|
+
end
|
319
|
+
|
320
|
+
# Update the available Forge versions
|
321
|
+
# @param [Hash] opts the optional parameters
|
322
|
+
# @return [Array<(Notification, Integer, Hash)>] Notification data, response status code and response headers
|
323
|
+
def update_forge_with_http_info(opts = {})
|
324
|
+
if @api_client.config.debugging
|
325
|
+
@api_client.config.logger.debug 'Calling API: ForgeApi.update_forge ...'
|
326
|
+
end
|
327
|
+
# resource path
|
328
|
+
local_var_path = '/forge'
|
329
|
+
|
330
|
+
# query parameters
|
331
|
+
query_params = opts[:query_params] || {}
|
332
|
+
|
333
|
+
# header parameters
|
334
|
+
header_params = opts[:header_params] || {}
|
335
|
+
# HTTP header 'Accept' (if needed)
|
336
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
337
|
+
|
338
|
+
# form parameters
|
339
|
+
form_params = opts[:form_params] || {}
|
340
|
+
|
341
|
+
# http body (model)
|
342
|
+
post_body = opts[:debug_body]
|
343
|
+
|
344
|
+
# return_type
|
345
|
+
return_type = opts[:debug_return_type] || 'Notification'
|
346
|
+
|
347
|
+
# auth_names
|
348
|
+
auth_names = opts[:debug_auth_names] || %w[Cookie Basic Header Bearer]
|
349
|
+
|
350
|
+
new_options = opts.merge(
|
351
|
+
operation: :'ForgeApi.update_forge',
|
352
|
+
header_params: header_params,
|
353
|
+
query_params: query_params,
|
354
|
+
form_params: form_params,
|
355
|
+
body: post_body,
|
356
|
+
auth_names: auth_names,
|
357
|
+
return_type: return_type
|
358
|
+
)
|
359
|
+
|
360
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
361
|
+
if @api_client.config.debugging
|
362
|
+
@api_client.config.logger.debug "API called: ForgeApi#update_forge\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
363
|
+
end
|
364
|
+
[data, status_code, headers]
|
365
|
+
end
|
366
|
+
end
|
367
|
+
end
|