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
@@ -0,0 +1,16 @@
1
+ # PulpMavenClient::PolicyEnum
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+
8
+ ## Code Sample
9
+
10
+ ```ruby
11
+ require 'PulpMavenClient'
12
+
13
+ instance = PulpMavenClient::PolicyEnum.new()
14
+ ```
15
+
16
+
@@ -7,7 +7,7 @@ Method | HTTP request | Description
7
7
  [**create**](RemotesMavenApi.md#create) | **POST** /pulp/api/v3/remotes/maven/maven/ | Create a maven remote
8
8
  [**delete**](RemotesMavenApi.md#delete) | **DELETE** {maven_remote_href} | Delete a maven remote
9
9
  [**list**](RemotesMavenApi.md#list) | **GET** /pulp/api/v3/remotes/maven/maven/ | List maven remotes
10
- [**partial_update**](RemotesMavenApi.md#partial_update) | **PATCH** {maven_remote_href} | Partially update a maven remote
10
+ [**partial_update**](RemotesMavenApi.md#partial_update) | **PATCH** {maven_remote_href} | Update a maven remote
11
11
  [**read**](RemotesMavenApi.md#read) | **GET** {maven_remote_href} | Inspect a maven remote
12
12
  [**update**](RemotesMavenApi.md#update) | **PUT** {maven_remote_href} | Update a maven remote
13
13
 
@@ -15,7 +15,7 @@ Method | HTTP request | Description
15
15
 
16
16
  ## create
17
17
 
18
- > MavenMavenRemote create(data)
18
+ > MavenMavenRemoteResponse create(maven_maven_remote)
19
19
 
20
20
  Create a maven remote
21
21
 
@@ -28,17 +28,17 @@ A ViewSet for MavenRemote.
28
28
  require 'pulp_maven_client'
29
29
  # setup authorization
30
30
  PulpMavenClient.configure do |config|
31
- # Configure HTTP basic authorization: Basic
31
+ # Configure HTTP basic authorization: basicAuth
32
32
  config.username = 'YOUR USERNAME'
33
33
  config.password = 'YOUR PASSWORD'
34
34
  end
35
35
 
36
36
  api_instance = PulpMavenClient::RemotesMavenApi.new
37
- data = PulpMavenClient::MavenMavenRemote.new # MavenMavenRemote |
37
+ maven_maven_remote = PulpMavenClient::MavenMavenRemote.new # MavenMavenRemote |
38
38
 
39
39
  begin
40
40
  #Create a maven remote
41
- result = api_instance.create(data)
41
+ result = api_instance.create(maven_maven_remote)
42
42
  p result
43
43
  rescue PulpMavenClient::ApiError => e
44
44
  puts "Exception when calling RemotesMavenApi->create: #{e}"
@@ -50,25 +50,25 @@ end
50
50
 
51
51
  Name | Type | Description | Notes
52
52
  ------------- | ------------- | ------------- | -------------
53
- **data** | [**MavenMavenRemote**](MavenMavenRemote.md)| |
53
+ **maven_maven_remote** | [**MavenMavenRemote**](MavenMavenRemote.md)| |
54
54
 
55
55
  ### Return type
56
56
 
57
- [**MavenMavenRemote**](MavenMavenRemote.md)
57
+ [**MavenMavenRemoteResponse**](MavenMavenRemoteResponse.md)
58
58
 
59
59
  ### Authorization
60
60
 
61
- [Basic](../README.md#Basic)
61
+ [basicAuth](../README.md#basicAuth)
62
62
 
63
63
  ### HTTP request headers
64
64
 
65
- - **Content-Type**: application/json
65
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
66
66
  - **Accept**: application/json
67
67
 
68
68
 
69
69
  ## delete
70
70
 
71
- > AsyncOperationResponse delete(maven_remote_href)
71
+ > AsyncOperationResponse delete(maven_remote_href, opts)
72
72
 
73
73
  Delete a maven remote
74
74
 
@@ -81,17 +81,28 @@ Trigger an asynchronous delete task
81
81
  require 'pulp_maven_client'
82
82
  # setup authorization
83
83
  PulpMavenClient.configure do |config|
84
- # Configure HTTP basic authorization: Basic
84
+ # Configure HTTP basic authorization: basicAuth
85
85
  config.username = 'YOUR USERNAME'
86
86
  config.password = 'YOUR PASSWORD'
87
87
  end
88
88
 
89
89
  api_instance = PulpMavenClient::RemotesMavenApi.new
90
- maven_remote_href = 'maven_remote_href_example' # String | URI of Maven Remote. e.g.: /pulp/api/v3/remotes/maven/maven/1/
90
+ maven_remote_href = 'maven_remote_href_example' # String |
91
+ opts = {
92
+ name: 'name_example', # String | name
93
+ name__in: 'name__in_example', # String | name__in
94
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
95
+ pulp_last_updated: 'pulp_last_updated_example', # String | pulp_last_updated
96
+ pulp_last_updated__gt: 'pulp_last_updated__gt_example', # String | pulp_last_updated__gt
97
+ pulp_last_updated__gte: 'pulp_last_updated__gte_example', # String | pulp_last_updated__gte
98
+ pulp_last_updated__lt: 'pulp_last_updated__lt_example', # String | pulp_last_updated__lt
99
+ pulp_last_updated__lte: 'pulp_last_updated__lte_example', # String | pulp_last_updated__lte
100
+ pulp_last_updated__range: 'pulp_last_updated__range_example' # String | pulp_last_updated__range
101
+ }
91
102
 
92
103
  begin
93
104
  #Delete a maven remote
94
- result = api_instance.delete(maven_remote_href)
105
+ result = api_instance.delete(maven_remote_href, opts)
95
106
  p result
96
107
  rescue PulpMavenClient::ApiError => e
97
108
  puts "Exception when calling RemotesMavenApi->delete: #{e}"
@@ -103,7 +114,16 @@ end
103
114
 
104
115
  Name | Type | Description | Notes
105
116
  ------------- | ------------- | ------------- | -------------
106
- **maven_remote_href** | **String**| URI of Maven Remote. e.g.: /pulp/api/v3/remotes/maven/maven/1/ |
117
+ **maven_remote_href** | **String**| |
118
+ **name** | **String**| name | [optional]
119
+ **name__in** | **String**| name__in | [optional]
120
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
121
+ **pulp_last_updated** | **String**| pulp_last_updated | [optional]
122
+ **pulp_last_updated__gt** | **String**| pulp_last_updated__gt | [optional]
123
+ **pulp_last_updated__gte** | **String**| pulp_last_updated__gte | [optional]
124
+ **pulp_last_updated__lt** | **String**| pulp_last_updated__lt | [optional]
125
+ **pulp_last_updated__lte** | **String**| pulp_last_updated__lte | [optional]
126
+ **pulp_last_updated__range** | **String**| pulp_last_updated__range | [optional]
107
127
 
108
128
  ### Return type
109
129
 
@@ -111,7 +131,7 @@ Name | Type | Description | Notes
111
131
 
112
132
  ### Authorization
113
133
 
114
- [Basic](../README.md#Basic)
134
+ [basicAuth](../README.md#basicAuth)
115
135
 
116
136
  ### HTTP request headers
117
137
 
@@ -134,24 +154,24 @@ A ViewSet for MavenRemote.
134
154
  require 'pulp_maven_client'
135
155
  # setup authorization
136
156
  PulpMavenClient.configure do |config|
137
- # Configure HTTP basic authorization: Basic
157
+ # Configure HTTP basic authorization: basicAuth
138
158
  config.username = 'YOUR USERNAME'
139
159
  config.password = 'YOUR PASSWORD'
140
160
  end
141
161
 
142
162
  api_instance = PulpMavenClient::RemotesMavenApi.new
143
163
  opts = {
144
- ordering: 'ordering_example', # String | Which field to use when ordering the results.
145
- name: 'name_example', # String |
146
- name__in: 'name__in_example', # String | Filter results where name is in a comma-separated list of values
147
- pulp_last_updated__lt: 'pulp_last_updated__lt_example', # String | Filter results where pulp_last_updated is less than value
148
- pulp_last_updated__lte: 'pulp_last_updated__lte_example', # String | Filter results where pulp_last_updated is less than or equal to value
149
- pulp_last_updated__gt: 'pulp_last_updated__gt_example', # String | Filter results where pulp_last_updated is greater than value
150
- pulp_last_updated__gte: 'pulp_last_updated__gte_example', # String | Filter results where pulp_last_updated is greater than or equal to value
151
- pulp_last_updated__range: 'pulp_last_updated__range_example', # String | Filter results where pulp_last_updated is between two comma separated values
152
- pulp_last_updated: 'pulp_last_updated_example', # String | ISO 8601 formatted dates are supported
153
164
  limit: 56, # Integer | Number of results to return per page.
165
+ name: 'name_example', # String | name
166
+ name__in: 'name__in_example', # String | name__in
154
167
  offset: 56, # Integer | The initial index from which to return the results.
168
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
169
+ pulp_last_updated: 'pulp_last_updated_example', # String | pulp_last_updated
170
+ pulp_last_updated__gt: 'pulp_last_updated__gt_example', # String | pulp_last_updated__gt
171
+ pulp_last_updated__gte: 'pulp_last_updated__gte_example', # String | pulp_last_updated__gte
172
+ pulp_last_updated__lt: 'pulp_last_updated__lt_example', # String | pulp_last_updated__lt
173
+ pulp_last_updated__lte: 'pulp_last_updated__lte_example', # String | pulp_last_updated__lte
174
+ pulp_last_updated__range: 'pulp_last_updated__range_example', # String | pulp_last_updated__range
155
175
  fields: 'fields_example', # String | A list of fields to include in the response.
156
176
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
157
177
  }
@@ -170,17 +190,17 @@ end
170
190
 
171
191
  Name | Type | Description | Notes
172
192
  ------------- | ------------- | ------------- | -------------
173
- **ordering** | **String**| Which field to use when ordering the results. | [optional]
174
- **name** | **String**| | [optional]
175
- **name__in** | **String**| Filter results where name is in a comma-separated list of values | [optional]
176
- **pulp_last_updated__lt** | **String**| Filter results where pulp_last_updated is less than value | [optional]
177
- **pulp_last_updated__lte** | **String**| Filter results where pulp_last_updated is less than or equal to value | [optional]
178
- **pulp_last_updated__gt** | **String**| Filter results where pulp_last_updated is greater than value | [optional]
179
- **pulp_last_updated__gte** | **String**| Filter results where pulp_last_updated is greater than or equal to value | [optional]
180
- **pulp_last_updated__range** | **String**| Filter results where pulp_last_updated is between two comma separated values | [optional]
181
- **pulp_last_updated** | **String**| ISO 8601 formatted dates are supported | [optional]
182
193
  **limit** | **Integer**| Number of results to return per page. | [optional]
194
+ **name** | **String**| name | [optional]
195
+ **name__in** | **String**| name__in | [optional]
183
196
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
197
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
198
+ **pulp_last_updated** | **String**| pulp_last_updated | [optional]
199
+ **pulp_last_updated__gt** | **String**| pulp_last_updated__gt | [optional]
200
+ **pulp_last_updated__gte** | **String**| pulp_last_updated__gte | [optional]
201
+ **pulp_last_updated__lt** | **String**| pulp_last_updated__lt | [optional]
202
+ **pulp_last_updated__lte** | **String**| pulp_last_updated__lte | [optional]
203
+ **pulp_last_updated__range** | **String**| pulp_last_updated__range | [optional]
184
204
  **fields** | **String**| A list of fields to include in the response. | [optional]
185
205
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
186
206
 
@@ -190,7 +210,7 @@ Name | Type | Description | Notes
190
210
 
191
211
  ### Authorization
192
212
 
193
- [Basic](../README.md#Basic)
213
+ [basicAuth](../README.md#basicAuth)
194
214
 
195
215
  ### HTTP request headers
196
216
 
@@ -200,9 +220,9 @@ Name | Type | Description | Notes
200
220
 
201
221
  ## partial_update
202
222
 
203
- > AsyncOperationResponse partial_update(maven_remote_href, data)
223
+ > AsyncOperationResponse partial_update(maven_remote_href, patchedmaven_maven_remote, opts)
204
224
 
205
- Partially update a maven remote
225
+ Update a maven remote
206
226
 
207
227
  Trigger an asynchronous partial update task
208
228
 
@@ -213,18 +233,29 @@ Trigger an asynchronous partial update task
213
233
  require 'pulp_maven_client'
214
234
  # setup authorization
215
235
  PulpMavenClient.configure do |config|
216
- # Configure HTTP basic authorization: Basic
236
+ # Configure HTTP basic authorization: basicAuth
217
237
  config.username = 'YOUR USERNAME'
218
238
  config.password = 'YOUR PASSWORD'
219
239
  end
220
240
 
221
241
  api_instance = PulpMavenClient::RemotesMavenApi.new
222
- maven_remote_href = 'maven_remote_href_example' # String | URI of Maven Remote. e.g.: /pulp/api/v3/remotes/maven/maven/1/
223
- data = PulpMavenClient::MavenMavenRemote.new # MavenMavenRemote |
242
+ maven_remote_href = 'maven_remote_href_example' # String |
243
+ patchedmaven_maven_remote = PulpMavenClient::PatchedmavenMavenRemote.new # PatchedmavenMavenRemote |
244
+ opts = {
245
+ name: 'name_example', # String | name
246
+ name__in: 'name__in_example', # String | name__in
247
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
248
+ pulp_last_updated: 'pulp_last_updated_example', # String | pulp_last_updated
249
+ pulp_last_updated__gt: 'pulp_last_updated__gt_example', # String | pulp_last_updated__gt
250
+ pulp_last_updated__gte: 'pulp_last_updated__gte_example', # String | pulp_last_updated__gte
251
+ pulp_last_updated__lt: 'pulp_last_updated__lt_example', # String | pulp_last_updated__lt
252
+ pulp_last_updated__lte: 'pulp_last_updated__lte_example', # String | pulp_last_updated__lte
253
+ pulp_last_updated__range: 'pulp_last_updated__range_example' # String | pulp_last_updated__range
254
+ }
224
255
 
225
256
  begin
226
- #Partially update a maven remote
227
- result = api_instance.partial_update(maven_remote_href, data)
257
+ #Update a maven remote
258
+ result = api_instance.partial_update(maven_remote_href, patchedmaven_maven_remote, opts)
228
259
  p result
229
260
  rescue PulpMavenClient::ApiError => e
230
261
  puts "Exception when calling RemotesMavenApi->partial_update: #{e}"
@@ -236,8 +267,17 @@ end
236
267
 
237
268
  Name | Type | Description | Notes
238
269
  ------------- | ------------- | ------------- | -------------
239
- **maven_remote_href** | **String**| URI of Maven Remote. e.g.: /pulp/api/v3/remotes/maven/maven/1/ |
240
- **data** | [**MavenMavenRemote**](MavenMavenRemote.md)| |
270
+ **maven_remote_href** | **String**| |
271
+ **patchedmaven_maven_remote** | [**PatchedmavenMavenRemote**](PatchedmavenMavenRemote.md)| |
272
+ **name** | **String**| name | [optional]
273
+ **name__in** | **String**| name__in | [optional]
274
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
275
+ **pulp_last_updated** | **String**| pulp_last_updated | [optional]
276
+ **pulp_last_updated__gt** | **String**| pulp_last_updated__gt | [optional]
277
+ **pulp_last_updated__gte** | **String**| pulp_last_updated__gte | [optional]
278
+ **pulp_last_updated__lt** | **String**| pulp_last_updated__lt | [optional]
279
+ **pulp_last_updated__lte** | **String**| pulp_last_updated__lte | [optional]
280
+ **pulp_last_updated__range** | **String**| pulp_last_updated__range | [optional]
241
281
 
242
282
  ### Return type
243
283
 
@@ -245,17 +285,17 @@ Name | Type | Description | Notes
245
285
 
246
286
  ### Authorization
247
287
 
248
- [Basic](../README.md#Basic)
288
+ [basicAuth](../README.md#basicAuth)
249
289
 
250
290
  ### HTTP request headers
251
291
 
252
- - **Content-Type**: application/json
292
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
253
293
  - **Accept**: application/json
254
294
 
255
295
 
256
296
  ## read
257
297
 
258
- > MavenMavenRemote read(maven_remote_href, opts)
298
+ > MavenMavenRemoteResponse read(maven_remote_href, opts)
259
299
 
260
300
  Inspect a maven remote
261
301
 
@@ -268,13 +308,13 @@ A ViewSet for MavenRemote.
268
308
  require 'pulp_maven_client'
269
309
  # setup authorization
270
310
  PulpMavenClient.configure do |config|
271
- # Configure HTTP basic authorization: Basic
311
+ # Configure HTTP basic authorization: basicAuth
272
312
  config.username = 'YOUR USERNAME'
273
313
  config.password = 'YOUR PASSWORD'
274
314
  end
275
315
 
276
316
  api_instance = PulpMavenClient::RemotesMavenApi.new
277
- maven_remote_href = 'maven_remote_href_example' # String | URI of Maven Remote. e.g.: /pulp/api/v3/remotes/maven/maven/1/
317
+ maven_remote_href = 'maven_remote_href_example' # String |
278
318
  opts = {
279
319
  fields: 'fields_example', # String | A list of fields to include in the response.
280
320
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
@@ -294,17 +334,17 @@ end
294
334
 
295
335
  Name | Type | Description | Notes
296
336
  ------------- | ------------- | ------------- | -------------
297
- **maven_remote_href** | **String**| URI of Maven Remote. e.g.: /pulp/api/v3/remotes/maven/maven/1/ |
337
+ **maven_remote_href** | **String**| |
298
338
  **fields** | **String**| A list of fields to include in the response. | [optional]
299
339
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
300
340
 
301
341
  ### Return type
302
342
 
303
- [**MavenMavenRemote**](MavenMavenRemote.md)
343
+ [**MavenMavenRemoteResponse**](MavenMavenRemoteResponse.md)
304
344
 
305
345
  ### Authorization
306
346
 
307
- [Basic](../README.md#Basic)
347
+ [basicAuth](../README.md#basicAuth)
308
348
 
309
349
  ### HTTP request headers
310
350
 
@@ -314,7 +354,7 @@ Name | Type | Description | Notes
314
354
 
315
355
  ## update
316
356
 
317
- > AsyncOperationResponse update(maven_remote_href, data)
357
+ > AsyncOperationResponse update(maven_remote_href, maven_maven_remote, opts)
318
358
 
319
359
  Update a maven remote
320
360
 
@@ -327,18 +367,29 @@ Trigger an asynchronous update task
327
367
  require 'pulp_maven_client'
328
368
  # setup authorization
329
369
  PulpMavenClient.configure do |config|
330
- # Configure HTTP basic authorization: Basic
370
+ # Configure HTTP basic authorization: basicAuth
331
371
  config.username = 'YOUR USERNAME'
332
372
  config.password = 'YOUR PASSWORD'
333
373
  end
334
374
 
335
375
  api_instance = PulpMavenClient::RemotesMavenApi.new
336
- maven_remote_href = 'maven_remote_href_example' # String | URI of Maven Remote. e.g.: /pulp/api/v3/remotes/maven/maven/1/
337
- data = PulpMavenClient::MavenMavenRemote.new # MavenMavenRemote |
376
+ maven_remote_href = 'maven_remote_href_example' # String |
377
+ maven_maven_remote = PulpMavenClient::MavenMavenRemote.new # MavenMavenRemote |
378
+ opts = {
379
+ name: 'name_example', # String | name
380
+ name__in: 'name__in_example', # String | name__in
381
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
382
+ pulp_last_updated: 'pulp_last_updated_example', # String | pulp_last_updated
383
+ pulp_last_updated__gt: 'pulp_last_updated__gt_example', # String | pulp_last_updated__gt
384
+ pulp_last_updated__gte: 'pulp_last_updated__gte_example', # String | pulp_last_updated__gte
385
+ pulp_last_updated__lt: 'pulp_last_updated__lt_example', # String | pulp_last_updated__lt
386
+ pulp_last_updated__lte: 'pulp_last_updated__lte_example', # String | pulp_last_updated__lte
387
+ pulp_last_updated__range: 'pulp_last_updated__range_example' # String | pulp_last_updated__range
388
+ }
338
389
 
339
390
  begin
340
391
  #Update a maven remote
341
- result = api_instance.update(maven_remote_href, data)
392
+ result = api_instance.update(maven_remote_href, maven_maven_remote, opts)
342
393
  p result
343
394
  rescue PulpMavenClient::ApiError => e
344
395
  puts "Exception when calling RemotesMavenApi->update: #{e}"
@@ -350,8 +401,17 @@ end
350
401
 
351
402
  Name | Type | Description | Notes
352
403
  ------------- | ------------- | ------------- | -------------
353
- **maven_remote_href** | **String**| URI of Maven Remote. e.g.: /pulp/api/v3/remotes/maven/maven/1/ |
354
- **data** | [**MavenMavenRemote**](MavenMavenRemote.md)| |
404
+ **maven_remote_href** | **String**| |
405
+ **maven_maven_remote** | [**MavenMavenRemote**](MavenMavenRemote.md)| |
406
+ **name** | **String**| name | [optional]
407
+ **name__in** | **String**| name__in | [optional]
408
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
409
+ **pulp_last_updated** | **String**| pulp_last_updated | [optional]
410
+ **pulp_last_updated__gt** | **String**| pulp_last_updated__gt | [optional]
411
+ **pulp_last_updated__gte** | **String**| pulp_last_updated__gte | [optional]
412
+ **pulp_last_updated__lt** | **String**| pulp_last_updated__lt | [optional]
413
+ **pulp_last_updated__lte** | **String**| pulp_last_updated__lte | [optional]
414
+ **pulp_last_updated__range** | **String**| pulp_last_updated__range | [optional]
355
415
 
356
416
  ### Return type
357
417
 
@@ -359,10 +419,10 @@ Name | Type | Description | Notes
359
419
 
360
420
  ### Authorization
361
421
 
362
- [Basic](../README.md#Basic)
422
+ [basicAuth](../README.md#basicAuth)
363
423
 
364
424
  ### HTTP request headers
365
425
 
366
- - **Content-Type**: application/json
426
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
367
427
  - **Accept**: application/json
368
428
 
@@ -7,7 +7,7 @@ Method | HTTP request | Description
7
7
  [**create**](RepositoriesMavenApi.md#create) | **POST** /pulp/api/v3/repositories/maven/maven/ | Create a maven repository
8
8
  [**delete**](RepositoriesMavenApi.md#delete) | **DELETE** {maven_repository_href} | Delete a maven repository
9
9
  [**list**](RepositoriesMavenApi.md#list) | **GET** /pulp/api/v3/repositories/maven/maven/ | List maven repositorys
10
- [**partial_update**](RepositoriesMavenApi.md#partial_update) | **PATCH** {maven_repository_href} | Partially update a maven repository
10
+ [**partial_update**](RepositoriesMavenApi.md#partial_update) | **PATCH** {maven_repository_href} | Update a maven repository
11
11
  [**read**](RepositoriesMavenApi.md#read) | **GET** {maven_repository_href} | Inspect a maven repository
12
12
  [**update**](RepositoriesMavenApi.md#update) | **PUT** {maven_repository_href} | Update a maven repository
13
13
 
@@ -15,7 +15,7 @@ Method | HTTP request | Description
15
15
 
16
16
  ## create
17
17
 
18
- > MavenMavenRepository create(data)
18
+ > MavenMavenRepositoryResponse create(maven_maven_repository)
19
19
 
20
20
  Create a maven repository
21
21
 
@@ -28,17 +28,17 @@ A ViewSet for MavenRemote.
28
28
  require 'pulp_maven_client'
29
29
  # setup authorization
30
30
  PulpMavenClient.configure do |config|
31
- # Configure HTTP basic authorization: Basic
31
+ # Configure HTTP basic authorization: basicAuth
32
32
  config.username = 'YOUR USERNAME'
33
33
  config.password = 'YOUR PASSWORD'
34
34
  end
35
35
 
36
36
  api_instance = PulpMavenClient::RepositoriesMavenApi.new
37
- data = PulpMavenClient::MavenMavenRepository.new # MavenMavenRepository |
37
+ maven_maven_repository = PulpMavenClient::MavenMavenRepository.new # MavenMavenRepository |
38
38
 
39
39
  begin
40
40
  #Create a maven repository
41
- result = api_instance.create(data)
41
+ result = api_instance.create(maven_maven_repository)
42
42
  p result
43
43
  rescue PulpMavenClient::ApiError => e
44
44
  puts "Exception when calling RepositoriesMavenApi->create: #{e}"
@@ -50,25 +50,25 @@ end
50
50
 
51
51
  Name | Type | Description | Notes
52
52
  ------------- | ------------- | ------------- | -------------
53
- **data** | [**MavenMavenRepository**](MavenMavenRepository.md)| |
53
+ **maven_maven_repository** | [**MavenMavenRepository**](MavenMavenRepository.md)| |
54
54
 
55
55
  ### Return type
56
56
 
57
- [**MavenMavenRepository**](MavenMavenRepository.md)
57
+ [**MavenMavenRepositoryResponse**](MavenMavenRepositoryResponse.md)
58
58
 
59
59
  ### Authorization
60
60
 
61
- [Basic](../README.md#Basic)
61
+ [basicAuth](../README.md#basicAuth)
62
62
 
63
63
  ### HTTP request headers
64
64
 
65
- - **Content-Type**: application/json
65
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
66
66
  - **Accept**: application/json
67
67
 
68
68
 
69
69
  ## delete
70
70
 
71
- > AsyncOperationResponse delete(maven_repository_href)
71
+ > AsyncOperationResponse delete(maven_repository_href, opts)
72
72
 
73
73
  Delete a maven repository
74
74
 
@@ -81,17 +81,22 @@ Trigger an asynchronous delete task
81
81
  require 'pulp_maven_client'
82
82
  # setup authorization
83
83
  PulpMavenClient.configure do |config|
84
- # Configure HTTP basic authorization: Basic
84
+ # Configure HTTP basic authorization: basicAuth
85
85
  config.username = 'YOUR USERNAME'
86
86
  config.password = 'YOUR PASSWORD'
87
87
  end
88
88
 
89
89
  api_instance = PulpMavenClient::RepositoriesMavenApi.new
90
- maven_repository_href = 'maven_repository_href_example' # String | URI of Maven Repository. e.g.: /pulp/api/v3/repositories/maven/maven/1/
90
+ maven_repository_href = 'maven_repository_href_example' # String |
91
+ opts = {
92
+ name: 'name_example', # String | name
93
+ name__in: 'name__in_example', # String | name__in
94
+ ordering: 'ordering_example' # String | Which field to use when ordering the results.
95
+ }
91
96
 
92
97
  begin
93
98
  #Delete a maven repository
94
- result = api_instance.delete(maven_repository_href)
99
+ result = api_instance.delete(maven_repository_href, opts)
95
100
  p result
96
101
  rescue PulpMavenClient::ApiError => e
97
102
  puts "Exception when calling RepositoriesMavenApi->delete: #{e}"
@@ -103,7 +108,10 @@ end
103
108
 
104
109
  Name | Type | Description | Notes
105
110
  ------------- | ------------- | ------------- | -------------
106
- **maven_repository_href** | **String**| URI of Maven Repository. e.g.: /pulp/api/v3/repositories/maven/maven/1/ |
111
+ **maven_repository_href** | **String**| |
112
+ **name** | **String**| name | [optional]
113
+ **name__in** | **String**| name__in | [optional]
114
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
107
115
 
108
116
  ### Return type
109
117
 
@@ -111,7 +119,7 @@ Name | Type | Description | Notes
111
119
 
112
120
  ### Authorization
113
121
 
114
- [Basic](../README.md#Basic)
122
+ [basicAuth](../README.md#basicAuth)
115
123
 
116
124
  ### HTTP request headers
117
125
 
@@ -134,18 +142,18 @@ A ViewSet for MavenRemote.
134
142
  require 'pulp_maven_client'
135
143
  # setup authorization
136
144
  PulpMavenClient.configure do |config|
137
- # Configure HTTP basic authorization: Basic
145
+ # Configure HTTP basic authorization: basicAuth
138
146
  config.username = 'YOUR USERNAME'
139
147
  config.password = 'YOUR PASSWORD'
140
148
  end
141
149
 
142
150
  api_instance = PulpMavenClient::RepositoriesMavenApi.new
143
151
  opts = {
144
- ordering: 'ordering_example', # String | Which field to use when ordering the results.
145
- name: 'name_example', # String |
146
- name__in: 'name__in_example', # String | Filter results where name is in a comma-separated list of values
147
152
  limit: 56, # Integer | Number of results to return per page.
153
+ name: 'name_example', # String | name
154
+ name__in: 'name__in_example', # String | name__in
148
155
  offset: 56, # Integer | The initial index from which to return the results.
156
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
149
157
  fields: 'fields_example', # String | A list of fields to include in the response.
150
158
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
151
159
  }
@@ -164,11 +172,11 @@ end
164
172
 
165
173
  Name | Type | Description | Notes
166
174
  ------------- | ------------- | ------------- | -------------
167
- **ordering** | **String**| Which field to use when ordering the results. | [optional]
168
- **name** | **String**| | [optional]
169
- **name__in** | **String**| Filter results where name is in a comma-separated list of values | [optional]
170
175
  **limit** | **Integer**| Number of results to return per page. | [optional]
176
+ **name** | **String**| name | [optional]
177
+ **name__in** | **String**| name__in | [optional]
171
178
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
179
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
172
180
  **fields** | **String**| A list of fields to include in the response. | [optional]
173
181
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
174
182
 
@@ -178,7 +186,7 @@ Name | Type | Description | Notes
178
186
 
179
187
  ### Authorization
180
188
 
181
- [Basic](../README.md#Basic)
189
+ [basicAuth](../README.md#basicAuth)
182
190
 
183
191
  ### HTTP request headers
184
192
 
@@ -188,9 +196,9 @@ Name | Type | Description | Notes
188
196
 
189
197
  ## partial_update
190
198
 
191
- > AsyncOperationResponse partial_update(maven_repository_href, data)
199
+ > AsyncOperationResponse partial_update(maven_repository_href, patchedmaven_maven_repository, opts)
192
200
 
193
- Partially update a maven repository
201
+ Update a maven repository
194
202
 
195
203
  Trigger an asynchronous partial update task
196
204
 
@@ -201,18 +209,23 @@ Trigger an asynchronous partial update task
201
209
  require 'pulp_maven_client'
202
210
  # setup authorization
203
211
  PulpMavenClient.configure do |config|
204
- # Configure HTTP basic authorization: Basic
212
+ # Configure HTTP basic authorization: basicAuth
205
213
  config.username = 'YOUR USERNAME'
206
214
  config.password = 'YOUR PASSWORD'
207
215
  end
208
216
 
209
217
  api_instance = PulpMavenClient::RepositoriesMavenApi.new
210
- maven_repository_href = 'maven_repository_href_example' # String | URI of Maven Repository. e.g.: /pulp/api/v3/repositories/maven/maven/1/
211
- data = PulpMavenClient::MavenMavenRepository.new # MavenMavenRepository |
218
+ maven_repository_href = 'maven_repository_href_example' # String |
219
+ patchedmaven_maven_repository = PulpMavenClient::PatchedmavenMavenRepository.new # PatchedmavenMavenRepository |
220
+ opts = {
221
+ name: 'name_example', # String | name
222
+ name__in: 'name__in_example', # String | name__in
223
+ ordering: 'ordering_example' # String | Which field to use when ordering the results.
224
+ }
212
225
 
213
226
  begin
214
- #Partially update a maven repository
215
- result = api_instance.partial_update(maven_repository_href, data)
227
+ #Update a maven repository
228
+ result = api_instance.partial_update(maven_repository_href, patchedmaven_maven_repository, opts)
216
229
  p result
217
230
  rescue PulpMavenClient::ApiError => e
218
231
  puts "Exception when calling RepositoriesMavenApi->partial_update: #{e}"
@@ -224,8 +237,11 @@ end
224
237
 
225
238
  Name | Type | Description | Notes
226
239
  ------------- | ------------- | ------------- | -------------
227
- **maven_repository_href** | **String**| URI of Maven Repository. e.g.: /pulp/api/v3/repositories/maven/maven/1/ |
228
- **data** | [**MavenMavenRepository**](MavenMavenRepository.md)| |
240
+ **maven_repository_href** | **String**| |
241
+ **patchedmaven_maven_repository** | [**PatchedmavenMavenRepository**](PatchedmavenMavenRepository.md)| |
242
+ **name** | **String**| name | [optional]
243
+ **name__in** | **String**| name__in | [optional]
244
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
229
245
 
230
246
  ### Return type
231
247
 
@@ -233,17 +249,17 @@ Name | Type | Description | Notes
233
249
 
234
250
  ### Authorization
235
251
 
236
- [Basic](../README.md#Basic)
252
+ [basicAuth](../README.md#basicAuth)
237
253
 
238
254
  ### HTTP request headers
239
255
 
240
- - **Content-Type**: application/json
256
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
241
257
  - **Accept**: application/json
242
258
 
243
259
 
244
260
  ## read
245
261
 
246
- > MavenMavenRepository read(maven_repository_href, opts)
262
+ > MavenMavenRepositoryResponse read(maven_repository_href, opts)
247
263
 
248
264
  Inspect a maven repository
249
265
 
@@ -256,13 +272,13 @@ A ViewSet for MavenRemote.
256
272
  require 'pulp_maven_client'
257
273
  # setup authorization
258
274
  PulpMavenClient.configure do |config|
259
- # Configure HTTP basic authorization: Basic
275
+ # Configure HTTP basic authorization: basicAuth
260
276
  config.username = 'YOUR USERNAME'
261
277
  config.password = 'YOUR PASSWORD'
262
278
  end
263
279
 
264
280
  api_instance = PulpMavenClient::RepositoriesMavenApi.new
265
- maven_repository_href = 'maven_repository_href_example' # String | URI of Maven Repository. e.g.: /pulp/api/v3/repositories/maven/maven/1/
281
+ maven_repository_href = 'maven_repository_href_example' # String |
266
282
  opts = {
267
283
  fields: 'fields_example', # String | A list of fields to include in the response.
268
284
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
@@ -282,17 +298,17 @@ end
282
298
 
283
299
  Name | Type | Description | Notes
284
300
  ------------- | ------------- | ------------- | -------------
285
- **maven_repository_href** | **String**| URI of Maven Repository. e.g.: /pulp/api/v3/repositories/maven/maven/1/ |
301
+ **maven_repository_href** | **String**| |
286
302
  **fields** | **String**| A list of fields to include in the response. | [optional]
287
303
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
288
304
 
289
305
  ### Return type
290
306
 
291
- [**MavenMavenRepository**](MavenMavenRepository.md)
307
+ [**MavenMavenRepositoryResponse**](MavenMavenRepositoryResponse.md)
292
308
 
293
309
  ### Authorization
294
310
 
295
- [Basic](../README.md#Basic)
311
+ [basicAuth](../README.md#basicAuth)
296
312
 
297
313
  ### HTTP request headers
298
314
 
@@ -302,7 +318,7 @@ Name | Type | Description | Notes
302
318
 
303
319
  ## update
304
320
 
305
- > AsyncOperationResponse update(maven_repository_href, data)
321
+ > AsyncOperationResponse update(maven_repository_href, maven_maven_repository, opts)
306
322
 
307
323
  Update a maven repository
308
324
 
@@ -315,18 +331,23 @@ Trigger an asynchronous update task
315
331
  require 'pulp_maven_client'
316
332
  # setup authorization
317
333
  PulpMavenClient.configure do |config|
318
- # Configure HTTP basic authorization: Basic
334
+ # Configure HTTP basic authorization: basicAuth
319
335
  config.username = 'YOUR USERNAME'
320
336
  config.password = 'YOUR PASSWORD'
321
337
  end
322
338
 
323
339
  api_instance = PulpMavenClient::RepositoriesMavenApi.new
324
- maven_repository_href = 'maven_repository_href_example' # String | URI of Maven Repository. e.g.: /pulp/api/v3/repositories/maven/maven/1/
325
- data = PulpMavenClient::MavenMavenRepository.new # MavenMavenRepository |
340
+ maven_repository_href = 'maven_repository_href_example' # String |
341
+ maven_maven_repository = PulpMavenClient::MavenMavenRepository.new # MavenMavenRepository |
342
+ opts = {
343
+ name: 'name_example', # String | name
344
+ name__in: 'name__in_example', # String | name__in
345
+ ordering: 'ordering_example' # String | Which field to use when ordering the results.
346
+ }
326
347
 
327
348
  begin
328
349
  #Update a maven repository
329
- result = api_instance.update(maven_repository_href, data)
350
+ result = api_instance.update(maven_repository_href, maven_maven_repository, opts)
330
351
  p result
331
352
  rescue PulpMavenClient::ApiError => e
332
353
  puts "Exception when calling RepositoriesMavenApi->update: #{e}"
@@ -338,8 +359,11 @@ end
338
359
 
339
360
  Name | Type | Description | Notes
340
361
  ------------- | ------------- | ------------- | -------------
341
- **maven_repository_href** | **String**| URI of Maven Repository. e.g.: /pulp/api/v3/repositories/maven/maven/1/ |
342
- **data** | [**MavenMavenRepository**](MavenMavenRepository.md)| |
362
+ **maven_repository_href** | **String**| |
363
+ **maven_maven_repository** | [**MavenMavenRepository**](MavenMavenRepository.md)| |
364
+ **name** | **String**| name | [optional]
365
+ **name__in** | **String**| name__in | [optional]
366
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
343
367
 
344
368
  ### Return type
345
369
 
@@ -347,10 +371,10 @@ Name | Type | Description | Notes
347
371
 
348
372
  ### Authorization
349
373
 
350
- [Basic](../README.md#Basic)
374
+ [basicAuth](../README.md#basicAuth)
351
375
 
352
376
  ### HTTP request headers
353
377
 
354
- - **Content-Type**: application/json
378
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
355
379
  - **Accept**: application/json
356
380