pulp_container_client 2.15.1 → 2.15.3

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 (71) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +36 -25
  3. data/docs/ContainerContainerDistribution.md +7 -7
  4. data/docs/ContainerContainerDistributionResponse.md +9 -9
  5. data/docs/ContainerContainerPushRepository.md +7 -7
  6. data/docs/ContainerContainerPushRepositoryResponse.md +13 -13
  7. data/docs/ContentBlobsApi.md +3 -1
  8. data/docs/ContentManifestsApi.md +5 -3
  9. data/docs/ContentSignaturesApi.md +11 -1
  10. data/docs/ContentTagsApi.md +5 -3
  11. data/docs/DistributionsContainerApi.md +136 -10
  12. data/docs/PatchedcontainerContainerDistribution.md +7 -7
  13. data/docs/PatchedcontainerContainerPushRepository.md +7 -7
  14. data/docs/PulpContainerNamespacesApi.md +23 -9
  15. data/docs/RemotesContainerApi.md +135 -9
  16. data/docs/RepositoriesContainerApi.md +136 -10
  17. data/docs/RepositoriesContainerPushApi.md +24 -10
  18. data/docs/RepositoriesContainerPushVersionsApi.md +3 -1
  19. data/docs/RepositoriesContainerVersionsApi.md +3 -1
  20. data/docs/SetLabel.md +19 -0
  21. data/docs/SetLabelResponse.md +19 -0
  22. data/docs/TokenApi.md +1 -1
  23. data/docs/UnsetLabel.md +17 -0
  24. data/docs/UnsetLabelResponse.md +19 -0
  25. data/lib/pulp_container_client/api/content_blobs_api.rb +3 -0
  26. data/lib/pulp_container_client/api/content_manifests_api.rb +5 -2
  27. data/lib/pulp_container_client/api/content_signatures_api.rb +15 -0
  28. data/lib/pulp_container_client/api/content_tags_api.rb +5 -2
  29. data/lib/pulp_container_client/api/distributions_container_api.rb +163 -0
  30. data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +23 -0
  31. data/lib/pulp_container_client/api/remotes_container_api.rb +163 -0
  32. data/lib/pulp_container_client/api/repositories_container_api.rb +163 -0
  33. data/lib/pulp_container_client/api/repositories_container_push_api.rb +23 -0
  34. data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +3 -0
  35. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +3 -0
  36. data/lib/pulp_container_client/configuration.rb +2 -2
  37. data/lib/pulp_container_client/models/container_container_distribution.rb +27 -27
  38. data/lib/pulp_container_client/models/container_container_distribution_response.rb +39 -39
  39. data/lib/pulp_container_client/models/container_container_push_repository.rb +45 -45
  40. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +52 -52
  41. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +27 -27
  42. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +45 -45
  43. data/lib/pulp_container_client/models/set_label.rb +252 -0
  44. data/lib/pulp_container_client/models/set_label_response.rb +243 -0
  45. data/lib/pulp_container_client/models/unset_label.rb +242 -0
  46. data/lib/pulp_container_client/models/unset_label_response.rb +242 -0
  47. data/lib/pulp_container_client/version.rb +1 -1
  48. data/lib/pulp_container_client.rb +4 -0
  49. data/spec/api/content_blobs_api_spec.rb +1 -0
  50. data/spec/api/content_manifests_api_spec.rb +2 -1
  51. data/spec/api/content_signatures_api_spec.rb +5 -0
  52. data/spec/api/content_tags_api_spec.rb +2 -1
  53. data/spec/api/distributions_container_api_spec.rb +35 -0
  54. data/spec/api/pulp_container_namespaces_api_spec.rb +9 -0
  55. data/spec/api/remotes_container_api_spec.rb +35 -0
  56. data/spec/api/repositories_container_api_spec.rb +35 -0
  57. data/spec/api/repositories_container_push_api_spec.rb +9 -0
  58. data/spec/api/repositories_container_push_versions_api_spec.rb +1 -0
  59. data/spec/api/repositories_container_versions_api_spec.rb +1 -0
  60. data/spec/configuration_spec.rb +3 -3
  61. data/spec/models/container_container_distribution_response_spec.rb +8 -8
  62. data/spec/models/container_container_distribution_spec.rb +5 -5
  63. data/spec/models/container_container_push_repository_response_spec.rb +9 -9
  64. data/spec/models/container_container_push_repository_spec.rb +5 -5
  65. data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
  66. data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
  67. data/spec/models/set_label_response_spec.rb +47 -0
  68. data/spec/models/set_label_spec.rb +47 -0
  69. data/spec/models/unset_label_response_spec.rb +47 -0
  70. data/spec/models/unset_label_spec.rb +41 -0
  71. metadata +64 -48
@@ -89,6 +89,7 @@ module PulpContainerClient
89
89
  return data, status_code, headers
90
90
  end
91
91
 
92
+ # Add a role
92
93
  # Add a role for this object to users/groups.
93
94
  # @param container_container_repository_href [String]
94
95
  # @param nested_role [NestedRole]
@@ -99,6 +100,7 @@ module PulpContainerClient
99
100
  data
100
101
  end
101
102
 
103
+ # Add a role
102
104
  # Add a role for this object to users/groups.
103
105
  # @param container_container_repository_href [String]
104
106
  # @param nested_role [NestedRole]
@@ -511,13 +513,18 @@ module PulpContainerClient
511
513
  # @option opts [String] :name Filter results where name matches value
512
514
  # @option opts [String] :name__contains Filter results where name contains value
513
515
  # @option opts [String] :name__icontains Filter results where name contains value
516
+ # @option opts [String] :name__iexact Filter results where name matches value
514
517
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
518
+ # @option opts [String] :name__iregex Filter results where name matches regex value
519
+ # @option opts [String] :name__istartswith Filter results where name starts with value
520
+ # @option opts [String] :name__regex Filter results where name matches regex value
515
521
  # @option opts [String] :name__startswith Filter results where name starts with value
516
522
  # @option opts [Integer] :offset The initial index from which to return the results.
517
523
  # @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)
518
524
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
519
525
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
520
526
  # @option opts [String] :pulp_label_select Filter labels by search string
527
+ # @option opts [String] :q
521
528
  # @option opts [String] :remote Foreign Key referenced by HREF
522
529
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
523
530
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
@@ -544,13 +551,18 @@ module PulpContainerClient
544
551
  # @option opts [String] :name Filter results where name matches value
545
552
  # @option opts [String] :name__contains Filter results where name contains value
546
553
  # @option opts [String] :name__icontains Filter results where name contains value
554
+ # @option opts [String] :name__iexact Filter results where name matches value
547
555
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
556
+ # @option opts [String] :name__iregex Filter results where name matches regex value
557
+ # @option opts [String] :name__istartswith Filter results where name starts with value
558
+ # @option opts [String] :name__regex Filter results where name matches regex value
548
559
  # @option opts [String] :name__startswith Filter results where name starts with value
549
560
  # @option opts [Integer] :offset The initial index from which to return the results.
550
561
  # @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)
551
562
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
552
563
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
553
564
  # @option opts [String] :pulp_label_select Filter labels by search string
565
+ # @option opts [String] :q
554
566
  # @option opts [String] :remote Foreign Key referenced by HREF
555
567
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
556
568
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
@@ -582,13 +594,18 @@ module PulpContainerClient
582
594
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
583
595
  query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
584
596
  query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
597
+ query_params[:'name__iexact'] = opts[:'name__iexact'] if !opts[:'name__iexact'].nil?
585
598
  query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
599
+ query_params[:'name__iregex'] = opts[:'name__iregex'] if !opts[:'name__iregex'].nil?
600
+ query_params[:'name__istartswith'] = opts[:'name__istartswith'] if !opts[:'name__istartswith'].nil?
601
+ query_params[:'name__regex'] = opts[:'name__regex'] if !opts[:'name__regex'].nil?
586
602
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
587
603
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
588
604
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
589
605
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
590
606
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
591
607
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
608
+ query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
592
609
  query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
593
610
  query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
594
611
  query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
@@ -635,6 +652,7 @@ module PulpContainerClient
635
652
  return data, status_code, headers
636
653
  end
637
654
 
655
+ # List roles
638
656
  # List roles assigned to this object.
639
657
  # @param container_container_repository_href [String]
640
658
  # @param [Hash] opts the optional parameters
@@ -646,6 +664,7 @@ module PulpContainerClient
646
664
  data
647
665
  end
648
666
 
667
+ # List roles
649
668
  # List roles assigned to this object.
650
669
  # @param container_container_repository_href [String]
651
670
  # @param [Hash] opts the optional parameters
@@ -701,6 +720,7 @@ module PulpContainerClient
701
720
  return data, status_code, headers
702
721
  end
703
722
 
723
+ # List user permissions
704
724
  # List permissions available to the current user on this object.
705
725
  # @param container_container_repository_href [String]
706
726
  # @param [Hash] opts the optional parameters
@@ -712,6 +732,7 @@ module PulpContainerClient
712
732
  data
713
733
  end
714
734
 
735
+ # List user permissions
715
736
  # List permissions available to the current user on this object.
716
737
  # @param container_container_repository_href [String]
717
738
  # @param [Hash] opts the optional parameters
@@ -975,6 +996,7 @@ module PulpContainerClient
975
996
  return data, status_code, headers
976
997
  end
977
998
 
999
+ # Remove a role
978
1000
  # Remove a role for this object from users/groups.
979
1001
  # @param container_container_repository_href [String]
980
1002
  # @param nested_role [NestedRole]
@@ -985,6 +1007,7 @@ module PulpContainerClient
985
1007
  data
986
1008
  end
987
1009
 
1010
+ # Remove a role
988
1011
  # Remove a role for this object from users/groups.
989
1012
  # @param container_container_repository_href [String]
990
1013
  # @param nested_role [NestedRole]
@@ -1043,6 +1066,76 @@ module PulpContainerClient
1043
1066
  return data, status_code, headers
1044
1067
  end
1045
1068
 
1069
+ # Set a label
1070
+ # Set a single pulp_label on the object to a specific value or null.
1071
+ # @param container_container_repository_href [String]
1072
+ # @param set_label [SetLabel]
1073
+ # @param [Hash] opts the optional parameters
1074
+ # @return [SetLabelResponse]
1075
+ def set_label(container_container_repository_href, set_label, opts = {})
1076
+ data, _status_code, _headers = set_label_with_http_info(container_container_repository_href, set_label, opts)
1077
+ data
1078
+ end
1079
+
1080
+ # Set a label
1081
+ # Set a single pulp_label on the object to a specific value or null.
1082
+ # @param container_container_repository_href [String]
1083
+ # @param set_label [SetLabel]
1084
+ # @param [Hash] opts the optional parameters
1085
+ # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
1086
+ def set_label_with_http_info(container_container_repository_href, set_label, opts = {})
1087
+ if @api_client.config.debugging
1088
+ @api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.set_label ...'
1089
+ end
1090
+ # verify the required parameter 'container_container_repository_href' is set
1091
+ if @api_client.config.client_side_validation && container_container_repository_href.nil?
1092
+ fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.set_label"
1093
+ end
1094
+ # verify the required parameter 'set_label' is set
1095
+ if @api_client.config.client_side_validation && set_label.nil?
1096
+ fail ArgumentError, "Missing the required parameter 'set_label' when calling RepositoriesContainerApi.set_label"
1097
+ end
1098
+ # resource path
1099
+ local_var_path = '{container_container_repository_href}set_label/'.sub('{' + 'container_container_repository_href' + '}', CGI.escape(container_container_repository_href.to_s).gsub('%2F', '/'))
1100
+
1101
+ # query parameters
1102
+ query_params = opts[:query_params] || {}
1103
+
1104
+ # header parameters
1105
+ header_params = opts[:header_params] || {}
1106
+ # HTTP header 'Accept' (if needed)
1107
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1108
+ # HTTP header 'Content-Type'
1109
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
1110
+
1111
+ # form parameters
1112
+ form_params = opts[:form_params] || {}
1113
+
1114
+ # http body (model)
1115
+ post_body = opts[:body] || @api_client.object_to_http_body(set_label)
1116
+
1117
+ # return_type
1118
+ return_type = opts[:return_type] || 'SetLabelResponse'
1119
+
1120
+ # auth_names
1121
+ auth_names = opts[:auth_names] || ['basicAuth']
1122
+
1123
+ new_options = opts.merge(
1124
+ :header_params => header_params,
1125
+ :query_params => query_params,
1126
+ :form_params => form_params,
1127
+ :body => post_body,
1128
+ :auth_names => auth_names,
1129
+ :return_type => return_type
1130
+ )
1131
+
1132
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
1133
+ if @api_client.config.debugging
1134
+ @api_client.config.logger.debug "API called: RepositoriesContainerApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1135
+ end
1136
+ return data, status_code, headers
1137
+ end
1138
+
1046
1139
  # Sign images in the repo
1047
1140
  # Trigger an asynchronous task to sign content.
1048
1141
  # @param container_container_repository_href [String]
@@ -1253,6 +1346,76 @@ module PulpContainerClient
1253
1346
  return data, status_code, headers
1254
1347
  end
1255
1348
 
1349
+ # Unset a label
1350
+ # Unset a single pulp_label on the object.
1351
+ # @param container_container_repository_href [String]
1352
+ # @param unset_label [UnsetLabel]
1353
+ # @param [Hash] opts the optional parameters
1354
+ # @return [UnsetLabelResponse]
1355
+ def unset_label(container_container_repository_href, unset_label, opts = {})
1356
+ data, _status_code, _headers = unset_label_with_http_info(container_container_repository_href, unset_label, opts)
1357
+ data
1358
+ end
1359
+
1360
+ # Unset a label
1361
+ # Unset a single pulp_label on the object.
1362
+ # @param container_container_repository_href [String]
1363
+ # @param unset_label [UnsetLabel]
1364
+ # @param [Hash] opts the optional parameters
1365
+ # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
1366
+ def unset_label_with_http_info(container_container_repository_href, unset_label, opts = {})
1367
+ if @api_client.config.debugging
1368
+ @api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.unset_label ...'
1369
+ end
1370
+ # verify the required parameter 'container_container_repository_href' is set
1371
+ if @api_client.config.client_side_validation && container_container_repository_href.nil?
1372
+ fail ArgumentError, "Missing the required parameter 'container_container_repository_href' when calling RepositoriesContainerApi.unset_label"
1373
+ end
1374
+ # verify the required parameter 'unset_label' is set
1375
+ if @api_client.config.client_side_validation && unset_label.nil?
1376
+ fail ArgumentError, "Missing the required parameter 'unset_label' when calling RepositoriesContainerApi.unset_label"
1377
+ end
1378
+ # resource path
1379
+ local_var_path = '{container_container_repository_href}unset_label/'.sub('{' + 'container_container_repository_href' + '}', CGI.escape(container_container_repository_href.to_s).gsub('%2F', '/'))
1380
+
1381
+ # query parameters
1382
+ query_params = opts[:query_params] || {}
1383
+
1384
+ # header parameters
1385
+ header_params = opts[:header_params] || {}
1386
+ # HTTP header 'Accept' (if needed)
1387
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1388
+ # HTTP header 'Content-Type'
1389
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
1390
+
1391
+ # form parameters
1392
+ form_params = opts[:form_params] || {}
1393
+
1394
+ # http body (model)
1395
+ post_body = opts[:body] || @api_client.object_to_http_body(unset_label)
1396
+
1397
+ # return_type
1398
+ return_type = opts[:return_type] || 'UnsetLabelResponse'
1399
+
1400
+ # auth_names
1401
+ auth_names = opts[:auth_names] || ['basicAuth']
1402
+
1403
+ new_options = opts.merge(
1404
+ :header_params => header_params,
1405
+ :query_params => query_params,
1406
+ :form_params => form_params,
1407
+ :body => post_body,
1408
+ :auth_names => auth_names,
1409
+ :return_type => return_type
1410
+ )
1411
+
1412
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
1413
+ if @api_client.config.debugging
1414
+ @api_client.config.logger.debug "API called: RepositoriesContainerApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1415
+ end
1416
+ return data, status_code, headers
1417
+ end
1418
+
1256
1419
  # Delete a tag
1257
1420
  # Trigger an asynchronous task to untag an image in the repository
1258
1421
  # @param container_container_repository_href [String]
@@ -19,6 +19,7 @@ module PulpContainerClient
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
+ # Add a role
22
23
  # Add a role for this object to users/groups.
23
24
  # @param container_container_push_repository_href [String]
24
25
  # @param nested_role [NestedRole]
@@ -29,6 +30,7 @@ module PulpContainerClient
29
30
  data
30
31
  end
31
32
 
33
+ # Add a role
32
34
  # Add a role for this object to users/groups.
33
35
  # @param container_container_push_repository_href [String]
34
36
  # @param nested_role [NestedRole]
@@ -95,13 +97,18 @@ module PulpContainerClient
95
97
  # @option opts [String] :name Filter results where name matches value
96
98
  # @option opts [String] :name__contains Filter results where name contains value
97
99
  # @option opts [String] :name__icontains Filter results where name contains value
100
+ # @option opts [String] :name__iexact Filter results where name matches value
98
101
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
102
+ # @option opts [String] :name__iregex Filter results where name matches regex value
103
+ # @option opts [String] :name__istartswith Filter results where name starts with value
104
+ # @option opts [String] :name__regex Filter results where name matches regex value
99
105
  # @option opts [String] :name__startswith Filter results where name starts with value
100
106
  # @option opts [Integer] :offset The initial index from which to return the results.
101
107
  # @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)
102
108
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
103
109
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
104
110
  # @option opts [String] :pulp_label_select Filter labels by search string
111
+ # @option opts [String] :q
105
112
  # @option opts [String] :remote Foreign Key referenced by HREF
106
113
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
107
114
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
@@ -128,13 +135,18 @@ module PulpContainerClient
128
135
  # @option opts [String] :name Filter results where name matches value
129
136
  # @option opts [String] :name__contains Filter results where name contains value
130
137
  # @option opts [String] :name__icontains Filter results where name contains value
138
+ # @option opts [String] :name__iexact Filter results where name matches value
131
139
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
140
+ # @option opts [String] :name__iregex Filter results where name matches regex value
141
+ # @option opts [String] :name__istartswith Filter results where name starts with value
142
+ # @option opts [String] :name__regex Filter results where name matches regex value
132
143
  # @option opts [String] :name__startswith Filter results where name starts with value
133
144
  # @option opts [Integer] :offset The initial index from which to return the results.
134
145
  # @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)
135
146
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
136
147
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
137
148
  # @option opts [String] :pulp_label_select Filter labels by search string
149
+ # @option opts [String] :q
138
150
  # @option opts [String] :remote Foreign Key referenced by HREF
139
151
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
140
152
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
@@ -166,13 +178,18 @@ module PulpContainerClient
166
178
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
167
179
  query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
168
180
  query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
181
+ query_params[:'name__iexact'] = opts[:'name__iexact'] if !opts[:'name__iexact'].nil?
169
182
  query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
183
+ query_params[:'name__iregex'] = opts[:'name__iregex'] if !opts[:'name__iregex'].nil?
184
+ query_params[:'name__istartswith'] = opts[:'name__istartswith'] if !opts[:'name__istartswith'].nil?
185
+ query_params[:'name__regex'] = opts[:'name__regex'] if !opts[:'name__regex'].nil?
170
186
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
171
187
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
172
188
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
173
189
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
174
190
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
175
191
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
192
+ query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
176
193
  query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
177
194
  query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
178
195
  query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
@@ -219,6 +236,7 @@ module PulpContainerClient
219
236
  return data, status_code, headers
220
237
  end
221
238
 
239
+ # List roles
222
240
  # List roles assigned to this object.
223
241
  # @param container_container_push_repository_href [String]
224
242
  # @param [Hash] opts the optional parameters
@@ -230,6 +248,7 @@ module PulpContainerClient
230
248
  data
231
249
  end
232
250
 
251
+ # List roles
233
252
  # List roles assigned to this object.
234
253
  # @param container_container_push_repository_href [String]
235
254
  # @param [Hash] opts the optional parameters
@@ -285,6 +304,7 @@ module PulpContainerClient
285
304
  return data, status_code, headers
286
305
  end
287
306
 
307
+ # List user permissions
288
308
  # List permissions available to the current user on this object.
289
309
  # @param container_container_push_repository_href [String]
290
310
  # @param [Hash] opts the optional parameters
@@ -296,6 +316,7 @@ module PulpContainerClient
296
316
  data
297
317
  end
298
318
 
319
+ # List user permissions
299
320
  # List permissions available to the current user on this object.
300
321
  # @param container_container_push_repository_href [String]
301
322
  # @param [Hash] opts the optional parameters
@@ -559,6 +580,7 @@ module PulpContainerClient
559
580
  return data, status_code, headers
560
581
  end
561
582
 
583
+ # Remove a role
562
584
  # Remove a role for this object from users/groups.
563
585
  # @param container_container_push_repository_href [String]
564
586
  # @param nested_role [NestedRole]
@@ -569,6 +591,7 @@ module PulpContainerClient
569
591
  data
570
592
  end
571
593
 
594
+ # Remove a role
572
595
  # Remove a role for this object from users/groups.
573
596
  # @param container_container_push_repository_href [String]
574
597
  # @param nested_role [NestedRole]
@@ -103,6 +103,7 @@ module PulpContainerClient
103
103
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
104
104
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
105
105
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
106
+ # @option opts [String] :q
106
107
  # @option opts [Array<String>] :fields A list of fields to include in the response.
107
108
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
108
109
  # @return [PaginatedRepositoryVersionResponseList]
@@ -133,6 +134,7 @@ module PulpContainerClient
133
134
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
134
135
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
135
136
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
137
+ # @option opts [String] :q
136
138
  # @option opts [Array<String>] :fields A list of fields to include in the response.
137
139
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
138
140
  # @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
@@ -171,6 +173,7 @@ module PulpContainerClient
171
173
  query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
172
174
  query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
173
175
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
176
+ query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
174
177
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
175
178
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
176
179
 
@@ -103,6 +103,7 @@ module PulpContainerClient
103
103
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
104
104
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
105
105
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
106
+ # @option opts [String] :q
106
107
  # @option opts [Array<String>] :fields A list of fields to include in the response.
107
108
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
108
109
  # @return [PaginatedRepositoryVersionResponseList]
@@ -133,6 +134,7 @@ module PulpContainerClient
133
134
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
134
135
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
135
136
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
137
+ # @option opts [String] :q
136
138
  # @option opts [Array<String>] :fields A list of fields to include in the response.
137
139
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
138
140
  # @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
@@ -171,6 +173,7 @@ module PulpContainerClient
171
173
  query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
172
174
  query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
173
175
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
176
+ query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
174
177
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
175
178
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
176
179
 
@@ -127,7 +127,7 @@ module PulpContainerClient
127
127
  attr_accessor :force_ending_format
128
128
 
129
129
  def initialize
130
- @scheme = 'https'
130
+ @scheme = 'http'
131
131
  @host = 'pulp'
132
132
  @base_path = ''
133
133
  @api_key = {}
@@ -210,7 +210,7 @@ module PulpContainerClient
210
210
  def server_settings
211
211
  [
212
212
  {
213
- url: "https://pulp/",
213
+ url: "http://pulp/",
214
214
  description: "No description provided",
215
215
  }
216
216
  ]
@@ -15,22 +15,22 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class ContainerContainerDistribution
18
+ # Whether this distribution should be shown in the content app.
19
+ attr_accessor :hidden
20
+
18
21
  # The latest RepositoryVersion for this Repository will be served.
19
22
  attr_accessor :repository
20
23
 
21
24
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
22
25
  attr_accessor :base_path
23
26
 
24
- # A unique name. Ex, `rawhide` and `stable`.
25
- attr_accessor :name
26
-
27
- # Whether this distribution should be shown in the content app.
28
- attr_accessor :hidden
27
+ # An optional content-guard. If none is specified, a default one will be used.
28
+ attr_accessor :content_guard
29
29
 
30
30
  attr_accessor :pulp_labels
31
31
 
32
- # An optional content-guard. If none is specified, a default one will be used.
33
- attr_accessor :content_guard
32
+ # A unique name. Ex, `rawhide` and `stable`.
33
+ attr_accessor :name
34
34
 
35
35
  # RepositoryVersion to be served
36
36
  attr_accessor :repository_version
@@ -44,12 +44,12 @@ module PulpContainerClient
44
44
  # Attribute mapping from ruby-style variable name to JSON key.
45
45
  def self.attribute_map
46
46
  {
47
+ :'hidden' => :'hidden',
47
48
  :'repository' => :'repository',
48
49
  :'base_path' => :'base_path',
49
- :'name' => :'name',
50
- :'hidden' => :'hidden',
51
- :'pulp_labels' => :'pulp_labels',
52
50
  :'content_guard' => :'content_guard',
51
+ :'pulp_labels' => :'pulp_labels',
52
+ :'name' => :'name',
53
53
  :'repository_version' => :'repository_version',
54
54
  :'private' => :'private',
55
55
  :'description' => :'description'
@@ -59,12 +59,12 @@ module PulpContainerClient
59
59
  # Attribute type mapping.
60
60
  def self.openapi_types
61
61
  {
62
+ :'hidden' => :'Boolean',
62
63
  :'repository' => :'String',
63
64
  :'base_path' => :'String',
64
- :'name' => :'String',
65
- :'hidden' => :'Boolean',
66
- :'pulp_labels' => :'Hash<String, String>',
67
65
  :'content_guard' => :'String',
66
+ :'pulp_labels' => :'Hash<String, String>',
67
+ :'name' => :'String',
68
68
  :'repository_version' => :'String',
69
69
  :'private' => :'Boolean',
70
70
  :'description' => :'String'
@@ -95,6 +95,12 @@ module PulpContainerClient
95
95
  h[k.to_sym] = v
96
96
  }
97
97
 
98
+ if attributes.key?(:'hidden')
99
+ self.hidden = attributes[:'hidden']
100
+ else
101
+ self.hidden = false
102
+ end
103
+
98
104
  if attributes.key?(:'repository')
99
105
  self.repository = attributes[:'repository']
100
106
  end
@@ -103,14 +109,8 @@ module PulpContainerClient
103
109
  self.base_path = attributes[:'base_path']
104
110
  end
105
111
 
106
- if attributes.key?(:'name')
107
- self.name = attributes[:'name']
108
- end
109
-
110
- if attributes.key?(:'hidden')
111
- self.hidden = attributes[:'hidden']
112
- else
113
- self.hidden = false
112
+ if attributes.key?(:'content_guard')
113
+ self.content_guard = attributes[:'content_guard']
114
114
  end
115
115
 
116
116
  if attributes.key?(:'pulp_labels')
@@ -119,8 +119,8 @@ module PulpContainerClient
119
119
  end
120
120
  end
121
121
 
122
- if attributes.key?(:'content_guard')
123
- self.content_guard = attributes[:'content_guard']
122
+ if attributes.key?(:'name')
123
+ self.name = attributes[:'name']
124
124
  end
125
125
 
126
126
  if attributes.key?(:'repository_version')
@@ -217,12 +217,12 @@ module PulpContainerClient
217
217
  def ==(o)
218
218
  return true if self.equal?(o)
219
219
  self.class == o.class &&
220
+ hidden == o.hidden &&
220
221
  repository == o.repository &&
221
222
  base_path == o.base_path &&
222
- name == o.name &&
223
- hidden == o.hidden &&
224
- pulp_labels == o.pulp_labels &&
225
223
  content_guard == o.content_guard &&
224
+ pulp_labels == o.pulp_labels &&
225
+ name == o.name &&
226
226
  repository_version == o.repository_version &&
227
227
  private == o.private &&
228
228
  description == o.description
@@ -237,7 +237,7 @@ module PulpContainerClient
237
237
  # Calculates hash code according to all attributes.
238
238
  # @return [Integer] Hash code
239
239
  def hash
240
- [repository, base_path, name, hidden, pulp_labels, content_guard, repository_version, private, description].hash
240
+ [hidden, repository, base_path, content_guard, pulp_labels, name, repository_version, private, description].hash
241
241
  end
242
242
 
243
243
  # Builds the object from hash