pulp_maven_client 0.11.0 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/ContentArtifactApi.md +6 -6
  4. data/docs/DistributionsMavenApi.md +14 -14
  5. data/docs/MavenMavenArtifact.md +2 -0
  6. data/docs/MavenMavenDistribution.md +2 -0
  7. data/docs/MavenMavenDistributionResponse.md +4 -0
  8. data/docs/MavenMavenRemote.md +6 -6
  9. data/docs/MavenMavenRemoteResponse.md +9 -9
  10. data/docs/MavenMavenRepository.md +2 -0
  11. data/docs/MavenMavenRepositoryResponse.md +2 -0
  12. data/docs/PatchedmavenMavenDistribution.md +2 -0
  13. data/docs/PatchedmavenMavenRemote.md +6 -6
  14. data/docs/PatchedmavenMavenRepository.md +2 -0
  15. data/docs/RemotesMavenApi.md +10 -10
  16. data/docs/RepositoriesMavenApi.md +30 -14
  17. data/lib/pulp_maven_client/api/content_artifact_api.rb +6 -6
  18. data/lib/pulp_maven_client/api/distributions_maven_api.rb +14 -14
  19. data/lib/pulp_maven_client/api/remotes_maven_api.rb +10 -10
  20. data/lib/pulp_maven_client/api/repositories_maven_api.rb +39 -15
  21. data/lib/pulp_maven_client/models/maven_maven_artifact.rb +11 -1
  22. data/lib/pulp_maven_client/models/maven_maven_distribution.rb +12 -1
  23. data/lib/pulp_maven_client/models/maven_maven_distribution_response.rb +22 -1
  24. data/lib/pulp_maven_client/models/maven_maven_remote.rb +48 -33
  25. data/lib/pulp_maven_client/models/maven_maven_remote_response.rb +64 -49
  26. data/lib/pulp_maven_client/models/maven_maven_repository.rb +42 -1
  27. data/lib/pulp_maven_client/models/maven_maven_repository_response.rb +42 -1
  28. data/lib/pulp_maven_client/models/patchedmaven_maven_distribution.rb +12 -1
  29. data/lib/pulp_maven_client/models/patchedmaven_maven_remote.rb +48 -33
  30. data/lib/pulp_maven_client/models/patchedmaven_maven_repository.rb +42 -1
  31. data/lib/pulp_maven_client/models/set_label.rb +0 -11
  32. data/lib/pulp_maven_client/models/set_label_response.rb +0 -21
  33. data/lib/pulp_maven_client/models/unset_label.rb +0 -11
  34. data/lib/pulp_maven_client/models/unset_label_response.rb +0 -21
  35. data/lib/pulp_maven_client/version.rb +1 -1
  36. data/spec/api/content_artifact_api_spec.rb +3 -3
  37. data/spec/api/distributions_maven_api_spec.rb +6 -6
  38. data/spec/api/remotes_maven_api_spec.rb +4 -4
  39. data/spec/api/repositories_maven_api_spec.rb +14 -6
  40. data/spec/models/maven_maven_artifact_spec.rb +6 -0
  41. data/spec/models/maven_maven_distribution_response_spec.rb +12 -0
  42. data/spec/models/maven_maven_distribution_spec.rb +6 -0
  43. data/spec/models/maven_maven_remote_response_spec.rb +10 -10
  44. data/spec/models/maven_maven_remote_spec.rb +17 -17
  45. data/spec/models/maven_maven_repository_response_spec.rb +6 -0
  46. data/spec/models/maven_maven_repository_spec.rb +6 -0
  47. data/spec/models/patchedmaven_maven_distribution_spec.rb +6 -0
  48. data/spec/models/patchedmaven_maven_remote_spec.rb +17 -17
  49. data/spec/models/patchedmaven_maven_repository_spec.rb +6 -0
  50. metadata +25 -25
@@ -274,13 +274,21 @@ opts = {
274
274
  name__regex: 'name__regex_example', # String | Filter results where name matches regex value
275
275
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
276
276
  offset: 56, # Integer | The initial index from which to return the results.
277
- ordering: ['-description'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
277
+ ordering: ['-description'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `retain_checkpoints` - Retain checkpoints * `-retain_checkpoints` - Retain checkpoints (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
278
278
  prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
279
279
  pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
280
280
  pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
281
281
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
282
282
  q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
283
- remote: '38400000-8cf0-11bd-b23e-10b96e4ef00d', # String | Foreign Key referenced by HREF
283
+ remote: 'remote_example', # String |
284
+ retain_checkpoints: 56, # Integer | Filter results where retain_checkpoints matches value
285
+ retain_checkpoints__gt: 56, # Integer | Filter results where retain_checkpoints is greater than value
286
+ retain_checkpoints__gte: 56, # Integer | Filter results where retain_checkpoints is greater than or equal to value
287
+ retain_checkpoints__isnull: true, # Boolean | Filter results where retain_checkpoints has a null value
288
+ retain_checkpoints__lt: 56, # Integer | Filter results where retain_checkpoints is less than value
289
+ retain_checkpoints__lte: 56, # Integer | Filter results where retain_checkpoints is less than or equal to value
290
+ retain_checkpoints__ne: 56, # Integer | Filter results where retain_checkpoints not equal to value
291
+ retain_checkpoints__range: [37], # Array<Integer> | Filter results where retain_checkpoints is between two comma separated values
284
292
  retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
285
293
  retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
286
294
  retain_repo_versions__gte: 56, # Integer | Filter results where retain_repo_versions is greater than or equal to value
@@ -338,13 +346,21 @@ end
338
346
  | **name__regex** | **String** | Filter results where name matches regex value | [optional] |
339
347
  | **name__startswith** | **String** | Filter results where name starts with value | [optional] |
340
348
  | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
341
- | **ordering** | [**Array&lt;String&gt;**](String.md) | Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
349
+ | **ordering** | [**Array&lt;String&gt;**](String.md) | Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;retain_checkpoints&#x60; - Retain checkpoints * &#x60;-retain_checkpoints&#x60; - Retain checkpoints (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
342
350
  | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
343
351
  | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
344
352
  | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
345
353
  | **pulp_label_select** | **String** | Filter labels by search string | [optional] |
346
354
  | **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
347
- | **remote** | **String** | Foreign Key referenced by HREF | [optional] |
355
+ | **remote** | **String** | | [optional] |
356
+ | **retain_checkpoints** | **Integer** | Filter results where retain_checkpoints matches value | [optional] |
357
+ | **retain_checkpoints__gt** | **Integer** | Filter results where retain_checkpoints is greater than value | [optional] |
358
+ | **retain_checkpoints__gte** | **Integer** | Filter results where retain_checkpoints is greater than or equal to value | [optional] |
359
+ | **retain_checkpoints__isnull** | **Boolean** | Filter results where retain_checkpoints has a null value | [optional] |
360
+ | **retain_checkpoints__lt** | **Integer** | Filter results where retain_checkpoints is less than value | [optional] |
361
+ | **retain_checkpoints__lte** | **Integer** | Filter results where retain_checkpoints is less than or equal to value | [optional] |
362
+ | **retain_checkpoints__ne** | **Integer** | Filter results where retain_checkpoints not equal to value | [optional] |
363
+ | **retain_checkpoints__range** | [**Array&lt;Integer&gt;**](Integer.md) | Filter results where retain_checkpoints is between two comma separated values | [optional] |
348
364
  | **retain_repo_versions** | **Integer** | Filter results where retain_repo_versions matches value | [optional] |
349
365
  | **retain_repo_versions__gt** | **Integer** | Filter results where retain_repo_versions is greater than value | [optional] |
350
366
  | **retain_repo_versions__gte** | **Integer** | Filter results where retain_repo_versions is greater than or equal to value | [optional] |
@@ -373,11 +389,11 @@ end
373
389
 
374
390
  ## partial_update
375
391
 
376
- > <AsyncOperationResponse> partial_update(maven_maven_repository_href, patchedmaven_maven_repository, opts)
392
+ > <MavenMavenRepositoryResponse> partial_update(maven_maven_repository_href, patchedmaven_maven_repository, opts)
377
393
 
378
394
  Update a maven repository
379
395
 
380
- Trigger an asynchronous partial update task
396
+ Update the entity partially and trigger an asynchronous task if necessary
381
397
 
382
398
  ### Examples
383
399
 
@@ -411,7 +427,7 @@ end
411
427
 
412
428
  This returns an Array which contains the response data, status code and headers.
413
429
 
414
- > <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(maven_maven_repository_href, patchedmaven_maven_repository, opts)
430
+ > <Array(<MavenMavenRepositoryResponse>, Integer, Hash)> partial_update_with_http_info(maven_maven_repository_href, patchedmaven_maven_repository, opts)
415
431
 
416
432
  ```ruby
417
433
  begin
@@ -419,7 +435,7 @@ begin
419
435
  data, status_code, headers = api_instance.partial_update_with_http_info(maven_maven_repository_href, patchedmaven_maven_repository, opts)
420
436
  p status_code # => 2xx
421
437
  p headers # => { ... }
422
- p data # => <AsyncOperationResponse>
438
+ p data # => <MavenMavenRepositoryResponse>
423
439
  rescue PulpMavenClient::ApiError => e
424
440
  puts "Error when calling RepositoriesMavenApi->partial_update_with_http_info: #{e}"
425
441
  end
@@ -435,7 +451,7 @@ end
435
451
 
436
452
  ### Return type
437
453
 
438
- [**AsyncOperationResponse**](AsyncOperationResponse.md)
454
+ [**MavenMavenRepositoryResponse**](MavenMavenRepositoryResponse.md)
439
455
 
440
456
  ### Authorization
441
457
 
@@ -679,11 +695,11 @@ end
679
695
 
680
696
  ## update
681
697
 
682
- > <AsyncOperationResponse> update(maven_maven_repository_href, maven_maven_repository, opts)
698
+ > <MavenMavenRepositoryResponse> update(maven_maven_repository_href, maven_maven_repository, opts)
683
699
 
684
700
  Update a maven repository
685
701
 
686
- Trigger an asynchronous update task
702
+ Update the entity and trigger an asynchronous task if necessary
687
703
 
688
704
  ### Examples
689
705
 
@@ -717,7 +733,7 @@ end
717
733
 
718
734
  This returns an Array which contains the response data, status code and headers.
719
735
 
720
- > <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(maven_maven_repository_href, maven_maven_repository, opts)
736
+ > <Array(<MavenMavenRepositoryResponse>, Integer, Hash)> update_with_http_info(maven_maven_repository_href, maven_maven_repository, opts)
721
737
 
722
738
  ```ruby
723
739
  begin
@@ -725,7 +741,7 @@ begin
725
741
  data, status_code, headers = api_instance.update_with_http_info(maven_maven_repository_href, maven_maven_repository, opts)
726
742
  p status_code # => 2xx
727
743
  p headers # => { ... }
728
- p data # => <AsyncOperationResponse>
744
+ p data # => <MavenMavenRepositoryResponse>
729
745
  rescue PulpMavenClient::ApiError => e
730
746
  puts "Error when calling RepositoriesMavenApi->update_with_http_info: #{e}"
731
747
  end
@@ -741,7 +757,7 @@ end
741
757
 
742
758
  ### Return type
743
759
 
744
- [**AsyncOperationResponse**](AsyncOperationResponse.md)
760
+ [**MavenMavenRepositoryResponse**](MavenMavenRepositoryResponse.md)
745
761
 
746
762
  ### Authorization
747
763
 
@@ -106,9 +106,9 @@ module PulpMavenClient
106
106
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
107
107
  # @option opts [String] :pulp_label_select Filter labels by search string
108
108
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
109
- # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
110
- # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
111
- # @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
109
+ # @option opts [String] :repository_version
110
+ # @option opts [String] :repository_version_added
111
+ # @option opts [String] :repository_version_removed
112
112
  # @option opts [String] :version Filter results where version matches value
113
113
  # @option opts [Array<String>] :fields A list of fields to include in the response.
114
114
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
@@ -134,9 +134,9 @@ module PulpMavenClient
134
134
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
135
135
  # @option opts [String] :pulp_label_select Filter labels by search string
136
136
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
137
- # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
138
- # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
139
- # @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
137
+ # @option opts [String] :repository_version
138
+ # @option opts [String] :repository_version_added
139
+ # @option opts [String] :repository_version_removed
140
140
  # @option opts [String] :version Filter results where version matches value
141
141
  # @option opts [Array<String>] :fields A list of fields to include in the response.
142
142
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
@@ -182,8 +182,8 @@ module PulpMavenClient
182
182
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
183
183
  # @option opts [String] :pulp_label_select Filter labels by search string
184
184
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
185
- # @option opts [String] :repository Filter results where repository matches value
186
- # @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
185
+ # @option opts [String] :repository
186
+ # @option opts [Array<String>] :repository__in
187
187
  # @option opts [String] :with_content Filter distributions based on the content served by them
188
188
  # @option opts [Array<String>] :fields A list of fields to include in the response.
189
189
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
@@ -219,8 +219,8 @@ module PulpMavenClient
219
219
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
220
220
  # @option opts [String] :pulp_label_select Filter labels by search string
221
221
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
222
- # @option opts [String] :repository Filter results where repository matches value
223
- # @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
222
+ # @option opts [String] :repository
223
+ # @option opts [Array<String>] :repository__in
224
224
  # @option opts [String] :with_content Filter distributions based on the content served by them
225
225
  # @option opts [Array<String>] :fields A list of fields to include in the response.
226
226
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
@@ -302,24 +302,24 @@ module PulpMavenClient
302
302
  end
303
303
 
304
304
  # Update a maven distribution
305
- # Trigger an asynchronous partial update task
305
+ # Update the entity partially and trigger an asynchronous task if necessary
306
306
  # @param maven_maven_distribution_href [String]
307
307
  # @param patchedmaven_maven_distribution [PatchedmavenMavenDistribution]
308
308
  # @param [Hash] opts the optional parameters
309
309
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
310
- # @return [AsyncOperationResponse]
310
+ # @return [MavenMavenDistributionResponse]
311
311
  def partial_update(maven_maven_distribution_href, patchedmaven_maven_distribution, opts = {})
312
312
  data, _status_code, _headers = partial_update_with_http_info(maven_maven_distribution_href, patchedmaven_maven_distribution, opts)
313
313
  data
314
314
  end
315
315
 
316
316
  # Update a maven distribution
317
- # Trigger an asynchronous partial update task
317
+ # Update the entity partially and trigger an asynchronous task if necessary
318
318
  # @param maven_maven_distribution_href [String]
319
319
  # @param patchedmaven_maven_distribution [PatchedmavenMavenDistribution]
320
320
  # @param [Hash] opts the optional parameters
321
321
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
322
- # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
322
+ # @return [Array<(MavenMavenDistributionResponse, Integer, Hash)>] MavenMavenDistributionResponse data, response status code and response headers
323
323
  def partial_update_with_http_info(maven_maven_distribution_href, patchedmaven_maven_distribution, opts = {})
324
324
  if @api_client.config.debugging
325
325
  @api_client.config.logger.debug 'Calling API: DistributionsMavenApi.partial_update ...'
@@ -356,7 +356,7 @@ module PulpMavenClient
356
356
  post_body = opts[:debug_body] || @api_client.object_to_http_body(patchedmaven_maven_distribution)
357
357
 
358
358
  # return_type
359
- return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
359
+ return_type = opts[:debug_return_type] || 'MavenMavenDistributionResponse'
360
360
 
361
361
  # auth_names
362
362
  auth_names = opts[:debug_auth_names] || ['basicAuth']
@@ -605,24 +605,24 @@ module PulpMavenClient
605
605
  end
606
606
 
607
607
  # Update a maven distribution
608
- # Trigger an asynchronous update task
608
+ # Update the entity and trigger an asynchronous task if necessary
609
609
  # @param maven_maven_distribution_href [String]
610
610
  # @param maven_maven_distribution [MavenMavenDistribution]
611
611
  # @param [Hash] opts the optional parameters
612
612
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
613
- # @return [AsyncOperationResponse]
613
+ # @return [MavenMavenDistributionResponse]
614
614
  def update(maven_maven_distribution_href, maven_maven_distribution, opts = {})
615
615
  data, _status_code, _headers = update_with_http_info(maven_maven_distribution_href, maven_maven_distribution, opts)
616
616
  data
617
617
  end
618
618
 
619
619
  # Update a maven distribution
620
- # Trigger an asynchronous update task
620
+ # Update the entity and trigger an asynchronous task if necessary
621
621
  # @param maven_maven_distribution_href [String]
622
622
  # @param maven_maven_distribution [MavenMavenDistribution]
623
623
  # @param [Hash] opts the optional parameters
624
624
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
625
- # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
625
+ # @return [Array<(MavenMavenDistributionResponse, Integer, Hash)>] MavenMavenDistributionResponse data, response status code and response headers
626
626
  def update_with_http_info(maven_maven_distribution_href, maven_maven_distribution, opts = {})
627
627
  if @api_client.config.debugging
628
628
  @api_client.config.logger.debug 'Calling API: DistributionsMavenApi.update ...'
@@ -659,7 +659,7 @@ module PulpMavenClient
659
659
  post_body = opts[:debug_body] || @api_client.object_to_http_body(maven_maven_distribution)
660
660
 
661
661
  # return_type
662
- return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
662
+ return_type = opts[:debug_return_type] || 'MavenMavenDistributionResponse'
663
663
 
664
664
  # auth_names
665
665
  auth_names = opts[:debug_auth_names] || ['basicAuth']
@@ -299,24 +299,24 @@ module PulpMavenClient
299
299
  end
300
300
 
301
301
  # Update a maven remote
302
- # Trigger an asynchronous partial update task
302
+ # Update the entity partially and trigger an asynchronous task if necessary
303
303
  # @param maven_maven_remote_href [String]
304
304
  # @param patchedmaven_maven_remote [PatchedmavenMavenRemote]
305
305
  # @param [Hash] opts the optional parameters
306
306
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
307
- # @return [AsyncOperationResponse]
307
+ # @return [MavenMavenRemoteResponse]
308
308
  def partial_update(maven_maven_remote_href, patchedmaven_maven_remote, opts = {})
309
309
  data, _status_code, _headers = partial_update_with_http_info(maven_maven_remote_href, patchedmaven_maven_remote, opts)
310
310
  data
311
311
  end
312
312
 
313
313
  # Update a maven remote
314
- # Trigger an asynchronous partial update task
314
+ # Update the entity partially and trigger an asynchronous task if necessary
315
315
  # @param maven_maven_remote_href [String]
316
316
  # @param patchedmaven_maven_remote [PatchedmavenMavenRemote]
317
317
  # @param [Hash] opts the optional parameters
318
318
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
319
- # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
319
+ # @return [Array<(MavenMavenRemoteResponse, Integer, Hash)>] MavenMavenRemoteResponse data, response status code and response headers
320
320
  def partial_update_with_http_info(maven_maven_remote_href, patchedmaven_maven_remote, opts = {})
321
321
  if @api_client.config.debugging
322
322
  @api_client.config.logger.debug 'Calling API: RemotesMavenApi.partial_update ...'
@@ -353,7 +353,7 @@ module PulpMavenClient
353
353
  post_body = opts[:debug_body] || @api_client.object_to_http_body(patchedmaven_maven_remote)
354
354
 
355
355
  # return_type
356
- return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
356
+ return_type = opts[:debug_return_type] || 'MavenMavenRemoteResponse'
357
357
 
358
358
  # auth_names
359
359
  auth_names = opts[:debug_auth_names] || ['basicAuth']
@@ -602,24 +602,24 @@ module PulpMavenClient
602
602
  end
603
603
 
604
604
  # Update a maven remote
605
- # Trigger an asynchronous update task
605
+ # Update the entity and trigger an asynchronous task if necessary
606
606
  # @param maven_maven_remote_href [String]
607
607
  # @param maven_maven_remote [MavenMavenRemote]
608
608
  # @param [Hash] opts the optional parameters
609
609
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
610
- # @return [AsyncOperationResponse]
610
+ # @return [MavenMavenRemoteResponse]
611
611
  def update(maven_maven_remote_href, maven_maven_remote, opts = {})
612
612
  data, _status_code, _headers = update_with_http_info(maven_maven_remote_href, maven_maven_remote, opts)
613
613
  data
614
614
  end
615
615
 
616
616
  # Update a maven remote
617
- # Trigger an asynchronous update task
617
+ # Update the entity and trigger an asynchronous task if necessary
618
618
  # @param maven_maven_remote_href [String]
619
619
  # @param maven_maven_remote [MavenMavenRemote]
620
620
  # @param [Hash] opts the optional parameters
621
621
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
622
- # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
622
+ # @return [Array<(MavenMavenRemoteResponse, Integer, Hash)>] MavenMavenRemoteResponse data, response status code and response headers
623
623
  def update_with_http_info(maven_maven_remote_href, maven_maven_remote, opts = {})
624
624
  if @api_client.config.debugging
625
625
  @api_client.config.logger.debug 'Calling API: RemotesMavenApi.update ...'
@@ -656,7 +656,7 @@ module PulpMavenClient
656
656
  post_body = opts[:debug_body] || @api_client.object_to_http_body(maven_maven_remote)
657
657
 
658
658
  # return_type
659
- return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
659
+ return_type = opts[:debug_return_type] || 'MavenMavenRemoteResponse'
660
660
 
661
661
  # auth_names
662
662
  auth_names = opts[:debug_auth_names] || ['basicAuth']
@@ -249,13 +249,21 @@ module PulpMavenClient
249
249
  # @option opts [String] :name__regex Filter results where name matches regex value
250
250
  # @option opts [String] :name__startswith Filter results where name starts with value
251
251
  # @option opts [Integer] :offset The initial index from which to return the results.
252
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
252
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;retain_checkpoints&#x60; - Retain checkpoints * &#x60;-retain_checkpoints&#x60; - Retain checkpoints (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
253
253
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
254
254
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
255
255
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
256
256
  # @option opts [String] :pulp_label_select Filter labels by search string
257
257
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
258
- # @option opts [String] :remote Foreign Key referenced by HREF
258
+ # @option opts [String] :remote
259
+ # @option opts [Integer] :retain_checkpoints Filter results where retain_checkpoints matches value
260
+ # @option opts [Integer] :retain_checkpoints__gt Filter results where retain_checkpoints is greater than value
261
+ # @option opts [Integer] :retain_checkpoints__gte Filter results where retain_checkpoints is greater than or equal to value
262
+ # @option opts [Boolean] :retain_checkpoints__isnull Filter results where retain_checkpoints has a null value
263
+ # @option opts [Integer] :retain_checkpoints__lt Filter results where retain_checkpoints is less than value
264
+ # @option opts [Integer] :retain_checkpoints__lte Filter results where retain_checkpoints is less than or equal to value
265
+ # @option opts [Integer] :retain_checkpoints__ne Filter results where retain_checkpoints not equal to value
266
+ # @option opts [Array<Integer>] :retain_checkpoints__range Filter results where retain_checkpoints is between two comma separated values
259
267
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
260
268
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
261
269
  # @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
@@ -289,13 +297,21 @@ module PulpMavenClient
289
297
  # @option opts [String] :name__regex Filter results where name matches regex value
290
298
  # @option opts [String] :name__startswith Filter results where name starts with value
291
299
  # @option opts [Integer] :offset The initial index from which to return the results.
292
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
300
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;retain_checkpoints&#x60; - Retain checkpoints * &#x60;-retain_checkpoints&#x60; - Retain checkpoints (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
293
301
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
294
302
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
295
303
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
296
304
  # @option opts [String] :pulp_label_select Filter labels by search string
297
305
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
298
- # @option opts [String] :remote Foreign Key referenced by HREF
306
+ # @option opts [String] :remote
307
+ # @option opts [Integer] :retain_checkpoints Filter results where retain_checkpoints matches value
308
+ # @option opts [Integer] :retain_checkpoints__gt Filter results where retain_checkpoints is greater than value
309
+ # @option opts [Integer] :retain_checkpoints__gte Filter results where retain_checkpoints is greater than or equal to value
310
+ # @option opts [Boolean] :retain_checkpoints__isnull Filter results where retain_checkpoints has a null value
311
+ # @option opts [Integer] :retain_checkpoints__lt Filter results where retain_checkpoints is less than value
312
+ # @option opts [Integer] :retain_checkpoints__lte Filter results where retain_checkpoints is less than or equal to value
313
+ # @option opts [Integer] :retain_checkpoints__ne Filter results where retain_checkpoints not equal to value
314
+ # @option opts [Array<Integer>] :retain_checkpoints__range Filter results where retain_checkpoints is between two comma separated values
299
315
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
300
316
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
301
317
  # @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
@@ -312,7 +328,7 @@ module PulpMavenClient
312
328
  if @api_client.config.debugging
313
329
  @api_client.config.logger.debug 'Calling API: RepositoriesMavenApi.list ...'
314
330
  end
315
- allowable_values = ["-description", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-retain_repo_versions", "-user_hidden", "description", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "retain_repo_versions", "user_hidden"]
331
+ allowable_values = ["-description", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-retain_checkpoints", "-retain_repo_versions", "-user_hidden", "description", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "retain_checkpoints", "retain_repo_versions", "user_hidden"]
316
332
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
317
333
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
318
334
  end
@@ -340,6 +356,14 @@ module PulpMavenClient
340
356
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
341
357
  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
342
358
  query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
359
+ query_params[:'retain_checkpoints'] = opts[:'retain_checkpoints'] if !opts[:'retain_checkpoints'].nil?
360
+ query_params[:'retain_checkpoints__gt'] = opts[:'retain_checkpoints__gt'] if !opts[:'retain_checkpoints__gt'].nil?
361
+ query_params[:'retain_checkpoints__gte'] = opts[:'retain_checkpoints__gte'] if !opts[:'retain_checkpoints__gte'].nil?
362
+ query_params[:'retain_checkpoints__isnull'] = opts[:'retain_checkpoints__isnull'] if !opts[:'retain_checkpoints__isnull'].nil?
363
+ query_params[:'retain_checkpoints__lt'] = opts[:'retain_checkpoints__lt'] if !opts[:'retain_checkpoints__lt'].nil?
364
+ query_params[:'retain_checkpoints__lte'] = opts[:'retain_checkpoints__lte'] if !opts[:'retain_checkpoints__lte'].nil?
365
+ query_params[:'retain_checkpoints__ne'] = opts[:'retain_checkpoints__ne'] if !opts[:'retain_checkpoints__ne'].nil?
366
+ query_params[:'retain_checkpoints__range'] = @api_client.build_collection_param(opts[:'retain_checkpoints__range'], :csv) if !opts[:'retain_checkpoints__range'].nil?
343
367
  query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
344
368
  query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
345
369
  query_params[:'retain_repo_versions__gte'] = opts[:'retain_repo_versions__gte'] if !opts[:'retain_repo_versions__gte'].nil?
@@ -388,24 +412,24 @@ module PulpMavenClient
388
412
  end
389
413
 
390
414
  # Update a maven repository
391
- # Trigger an asynchronous partial update task
415
+ # Update the entity partially and trigger an asynchronous task if necessary
392
416
  # @param maven_maven_repository_href [String]
393
417
  # @param patchedmaven_maven_repository [PatchedmavenMavenRepository]
394
418
  # @param [Hash] opts the optional parameters
395
419
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
396
- # @return [AsyncOperationResponse]
420
+ # @return [MavenMavenRepositoryResponse]
397
421
  def partial_update(maven_maven_repository_href, patchedmaven_maven_repository, opts = {})
398
422
  data, _status_code, _headers = partial_update_with_http_info(maven_maven_repository_href, patchedmaven_maven_repository, opts)
399
423
  data
400
424
  end
401
425
 
402
426
  # Update a maven repository
403
- # Trigger an asynchronous partial update task
427
+ # Update the entity partially and trigger an asynchronous task if necessary
404
428
  # @param maven_maven_repository_href [String]
405
429
  # @param patchedmaven_maven_repository [PatchedmavenMavenRepository]
406
430
  # @param [Hash] opts the optional parameters
407
431
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
408
- # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
432
+ # @return [Array<(MavenMavenRepositoryResponse, Integer, Hash)>] MavenMavenRepositoryResponse data, response status code and response headers
409
433
  def partial_update_with_http_info(maven_maven_repository_href, patchedmaven_maven_repository, opts = {})
410
434
  if @api_client.config.debugging
411
435
  @api_client.config.logger.debug 'Calling API: RepositoriesMavenApi.partial_update ...'
@@ -442,7 +466,7 @@ module PulpMavenClient
442
466
  post_body = opts[:debug_body] || @api_client.object_to_http_body(patchedmaven_maven_repository)
443
467
 
444
468
  # return_type
445
- return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
469
+ return_type = opts[:debug_return_type] || 'MavenMavenRepositoryResponse'
446
470
 
447
471
  # auth_names
448
472
  auth_names = opts[:debug_auth_names] || ['basicAuth']
@@ -691,24 +715,24 @@ module PulpMavenClient
691
715
  end
692
716
 
693
717
  # Update a maven repository
694
- # Trigger an asynchronous update task
718
+ # Update the entity and trigger an asynchronous task if necessary
695
719
  # @param maven_maven_repository_href [String]
696
720
  # @param maven_maven_repository [MavenMavenRepository]
697
721
  # @param [Hash] opts the optional parameters
698
722
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
699
- # @return [AsyncOperationResponse]
723
+ # @return [MavenMavenRepositoryResponse]
700
724
  def update(maven_maven_repository_href, maven_maven_repository, opts = {})
701
725
  data, _status_code, _headers = update_with_http_info(maven_maven_repository_href, maven_maven_repository, opts)
702
726
  data
703
727
  end
704
728
 
705
729
  # Update a maven repository
706
- # Trigger an asynchronous update task
730
+ # Update the entity and trigger an asynchronous task if necessary
707
731
  # @param maven_maven_repository_href [String]
708
732
  # @param maven_maven_repository [MavenMavenRepository]
709
733
  # @param [Hash] opts the optional parameters
710
734
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
711
- # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
735
+ # @return [Array<(MavenMavenRepositoryResponse, Integer, Hash)>] MavenMavenRepositoryResponse data, response status code and response headers
712
736
  def update_with_http_info(maven_maven_repository_href, maven_maven_repository, opts = {})
713
737
  if @api_client.config.debugging
714
738
  @api_client.config.logger.debug 'Calling API: RepositoriesMavenApi.update ...'
@@ -745,7 +769,7 @@ module PulpMavenClient
745
769
  post_body = opts[:debug_body] || @api_client.object_to_http_body(maven_maven_repository)
746
770
 
747
771
  # return_type
748
- return_type = opts[:debug_return_type] || 'AsyncOperationResponse'
772
+ return_type = opts[:debug_return_type] || 'MavenMavenRepositoryResponse'
749
773
 
750
774
  # auth_names
751
775
  auth_names = opts[:debug_auth_names] || ['basicAuth']
@@ -19,6 +19,9 @@ module PulpMavenClient
19
19
  # A URI of a repository the new content unit should be associated with.
20
20
  attr_accessor :repository
21
21
 
22
+ # When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
23
+ attr_accessor :overwrite
24
+
22
25
  # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
23
26
  attr_accessor :pulp_labels
24
27
 
@@ -32,6 +35,7 @@ module PulpMavenClient
32
35
  def self.attribute_map
33
36
  {
34
37
  :'repository' => :'repository',
38
+ :'overwrite' => :'overwrite',
35
39
  :'pulp_labels' => :'pulp_labels',
36
40
  :'artifact' => :'artifact',
37
41
  :'relative_path' => :'relative_path'
@@ -47,6 +51,7 @@ module PulpMavenClient
47
51
  def self.openapi_types
48
52
  {
49
53
  :'repository' => :'String',
54
+ :'overwrite' => :'Boolean',
50
55
  :'pulp_labels' => :'Hash<String, String>',
51
56
  :'artifact' => :'String',
52
57
  :'relative_path' => :'String'
@@ -78,6 +83,10 @@ module PulpMavenClient
78
83
  self.repository = attributes[:'repository']
79
84
  end
80
85
 
86
+ if attributes.key?(:'overwrite')
87
+ self.overwrite = attributes[:'overwrite']
88
+ end
89
+
81
90
  if attributes.key?(:'pulp_labels')
82
91
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
83
92
  self.pulp_labels = value
@@ -147,6 +156,7 @@ module PulpMavenClient
147
156
  return true if self.equal?(o)
148
157
  self.class == o.class &&
149
158
  repository == o.repository &&
159
+ overwrite == o.overwrite &&
150
160
  pulp_labels == o.pulp_labels &&
151
161
  artifact == o.artifact &&
152
162
  relative_path == o.relative_path
@@ -161,7 +171,7 @@ module PulpMavenClient
161
171
  # Calculates hash code according to all attributes.
162
172
  # @return [Integer] Hash code
163
173
  def hash
164
- [repository, pulp_labels, artifact, relative_path].hash
174
+ [repository, overwrite, pulp_labels, artifact, relative_path].hash
165
175
  end
166
176
 
167
177
  # Builds the object from hash
@@ -33,6 +33,9 @@ module PulpMavenClient
33
33
  # The latest RepositoryVersion for this Repository will be served.
34
34
  attr_accessor :repository
35
35
 
36
+ # RepositoryVersion to be served
37
+ attr_accessor :repository_version
38
+
36
39
  # Remote that can be used to fetch content when using pull-through caching.
37
40
  attr_accessor :remote
38
41
 
@@ -45,6 +48,7 @@ module PulpMavenClient
45
48
  :'pulp_labels' => :'pulp_labels',
46
49
  :'name' => :'name',
47
50
  :'repository' => :'repository',
51
+ :'repository_version' => :'repository_version',
48
52
  :'remote' => :'remote'
49
53
  }
50
54
  end
@@ -63,6 +67,7 @@ module PulpMavenClient
63
67
  :'pulp_labels' => :'Hash<String, String>',
64
68
  :'name' => :'String',
65
69
  :'repository' => :'String',
70
+ :'repository_version' => :'String',
66
71
  :'remote' => :'String'
67
72
  }
68
73
  end
@@ -72,6 +77,7 @@ module PulpMavenClient
72
77
  Set.new([
73
78
  :'content_guard',
74
79
  :'repository',
80
+ :'repository_version',
75
81
  :'remote'
76
82
  ])
77
83
  end
@@ -123,6 +129,10 @@ module PulpMavenClient
123
129
  self.repository = attributes[:'repository']
124
130
  end
125
131
 
132
+ if attributes.key?(:'repository_version')
133
+ self.repository_version = attributes[:'repository_version']
134
+ end
135
+
126
136
  if attributes.key?(:'remote')
127
137
  self.remote = attributes[:'remote']
128
138
  end
@@ -202,6 +212,7 @@ module PulpMavenClient
202
212
  pulp_labels == o.pulp_labels &&
203
213
  name == o.name &&
204
214
  repository == o.repository &&
215
+ repository_version == o.repository_version &&
205
216
  remote == o.remote
206
217
  end
207
218
 
@@ -214,7 +225,7 @@ module PulpMavenClient
214
225
  # Calculates hash code according to all attributes.
215
226
  # @return [Integer] Hash code
216
227
  def hash
217
- [base_path, content_guard, hidden, pulp_labels, name, repository, remote].hash
228
+ [base_path, content_guard, hidden, pulp_labels, name, repository, repository_version, remote].hash
218
229
  end
219
230
 
220
231
  # Builds the object from hash