pulp_gem_client 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/README.md +160 -0
- data/Rakefile +10 -0
- data/docs/AsyncOperationResponse.md +17 -0
- data/docs/ContentGemApi.md +210 -0
- data/docs/ContentSummaryResponse.md +21 -0
- data/docs/DistributionsGemApi.md +382 -0
- data/docs/GemGemContent.md +21 -0
- data/docs/GemGemContentResponse.md +35 -0
- data/docs/GemGemDistribution.md +31 -0
- data/docs/GemGemDistributionResponse.md +37 -0
- data/docs/GemGemPublication.md +19 -0
- data/docs/GemGemPublicationResponse.md +23 -0
- data/docs/GemGemRemote.md +63 -0
- data/docs/GemGemRemoteResponse.md +61 -0
- data/docs/GemGemRemoteResponseHiddenFields.md +19 -0
- data/docs/GemGemRepository.md +25 -0
- data/docs/GemGemRepositoryResponse.md +33 -0
- data/docs/PaginatedRepositoryVersionResponseList.md +23 -0
- data/docs/PaginatedgemGemContentResponseList.md +23 -0
- data/docs/PaginatedgemGemDistributionResponseList.md +23 -0
- data/docs/PaginatedgemGemPublicationResponseList.md +23 -0
- data/docs/PaginatedgemGemRemoteResponseList.md +23 -0
- data/docs/PaginatedgemGemRepositoryResponseList.md +23 -0
- data/docs/PatchedgemGemDistribution.md +31 -0
- data/docs/PatchedgemGemRemote.md +63 -0
- data/docs/PatchedgemGemRepository.md +25 -0
- data/docs/PolicyEnum.md +16 -0
- data/docs/PublicationsGemApi.md +263 -0
- data/docs/RemotesGemApi.md +380 -0
- data/docs/Repair.md +17 -0
- data/docs/RepositoriesGemApi.md +502 -0
- data/docs/RepositoriesGemVersionsApi.md +273 -0
- data/docs/RepositoryAddRemoveContent.md +21 -0
- data/docs/RepositorySyncURL.md +19 -0
- data/docs/RepositoryVersionResponse.md +27 -0
- data/lib/pulp_gem_client/api/content_gem_api.rb +259 -0
- data/lib/pulp_gem_client/api/distributions_gem_api.rb +476 -0
- data/lib/pulp_gem_client/api/publications_gem_api.rb +325 -0
- data/lib/pulp_gem_client/api/remotes_gem_api.rb +473 -0
- data/lib/pulp_gem_client/api/repositories_gem_api.rb +628 -0
- data/lib/pulp_gem_client/api/repositories_gem_versions_api.rb +346 -0
- data/lib/pulp_gem_client/api_client.rb +403 -0
- data/lib/pulp_gem_client/api_error.rb +57 -0
- data/lib/pulp_gem_client/configuration.rb +251 -0
- data/lib/pulp_gem_client/models/async_operation_response.rb +213 -0
- data/lib/pulp_gem_client/models/content_summary_response.rb +246 -0
- data/lib/pulp_gem_client/models/gem_gem_content.rb +228 -0
- data/lib/pulp_gem_client/models/gem_gem_content_response.rb +303 -0
- data/lib/pulp_gem_client/models/gem_gem_distribution.rb +333 -0
- data/lib/pulp_gem_client/models/gem_gem_distribution_response.rb +324 -0
- data/lib/pulp_gem_client/models/gem_gem_publication.rb +217 -0
- data/lib/pulp_gem_client/models/gem_gem_publication_response.rb +236 -0
- data/lib/pulp_gem_client/models/gem_gem_remote.rb +704 -0
- data/lib/pulp_gem_client/models/gem_gem_remote_response.rb +532 -0
- data/lib/pulp_gem_client/models/gem_gem_remote_response_hidden_fields.rb +215 -0
- data/lib/pulp_gem_client/models/gem_gem_repository.rb +306 -0
- data/lib/pulp_gem_client/models/gem_gem_repository_response.rb +309 -0
- data/lib/pulp_gem_client/models/paginated_repository_version_response_list.rb +237 -0
- data/lib/pulp_gem_client/models/paginatedgem_gem_content_response_list.rb +237 -0
- data/lib/pulp_gem_client/models/paginatedgem_gem_distribution_response_list.rb +237 -0
- data/lib/pulp_gem_client/models/paginatedgem_gem_publication_response_list.rb +237 -0
- data/lib/pulp_gem_client/models/paginatedgem_gem_remote_response_list.rb +237 -0
- data/lib/pulp_gem_client/models/paginatedgem_gem_repository_response_list.rb +237 -0
- data/lib/pulp_gem_client/models/patchedgem_gem_distribution.rb +315 -0
- data/lib/pulp_gem_client/models/patchedgem_gem_remote.rb +686 -0
- data/lib/pulp_gem_client/models/patchedgem_gem_repository.rb +297 -0
- data/lib/pulp_gem_client/models/policy_enum.rb +37 -0
- data/lib/pulp_gem_client/models/repair.rb +209 -0
- data/lib/pulp_gem_client/models/repository_add_remove_content.rb +232 -0
- data/lib/pulp_gem_client/models/repository_sync_url.rb +220 -0
- data/lib/pulp_gem_client/models/repository_version_response.rb +255 -0
- data/lib/pulp_gem_client/version.rb +15 -0
- data/lib/pulp_gem_client.rb +72 -0
- data/pulp_gem_client.gemspec +39 -0
- data/spec/api/content_gem_api_spec.rb +88 -0
- data/spec/api/distributions_gem_api_spec.rb +130 -0
- data/spec/api/publications_gem_api_spec.rb +101 -0
- data/spec/api/remotes_gem_api_spec.rb +129 -0
- data/spec/api/repositories_gem_api_spec.rb +160 -0
- data/spec/api/repositories_gem_versions_api_spec.rb +105 -0
- data/spec/api_client_spec.rb +188 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/async_operation_response_spec.rb +41 -0
- data/spec/models/content_summary_response_spec.rb +53 -0
- data/spec/models/gem_gem_content_response_spec.rb +95 -0
- data/spec/models/gem_gem_content_spec.rb +53 -0
- data/spec/models/gem_gem_distribution_response_spec.rb +101 -0
- data/spec/models/gem_gem_distribution_spec.rb +83 -0
- data/spec/models/gem_gem_publication_response_spec.rb +59 -0
- data/spec/models/gem_gem_publication_spec.rb +47 -0
- data/spec/models/gem_gem_remote_response_hidden_fields_spec.rb +47 -0
- data/spec/models/gem_gem_remote_response_spec.rb +173 -0
- data/spec/models/gem_gem_remote_spec.rb +179 -0
- data/spec/models/gem_gem_repository_response_spec.rb +89 -0
- data/spec/models/gem_gem_repository_spec.rb +65 -0
- data/spec/models/paginated_repository_version_response_list_spec.rb +59 -0
- data/spec/models/paginatedgem_gem_content_response_list_spec.rb +59 -0
- data/spec/models/paginatedgem_gem_distribution_response_list_spec.rb +59 -0
- data/spec/models/paginatedgem_gem_publication_response_list_spec.rb +59 -0
- data/spec/models/paginatedgem_gem_remote_response_list_spec.rb +59 -0
- data/spec/models/paginatedgem_gem_repository_response_list_spec.rb +59 -0
- data/spec/models/patchedgem_gem_distribution_spec.rb +83 -0
- data/spec/models/patchedgem_gem_remote_spec.rb +179 -0
- data/spec/models/patchedgem_gem_repository_spec.rb +65 -0
- data/spec/models/policy_enum_spec.rb +35 -0
- data/spec/models/repair_spec.rb +41 -0
- data/spec/models/repository_add_remove_content_spec.rb +53 -0
- data/spec/models/repository_sync_url_spec.rb +47 -0
- data/spec/models/repository_version_response_spec.rb +71 -0
- data/spec/spec_helper.rb +111 -0
- metadata +250 -0
@@ -0,0 +1,628 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'cgi'
|
14
|
+
|
15
|
+
module PulpGemClient
|
16
|
+
class RepositoriesGemApi
|
17
|
+
attr_accessor :api_client
|
18
|
+
|
19
|
+
def initialize(api_client = ApiClient.default)
|
20
|
+
@api_client = api_client
|
21
|
+
end
|
22
|
+
# Create a gem repository
|
23
|
+
# A ViewSet for GemRepository.
|
24
|
+
# @param gem_gem_repository [GemGemRepository]
|
25
|
+
# @param [Hash] opts the optional parameters
|
26
|
+
# @return [GemGemRepositoryResponse]
|
27
|
+
def create(gem_gem_repository, opts = {})
|
28
|
+
data, _status_code, _headers = create_with_http_info(gem_gem_repository, opts)
|
29
|
+
data
|
30
|
+
end
|
31
|
+
|
32
|
+
# Create a gem repository
|
33
|
+
# A ViewSet for GemRepository.
|
34
|
+
# @param gem_gem_repository [GemGemRepository]
|
35
|
+
# @param [Hash] opts the optional parameters
|
36
|
+
# @return [Array<(GemGemRepositoryResponse, Integer, Hash)>] GemGemRepositoryResponse data, response status code and response headers
|
37
|
+
def create_with_http_info(gem_gem_repository, opts = {})
|
38
|
+
if @api_client.config.debugging
|
39
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesGemApi.create ...'
|
40
|
+
end
|
41
|
+
# verify the required parameter 'gem_gem_repository' is set
|
42
|
+
if @api_client.config.client_side_validation && gem_gem_repository.nil?
|
43
|
+
fail ArgumentError, "Missing the required parameter 'gem_gem_repository' when calling RepositoriesGemApi.create"
|
44
|
+
end
|
45
|
+
# resource path
|
46
|
+
local_var_path = '/pulp/api/v3/repositories/gem/gem/'
|
47
|
+
|
48
|
+
# query parameters
|
49
|
+
query_params = opts[:query_params] || {}
|
50
|
+
|
51
|
+
# header parameters
|
52
|
+
header_params = opts[:header_params] || {}
|
53
|
+
# HTTP header 'Accept' (if needed)
|
54
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
55
|
+
# HTTP header 'Content-Type'
|
56
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
57
|
+
|
58
|
+
# form parameters
|
59
|
+
form_params = opts[:form_params] || {}
|
60
|
+
|
61
|
+
# http body (model)
|
62
|
+
post_body = opts[:body] || @api_client.object_to_http_body(gem_gem_repository)
|
63
|
+
|
64
|
+
# return_type
|
65
|
+
return_type = opts[:return_type] || 'GemGemRepositoryResponse'
|
66
|
+
|
67
|
+
# auth_names
|
68
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
69
|
+
|
70
|
+
new_options = opts.merge(
|
71
|
+
:header_params => header_params,
|
72
|
+
:query_params => query_params,
|
73
|
+
:form_params => form_params,
|
74
|
+
:body => post_body,
|
75
|
+
:auth_names => auth_names,
|
76
|
+
:return_type => return_type
|
77
|
+
)
|
78
|
+
|
79
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
80
|
+
if @api_client.config.debugging
|
81
|
+
@api_client.config.logger.debug "API called: RepositoriesGemApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
82
|
+
end
|
83
|
+
return data, status_code, headers
|
84
|
+
end
|
85
|
+
|
86
|
+
# Delete a gem repository
|
87
|
+
# Trigger an asynchronous delete task
|
88
|
+
# @param gem_gem_repository_href [String]
|
89
|
+
# @param [Hash] opts the optional parameters
|
90
|
+
# @return [AsyncOperationResponse]
|
91
|
+
def delete(gem_gem_repository_href, opts = {})
|
92
|
+
data, _status_code, _headers = delete_with_http_info(gem_gem_repository_href, opts)
|
93
|
+
data
|
94
|
+
end
|
95
|
+
|
96
|
+
# Delete a gem repository
|
97
|
+
# Trigger an asynchronous delete task
|
98
|
+
# @param gem_gem_repository_href [String]
|
99
|
+
# @param [Hash] opts the optional parameters
|
100
|
+
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
101
|
+
def delete_with_http_info(gem_gem_repository_href, opts = {})
|
102
|
+
if @api_client.config.debugging
|
103
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesGemApi.delete ...'
|
104
|
+
end
|
105
|
+
# verify the required parameter 'gem_gem_repository_href' is set
|
106
|
+
if @api_client.config.client_side_validation && gem_gem_repository_href.nil?
|
107
|
+
fail ArgumentError, "Missing the required parameter 'gem_gem_repository_href' when calling RepositoriesGemApi.delete"
|
108
|
+
end
|
109
|
+
# resource path
|
110
|
+
local_var_path = '{gem_gem_repository_href}'.sub('{' + 'gem_gem_repository_href' + '}', CGI.escape(gem_gem_repository_href.to_s).gsub('%2F', '/'))
|
111
|
+
|
112
|
+
# query parameters
|
113
|
+
query_params = opts[:query_params] || {}
|
114
|
+
|
115
|
+
# header parameters
|
116
|
+
header_params = opts[:header_params] || {}
|
117
|
+
# HTTP header 'Accept' (if needed)
|
118
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
119
|
+
|
120
|
+
# form parameters
|
121
|
+
form_params = opts[:form_params] || {}
|
122
|
+
|
123
|
+
# http body (model)
|
124
|
+
post_body = opts[:body]
|
125
|
+
|
126
|
+
# return_type
|
127
|
+
return_type = opts[:return_type] || 'AsyncOperationResponse'
|
128
|
+
|
129
|
+
# auth_names
|
130
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
131
|
+
|
132
|
+
new_options = opts.merge(
|
133
|
+
:header_params => header_params,
|
134
|
+
:query_params => query_params,
|
135
|
+
:form_params => form_params,
|
136
|
+
:body => post_body,
|
137
|
+
:auth_names => auth_names,
|
138
|
+
:return_type => return_type
|
139
|
+
)
|
140
|
+
|
141
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
142
|
+
if @api_client.config.debugging
|
143
|
+
@api_client.config.logger.debug "API called: RepositoriesGemApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
144
|
+
end
|
145
|
+
return data, status_code, headers
|
146
|
+
end
|
147
|
+
|
148
|
+
# List gem repositorys
|
149
|
+
# A ViewSet for GemRepository.
|
150
|
+
# @param [Hash] opts the optional parameters
|
151
|
+
# @option opts [String] :latest_with_content Content Unit referenced by HREF
|
152
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
153
|
+
# @option opts [String] :name Filter results where name matches value
|
154
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
155
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
156
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
157
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
158
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
159
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
160
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
161
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
162
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
163
|
+
# @option opts [String] :remote Foreign Key referenced by HREF
|
164
|
+
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
165
|
+
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
166
|
+
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
167
|
+
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
168
|
+
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
169
|
+
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
170
|
+
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
171
|
+
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
172
|
+
# @option opts [String] :with_content Content Unit referenced by HREF
|
173
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
174
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
175
|
+
# @return [PaginatedgemGemRepositoryResponseList]
|
176
|
+
def list(opts = {})
|
177
|
+
data, _status_code, _headers = list_with_http_info(opts)
|
178
|
+
data
|
179
|
+
end
|
180
|
+
|
181
|
+
# List gem repositorys
|
182
|
+
# A ViewSet for GemRepository.
|
183
|
+
# @param [Hash] opts the optional parameters
|
184
|
+
# @option opts [String] :latest_with_content Content Unit referenced by HREF
|
185
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
186
|
+
# @option opts [String] :name Filter results where name matches value
|
187
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
188
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
189
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
190
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
191
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
192
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
193
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
194
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
195
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
196
|
+
# @option opts [String] :remote Foreign Key referenced by HREF
|
197
|
+
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
198
|
+
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
199
|
+
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
200
|
+
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
201
|
+
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
202
|
+
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
203
|
+
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
204
|
+
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
205
|
+
# @option opts [String] :with_content Content Unit referenced by HREF
|
206
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
207
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
208
|
+
# @return [Array<(PaginatedgemGemRepositoryResponseList, Integer, Hash)>] PaginatedgemGemRepositoryResponseList data, response status code and response headers
|
209
|
+
def list_with_http_info(opts = {})
|
210
|
+
if @api_client.config.debugging
|
211
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesGemApi.list ...'
|
212
|
+
end
|
213
|
+
allowable_values = ["-description", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-retain_repo_versions", "-user_hidden", "description", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "retain_repo_versions", "user_hidden"]
|
214
|
+
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
215
|
+
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
216
|
+
end
|
217
|
+
# resource path
|
218
|
+
local_var_path = '/pulp/api/v3/repositories/gem/gem/'
|
219
|
+
|
220
|
+
# query parameters
|
221
|
+
query_params = opts[:query_params] || {}
|
222
|
+
query_params[:'latest_with_content'] = opts[:'latest_with_content'] if !opts[:'latest_with_content'].nil?
|
223
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
224
|
+
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
225
|
+
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
226
|
+
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
227
|
+
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
228
|
+
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
229
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
230
|
+
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
231
|
+
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
232
|
+
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
233
|
+
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
234
|
+
query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
|
235
|
+
query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
|
236
|
+
query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
|
237
|
+
query_params[:'retain_repo_versions__gte'] = opts[:'retain_repo_versions__gte'] if !opts[:'retain_repo_versions__gte'].nil?
|
238
|
+
query_params[:'retain_repo_versions__isnull'] = opts[:'retain_repo_versions__isnull'] if !opts[:'retain_repo_versions__isnull'].nil?
|
239
|
+
query_params[:'retain_repo_versions__lt'] = opts[:'retain_repo_versions__lt'] if !opts[:'retain_repo_versions__lt'].nil?
|
240
|
+
query_params[:'retain_repo_versions__lte'] = opts[:'retain_repo_versions__lte'] if !opts[:'retain_repo_versions__lte'].nil?
|
241
|
+
query_params[:'retain_repo_versions__ne'] = opts[:'retain_repo_versions__ne'] if !opts[:'retain_repo_versions__ne'].nil?
|
242
|
+
query_params[:'retain_repo_versions__range'] = @api_client.build_collection_param(opts[:'retain_repo_versions__range'], :csv) if !opts[:'retain_repo_versions__range'].nil?
|
243
|
+
query_params[:'with_content'] = opts[:'with_content'] if !opts[:'with_content'].nil?
|
244
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
245
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
246
|
+
|
247
|
+
# header parameters
|
248
|
+
header_params = opts[:header_params] || {}
|
249
|
+
# HTTP header 'Accept' (if needed)
|
250
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
251
|
+
|
252
|
+
# form parameters
|
253
|
+
form_params = opts[:form_params] || {}
|
254
|
+
|
255
|
+
# http body (model)
|
256
|
+
post_body = opts[:body]
|
257
|
+
|
258
|
+
# return_type
|
259
|
+
return_type = opts[:return_type] || 'PaginatedgemGemRepositoryResponseList'
|
260
|
+
|
261
|
+
# auth_names
|
262
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
263
|
+
|
264
|
+
new_options = opts.merge(
|
265
|
+
:header_params => header_params,
|
266
|
+
:query_params => query_params,
|
267
|
+
:form_params => form_params,
|
268
|
+
:body => post_body,
|
269
|
+
:auth_names => auth_names,
|
270
|
+
:return_type => return_type
|
271
|
+
)
|
272
|
+
|
273
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
274
|
+
if @api_client.config.debugging
|
275
|
+
@api_client.config.logger.debug "API called: RepositoriesGemApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
276
|
+
end
|
277
|
+
return data, status_code, headers
|
278
|
+
end
|
279
|
+
|
280
|
+
# Modify Repository Content
|
281
|
+
# Trigger an asynchronous task to create a new repository version.
|
282
|
+
# @param gem_gem_repository_href [String]
|
283
|
+
# @param repository_add_remove_content [RepositoryAddRemoveContent]
|
284
|
+
# @param [Hash] opts the optional parameters
|
285
|
+
# @return [AsyncOperationResponse]
|
286
|
+
def modify(gem_gem_repository_href, repository_add_remove_content, opts = {})
|
287
|
+
data, _status_code, _headers = modify_with_http_info(gem_gem_repository_href, repository_add_remove_content, opts)
|
288
|
+
data
|
289
|
+
end
|
290
|
+
|
291
|
+
# Modify Repository Content
|
292
|
+
# Trigger an asynchronous task to create a new repository version.
|
293
|
+
# @param gem_gem_repository_href [String]
|
294
|
+
# @param repository_add_remove_content [RepositoryAddRemoveContent]
|
295
|
+
# @param [Hash] opts the optional parameters
|
296
|
+
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
297
|
+
def modify_with_http_info(gem_gem_repository_href, repository_add_remove_content, opts = {})
|
298
|
+
if @api_client.config.debugging
|
299
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesGemApi.modify ...'
|
300
|
+
end
|
301
|
+
# verify the required parameter 'gem_gem_repository_href' is set
|
302
|
+
if @api_client.config.client_side_validation && gem_gem_repository_href.nil?
|
303
|
+
fail ArgumentError, "Missing the required parameter 'gem_gem_repository_href' when calling RepositoriesGemApi.modify"
|
304
|
+
end
|
305
|
+
# verify the required parameter 'repository_add_remove_content' is set
|
306
|
+
if @api_client.config.client_side_validation && repository_add_remove_content.nil?
|
307
|
+
fail ArgumentError, "Missing the required parameter 'repository_add_remove_content' when calling RepositoriesGemApi.modify"
|
308
|
+
end
|
309
|
+
# resource path
|
310
|
+
local_var_path = '{gem_gem_repository_href}modify/'.sub('{' + 'gem_gem_repository_href' + '}', CGI.escape(gem_gem_repository_href.to_s).gsub('%2F', '/'))
|
311
|
+
|
312
|
+
# query parameters
|
313
|
+
query_params = opts[:query_params] || {}
|
314
|
+
|
315
|
+
# header parameters
|
316
|
+
header_params = opts[:header_params] || {}
|
317
|
+
# HTTP header 'Accept' (if needed)
|
318
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
319
|
+
# HTTP header 'Content-Type'
|
320
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
321
|
+
|
322
|
+
# form parameters
|
323
|
+
form_params = opts[:form_params] || {}
|
324
|
+
|
325
|
+
# http body (model)
|
326
|
+
post_body = opts[:body] || @api_client.object_to_http_body(repository_add_remove_content)
|
327
|
+
|
328
|
+
# return_type
|
329
|
+
return_type = opts[:return_type] || 'AsyncOperationResponse'
|
330
|
+
|
331
|
+
# auth_names
|
332
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
333
|
+
|
334
|
+
new_options = opts.merge(
|
335
|
+
:header_params => header_params,
|
336
|
+
:query_params => query_params,
|
337
|
+
:form_params => form_params,
|
338
|
+
:body => post_body,
|
339
|
+
:auth_names => auth_names,
|
340
|
+
:return_type => return_type
|
341
|
+
)
|
342
|
+
|
343
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
344
|
+
if @api_client.config.debugging
|
345
|
+
@api_client.config.logger.debug "API called: RepositoriesGemApi#modify\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
346
|
+
end
|
347
|
+
return data, status_code, headers
|
348
|
+
end
|
349
|
+
|
350
|
+
# Update a gem repository
|
351
|
+
# Trigger an asynchronous partial update task
|
352
|
+
# @param gem_gem_repository_href [String]
|
353
|
+
# @param patchedgem_gem_repository [PatchedgemGemRepository]
|
354
|
+
# @param [Hash] opts the optional parameters
|
355
|
+
# @return [AsyncOperationResponse]
|
356
|
+
def partial_update(gem_gem_repository_href, patchedgem_gem_repository, opts = {})
|
357
|
+
data, _status_code, _headers = partial_update_with_http_info(gem_gem_repository_href, patchedgem_gem_repository, opts)
|
358
|
+
data
|
359
|
+
end
|
360
|
+
|
361
|
+
# Update a gem repository
|
362
|
+
# Trigger an asynchronous partial update task
|
363
|
+
# @param gem_gem_repository_href [String]
|
364
|
+
# @param patchedgem_gem_repository [PatchedgemGemRepository]
|
365
|
+
# @param [Hash] opts the optional parameters
|
366
|
+
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
367
|
+
def partial_update_with_http_info(gem_gem_repository_href, patchedgem_gem_repository, opts = {})
|
368
|
+
if @api_client.config.debugging
|
369
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesGemApi.partial_update ...'
|
370
|
+
end
|
371
|
+
# verify the required parameter 'gem_gem_repository_href' is set
|
372
|
+
if @api_client.config.client_side_validation && gem_gem_repository_href.nil?
|
373
|
+
fail ArgumentError, "Missing the required parameter 'gem_gem_repository_href' when calling RepositoriesGemApi.partial_update"
|
374
|
+
end
|
375
|
+
# verify the required parameter 'patchedgem_gem_repository' is set
|
376
|
+
if @api_client.config.client_side_validation && patchedgem_gem_repository.nil?
|
377
|
+
fail ArgumentError, "Missing the required parameter 'patchedgem_gem_repository' when calling RepositoriesGemApi.partial_update"
|
378
|
+
end
|
379
|
+
# resource path
|
380
|
+
local_var_path = '{gem_gem_repository_href}'.sub('{' + 'gem_gem_repository_href' + '}', CGI.escape(gem_gem_repository_href.to_s).gsub('%2F', '/'))
|
381
|
+
|
382
|
+
# query parameters
|
383
|
+
query_params = opts[:query_params] || {}
|
384
|
+
|
385
|
+
# header parameters
|
386
|
+
header_params = opts[:header_params] || {}
|
387
|
+
# HTTP header 'Accept' (if needed)
|
388
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
389
|
+
# HTTP header 'Content-Type'
|
390
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
391
|
+
|
392
|
+
# form parameters
|
393
|
+
form_params = opts[:form_params] || {}
|
394
|
+
|
395
|
+
# http body (model)
|
396
|
+
post_body = opts[:body] || @api_client.object_to_http_body(patchedgem_gem_repository)
|
397
|
+
|
398
|
+
# return_type
|
399
|
+
return_type = opts[:return_type] || 'AsyncOperationResponse'
|
400
|
+
|
401
|
+
# auth_names
|
402
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
403
|
+
|
404
|
+
new_options = opts.merge(
|
405
|
+
:header_params => header_params,
|
406
|
+
:query_params => query_params,
|
407
|
+
:form_params => form_params,
|
408
|
+
:body => post_body,
|
409
|
+
:auth_names => auth_names,
|
410
|
+
:return_type => return_type
|
411
|
+
)
|
412
|
+
|
413
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
414
|
+
if @api_client.config.debugging
|
415
|
+
@api_client.config.logger.debug "API called: RepositoriesGemApi#partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
416
|
+
end
|
417
|
+
return data, status_code, headers
|
418
|
+
end
|
419
|
+
|
420
|
+
# Inspect a gem repository
|
421
|
+
# A ViewSet for GemRepository.
|
422
|
+
# @param gem_gem_repository_href [String]
|
423
|
+
# @param [Hash] opts the optional parameters
|
424
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
425
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
426
|
+
# @return [GemGemRepositoryResponse]
|
427
|
+
def read(gem_gem_repository_href, opts = {})
|
428
|
+
data, _status_code, _headers = read_with_http_info(gem_gem_repository_href, opts)
|
429
|
+
data
|
430
|
+
end
|
431
|
+
|
432
|
+
# Inspect a gem repository
|
433
|
+
# A ViewSet for GemRepository.
|
434
|
+
# @param gem_gem_repository_href [String]
|
435
|
+
# @param [Hash] opts the optional parameters
|
436
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
437
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
438
|
+
# @return [Array<(GemGemRepositoryResponse, Integer, Hash)>] GemGemRepositoryResponse data, response status code and response headers
|
439
|
+
def read_with_http_info(gem_gem_repository_href, opts = {})
|
440
|
+
if @api_client.config.debugging
|
441
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesGemApi.read ...'
|
442
|
+
end
|
443
|
+
# verify the required parameter 'gem_gem_repository_href' is set
|
444
|
+
if @api_client.config.client_side_validation && gem_gem_repository_href.nil?
|
445
|
+
fail ArgumentError, "Missing the required parameter 'gem_gem_repository_href' when calling RepositoriesGemApi.read"
|
446
|
+
end
|
447
|
+
# resource path
|
448
|
+
local_var_path = '{gem_gem_repository_href}'.sub('{' + 'gem_gem_repository_href' + '}', CGI.escape(gem_gem_repository_href.to_s).gsub('%2F', '/'))
|
449
|
+
|
450
|
+
# query parameters
|
451
|
+
query_params = opts[:query_params] || {}
|
452
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
453
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
454
|
+
|
455
|
+
# header parameters
|
456
|
+
header_params = opts[:header_params] || {}
|
457
|
+
# HTTP header 'Accept' (if needed)
|
458
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
459
|
+
|
460
|
+
# form parameters
|
461
|
+
form_params = opts[:form_params] || {}
|
462
|
+
|
463
|
+
# http body (model)
|
464
|
+
post_body = opts[:body]
|
465
|
+
|
466
|
+
# return_type
|
467
|
+
return_type = opts[:return_type] || 'GemGemRepositoryResponse'
|
468
|
+
|
469
|
+
# auth_names
|
470
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
471
|
+
|
472
|
+
new_options = opts.merge(
|
473
|
+
:header_params => header_params,
|
474
|
+
:query_params => query_params,
|
475
|
+
:form_params => form_params,
|
476
|
+
:body => post_body,
|
477
|
+
:auth_names => auth_names,
|
478
|
+
:return_type => return_type
|
479
|
+
)
|
480
|
+
|
481
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
482
|
+
if @api_client.config.debugging
|
483
|
+
@api_client.config.logger.debug "API called: RepositoriesGemApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
484
|
+
end
|
485
|
+
return data, status_code, headers
|
486
|
+
end
|
487
|
+
|
488
|
+
# Sync from a remote
|
489
|
+
# Trigger an asynchronous task to sync gem content.
|
490
|
+
# @param gem_gem_repository_href [String]
|
491
|
+
# @param repository_sync_url [RepositorySyncURL]
|
492
|
+
# @param [Hash] opts the optional parameters
|
493
|
+
# @return [AsyncOperationResponse]
|
494
|
+
def sync(gem_gem_repository_href, repository_sync_url, opts = {})
|
495
|
+
data, _status_code, _headers = sync_with_http_info(gem_gem_repository_href, repository_sync_url, opts)
|
496
|
+
data
|
497
|
+
end
|
498
|
+
|
499
|
+
# Sync from a remote
|
500
|
+
# Trigger an asynchronous task to sync gem content.
|
501
|
+
# @param gem_gem_repository_href [String]
|
502
|
+
# @param repository_sync_url [RepositorySyncURL]
|
503
|
+
# @param [Hash] opts the optional parameters
|
504
|
+
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
505
|
+
def sync_with_http_info(gem_gem_repository_href, repository_sync_url, opts = {})
|
506
|
+
if @api_client.config.debugging
|
507
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesGemApi.sync ...'
|
508
|
+
end
|
509
|
+
# verify the required parameter 'gem_gem_repository_href' is set
|
510
|
+
if @api_client.config.client_side_validation && gem_gem_repository_href.nil?
|
511
|
+
fail ArgumentError, "Missing the required parameter 'gem_gem_repository_href' when calling RepositoriesGemApi.sync"
|
512
|
+
end
|
513
|
+
# verify the required parameter 'repository_sync_url' is set
|
514
|
+
if @api_client.config.client_side_validation && repository_sync_url.nil?
|
515
|
+
fail ArgumentError, "Missing the required parameter 'repository_sync_url' when calling RepositoriesGemApi.sync"
|
516
|
+
end
|
517
|
+
# resource path
|
518
|
+
local_var_path = '{gem_gem_repository_href}sync/'.sub('{' + 'gem_gem_repository_href' + '}', CGI.escape(gem_gem_repository_href.to_s).gsub('%2F', '/'))
|
519
|
+
|
520
|
+
# query parameters
|
521
|
+
query_params = opts[:query_params] || {}
|
522
|
+
|
523
|
+
# header parameters
|
524
|
+
header_params = opts[:header_params] || {}
|
525
|
+
# HTTP header 'Accept' (if needed)
|
526
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
527
|
+
# HTTP header 'Content-Type'
|
528
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
529
|
+
|
530
|
+
# form parameters
|
531
|
+
form_params = opts[:form_params] || {}
|
532
|
+
|
533
|
+
# http body (model)
|
534
|
+
post_body = opts[:body] || @api_client.object_to_http_body(repository_sync_url)
|
535
|
+
|
536
|
+
# return_type
|
537
|
+
return_type = opts[:return_type] || 'AsyncOperationResponse'
|
538
|
+
|
539
|
+
# auth_names
|
540
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
541
|
+
|
542
|
+
new_options = opts.merge(
|
543
|
+
:header_params => header_params,
|
544
|
+
:query_params => query_params,
|
545
|
+
:form_params => form_params,
|
546
|
+
:body => post_body,
|
547
|
+
:auth_names => auth_names,
|
548
|
+
:return_type => return_type
|
549
|
+
)
|
550
|
+
|
551
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
552
|
+
if @api_client.config.debugging
|
553
|
+
@api_client.config.logger.debug "API called: RepositoriesGemApi#sync\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
554
|
+
end
|
555
|
+
return data, status_code, headers
|
556
|
+
end
|
557
|
+
|
558
|
+
# Update a gem repository
|
559
|
+
# Trigger an asynchronous update task
|
560
|
+
# @param gem_gem_repository_href [String]
|
561
|
+
# @param gem_gem_repository [GemGemRepository]
|
562
|
+
# @param [Hash] opts the optional parameters
|
563
|
+
# @return [AsyncOperationResponse]
|
564
|
+
def update(gem_gem_repository_href, gem_gem_repository, opts = {})
|
565
|
+
data, _status_code, _headers = update_with_http_info(gem_gem_repository_href, gem_gem_repository, opts)
|
566
|
+
data
|
567
|
+
end
|
568
|
+
|
569
|
+
# Update a gem repository
|
570
|
+
# Trigger an asynchronous update task
|
571
|
+
# @param gem_gem_repository_href [String]
|
572
|
+
# @param gem_gem_repository [GemGemRepository]
|
573
|
+
# @param [Hash] opts the optional parameters
|
574
|
+
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
575
|
+
def update_with_http_info(gem_gem_repository_href, gem_gem_repository, opts = {})
|
576
|
+
if @api_client.config.debugging
|
577
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesGemApi.update ...'
|
578
|
+
end
|
579
|
+
# verify the required parameter 'gem_gem_repository_href' is set
|
580
|
+
if @api_client.config.client_side_validation && gem_gem_repository_href.nil?
|
581
|
+
fail ArgumentError, "Missing the required parameter 'gem_gem_repository_href' when calling RepositoriesGemApi.update"
|
582
|
+
end
|
583
|
+
# verify the required parameter 'gem_gem_repository' is set
|
584
|
+
if @api_client.config.client_side_validation && gem_gem_repository.nil?
|
585
|
+
fail ArgumentError, "Missing the required parameter 'gem_gem_repository' when calling RepositoriesGemApi.update"
|
586
|
+
end
|
587
|
+
# resource path
|
588
|
+
local_var_path = '{gem_gem_repository_href}'.sub('{' + 'gem_gem_repository_href' + '}', CGI.escape(gem_gem_repository_href.to_s).gsub('%2F', '/'))
|
589
|
+
|
590
|
+
# query parameters
|
591
|
+
query_params = opts[:query_params] || {}
|
592
|
+
|
593
|
+
# header parameters
|
594
|
+
header_params = opts[:header_params] || {}
|
595
|
+
# HTTP header 'Accept' (if needed)
|
596
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
597
|
+
# HTTP header 'Content-Type'
|
598
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
599
|
+
|
600
|
+
# form parameters
|
601
|
+
form_params = opts[:form_params] || {}
|
602
|
+
|
603
|
+
# http body (model)
|
604
|
+
post_body = opts[:body] || @api_client.object_to_http_body(gem_gem_repository)
|
605
|
+
|
606
|
+
# return_type
|
607
|
+
return_type = opts[:return_type] || 'AsyncOperationResponse'
|
608
|
+
|
609
|
+
# auth_names
|
610
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
611
|
+
|
612
|
+
new_options = opts.merge(
|
613
|
+
:header_params => header_params,
|
614
|
+
:query_params => query_params,
|
615
|
+
:form_params => form_params,
|
616
|
+
:body => post_body,
|
617
|
+
:auth_names => auth_names,
|
618
|
+
:return_type => return_type
|
619
|
+
)
|
620
|
+
|
621
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
622
|
+
if @api_client.config.debugging
|
623
|
+
@api_client.config.logger.debug "API called: RepositoriesGemApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
624
|
+
end
|
625
|
+
return data, status_code, headers
|
626
|
+
end
|
627
|
+
end
|
628
|
+
end
|