pulpcore_client 3.65.0 → 3.67.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 (148) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +68 -4
  3. data/docs/AccessPoliciesApi.md +4 -4
  4. data/docs/ArtifactDistributionResponse.md +12 -12
  5. data/docs/ContentApi.md +4 -4
  6. data/docs/ContentOpenpgpPublickeyApi.md +212 -0
  7. data/docs/ContentOpenpgpPublicsubkeyApi.md +150 -0
  8. data/docs/ContentOpenpgpSignatureApi.md +150 -0
  9. data/docs/ContentOpenpgpUserattributeApi.md +150 -0
  10. data/docs/ContentOpenpgpUseridApi.md +166 -0
  11. data/docs/DistributionsApi.md +4 -4
  12. data/docs/DistributionsOpenpgpApi.md +478 -0
  13. data/docs/FilesystemExportResponse.md +1 -1
  14. data/docs/ImportResponse.md +1 -1
  15. data/docs/NestedOpenPGPPublicSubkey.md +19 -0
  16. data/docs/NestedOpenPGPPublicSubkeyResponse.md +21 -0
  17. data/docs/NestedOpenPGPSignature.md +27 -0
  18. data/docs/NestedOpenPGPSignatureResponse.md +29 -0
  19. data/docs/NestedOpenPGPUserAttribute.md +17 -0
  20. data/docs/NestedOpenPGPUserAttributeResponse.md +19 -0
  21. data/docs/NestedOpenPGPUserID.md +17 -0
  22. data/docs/NestedOpenPGPUserIDResponse.md +19 -0
  23. data/docs/OpenPGPDistribution.md +29 -0
  24. data/docs/OpenPGPDistributionResponse.md +41 -0
  25. data/docs/OpenPGPKeyring.md +25 -0
  26. data/docs/OpenPGPKeyringResponse.md +37 -0
  27. data/docs/OpenPGPPublicKey.md +23 -0
  28. data/docs/OpenPGPPublicKeyResponse.md +33 -0
  29. data/docs/OpenPGPPublicSubkeyResponse.md +31 -0
  30. data/docs/OpenPGPSignatureResponse.md +39 -0
  31. data/docs/OpenPGPUserAttributeResponse.md +29 -0
  32. data/docs/OpenPGPUserIDResponse.md +29 -0
  33. data/docs/PaginatedOpenPGPDistributionResponseList.md +23 -0
  34. data/docs/PaginatedOpenPGPKeyringResponseList.md +23 -0
  35. data/docs/PaginatedOpenPGPPublicKeyResponseList.md +23 -0
  36. data/docs/PaginatedOpenPGPPublicSubkeyResponseList.md +23 -0
  37. data/docs/PaginatedOpenPGPSignatureResponseList.md +23 -0
  38. data/docs/PaginatedOpenPGPUserAttributeResponseList.md +23 -0
  39. data/docs/PaginatedOpenPGPUserIDResponseList.md +23 -0
  40. data/docs/PatchedOpenPGPDistribution.md +29 -0
  41. data/docs/PatchedOpenPGPKeyring.md +25 -0
  42. data/docs/PulpExportResponse.md +3 -3
  43. data/docs/RepositoriesApi.md +4 -4
  44. data/docs/RepositoriesOpenpgpKeyringApi.md +802 -0
  45. data/docs/RepositoryAddRemoveContent.md +21 -0
  46. data/docs/SetLabel.md +19 -0
  47. data/docs/SetLabelResponse.md +19 -0
  48. data/docs/TaskResponse.md +1 -1
  49. data/docs/TasksApi.md +2 -2
  50. data/docs/UnsetLabel.md +17 -0
  51. data/docs/UnsetLabelResponse.md +19 -0
  52. data/lib/pulpcore_client/api/access_policies_api.rb +8 -8
  53. data/lib/pulpcore_client/api/content_api.rb +6 -6
  54. data/lib/pulpcore_client/api/content_openpgp_publickey_api.rb +266 -0
  55. data/lib/pulpcore_client/api/content_openpgp_publicsubkey_api.rb +192 -0
  56. data/lib/pulpcore_client/api/content_openpgp_signature_api.rb +192 -0
  57. data/lib/pulpcore_client/api/content_openpgp_userattribute_api.rb +192 -0
  58. data/lib/pulpcore_client/api/content_openpgp_userid_api.rb +216 -0
  59. data/lib/pulpcore_client/api/distributions_api.rb +6 -6
  60. data/lib/pulpcore_client/api/distributions_openpgp_api.rb +592 -0
  61. data/lib/pulpcore_client/api/repositories_api.rb +6 -6
  62. data/lib/pulpcore_client/api/repositories_openpgp_keyring_api.rb +992 -0
  63. data/lib/pulpcore_client/api/tasks_api.rb +3 -3
  64. data/lib/pulpcore_client/models/artifact_distribution_response.rb +58 -58
  65. data/lib/pulpcore_client/models/filesystem_export_response.rb +1 -1
  66. data/lib/pulpcore_client/models/import_response.rb +1 -1
  67. data/lib/pulpcore_client/models/nested_open_pgp_public_subkey.rb +254 -0
  68. data/lib/pulpcore_client/models/nested_open_pgp_public_subkey_response.rb +256 -0
  69. data/lib/pulpcore_client/models/nested_open_pgp_signature.rb +305 -0
  70. data/lib/pulpcore_client/models/nested_open_pgp_signature_response.rb +290 -0
  71. data/lib/pulpcore_client/models/nested_open_pgp_user_attribute.rb +240 -0
  72. data/lib/pulpcore_client/models/nested_open_pgp_user_attribute_response.rb +242 -0
  73. data/lib/pulpcore_client/models/nested_open_pgp_user_id.rb +231 -0
  74. data/lib/pulpcore_client/models/nested_open_pgp_user_id_response.rb +223 -0
  75. data/lib/pulpcore_client/models/open_pgp_distribution.rb +322 -0
  76. data/lib/pulpcore_client/models/open_pgp_distribution_response.rb +343 -0
  77. data/lib/pulpcore_client/models/open_pgp_keyring.rb +306 -0
  78. data/lib/pulpcore_client/models/open_pgp_keyring_response.rb +329 -0
  79. data/lib/pulpcore_client/models/open_pgp_public_key.rb +253 -0
  80. data/lib/pulpcore_client/models/open_pgp_public_key_response.rb +303 -0
  81. data/lib/pulpcore_client/models/open_pgp_public_subkey_response.rb +304 -0
  82. data/lib/pulpcore_client/models/open_pgp_signature_response.rb +338 -0
  83. data/lib/pulpcore_client/models/open_pgp_user_attribute_response.rb +290 -0
  84. data/lib/pulpcore_client/models/open_pgp_user_id_response.rb +271 -0
  85. data/lib/pulpcore_client/models/paginated_open_pgp_distribution_response_list.rb +247 -0
  86. data/lib/pulpcore_client/models/paginated_open_pgp_keyring_response_list.rb +247 -0
  87. data/lib/pulpcore_client/models/paginated_open_pgp_public_key_response_list.rb +247 -0
  88. data/lib/pulpcore_client/models/paginated_open_pgp_public_subkey_response_list.rb +247 -0
  89. data/lib/pulpcore_client/models/paginated_open_pgp_signature_response_list.rb +247 -0
  90. data/lib/pulpcore_client/models/paginated_open_pgp_user_attribute_response_list.rb +247 -0
  91. data/lib/pulpcore_client/models/paginated_open_pgp_user_id_response_list.rb +247 -0
  92. data/lib/pulpcore_client/models/patched_open_pgp_distribution.rb +304 -0
  93. data/lib/pulpcore_client/models/patched_open_pgp_keyring.rb +297 -0
  94. data/lib/pulpcore_client/models/pulp_export_response.rb +3 -3
  95. data/lib/pulpcore_client/models/repository_add_remove_content.rb +232 -0
  96. data/lib/pulpcore_client/models/set_label.rb +252 -0
  97. data/lib/pulpcore_client/models/set_label_response.rb +243 -0
  98. data/lib/pulpcore_client/models/task_response.rb +1 -1
  99. data/lib/pulpcore_client/models/unset_label.rb +242 -0
  100. data/lib/pulpcore_client/models/unset_label_response.rb +242 -0
  101. data/lib/pulpcore_client/version.rb +1 -1
  102. data/lib/pulpcore_client.rb +39 -0
  103. data/spec/api/access_policies_api_spec.rb +4 -4
  104. data/spec/api/content_api_spec.rb +2 -2
  105. data/spec/api/content_openpgp_publickey_api_spec.rb +89 -0
  106. data/spec/api/content_openpgp_publicsubkey_api_spec.rb +74 -0
  107. data/spec/api/content_openpgp_signature_api_spec.rb +74 -0
  108. data/spec/api/content_openpgp_userattribute_api_spec.rb +74 -0
  109. data/spec/api/content_openpgp_userid_api_spec.rb +82 -0
  110. data/spec/api/distributions_api_spec.rb +2 -2
  111. data/spec/api/distributions_openpgp_api_spec.rb +148 -0
  112. data/spec/api/repositories_api_spec.rb +2 -2
  113. data/spec/api/repositories_openpgp_keyring_api_spec.rb +233 -0
  114. data/spec/api/tasks_api_spec.rb +1 -1
  115. data/spec/models/artifact_distribution_response_spec.rb +10 -10
  116. data/spec/models/nested_open_pgp_public_subkey_response_spec.rb +53 -0
  117. data/spec/models/nested_open_pgp_public_subkey_spec.rb +47 -0
  118. data/spec/models/nested_open_pgp_signature_response_spec.rb +77 -0
  119. data/spec/models/nested_open_pgp_signature_spec.rb +71 -0
  120. data/spec/models/nested_open_pgp_user_attribute_response_spec.rb +47 -0
  121. data/spec/models/nested_open_pgp_user_attribute_spec.rb +41 -0
  122. data/spec/models/nested_open_pgp_user_id_response_spec.rb +47 -0
  123. data/spec/models/nested_open_pgp_user_id_spec.rb +41 -0
  124. data/spec/models/open_pgp_distribution_response_spec.rb +113 -0
  125. data/spec/models/open_pgp_distribution_spec.rb +77 -0
  126. data/spec/models/open_pgp_keyring_response_spec.rb +101 -0
  127. data/spec/models/open_pgp_keyring_spec.rb +65 -0
  128. data/spec/models/open_pgp_public_key_response_spec.rb +89 -0
  129. data/spec/models/open_pgp_public_key_spec.rb +59 -0
  130. data/spec/models/open_pgp_public_subkey_response_spec.rb +83 -0
  131. data/spec/models/open_pgp_signature_response_spec.rb +107 -0
  132. data/spec/models/open_pgp_user_attribute_response_spec.rb +77 -0
  133. data/spec/models/open_pgp_user_id_response_spec.rb +77 -0
  134. data/spec/models/paginated_open_pgp_distribution_response_list_spec.rb +59 -0
  135. data/spec/models/paginated_open_pgp_keyring_response_list_spec.rb +59 -0
  136. data/spec/models/paginated_open_pgp_public_key_response_list_spec.rb +59 -0
  137. data/spec/models/paginated_open_pgp_public_subkey_response_list_spec.rb +59 -0
  138. data/spec/models/paginated_open_pgp_signature_response_list_spec.rb +59 -0
  139. data/spec/models/paginated_open_pgp_user_attribute_response_list_spec.rb +59 -0
  140. data/spec/models/paginated_open_pgp_user_id_response_list_spec.rb +59 -0
  141. data/spec/models/patched_open_pgp_distribution_spec.rb +77 -0
  142. data/spec/models/patched_open_pgp_keyring_spec.rb +65 -0
  143. data/spec/models/repository_add_remove_content_spec.rb +53 -0
  144. data/spec/models/set_label_response_spec.rb +47 -0
  145. data/spec/models/set_label_spec.rb +47 -0
  146. data/spec/models/unset_label_response_spec.rb +47 -0
  147. data/spec/models/unset_label_spec.rb +41 -0
  148. metadata +311 -155
@@ -0,0 +1,89 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpcoreClient::ContentOpenpgpPublickeyApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'ContentOpenpgpPublickeyApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpcoreClient::ContentOpenpgpPublickeyApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ContentOpenpgpPublickeyApi' do
30
+ it 'should create an instance of ContentOpenpgpPublickeyApi' do
31
+ expect(@api_instance).to be_instance_of(PulpcoreClient::ContentOpenpgpPublickeyApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create
36
+ # Create an open pgp public key
37
+ # Trigger an asynchronous task to create content,optionally create new repository version.
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
40
+ # @option opts [File] :file An uploaded file that may be turned into the content unit.
41
+ # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
42
+ # @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
43
+ # @return [AsyncOperationResponse]
44
+ describe 'create test' do
45
+ it 'should work' do
46
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
47
+ end
48
+ end
49
+
50
+ # unit tests for list
51
+ # List open pgp public keys
52
+ # A ViewSet for uploads that do not require to store an uploaded content as an Artifact.
53
+ # @param [Hash] opts the optional parameters
54
+ # @option opts [String] :fingerprint Filter results where fingerprint matches value
55
+ # @option opts [Integer] :limit Number of results to return per page.
56
+ # @option opts [Integer] :offset The initial index from which to return the results.
57
+ # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;raw_data&#x60; - Raw data * &#x60;-raw_data&#x60; - Raw data (descending) * &#x60;fingerprint&#x60; - Fingerprint * &#x60;-fingerprint&#x60; - Fingerprint (descending) * &#x60;created&#x60; - Created * &#x60;-created&#x60; - Created (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
58
+ # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
59
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
60
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
61
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
62
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
63
+ # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
64
+ # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
65
+ # @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
66
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
67
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
68
+ # @return [PaginatedOpenPGPPublicKeyResponseList]
69
+ describe 'list test' do
70
+ it 'should work' do
71
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
72
+ end
73
+ end
74
+
75
+ # unit tests for read
76
+ # Inspect an open pgp public key
77
+ # A ViewSet for uploads that do not require to store an uploaded content as an Artifact.
78
+ # @param open_p_g_p_public_key_href
79
+ # @param [Hash] opts the optional parameters
80
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
81
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
82
+ # @return [OpenPGPPublicKeyResponse]
83
+ describe 'read test' do
84
+ it 'should work' do
85
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
86
+ end
87
+ end
88
+
89
+ end
@@ -0,0 +1,74 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpcoreClient::ContentOpenpgpPublicsubkeyApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'ContentOpenpgpPublicsubkeyApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpcoreClient::ContentOpenpgpPublicsubkeyApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ContentOpenpgpPublicsubkeyApi' do
30
+ it 'should create an instance of ContentOpenpgpPublicsubkeyApi' do
31
+ expect(@api_instance).to be_instance_of(PulpcoreClient::ContentOpenpgpPublicsubkeyApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for list
36
+ # List open pgp public subkeys
37
+ # Content viewset that supports only GET by default.
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [String] :fingerprint Filter results where fingerprint matches value
40
+ # @option opts [Integer] :limit Number of results to return per page.
41
+ # @option opts [Integer] :offset The initial index from which to return the results.
42
+ # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;raw_data&#x60; - Raw data * &#x60;-raw_data&#x60; - Raw data (descending) * &#x60;fingerprint&#x60; - Fingerprint * &#x60;-fingerprint&#x60; - Fingerprint (descending) * &#x60;created&#x60; - Created * &#x60;-created&#x60; - Created (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
43
+ # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
44
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
45
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
46
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
47
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
48
+ # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
49
+ # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
50
+ # @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
51
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
52
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
53
+ # @return [PaginatedOpenPGPPublicSubkeyResponseList]
54
+ describe 'list test' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
57
+ end
58
+ end
59
+
60
+ # unit tests for read
61
+ # Inspect an open pgp public subkey
62
+ # Content viewset that supports only GET by default.
63
+ # @param open_p_g_p_public_subkey_href
64
+ # @param [Hash] opts the optional parameters
65
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
66
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
67
+ # @return [OpenPGPPublicSubkeyResponse]
68
+ describe 'read test' do
69
+ it 'should work' do
70
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
71
+ end
72
+ end
73
+
74
+ end
@@ -0,0 +1,74 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpcoreClient::ContentOpenpgpSignatureApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'ContentOpenpgpSignatureApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpcoreClient::ContentOpenpgpSignatureApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ContentOpenpgpSignatureApi' do
30
+ it 'should create an instance of ContentOpenpgpSignatureApi' do
31
+ expect(@api_instance).to be_instance_of(PulpcoreClient::ContentOpenpgpSignatureApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for list
36
+ # List open pgp signatures
37
+ # Content viewset that supports only GET by default.
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [String] :issuer Filter results where issuer matches value
40
+ # @option opts [Integer] :limit Number of results to return per page.
41
+ # @option opts [Integer] :offset The initial index from which to return the results.
42
+ # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;raw_data&#x60; - Raw data * &#x60;-raw_data&#x60; - Raw data (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;signature_type&#x60; - Signature type * &#x60;-signature_type&#x60; - Signature type (descending) * &#x60;created&#x60; - Created * &#x60;-created&#x60; - Created (descending) * &#x60;expiration_time&#x60; - Expiration time * &#x60;-expiration_time&#x60; - Expiration time (descending) * &#x60;key_expiration_time&#x60; - Key expiration time * &#x60;-key_expiration_time&#x60; - Key expiration time (descending) * &#x60;issuer&#x60; - Issuer * &#x60;-issuer&#x60; - Issuer (descending) * &#x60;signers_user_id&#x60; - Signers user id * &#x60;-signers_user_id&#x60; - Signers user id (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
43
+ # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
44
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
45
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
46
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
47
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
48
+ # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
49
+ # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
50
+ # @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
51
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
52
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
53
+ # @return [PaginatedOpenPGPSignatureResponseList]
54
+ describe 'list test' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
57
+ end
58
+ end
59
+
60
+ # unit tests for read
61
+ # Inspect an open pgp signature
62
+ # Content viewset that supports only GET by default.
63
+ # @param open_p_g_p_signature_href
64
+ # @param [Hash] opts the optional parameters
65
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
66
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
67
+ # @return [OpenPGPSignatureResponse]
68
+ describe 'read test' do
69
+ it 'should work' do
70
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
71
+ end
72
+ end
73
+
74
+ end
@@ -0,0 +1,74 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpcoreClient::ContentOpenpgpUserattributeApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'ContentOpenpgpUserattributeApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpcoreClient::ContentOpenpgpUserattributeApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ContentOpenpgpUserattributeApi' do
30
+ it 'should create an instance of ContentOpenpgpUserattributeApi' do
31
+ expect(@api_instance).to be_instance_of(PulpcoreClient::ContentOpenpgpUserattributeApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for list
36
+ # List open pgp user attributes
37
+ # Content viewset that supports only GET by default.
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [Integer] :limit Number of results to return per page.
40
+ # @option opts [Integer] :offset The initial index from which to return the results.
41
+ # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;raw_data&#x60; - Raw data * &#x60;-raw_data&#x60; - Raw data (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
42
+ # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
43
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
44
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
45
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
46
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
47
+ # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
48
+ # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
49
+ # @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
50
+ # @option opts [String] :sha256 Filter results where sha256 matches value
51
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
52
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
53
+ # @return [PaginatedOpenPGPUserAttributeResponseList]
54
+ describe 'list test' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
57
+ end
58
+ end
59
+
60
+ # unit tests for read
61
+ # Inspect an open pgp user attribute
62
+ # Content viewset that supports only GET by default.
63
+ # @param open_p_g_p_user_attribute_href
64
+ # @param [Hash] opts the optional parameters
65
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
66
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
67
+ # @return [OpenPGPUserAttributeResponse]
68
+ describe 'read test' do
69
+ it 'should work' do
70
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
71
+ end
72
+ end
73
+
74
+ end
@@ -0,0 +1,82 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpcoreClient::ContentOpenpgpUseridApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'ContentOpenpgpUseridApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpcoreClient::ContentOpenpgpUseridApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ContentOpenpgpUseridApi' do
30
+ it 'should create an instance of ContentOpenpgpUseridApi' do
31
+ expect(@api_instance).to be_instance_of(PulpcoreClient::ContentOpenpgpUseridApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for list
36
+ # List open pgp user ids
37
+ # Content viewset that supports only GET by default.
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [Integer] :limit Number of results to return per page.
40
+ # @option opts [Integer] :offset The initial index from which to return the results.
41
+ # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;raw_data&#x60; - Raw data * &#x60;-raw_data&#x60; - Raw data (descending) * &#x60;user_id&#x60; - User id * &#x60;-user_id&#x60; - User id (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
42
+ # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
43
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
44
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
45
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
46
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
47
+ # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
48
+ # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
49
+ # @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
50
+ # @option opts [String] :user_id Filter results where user_id matches value
51
+ # @option opts [String] :user_id__contains Filter results where user_id contains value
52
+ # @option opts [String] :user_id__icontains Filter results where user_id contains value
53
+ # @option opts [String] :user_id__iexact Filter results where user_id matches value
54
+ # @option opts [Array<String>] :user_id__in Filter results where user_id is in a comma-separated list of values
55
+ # @option opts [String] :user_id__iregex Filter results where user_id matches regex value
56
+ # @option opts [String] :user_id__istartswith Filter results where user_id starts with value
57
+ # @option opts [String] :user_id__regex Filter results where user_id matches regex value
58
+ # @option opts [String] :user_id__startswith Filter results where user_id starts with value
59
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
60
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
61
+ # @return [PaginatedOpenPGPUserIDResponseList]
62
+ describe 'list test' do
63
+ it 'should work' do
64
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
65
+ end
66
+ end
67
+
68
+ # unit tests for read
69
+ # Inspect an open pgp user id
70
+ # Content viewset that supports only GET by default.
71
+ # @param open_p_g_p_user_i_d_href
72
+ # @param [Hash] opts the optional parameters
73
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
74
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
75
+ # @return [OpenPGPUserIDResponse]
76
+ describe 'read test' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
79
+ end
80
+ end
81
+
82
+ end
@@ -56,8 +56,8 @@ describe 'DistributionsApi' do
56
56
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
57
57
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
58
58
  # @option opts [String] :pulp_label_select Filter labels by search string
59
- # @option opts [String] :pulp_type Pulp type * &#x60;core.artifact&#x60; - core.artifact * &#x60;file.file&#x60; - file.file
60
- # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * &#x60;core.artifact&#x60; - core.artifact * &#x60;file.file&#x60; - file.file
59
+ # @option opts [String] :pulp_type Pulp type * &#x60;core.artifact&#x60; - core.artifact * &#x60;core.openpgp&#x60; - core.openpgp * &#x60;file.file&#x60; - file.file
60
+ # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * &#x60;core.artifact&#x60; - core.artifact * &#x60;core.openpgp&#x60; - core.openpgp * &#x60;file.file&#x60; - file.file
61
61
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
62
62
  # @option opts [String] :repository Filter results where repository matches value
63
63
  # @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
@@ -0,0 +1,148 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpcoreClient::DistributionsOpenpgpApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'DistributionsOpenpgpApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpcoreClient::DistributionsOpenpgpApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of DistributionsOpenpgpApi' do
30
+ it 'should create an instance of DistributionsOpenpgpApi' do
31
+ expect(@api_instance).to be_instance_of(PulpcoreClient::DistributionsOpenpgpApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create
36
+ # Create an open pgp distribution
37
+ # Trigger an asynchronous create task
38
+ # @param open_pgp_distribution
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [AsyncOperationResponse]
41
+ describe 'create test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ # unit tests for delete
48
+ # Delete an open pgp distribution
49
+ # Trigger an asynchronous delete task
50
+ # @param open_p_g_p_distribution_href
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [AsyncOperationResponse]
53
+ describe 'delete test' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ # unit tests for list
60
+ # List open pgp distributions
61
+ # Provides read and list methods and also provides asynchronous CUD methods to dispatch tasks with reservation that lock all Distributions preventing race conditions during base_path checking.
62
+ # @param [Hash] opts the optional parameters
63
+ # @option opts [Integer] :limit Number of results to return per page.
64
+ # @option opts [Integer] :offset The initial index from which to return the results.
65
+ # @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;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
66
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
67
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
68
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
69
+ # @option opts [String] :pulp_label_select Filter labels by search string
70
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
71
+ # @option opts [String] :repository_version Filter results where repository_version matches value
72
+ # @option opts [String] :with_content Filter distributions based on the content served by them
73
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
74
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
75
+ # @return [PaginatedOpenPGPDistributionResponseList]
76
+ describe 'list test' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
79
+ end
80
+ end
81
+
82
+ # unit tests for partial_update
83
+ # Update an open pgp distribution
84
+ # Trigger an asynchronous partial update task
85
+ # @param open_p_g_p_distribution_href
86
+ # @param patched_open_pgp_distribution
87
+ # @param [Hash] opts the optional parameters
88
+ # @return [AsyncOperationResponse]
89
+ describe 'partial_update test' do
90
+ it 'should work' do
91
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
+ end
93
+ end
94
+
95
+ # unit tests for read
96
+ # Inspect an open pgp distribution
97
+ # Provides read and list methods and also provides asynchronous CUD methods to dispatch tasks with reservation that lock all Distributions preventing race conditions during base_path checking.
98
+ # @param open_p_g_p_distribution_href
99
+ # @param [Hash] opts the optional parameters
100
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
101
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
102
+ # @return [OpenPGPDistributionResponse]
103
+ describe 'read test' do
104
+ it 'should work' do
105
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
106
+ end
107
+ end
108
+
109
+ # unit tests for set_label
110
+ # Set a label
111
+ # Set a single pulp_label on the object to a specific value or null.
112
+ # @param open_p_g_p_distribution_href
113
+ # @param set_label
114
+ # @param [Hash] opts the optional parameters
115
+ # @return [SetLabelResponse]
116
+ describe 'set_label test' do
117
+ it 'should work' do
118
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
119
+ end
120
+ end
121
+
122
+ # unit tests for unset_label
123
+ # Unset a label
124
+ # Unset a single pulp_label on the object.
125
+ # @param open_p_g_p_distribution_href
126
+ # @param unset_label
127
+ # @param [Hash] opts the optional parameters
128
+ # @return [UnsetLabelResponse]
129
+ describe 'unset_label test' do
130
+ it 'should work' do
131
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
132
+ end
133
+ end
134
+
135
+ # unit tests for update
136
+ # Update an open pgp distribution
137
+ # Trigger an asynchronous update task
138
+ # @param open_p_g_p_distribution_href
139
+ # @param open_pgp_distribution
140
+ # @param [Hash] opts the optional parameters
141
+ # @return [AsyncOperationResponse]
142
+ describe 'update test' do
143
+ it 'should work' do
144
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
145
+ end
146
+ end
147
+
148
+ end
@@ -53,8 +53,8 @@ describe 'RepositoriesApi' do
53
53
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
54
54
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
55
55
  # @option opts [String] :pulp_label_select Filter labels by search string
56
- # @option opts [String] :pulp_type Pulp type * &#x60;file.file&#x60; - file.file
57
- # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * &#x60;file.file&#x60; - file.file
56
+ # @option opts [String] :pulp_type Pulp type * &#x60;core.openpgp&#x60; - core.openpgp * &#x60;file.file&#x60; - file.file
57
+ # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * &#x60;core.openpgp&#x60; - core.openpgp * &#x60;file.file&#x60; - file.file
58
58
  # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
59
59
  # @option opts [String] :remote Foreign Key referenced by HREF
60
60
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value