pulp_maven_client 0.2.0b1.dev01595620836 → 0.2.0b1.dev01596139522

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.

Files changed (92) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +24 -13
  3. data/docs/ContentArtifactApi.md +32 -32
  4. data/docs/ContentSummary.md +3 -3
  5. data/docs/ContentSummaryResponse.md +21 -0
  6. data/docs/DistributionsMavenApi.md +104 -56
  7. data/docs/InlineResponse200.md +3 -3
  8. data/docs/InlineResponse2001.md +3 -3
  9. data/docs/InlineResponse2002.md +3 -3
  10. data/docs/InlineResponse2003.md +3 -3
  11. data/docs/InlineResponse2004.md +3 -3
  12. data/docs/MavenMavenArtifact.md +3 -13
  13. data/docs/MavenMavenArtifactResponse.md +29 -0
  14. data/docs/MavenMavenDistribution.md +1 -7
  15. data/docs/MavenMavenDistributionResponse.md +29 -0
  16. data/docs/MavenMavenRemote.md +2 -8
  17. data/docs/MavenMavenRemoteResponse.md +43 -0
  18. data/docs/MavenMavenRepository.md +4 -10
  19. data/docs/MavenMavenRepositoryResponse.md +29 -0
  20. data/docs/PatchedmavenMavenDistribution.md +23 -0
  21. data/docs/PatchedmavenMavenRemote.md +37 -0
  22. data/docs/PatchedmavenMavenRepository.md +21 -0
  23. data/docs/PolicyEnum.md +16 -0
  24. data/docs/RemotesMavenApi.md +121 -61
  25. data/docs/RepositoriesMavenApi.md +73 -49
  26. data/docs/RepositoriesMavenVersionsApi.md +90 -58
  27. data/docs/RepositoryVersion.md +1 -9
  28. data/docs/RepositoryVersionResponse.md +25 -0
  29. data/lib/pulp_maven_client.rb +12 -2
  30. data/lib/pulp_maven_client/api/content_artifact_api.rb +44 -44
  31. data/lib/pulp_maven_client/api/distributions_maven_api.rb +131 -68
  32. data/lib/pulp_maven_client/api/remotes_maven_api.rb +159 -78
  33. data/lib/pulp_maven_client/api/repositories_maven_api.rb +89 -62
  34. data/lib/pulp_maven_client/api/repositories_maven_versions_api.rb +119 -74
  35. data/lib/pulp_maven_client/api_client.rb +2 -2
  36. data/lib/pulp_maven_client/api_error.rb +2 -2
  37. data/lib/pulp_maven_client/configuration.rb +3 -3
  38. data/lib/pulp_maven_client/models/async_operation_response.rb +3 -2
  39. data/lib/pulp_maven_client/models/content_summary.rb +9 -15
  40. data/lib/pulp_maven_client/models/content_summary_response.rb +240 -0
  41. data/lib/pulp_maven_client/models/inline_response200.rb +3 -13
  42. data/lib/pulp_maven_client/models/inline_response2001.rb +3 -13
  43. data/lib/pulp_maven_client/models/inline_response2002.rb +3 -13
  44. data/lib/pulp_maven_client/models/inline_response2003.rb +3 -13
  45. data/lib/pulp_maven_client/models/inline_response2004.rb +3 -13
  46. data/lib/pulp_maven_client/models/maven_maven_artifact.rb +14 -117
  47. data/lib/pulp_maven_client/models/maven_maven_artifact_response.rb +272 -0
  48. data/lib/pulp_maven_client/models/maven_maven_distribution.rb +4 -85
  49. data/lib/pulp_maven_client/models/maven_maven_distribution_response.rb +279 -0
  50. data/lib/pulp_maven_client/models/maven_maven_remote.rb +5 -197
  51. data/lib/pulp_maven_client/models/maven_maven_remote_response.rb +368 -0
  52. data/lib/pulp_maven_client/models/maven_maven_repository.rb +18 -78
  53. data/lib/pulp_maven_client/models/maven_maven_repository_response.rb +271 -0
  54. data/lib/pulp_maven_client/models/patchedmaven_maven_distribution.rb +240 -0
  55. data/lib/pulp_maven_client/models/patchedmaven_maven_remote.rb +329 -0
  56. data/lib/pulp_maven_client/models/patchedmaven_maven_repository.rb +229 -0
  57. data/lib/pulp_maven_client/models/policy_enum.rb +36 -0
  58. data/lib/pulp_maven_client/models/repository_version.rb +7 -43
  59. data/lib/pulp_maven_client/models/repository_version_response.rb +246 -0
  60. data/lib/pulp_maven_client/version.rb +3 -3
  61. data/pulp_maven_client.gemspec +4 -4
  62. data/spec/api/content_artifact_api_spec.rb +14 -14
  63. data/spec/api/distributions_maven_api_spec.rb +39 -18
  64. data/spec/api/remotes_maven_api_spec.rb +48 -21
  65. data/spec/api/repositories_maven_api_spec.rb +24 -15
  66. data/spec/api/repositories_maven_versions_api_spec.rb +38 -23
  67. data/spec/api_client_spec.rb +2 -2
  68. data/spec/configuration_spec.rb +2 -2
  69. data/spec/models/async_operation_response_spec.rb +2 -2
  70. data/spec/models/content_summary_response_spec.rb +53 -0
  71. data/spec/models/content_summary_spec.rb +2 -2
  72. data/spec/models/inline_response2001_spec.rb +2 -2
  73. data/spec/models/inline_response2002_spec.rb +2 -2
  74. data/spec/models/inline_response2003_spec.rb +2 -2
  75. data/spec/models/inline_response2004_spec.rb +2 -2
  76. data/spec/models/inline_response200_spec.rb +2 -2
  77. data/spec/models/maven_maven_artifact_response_spec.rb +77 -0
  78. data/spec/models/maven_maven_artifact_spec.rb +3 -33
  79. data/spec/models/maven_maven_distribution_response_spec.rb +77 -0
  80. data/spec/models/maven_maven_distribution_spec.rb +2 -20
  81. data/spec/models/maven_maven_remote_response_spec.rb +119 -0
  82. data/spec/models/maven_maven_remote_spec.rb +2 -24
  83. data/spec/models/maven_maven_repository_response_spec.rb +77 -0
  84. data/spec/models/maven_maven_repository_spec.rb +5 -23
  85. data/spec/models/patchedmaven_maven_distribution_spec.rb +59 -0
  86. data/spec/models/patchedmaven_maven_remote_spec.rb +101 -0
  87. data/spec/models/patchedmaven_maven_repository_spec.rb +53 -0
  88. data/spec/models/policy_enum_spec.rb +35 -0
  89. data/spec/models/repository_version_response_spec.rb +65 -0
  90. data/spec/models/repository_version_spec.rb +2 -26
  91. data/spec/spec_helper.rb +2 -2
  92. metadata +44 -4
@@ -5,7 +5,7 @@ All URIs are relative to *http://pulp*
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
7
  [**delete**](RepositoriesMavenVersionsApi.md#delete) | **DELETE** {maven_repository_version_href} | Delete a repository version
8
- [**list**](RepositoriesMavenVersionsApi.md#list) | **GET** {maven_repository_href}versions/ | List repository versions
8
+ [**list**](RepositoriesMavenVersionsApi.md#list) | **GET** {maven_repository_version_href}versions/ | List repository versions
9
9
  [**read**](RepositoriesMavenVersionsApi.md#read) | **GET** {maven_repository_version_href} | Inspect a repository version
10
10
  [**repair**](RepositoriesMavenVersionsApi.md#repair) | **POST** {maven_repository_version_href}repair/ |
11
11
 
@@ -13,7 +13,7 @@ Method | HTTP request | Description
13
13
 
14
14
  ## delete
15
15
 
16
- > AsyncOperationResponse delete(maven_repository_version_href)
16
+ > AsyncOperationResponse delete(maven_repository_version_href, opts)
17
17
 
18
18
  Delete a repository version
19
19
 
@@ -26,17 +26,34 @@ Trigger an asynchronous task to delete a repositroy version.
26
26
  require 'pulp_maven_client'
27
27
  # setup authorization
28
28
  PulpMavenClient.configure do |config|
29
- # Configure HTTP basic authorization: Basic
29
+ # Configure HTTP basic authorization: basicAuth
30
30
  config.username = 'YOUR USERNAME'
31
31
  config.password = 'YOUR PASSWORD'
32
32
  end
33
33
 
34
34
  api_instance = PulpMavenClient::RepositoriesMavenVersionsApi.new
35
- maven_repository_version_href = 'maven_repository_version_href_example' # String | URI of Repository Version. e.g.: /pulp/api/v3/repositories/maven/maven/1/versions/1/
35
+ maven_repository_version_href = 'maven_repository_version_href_example' # String |
36
+ opts = {
37
+ content: 'content_example', # String | content
38
+ content__in: 'content__in_example', # String | content__in
39
+ number: 'number_example', # String | number
40
+ number__gt: 'number__gt_example', # String | number__gt
41
+ number__gte: 'number__gte_example', # String | number__gte
42
+ number__lt: 'number__lt_example', # String | number__lt
43
+ number__lte: 'number__lte_example', # String | number__lte
44
+ number__range: 'number__range_example', # String | number__range
45
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
46
+ pulp_created: 'pulp_created_example', # String | pulp_created
47
+ pulp_created__gt: 'pulp_created__gt_example', # String | pulp_created__gt
48
+ pulp_created__gte: 'pulp_created__gte_example', # String | pulp_created__gte
49
+ pulp_created__lt: 'pulp_created__lt_example', # String | pulp_created__lt
50
+ pulp_created__lte: 'pulp_created__lte_example', # String | pulp_created__lte
51
+ pulp_created__range: 'pulp_created__range_example' # String | pulp_created__range
52
+ }
36
53
 
37
54
  begin
38
55
  #Delete a repository version
39
- result = api_instance.delete(maven_repository_version_href)
56
+ result = api_instance.delete(maven_repository_version_href, opts)
40
57
  p result
41
58
  rescue PulpMavenClient::ApiError => e
42
59
  puts "Exception when calling RepositoriesMavenVersionsApi->delete: #{e}"
@@ -48,7 +65,22 @@ end
48
65
 
49
66
  Name | Type | Description | Notes
50
67
  ------------- | ------------- | ------------- | -------------
51
- **maven_repository_version_href** | **String**| URI of Repository Version. e.g.: /pulp/api/v3/repositories/maven/maven/1/versions/1/ |
68
+ **maven_repository_version_href** | **String**| |
69
+ **content** | **String**| content | [optional]
70
+ **content__in** | **String**| content__in | [optional]
71
+ **number** | **String**| number | [optional]
72
+ **number__gt** | **String**| number__gt | [optional]
73
+ **number__gte** | **String**| number__gte | [optional]
74
+ **number__lt** | **String**| number__lt | [optional]
75
+ **number__lte** | **String**| number__lte | [optional]
76
+ **number__range** | **String**| number__range | [optional]
77
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
78
+ **pulp_created** | **String**| pulp_created | [optional]
79
+ **pulp_created__gt** | **String**| pulp_created__gt | [optional]
80
+ **pulp_created__gte** | **String**| pulp_created__gte | [optional]
81
+ **pulp_created__lt** | **String**| pulp_created__lt | [optional]
82
+ **pulp_created__lte** | **String**| pulp_created__lte | [optional]
83
+ **pulp_created__range** | **String**| pulp_created__range | [optional]
52
84
 
53
85
  ### Return type
54
86
 
@@ -56,7 +88,7 @@ Name | Type | Description | Notes
56
88
 
57
89
  ### Authorization
58
90
 
59
- [Basic](../README.md#Basic)
91
+ [basicAuth](../README.md#basicAuth)
60
92
 
61
93
  ### HTTP request headers
62
94
 
@@ -66,7 +98,7 @@ Name | Type | Description | Notes
66
98
 
67
99
  ## list
68
100
 
69
- > InlineResponse2004 list(maven_repository_href, opts)
101
+ > InlineResponse2004 list(maven_repository_version_href, opts)
70
102
 
71
103
  List repository versions
72
104
 
@@ -79,38 +111,38 @@ MavenRepositoryVersion represents a single Maven repository version.
79
111
  require 'pulp_maven_client'
80
112
  # setup authorization
81
113
  PulpMavenClient.configure do |config|
82
- # Configure HTTP basic authorization: Basic
114
+ # Configure HTTP basic authorization: basicAuth
83
115
  config.username = 'YOUR USERNAME'
84
116
  config.password = 'YOUR PASSWORD'
85
117
  end
86
118
 
87
119
  api_instance = PulpMavenClient::RepositoriesMavenVersionsApi.new
88
- maven_repository_href = 'maven_repository_href_example' # String | URI of Maven Repository. e.g.: /pulp/api/v3/repositories/maven/maven/1/
120
+ maven_repository_version_href = 'maven_repository_version_href_example' # String |
89
121
  opts = {
90
- ordering: 'ordering_example', # String | Which field to use when ordering the results.
91
- number: 3.4, # Float |
92
- number__lt: 3.4, # Float | Filter results where number is less than value
93
- number__lte: 3.4, # Float | Filter results where number is less than or equal to value
94
- number__gt: 3.4, # Float | Filter results where number is greater than value
95
- number__gte: 3.4, # Float | Filter results where number is greater than or equal to value
96
- number__range: 3.4, # Float | Filter results where number is between two comma separated values
97
- pulp_created__lt: 'pulp_created__lt_example', # String | Filter results where pulp_created is less than value
98
- pulp_created__lte: 'pulp_created__lte_example', # String | Filter results where pulp_created is less than or equal to value
99
- pulp_created__gt: 'pulp_created__gt_example', # String | Filter results where pulp_created is greater than value
100
- pulp_created__gte: 'pulp_created__gte_example', # String | Filter results where pulp_created is greater than or equal to value
101
- pulp_created__range: 'pulp_created__range_example', # String | Filter results where pulp_created is between two comma separated values
102
- pulp_created: 'pulp_created_example', # String | ISO 8601 formatted dates are supported
103
- content: 'content_example', # String | Content Unit referenced by HREF
104
- content__in: 'content__in_example', # String | Content Unit referenced by HREF
122
+ content: 'content_example', # String | content
123
+ content__in: 'content__in_example', # String | content__in
105
124
  limit: 56, # Integer | Number of results to return per page.
125
+ number: 'number_example', # String | number
126
+ number__gt: 'number__gt_example', # String | number__gt
127
+ number__gte: 'number__gte_example', # String | number__gte
128
+ number__lt: 'number__lt_example', # String | number__lt
129
+ number__lte: 'number__lte_example', # String | number__lte
130
+ number__range: 'number__range_example', # String | number__range
106
131
  offset: 56, # Integer | The initial index from which to return the results.
132
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
133
+ pulp_created: 'pulp_created_example', # String | pulp_created
134
+ pulp_created__gt: 'pulp_created__gt_example', # String | pulp_created__gt
135
+ pulp_created__gte: 'pulp_created__gte_example', # String | pulp_created__gte
136
+ pulp_created__lt: 'pulp_created__lt_example', # String | pulp_created__lt
137
+ pulp_created__lte: 'pulp_created__lte_example', # String | pulp_created__lte
138
+ pulp_created__range: 'pulp_created__range_example', # String | pulp_created__range
107
139
  fields: 'fields_example', # String | A list of fields to include in the response.
108
140
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
109
141
  }
110
142
 
111
143
  begin
112
144
  #List repository versions
113
- result = api_instance.list(maven_repository_href, opts)
145
+ result = api_instance.list(maven_repository_version_href, opts)
114
146
  p result
115
147
  rescue PulpMavenClient::ApiError => e
116
148
  puts "Exception when calling RepositoriesMavenVersionsApi->list: #{e}"
@@ -122,24 +154,24 @@ end
122
154
 
123
155
  Name | Type | Description | Notes
124
156
  ------------- | ------------- | ------------- | -------------
125
- **maven_repository_href** | **String**| URI of Maven Repository. e.g.: /pulp/api/v3/repositories/maven/maven/1/ |
126
- **ordering** | **String**| Which field to use when ordering the results. | [optional]
127
- **number** | **Float**| | [optional]
128
- **number__lt** | **Float**| Filter results where number is less than value | [optional]
129
- **number__lte** | **Float**| Filter results where number is less than or equal to value | [optional]
130
- **number__gt** | **Float**| Filter results where number is greater than value | [optional]
131
- **number__gte** | **Float**| Filter results where number is greater than or equal to value | [optional]
132
- **number__range** | **Float**| Filter results where number is between two comma separated values | [optional]
133
- **pulp_created__lt** | **String**| Filter results where pulp_created is less than value | [optional]
134
- **pulp_created__lte** | **String**| Filter results where pulp_created is less than or equal to value | [optional]
135
- **pulp_created__gt** | **String**| Filter results where pulp_created is greater than value | [optional]
136
- **pulp_created__gte** | **String**| Filter results where pulp_created is greater than or equal to value | [optional]
137
- **pulp_created__range** | **String**| Filter results where pulp_created is between two comma separated values | [optional]
138
- **pulp_created** | **String**| ISO 8601 formatted dates are supported | [optional]
139
- **content** | **String**| Content Unit referenced by HREF | [optional]
140
- **content__in** | **String**| Content Unit referenced by HREF | [optional]
157
+ **maven_repository_version_href** | **String**| |
158
+ **content** | **String**| content | [optional]
159
+ **content__in** | **String**| content__in | [optional]
141
160
  **limit** | **Integer**| Number of results to return per page. | [optional]
161
+ **number** | **String**| number | [optional]
162
+ **number__gt** | **String**| number__gt | [optional]
163
+ **number__gte** | **String**| number__gte | [optional]
164
+ **number__lt** | **String**| number__lt | [optional]
165
+ **number__lte** | **String**| number__lte | [optional]
166
+ **number__range** | **String**| number__range | [optional]
142
167
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
168
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
169
+ **pulp_created** | **String**| pulp_created | [optional]
170
+ **pulp_created__gt** | **String**| pulp_created__gt | [optional]
171
+ **pulp_created__gte** | **String**| pulp_created__gte | [optional]
172
+ **pulp_created__lt** | **String**| pulp_created__lt | [optional]
173
+ **pulp_created__lte** | **String**| pulp_created__lte | [optional]
174
+ **pulp_created__range** | **String**| pulp_created__range | [optional]
143
175
  **fields** | **String**| A list of fields to include in the response. | [optional]
144
176
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
145
177
 
@@ -149,7 +181,7 @@ Name | Type | Description | Notes
149
181
 
150
182
  ### Authorization
151
183
 
152
- [Basic](../README.md#Basic)
184
+ [basicAuth](../README.md#basicAuth)
153
185
 
154
186
  ### HTTP request headers
155
187
 
@@ -159,7 +191,7 @@ Name | Type | Description | Notes
159
191
 
160
192
  ## read
161
193
 
162
- > RepositoryVersion read(maven_repository_version_href, opts)
194
+ > RepositoryVersionResponse read(maven_repository_version_href, opts)
163
195
 
164
196
  Inspect a repository version
165
197
 
@@ -172,13 +204,13 @@ MavenRepositoryVersion represents a single Maven repository version.
172
204
  require 'pulp_maven_client'
173
205
  # setup authorization
174
206
  PulpMavenClient.configure do |config|
175
- # Configure HTTP basic authorization: Basic
207
+ # Configure HTTP basic authorization: basicAuth
176
208
  config.username = 'YOUR USERNAME'
177
209
  config.password = 'YOUR PASSWORD'
178
210
  end
179
211
 
180
212
  api_instance = PulpMavenClient::RepositoriesMavenVersionsApi.new
181
- maven_repository_version_href = 'maven_repository_version_href_example' # String | URI of Repository Version. e.g.: /pulp/api/v3/repositories/maven/maven/1/versions/1/
213
+ maven_repository_version_href = 'maven_repository_version_href_example' # String |
182
214
  opts = {
183
215
  fields: 'fields_example', # String | A list of fields to include in the response.
184
216
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
@@ -198,17 +230,17 @@ end
198
230
 
199
231
  Name | Type | Description | Notes
200
232
  ------------- | ------------- | ------------- | -------------
201
- **maven_repository_version_href** | **String**| URI of Repository Version. e.g.: /pulp/api/v3/repositories/maven/maven/1/versions/1/ |
233
+ **maven_repository_version_href** | **String**| |
202
234
  **fields** | **String**| A list of fields to include in the response. | [optional]
203
235
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
204
236
 
205
237
  ### Return type
206
238
 
207
- [**RepositoryVersion**](RepositoryVersion.md)
239
+ [**RepositoryVersionResponse**](RepositoryVersionResponse.md)
208
240
 
209
241
  ### Authorization
210
242
 
211
- [Basic](../README.md#Basic)
243
+ [basicAuth](../README.md#basicAuth)
212
244
 
213
245
  ### HTTP request headers
214
246
 
@@ -218,7 +250,7 @@ Name | Type | Description | Notes
218
250
 
219
251
  ## repair
220
252
 
221
- > AsyncOperationResponse repair(maven_repository_version_href, data)
253
+ > AsyncOperationResponse repair(maven_repository_version_href, repository_version)
222
254
 
223
255
 
224
256
 
@@ -231,17 +263,17 @@ Trigger an asynchronous task to repair a repositroy version.
231
263
  require 'pulp_maven_client'
232
264
  # setup authorization
233
265
  PulpMavenClient.configure do |config|
234
- # Configure HTTP basic authorization: Basic
266
+ # Configure HTTP basic authorization: basicAuth
235
267
  config.username = 'YOUR USERNAME'
236
268
  config.password = 'YOUR PASSWORD'
237
269
  end
238
270
 
239
271
  api_instance = PulpMavenClient::RepositoriesMavenVersionsApi.new
240
- maven_repository_version_href = 'maven_repository_version_href_example' # String | URI of Repository Version. e.g.: /pulp/api/v3/repositories/maven/maven/1/versions/1/
241
- data = PulpMavenClient::RepositoryVersion.new # RepositoryVersion |
272
+ maven_repository_version_href = 'maven_repository_version_href_example' # String |
273
+ repository_version = PulpMavenClient::RepositoryVersion.new # RepositoryVersion |
242
274
 
243
275
  begin
244
- result = api_instance.repair(maven_repository_version_href, data)
276
+ result = api_instance.repair(maven_repository_version_href, repository_version)
245
277
  p result
246
278
  rescue PulpMavenClient::ApiError => e
247
279
  puts "Exception when calling RepositoriesMavenVersionsApi->repair: #{e}"
@@ -253,8 +285,8 @@ end
253
285
 
254
286
  Name | Type | Description | Notes
255
287
  ------------- | ------------- | ------------- | -------------
256
- **maven_repository_version_href** | **String**| URI of Repository Version. e.g.: /pulp/api/v3/repositories/maven/maven/1/versions/1/ |
257
- **data** | [**RepositoryVersion**](RepositoryVersion.md)| |
288
+ **maven_repository_version_href** | **String**| |
289
+ **repository_version** | [**RepositoryVersion**](RepositoryVersion.md)| |
258
290
 
259
291
  ### Return type
260
292
 
@@ -262,10 +294,10 @@ Name | Type | Description | Notes
262
294
 
263
295
  ### Authorization
264
296
 
265
- [Basic](../README.md#Basic)
297
+ [basicAuth](../README.md#basicAuth)
266
298
 
267
299
  ### HTTP request headers
268
300
 
269
- - **Content-Type**: application/json
301
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
270
302
  - **Accept**: application/json
271
303
 
@@ -4,22 +4,14 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_href** | **String** | | [optional] [readonly]
8
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
- **number** | **Integer** | | [optional] [readonly]
10
7
  **base_version** | **String** | A repository version whose content was used as the initial set of content for this repository version | [optional]
11
- **content_summary** | [**ContentSummary**](ContentSummary.md) | | [optional]
12
8
 
13
9
  ## Code Sample
14
10
 
15
11
  ```ruby
16
12
  require 'PulpMavenClient'
17
13
 
18
- instance = PulpMavenClient::RepositoryVersion.new(pulp_href: null,
19
- pulp_created: null,
20
- number: null,
21
- base_version: null,
22
- content_summary: null)
14
+ instance = PulpMavenClient::RepositoryVersion.new(base_version: null)
23
15
  ```
24
16
 
25
17
 
@@ -0,0 +1,25 @@
1
+ # PulpMavenClient::RepositoryVersionResponse
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **number** | **Integer** | | [optional] [readonly]
10
+ **base_version** | **String** | A repository version whose content was used as the initial set of content for this repository version | [optional]
11
+ **content_summary** | [**ContentSummaryResponse**](ContentSummaryResponse.md) | Various count summaries of the content in the version and the HREF to view them. | [optional] [readonly]
12
+
13
+ ## Code Sample
14
+
15
+ ```ruby
16
+ require 'PulpMavenClient'
17
+
18
+ instance = PulpMavenClient::RepositoryVersionResponse.new(pulp_href: null,
19
+ pulp_created: null,
20
+ number: null,
21
+ base_version: null,
22
+ content_summary: null)
23
+ ```
24
+
25
+
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Pulp 3 API
3
3
 
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
5
 
6
6
  The version of the OpenAPI document: v3
7
-
7
+ Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.2.3
10
10
 
@@ -19,16 +19,26 @@ require 'pulp_maven_client/configuration'
19
19
  # Models
20
20
  require 'pulp_maven_client/models/async_operation_response'
21
21
  require 'pulp_maven_client/models/content_summary'
22
+ require 'pulp_maven_client/models/content_summary_response'
22
23
  require 'pulp_maven_client/models/inline_response200'
23
24
  require 'pulp_maven_client/models/inline_response2001'
24
25
  require 'pulp_maven_client/models/inline_response2002'
25
26
  require 'pulp_maven_client/models/inline_response2003'
26
27
  require 'pulp_maven_client/models/inline_response2004'
27
28
  require 'pulp_maven_client/models/maven_maven_artifact'
29
+ require 'pulp_maven_client/models/maven_maven_artifact_response'
28
30
  require 'pulp_maven_client/models/maven_maven_distribution'
31
+ require 'pulp_maven_client/models/maven_maven_distribution_response'
29
32
  require 'pulp_maven_client/models/maven_maven_remote'
33
+ require 'pulp_maven_client/models/maven_maven_remote_response'
30
34
  require 'pulp_maven_client/models/maven_maven_repository'
35
+ require 'pulp_maven_client/models/maven_maven_repository_response'
36
+ require 'pulp_maven_client/models/patchedmaven_maven_distribution'
37
+ require 'pulp_maven_client/models/patchedmaven_maven_remote'
38
+ require 'pulp_maven_client/models/patchedmaven_maven_repository'
39
+ require 'pulp_maven_client/models/policy_enum'
31
40
  require 'pulp_maven_client/models/repository_version'
41
+ require 'pulp_maven_client/models/repository_version_response'
32
42
 
33
43
  # APIs
34
44
  require 'pulp_maven_client/api/content_artifact_api'
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Pulp 3 API
3
3
 
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
5
 
6
6
  The version of the OpenAPI document: v3
7
-
7
+ Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.2.3
10
10
 
@@ -21,26 +21,26 @@ module PulpMavenClient
21
21
  end
22
22
  # Create a maven artifact
23
23
  # A ViewSet for MavenArtifact.
24
- # @param data [MavenMavenArtifact]
24
+ # @param maven_maven_artifact [MavenMavenArtifact]
25
25
  # @param [Hash] opts the optional parameters
26
- # @return [MavenMavenArtifact]
27
- def create(data, opts = {})
28
- data, _status_code, _headers = create_with_http_info(data, opts)
26
+ # @return [MavenMavenArtifactResponse]
27
+ def create(maven_maven_artifact, opts = {})
28
+ data, _status_code, _headers = create_with_http_info(maven_maven_artifact, opts)
29
29
  data
30
30
  end
31
31
 
32
32
  # Create a maven artifact
33
33
  # A ViewSet for MavenArtifact.
34
- # @param data [MavenMavenArtifact]
34
+ # @param maven_maven_artifact [MavenMavenArtifact]
35
35
  # @param [Hash] opts the optional parameters
36
- # @return [Array<(MavenMavenArtifact, Integer, Hash)>] MavenMavenArtifact data, response status code and response headers
37
- def create_with_http_info(data, opts = {})
36
+ # @return [Array<(MavenMavenArtifactResponse, Integer, Hash)>] MavenMavenArtifactResponse data, response status code and response headers
37
+ def create_with_http_info(maven_maven_artifact, opts = {})
38
38
  if @api_client.config.debugging
39
39
  @api_client.config.logger.debug 'Calling API: ContentArtifactApi.create ...'
40
40
  end
41
- # verify the required parameter 'data' is set
42
- if @api_client.config.client_side_validation && data.nil?
43
- fail ArgumentError, "Missing the required parameter 'data' when calling ContentArtifactApi.create"
41
+ # verify the required parameter 'maven_maven_artifact' is set
42
+ if @api_client.config.client_side_validation && maven_maven_artifact.nil?
43
+ fail ArgumentError, "Missing the required parameter 'maven_maven_artifact' when calling ContentArtifactApi.create"
44
44
  end
45
45
  # resource path
46
46
  local_var_path = '/pulp/api/v3/content/maven/artifact/'
@@ -53,19 +53,19 @@ module PulpMavenClient
53
53
  # HTTP header 'Accept' (if needed)
54
54
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
55
55
  # HTTP header 'Content-Type'
56
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
56
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
57
57
 
58
58
  # form parameters
59
59
  form_params = opts[:form_params] || {}
60
60
 
61
61
  # http body (model)
62
- post_body = opts[:body] || @api_client.object_to_http_body(data)
62
+ post_body = opts[:body] || @api_client.object_to_http_body(maven_maven_artifact)
63
63
 
64
64
  # return_type
65
- return_type = opts[:return_type] || 'MavenMavenArtifact'
65
+ return_type = opts[:return_type] || 'MavenMavenArtifactResponse'
66
66
 
67
67
  # auth_names
68
- auth_names = opts[:auth_names] || ['Basic']
68
+ auth_names = opts[:auth_names] || ['basicAuth']
69
69
 
70
70
  new_options = opts.merge(
71
71
  :header_params => header_params,
@@ -86,16 +86,16 @@ module PulpMavenClient
86
86
  # List maven artifacts
87
87
  # A ViewSet for MavenArtifact.
88
88
  # @param [Hash] opts the optional parameters
89
- # @option opts [String] :ordering Which field to use when ordering the results.
90
- # @option opts [String] :group_id Filter results where group_id matches value
91
- # @option opts [String] :artifact_id Filter results where artifact_id matches value
92
- # @option opts [String] :version Filter results where version matches value
93
- # @option opts [String] :filename Filter results where filename matches value
94
- # @option opts [String] :repository_version Repository Version referenced by HREF
95
- # @option opts [String] :repository_version_added Repository Version referenced by HREF
96
- # @option opts [String] :repository_version_removed Repository Version referenced by HREF
89
+ # @option opts [String] :artifact_id artifact_id
90
+ # @option opts [String] :filename filename
91
+ # @option opts [String] :group_id group_id
97
92
  # @option opts [Integer] :limit Number of results to return per page.
98
93
  # @option opts [Integer] :offset The initial index from which to return the results.
94
+ # @option opts [String] :ordering Which field to use when ordering the results.
95
+ # @option opts [String] :repository_version repository_version
96
+ # @option opts [String] :repository_version_added repository_version_added
97
+ # @option opts [String] :repository_version_removed repository_version_removed
98
+ # @option opts [String] :version version
99
99
  # @option opts [String] :fields A list of fields to include in the response.
100
100
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
101
101
  # @return [InlineResponse200]
@@ -107,16 +107,16 @@ module PulpMavenClient
107
107
  # List maven artifacts
108
108
  # A ViewSet for MavenArtifact.
109
109
  # @param [Hash] opts the optional parameters
110
- # @option opts [String] :ordering Which field to use when ordering the results.
111
- # @option opts [String] :group_id Filter results where group_id matches value
112
- # @option opts [String] :artifact_id Filter results where artifact_id matches value
113
- # @option opts [String] :version Filter results where version matches value
114
- # @option opts [String] :filename Filter results where filename matches value
115
- # @option opts [String] :repository_version Repository Version referenced by HREF
116
- # @option opts [String] :repository_version_added Repository Version referenced by HREF
117
- # @option opts [String] :repository_version_removed Repository Version referenced by HREF
110
+ # @option opts [String] :artifact_id artifact_id
111
+ # @option opts [String] :filename filename
112
+ # @option opts [String] :group_id group_id
118
113
  # @option opts [Integer] :limit Number of results to return per page.
119
114
  # @option opts [Integer] :offset The initial index from which to return the results.
115
+ # @option opts [String] :ordering Which field to use when ordering the results.
116
+ # @option opts [String] :repository_version repository_version
117
+ # @option opts [String] :repository_version_added repository_version_added
118
+ # @option opts [String] :repository_version_removed repository_version_removed
119
+ # @option opts [String] :version version
120
120
  # @option opts [String] :fields A list of fields to include in the response.
121
121
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
122
122
  # @return [Array<(InlineResponse200, Integer, Hash)>] InlineResponse200 data, response status code and response headers
@@ -129,16 +129,16 @@ module PulpMavenClient
129
129
 
130
130
  # query parameters
131
131
  query_params = opts[:query_params] || {}
132
- query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
133
- query_params[:'group_id'] = opts[:'group_id'] if !opts[:'group_id'].nil?
134
132
  query_params[:'artifact_id'] = opts[:'artifact_id'] if !opts[:'artifact_id'].nil?
135
- query_params[:'version'] = opts[:'version'] if !opts[:'version'].nil?
136
133
  query_params[:'filename'] = opts[:'filename'] if !opts[:'filename'].nil?
134
+ query_params[:'group_id'] = opts[:'group_id'] if !opts[:'group_id'].nil?
135
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
136
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
137
+ query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
137
138
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
138
139
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
139
140
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
140
- query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
141
- query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
141
+ query_params[:'version'] = opts[:'version'] if !opts[:'version'].nil?
142
142
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
143
143
  query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
144
144
 
@@ -157,7 +157,7 @@ module PulpMavenClient
157
157
  return_type = opts[:return_type] || 'InlineResponse200'
158
158
 
159
159
  # auth_names
160
- auth_names = opts[:auth_names] || ['Basic']
160
+ auth_names = opts[:auth_names] || ['basicAuth']
161
161
 
162
162
  new_options = opts.merge(
163
163
  :header_params => header_params,
@@ -177,11 +177,11 @@ module PulpMavenClient
177
177
 
178
178
  # Inspect a maven artifact
179
179
  # A ViewSet for MavenArtifact.
180
- # @param maven_artifact_href [String] URI of Maven Artifact. e.g.: /pulp/api/v3/content/maven/artifact/1/
180
+ # @param maven_artifact_href [String]
181
181
  # @param [Hash] opts the optional parameters
182
182
  # @option opts [String] :fields A list of fields to include in the response.
183
183
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
184
- # @return [MavenMavenArtifact]
184
+ # @return [MavenMavenArtifactResponse]
185
185
  def read(maven_artifact_href, opts = {})
186
186
  data, _status_code, _headers = read_with_http_info(maven_artifact_href, opts)
187
187
  data
@@ -189,11 +189,11 @@ module PulpMavenClient
189
189
 
190
190
  # Inspect a maven artifact
191
191
  # A ViewSet for MavenArtifact.
192
- # @param maven_artifact_href [String] URI of Maven Artifact. e.g.: /pulp/api/v3/content/maven/artifact/1/
192
+ # @param maven_artifact_href [String]
193
193
  # @param [Hash] opts the optional parameters
194
194
  # @option opts [String] :fields A list of fields to include in the response.
195
195
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
196
- # @return [Array<(MavenMavenArtifact, Integer, Hash)>] MavenMavenArtifact data, response status code and response headers
196
+ # @return [Array<(MavenMavenArtifactResponse, Integer, Hash)>] MavenMavenArtifactResponse data, response status code and response headers
197
197
  def read_with_http_info(maven_artifact_href, opts = {})
198
198
  if @api_client.config.debugging
199
199
  @api_client.config.logger.debug 'Calling API: ContentArtifactApi.read ...'
@@ -222,10 +222,10 @@ module PulpMavenClient
222
222
  post_body = opts[:body]
223
223
 
224
224
  # return_type
225
- return_type = opts[:return_type] || 'MavenMavenArtifact'
225
+ return_type = opts[:return_type] || 'MavenMavenArtifactResponse'
226
226
 
227
227
  # auth_names
228
- auth_names = opts[:auth_names] || ['Basic']
228
+ auth_names = opts[:auth_names] || ['basicAuth']
229
229
 
230
230
  new_options = opts.merge(
231
231
  :header_params => header_params,