pulp_maven_client 0.2.0b1.dev01595967297 → 0.2.0b1.dev01596485312

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of pulp_maven_client might be problematic. Click here for more details.

@@ -19,8 +19,9 @@ module PulpMavenClient
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
+ # Delete a repository version
22
23
  # Trigger an asynchronous task to delete a repositroy version.
23
- # @param maven_repository_version_href [String]
24
+ # @param maven_maven_repository_version_href [String]
24
25
  # @param [Hash] opts the optional parameters
25
26
  # @option opts [String] :content content
26
27
  # @option opts [String] :content__in content__in
@@ -38,13 +39,14 @@ module PulpMavenClient
38
39
  # @option opts [String] :pulp_created__lte pulp_created__lte
39
40
  # @option opts [String] :pulp_created__range pulp_created__range
40
41
  # @return [AsyncOperationResponse]
41
- def delete(maven_repository_version_href, opts = {})
42
- data, _status_code, _headers = delete_with_http_info(maven_repository_version_href, opts)
42
+ def delete(maven_maven_repository_version_href, opts = {})
43
+ data, _status_code, _headers = delete_with_http_info(maven_maven_repository_version_href, opts)
43
44
  data
44
45
  end
45
46
 
47
+ # Delete a repository version
46
48
  # Trigger an asynchronous task to delete a repositroy version.
47
- # @param maven_repository_version_href [String]
49
+ # @param maven_maven_repository_version_href [String]
48
50
  # @param [Hash] opts the optional parameters
49
51
  # @option opts [String] :content content
50
52
  # @option opts [String] :content__in content__in
@@ -62,16 +64,16 @@ module PulpMavenClient
62
64
  # @option opts [String] :pulp_created__lte pulp_created__lte
63
65
  # @option opts [String] :pulp_created__range pulp_created__range
64
66
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
65
- def delete_with_http_info(maven_repository_version_href, opts = {})
67
+ def delete_with_http_info(maven_maven_repository_version_href, opts = {})
66
68
  if @api_client.config.debugging
67
69
  @api_client.config.logger.debug 'Calling API: RepositoriesMavenVersionsApi.delete ...'
68
70
  end
69
- # verify the required parameter 'maven_repository_version_href' is set
70
- if @api_client.config.client_side_validation && maven_repository_version_href.nil?
71
- fail ArgumentError, "Missing the required parameter 'maven_repository_version_href' when calling RepositoriesMavenVersionsApi.delete"
71
+ # verify the required parameter 'maven_maven_repository_version_href' is set
72
+ if @api_client.config.client_side_validation && maven_maven_repository_version_href.nil?
73
+ fail ArgumentError, "Missing the required parameter 'maven_maven_repository_version_href' when calling RepositoriesMavenVersionsApi.delete"
72
74
  end
73
75
  # resource path
74
- local_var_path = '{maven_repository_version_href}'.sub('{' + 'maven_repository_version_href' + '}', CGI.escape(maven_repository_version_href.to_s).gsub('%2F', '/'))
76
+ local_var_path = '{maven_maven_repository_version_href}'.sub('{' + 'maven_maven_repository_version_href' + '}', CGI.escape(maven_maven_repository_version_href.to_s).gsub('%2F', '/'))
75
77
 
76
78
  # query parameters
77
79
  query_params = opts[:query_params] || {}
@@ -124,8 +126,9 @@ module PulpMavenClient
124
126
  return data, status_code, headers
125
127
  end
126
128
 
129
+ # List repository versions
127
130
  # MavenRepositoryVersion represents a single Maven repository version.
128
- # @param maven_repository_version_href [String]
131
+ # @param maven_maven_repository_href [String]
129
132
  # @param [Hash] opts the optional parameters
130
133
  # @option opts [String] :content content
131
134
  # @option opts [String] :content__in content__in
@@ -147,13 +150,14 @@ module PulpMavenClient
147
150
  # @option opts [String] :fields A list of fields to include in the response.
148
151
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
149
152
  # @return [InlineResponse2004]
150
- def list(maven_repository_version_href, opts = {})
151
- data, _status_code, _headers = list_with_http_info(maven_repository_version_href, opts)
153
+ def list(maven_maven_repository_href, opts = {})
154
+ data, _status_code, _headers = list_with_http_info(maven_maven_repository_href, opts)
152
155
  data
153
156
  end
154
157
 
158
+ # List repository versions
155
159
  # MavenRepositoryVersion represents a single Maven repository version.
156
- # @param maven_repository_version_href [String]
160
+ # @param maven_maven_repository_href [String]
157
161
  # @param [Hash] opts the optional parameters
158
162
  # @option opts [String] :content content
159
163
  # @option opts [String] :content__in content__in
@@ -175,16 +179,16 @@ module PulpMavenClient
175
179
  # @option opts [String] :fields A list of fields to include in the response.
176
180
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
177
181
  # @return [Array<(InlineResponse2004, Integer, Hash)>] InlineResponse2004 data, response status code and response headers
178
- def list_with_http_info(maven_repository_version_href, opts = {})
182
+ def list_with_http_info(maven_maven_repository_href, opts = {})
179
183
  if @api_client.config.debugging
180
184
  @api_client.config.logger.debug 'Calling API: RepositoriesMavenVersionsApi.list ...'
181
185
  end
182
- # verify the required parameter 'maven_repository_version_href' is set
183
- if @api_client.config.client_side_validation && maven_repository_version_href.nil?
184
- fail ArgumentError, "Missing the required parameter 'maven_repository_version_href' when calling RepositoriesMavenVersionsApi.list"
186
+ # verify the required parameter 'maven_maven_repository_href' is set
187
+ if @api_client.config.client_side_validation && maven_maven_repository_href.nil?
188
+ fail ArgumentError, "Missing the required parameter 'maven_maven_repository_href' when calling RepositoriesMavenVersionsApi.list"
185
189
  end
186
190
  # resource path
187
- local_var_path = '{maven_repository_version_href}versions/'.sub('{' + 'maven_repository_version_href' + '}', CGI.escape(maven_repository_version_href.to_s).gsub('%2F', '/'))
191
+ local_var_path = '{maven_maven_repository_href}versions/'.sub('{' + 'maven_maven_repository_href' + '}', CGI.escape(maven_maven_repository_href.to_s).gsub('%2F', '/'))
188
192
 
189
193
  # query parameters
190
194
  query_params = opts[:query_params] || {}
@@ -241,33 +245,35 @@ module PulpMavenClient
241
245
  return data, status_code, headers
242
246
  end
243
247
 
248
+ # Inspect a repository version
244
249
  # MavenRepositoryVersion represents a single Maven repository version.
245
- # @param maven_repository_version_href [String]
250
+ # @param maven_maven_repository_version_href [String]
246
251
  # @param [Hash] opts the optional parameters
247
252
  # @option opts [String] :fields A list of fields to include in the response.
248
253
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
249
254
  # @return [RepositoryVersionResponse]
250
- def read(maven_repository_version_href, opts = {})
251
- data, _status_code, _headers = read_with_http_info(maven_repository_version_href, opts)
255
+ def read(maven_maven_repository_version_href, opts = {})
256
+ data, _status_code, _headers = read_with_http_info(maven_maven_repository_version_href, opts)
252
257
  data
253
258
  end
254
259
 
260
+ # Inspect a repository version
255
261
  # MavenRepositoryVersion represents a single Maven repository version.
256
- # @param maven_repository_version_href [String]
262
+ # @param maven_maven_repository_version_href [String]
257
263
  # @param [Hash] opts the optional parameters
258
264
  # @option opts [String] :fields A list of fields to include in the response.
259
265
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
260
266
  # @return [Array<(RepositoryVersionResponse, Integer, Hash)>] RepositoryVersionResponse data, response status code and response headers
261
- def read_with_http_info(maven_repository_version_href, opts = {})
267
+ def read_with_http_info(maven_maven_repository_version_href, opts = {})
262
268
  if @api_client.config.debugging
263
269
  @api_client.config.logger.debug 'Calling API: RepositoriesMavenVersionsApi.read ...'
264
270
  end
265
- # verify the required parameter 'maven_repository_version_href' is set
266
- if @api_client.config.client_side_validation && maven_repository_version_href.nil?
267
- fail ArgumentError, "Missing the required parameter 'maven_repository_version_href' when calling RepositoriesMavenVersionsApi.read"
271
+ # verify the required parameter 'maven_maven_repository_version_href' is set
272
+ if @api_client.config.client_side_validation && maven_maven_repository_version_href.nil?
273
+ fail ArgumentError, "Missing the required parameter 'maven_maven_repository_version_href' when calling RepositoriesMavenVersionsApi.read"
268
274
  end
269
275
  # resource path
270
- local_var_path = '{maven_repository_version_href}'.sub('{' + 'maven_repository_version_href' + '}', CGI.escape(maven_repository_version_href.to_s).gsub('%2F', '/'))
276
+ local_var_path = '{maven_maven_repository_version_href}'.sub('{' + 'maven_maven_repository_version_href' + '}', CGI.escape(maven_maven_repository_version_href.to_s).gsub('%2F', '/'))
271
277
 
272
278
  # query parameters
273
279
  query_params = opts[:query_params] || {}
@@ -308,34 +314,34 @@ module PulpMavenClient
308
314
  end
309
315
 
310
316
  # Trigger an asynchronous task to repair a repositroy version.
311
- # @param maven_repository_version_href [String]
317
+ # @param maven_maven_repository_version_href [String]
312
318
  # @param repository_version [RepositoryVersion]
313
319
  # @param [Hash] opts the optional parameters
314
320
  # @return [AsyncOperationResponse]
315
- def repair(maven_repository_version_href, repository_version, opts = {})
316
- data, _status_code, _headers = repair_with_http_info(maven_repository_version_href, repository_version, opts)
321
+ def repair(maven_maven_repository_version_href, repository_version, opts = {})
322
+ data, _status_code, _headers = repair_with_http_info(maven_maven_repository_version_href, repository_version, opts)
317
323
  data
318
324
  end
319
325
 
320
326
  # Trigger an asynchronous task to repair a repositroy version.
321
- # @param maven_repository_version_href [String]
327
+ # @param maven_maven_repository_version_href [String]
322
328
  # @param repository_version [RepositoryVersion]
323
329
  # @param [Hash] opts the optional parameters
324
330
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
325
- def repair_with_http_info(maven_repository_version_href, repository_version, opts = {})
331
+ def repair_with_http_info(maven_maven_repository_version_href, repository_version, opts = {})
326
332
  if @api_client.config.debugging
327
333
  @api_client.config.logger.debug 'Calling API: RepositoriesMavenVersionsApi.repair ...'
328
334
  end
329
- # verify the required parameter 'maven_repository_version_href' is set
330
- if @api_client.config.client_side_validation && maven_repository_version_href.nil?
331
- fail ArgumentError, "Missing the required parameter 'maven_repository_version_href' when calling RepositoriesMavenVersionsApi.repair"
335
+ # verify the required parameter 'maven_maven_repository_version_href' is set
336
+ if @api_client.config.client_side_validation && maven_maven_repository_version_href.nil?
337
+ fail ArgumentError, "Missing the required parameter 'maven_maven_repository_version_href' when calling RepositoriesMavenVersionsApi.repair"
332
338
  end
333
339
  # verify the required parameter 'repository_version' is set
334
340
  if @api_client.config.client_side_validation && repository_version.nil?
335
341
  fail ArgumentError, "Missing the required parameter 'repository_version' when calling RepositoriesMavenVersionsApi.repair"
336
342
  end
337
343
  # resource path
338
- local_var_path = '{maven_repository_version_href}repair/'.sub('{' + 'maven_repository_version_href' + '}', CGI.escape(maven_repository_version_href.to_s).gsub('%2F', '/'))
344
+ local_var_path = '{maven_maven_repository_version_href}repair/'.sub('{' + 'maven_maven_repository_version_href' + '}', CGI.escape(maven_maven_repository_version_href.to_s).gsub('%2F', '/'))
339
345
 
340
346
  # query parameters
341
347
  query_params = opts[:query_params] || {}
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.2.3
11
11
  =end
12
12
 
13
13
  module PulpMavenClient
14
- VERSION = '0.2.0b1.dev01595967297'
14
+ VERSION = '0.2.0b1.dev01596485312'
15
15
  end
@@ -33,6 +33,7 @@ describe 'ContentArtifactApi' do
33
33
  end
34
34
 
35
35
  # unit tests for create
36
+ # Create a maven artifact
36
37
  # A ViewSet for MavenArtifact.
37
38
  # @param maven_maven_artifact
38
39
  # @param [Hash] opts the optional parameters
@@ -44,6 +45,7 @@ describe 'ContentArtifactApi' do
44
45
  end
45
46
 
46
47
  # unit tests for list
48
+ # List maven artifacts
47
49
  # A ViewSet for MavenArtifact.
48
50
  # @param [Hash] opts the optional parameters
49
51
  # @option opts [String] :artifact_id artifact_id
@@ -66,8 +68,9 @@ describe 'ContentArtifactApi' do
66
68
  end
67
69
 
68
70
  # unit tests for read
71
+ # Inspect a maven artifact
69
72
  # A ViewSet for MavenArtifact.
70
- # @param maven_artifact_href
73
+ # @param maven_maven_artifact_href
71
74
  # @param [Hash] opts the optional parameters
72
75
  # @option opts [String] :fields A list of fields to include in the response.
73
76
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
@@ -33,6 +33,7 @@ describe 'DistributionsMavenApi' do
33
33
  end
34
34
 
35
35
  # unit tests for create
36
+ # Create a maven distribution
36
37
  # Trigger an asynchronous create task
37
38
  # @param maven_maven_distribution
38
39
  # @param [Hash] opts the optional parameters
@@ -44,8 +45,9 @@ describe 'DistributionsMavenApi' do
44
45
  end
45
46
 
46
47
  # unit tests for delete
48
+ # Delete a maven distribution
47
49
  # Trigger an asynchronous delete task
48
- # @param maven_distribution_href
50
+ # @param maven_maven_distribution_href
49
51
  # @param [Hash] opts the optional parameters
50
52
  # @option opts [String] :base_path base_path
51
53
  # @option opts [String] :base_path__contains base_path__contains
@@ -62,6 +64,7 @@ describe 'DistributionsMavenApi' do
62
64
  end
63
65
 
64
66
  # unit tests for list
67
+ # List maven distributions
65
68
  # ViewSet for Maven Distributions.
66
69
  # @param [Hash] opts the optional parameters
67
70
  # @option opts [String] :base_path base_path
@@ -83,8 +86,9 @@ describe 'DistributionsMavenApi' do
83
86
  end
84
87
 
85
88
  # unit tests for partial_update
89
+ # Update a maven distribution
86
90
  # Trigger an asynchronous partial update task
87
- # @param maven_distribution_href
91
+ # @param maven_maven_distribution_href
88
92
  # @param patchedmaven_maven_distribution
89
93
  # @param [Hash] opts the optional parameters
90
94
  # @option opts [String] :base_path base_path
@@ -102,8 +106,9 @@ describe 'DistributionsMavenApi' do
102
106
  end
103
107
 
104
108
  # unit tests for read
109
+ # Inspect a maven distribution
105
110
  # ViewSet for Maven Distributions.
106
- # @param maven_distribution_href
111
+ # @param maven_maven_distribution_href
107
112
  # @param [Hash] opts the optional parameters
108
113
  # @option opts [String] :fields A list of fields to include in the response.
109
114
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
@@ -115,8 +120,9 @@ describe 'DistributionsMavenApi' do
115
120
  end
116
121
 
117
122
  # unit tests for update
123
+ # Update a maven distribution
118
124
  # Trigger an asynchronous update task
119
- # @param maven_distribution_href
125
+ # @param maven_maven_distribution_href
120
126
  # @param maven_maven_distribution
121
127
  # @param [Hash] opts the optional parameters
122
128
  # @option opts [String] :base_path base_path
@@ -33,6 +33,7 @@ describe 'RemotesMavenApi' do
33
33
  end
34
34
 
35
35
  # unit tests for create
36
+ # Create a maven remote
36
37
  # A ViewSet for MavenRemote.
37
38
  # @param maven_maven_remote
38
39
  # @param [Hash] opts the optional parameters
@@ -44,8 +45,9 @@ describe 'RemotesMavenApi' do
44
45
  end
45
46
 
46
47
  # unit tests for delete
48
+ # Delete a maven remote
47
49
  # Trigger an asynchronous delete task
48
- # @param maven_remote_href
50
+ # @param maven_maven_remote_href
49
51
  # @param [Hash] opts the optional parameters
50
52
  # @option opts [String] :name name
51
53
  # @option opts [String] :name__in name__in
@@ -64,6 +66,7 @@ describe 'RemotesMavenApi' do
64
66
  end
65
67
 
66
68
  # unit tests for list
69
+ # List maven remotes
67
70
  # A ViewSet for MavenRemote.
68
71
  # @param [Hash] opts the optional parameters
69
72
  # @option opts [Integer] :limit Number of results to return per page.
@@ -87,8 +90,9 @@ describe 'RemotesMavenApi' do
87
90
  end
88
91
 
89
92
  # unit tests for partial_update
93
+ # Update a maven remote
90
94
  # Trigger an asynchronous partial update task
91
- # @param maven_remote_href
95
+ # @param maven_maven_remote_href
92
96
  # @param patchedmaven_maven_remote
93
97
  # @param [Hash] opts the optional parameters
94
98
  # @option opts [String] :name name
@@ -108,8 +112,9 @@ describe 'RemotesMavenApi' do
108
112
  end
109
113
 
110
114
  # unit tests for read
115
+ # Inspect a maven remote
111
116
  # A ViewSet for MavenRemote.
112
- # @param maven_remote_href
117
+ # @param maven_maven_remote_href
113
118
  # @param [Hash] opts the optional parameters
114
119
  # @option opts [String] :fields A list of fields to include in the response.
115
120
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
@@ -121,8 +126,9 @@ describe 'RemotesMavenApi' do
121
126
  end
122
127
 
123
128
  # unit tests for update
129
+ # Update a maven remote
124
130
  # Trigger an asynchronous update task
125
- # @param maven_remote_href
131
+ # @param maven_maven_remote_href
126
132
  # @param maven_maven_remote
127
133
  # @param [Hash] opts the optional parameters
128
134
  # @option opts [String] :name name
@@ -33,6 +33,7 @@ describe 'RepositoriesMavenApi' do
33
33
  end
34
34
 
35
35
  # unit tests for create
36
+ # Create a maven repository
36
37
  # A ViewSet for MavenRemote.
37
38
  # @param maven_maven_repository
38
39
  # @param [Hash] opts the optional parameters
@@ -44,8 +45,9 @@ describe 'RepositoriesMavenApi' do
44
45
  end
45
46
 
46
47
  # unit tests for delete
48
+ # Delete a maven repository
47
49
  # Trigger an asynchronous delete task
48
- # @param maven_repository_href
50
+ # @param maven_maven_repository_href
49
51
  # @param [Hash] opts the optional parameters
50
52
  # @option opts [String] :name name
51
53
  # @option opts [String] :name__in name__in
@@ -58,6 +60,7 @@ describe 'RepositoriesMavenApi' do
58
60
  end
59
61
 
60
62
  # unit tests for list
63
+ # List maven repositorys
61
64
  # A ViewSet for MavenRemote.
62
65
  # @param [Hash] opts the optional parameters
63
66
  # @option opts [Integer] :limit Number of results to return per page.
@@ -75,8 +78,9 @@ describe 'RepositoriesMavenApi' do
75
78
  end
76
79
 
77
80
  # unit tests for partial_update
81
+ # Update a maven repository
78
82
  # Trigger an asynchronous partial update task
79
- # @param maven_repository_href
83
+ # @param maven_maven_repository_href
80
84
  # @param patchedmaven_maven_repository
81
85
  # @param [Hash] opts the optional parameters
82
86
  # @option opts [String] :name name
@@ -90,8 +94,9 @@ describe 'RepositoriesMavenApi' do
90
94
  end
91
95
 
92
96
  # unit tests for read
97
+ # Inspect a maven repository
93
98
  # A ViewSet for MavenRemote.
94
- # @param maven_repository_href
99
+ # @param maven_maven_repository_href
95
100
  # @param [Hash] opts the optional parameters
96
101
  # @option opts [String] :fields A list of fields to include in the response.
97
102
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
@@ -103,8 +108,9 @@ describe 'RepositoriesMavenApi' do
103
108
  end
104
109
 
105
110
  # unit tests for update
111
+ # Update a maven repository
106
112
  # Trigger an asynchronous update task
107
- # @param maven_repository_href
113
+ # @param maven_maven_repository_href
108
114
  # @param maven_maven_repository
109
115
  # @param [Hash] opts the optional parameters
110
116
  # @option opts [String] :name name
@@ -33,8 +33,9 @@ describe 'RepositoriesMavenVersionsApi' do
33
33
  end
34
34
 
35
35
  # unit tests for delete
36
+ # Delete a repository version
36
37
  # Trigger an asynchronous task to delete a repositroy version.
37
- # @param maven_repository_version_href
38
+ # @param maven_maven_repository_version_href
38
39
  # @param [Hash] opts the optional parameters
39
40
  # @option opts [String] :content content
40
41
  # @option opts [String] :content__in content__in
@@ -59,8 +60,9 @@ describe 'RepositoriesMavenVersionsApi' do
59
60
  end
60
61
 
61
62
  # unit tests for list
63
+ # List repository versions
62
64
  # MavenRepositoryVersion represents a single Maven repository version.
63
- # @param maven_repository_version_href
65
+ # @param maven_maven_repository_href
64
66
  # @param [Hash] opts the optional parameters
65
67
  # @option opts [String] :content content
66
68
  # @option opts [String] :content__in content__in
@@ -89,8 +91,9 @@ describe 'RepositoriesMavenVersionsApi' do
89
91
  end
90
92
 
91
93
  # unit tests for read
94
+ # Inspect a repository version
92
95
  # MavenRepositoryVersion represents a single Maven repository version.
93
- # @param maven_repository_version_href
96
+ # @param maven_maven_repository_version_href
94
97
  # @param [Hash] opts the optional parameters
95
98
  # @option opts [String] :fields A list of fields to include in the response.
96
99
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
@@ -103,7 +106,7 @@ describe 'RepositoriesMavenVersionsApi' do
103
106
 
104
107
  # unit tests for repair
105
108
  # Trigger an asynchronous task to repair a repositroy version.
106
- # @param maven_repository_version_href
109
+ # @param maven_maven_repository_version_href
107
110
  # @param repository_version
108
111
  # @param [Hash] opts the optional parameters
109
112
  # @return [AsyncOperationResponse]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_maven_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0b1.dev01595967297
4
+ version: 0.2.0b1.dev01596485312
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-28 00:00:00.000000000 Z
11
+ date: 2020-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday