pulpcore_client 3.65.0 → 3.66.1

Sign up to get free protection for your applications and to get access to all the features.
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 +15 -15
  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 +64 -64
  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 +9 -9
  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,150 @@
1
+ # PulpcoreClient::ContentOpenpgpSignatureApi
2
+
3
+ All URIs are relative to *http://localhost:24817*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**list**](ContentOpenpgpSignatureApi.md#list) | **GET** /pulp/api/v3/content/core/openpgp_signature/ | List open pgp signatures
8
+ [**read**](ContentOpenpgpSignatureApi.md#read) | **GET** {open_p_g_p_signature_href} | Inspect an open pgp signature
9
+
10
+
11
+
12
+ ## list
13
+
14
+ > PaginatedOpenPGPSignatureResponseList list(opts)
15
+
16
+ List open pgp signatures
17
+
18
+ Content viewset that supports only GET by default.
19
+
20
+ ### Example
21
+
22
+ ```ruby
23
+ # load the gem
24
+ require 'pulpcore_client'
25
+ # setup authorization
26
+ PulpcoreClient.configure do |config|
27
+ # Configure HTTP basic authorization: basicAuth
28
+ config.username = 'YOUR USERNAME'
29
+ config.password = 'YOUR PASSWORD'
30
+ end
31
+
32
+ api_instance = PulpcoreClient::ContentOpenpgpSignatureApi.new
33
+ opts = {
34
+ issuer: 'issuer_example', # String | Filter results where issuer matches value
35
+ limit: 56, # Integer | Number of results to return per page.
36
+ offset: 56, # Integer | The initial index from which to return the results.
37
+ ordering: ['ordering_example'], # 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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `raw_data` - Raw data * `-raw_data` - Raw data (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `signature_type` - Signature type * `-signature_type` - Signature type (descending) * `created` - Created * `-created` - Created (descending) * `expiration_time` - Expiration time * `-expiration_time` - Expiration time (descending) * `key_expiration_time` - Key expiration time * `-key_expiration_time` - Key expiration time (descending) * `issuer` - Issuer * `-issuer` - Issuer (descending) * `signers_user_id` - Signers user id * `-signers_user_id` - Signers user id (descending) * `pk` - Pk * `-pk` - Pk (descending)
38
+ orphaned_for: 3.4, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
39
+ prn__in: ['prn__in_example'], # Array<String> | Multiple values may be separated by commas.
40
+ pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
41
+ pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
42
+ q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
43
+ repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
44
+ repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
45
+ repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF/PRN
46
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
47
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
48
+ }
49
+
50
+ begin
51
+ #List open pgp signatures
52
+ result = api_instance.list(opts)
53
+ p result
54
+ rescue PulpcoreClient::ApiError => e
55
+ puts "Exception when calling ContentOpenpgpSignatureApi->list: #{e}"
56
+ end
57
+ ```
58
+
59
+ ### Parameters
60
+
61
+
62
+ Name | Type | Description | Notes
63
+ ------------- | ------------- | ------------- | -------------
64
+ **issuer** | **String**| Filter results where issuer matches value | [optional]
65
+ **limit** | **Integer**| Number of results to return per page. | [optional]
66
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
67
+ **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;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) | [optional]
68
+ **orphaned_for** | **Float**| Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional]
69
+ **prn__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
70
+ **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
71
+ **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
72
+ **q** | **String**| Filter results by using NOT, AND and OR operations on other filters | [optional]
73
+ **repository_version** | **String**| Repository Version referenced by HREF/PRN | [optional]
74
+ **repository_version_added** | **String**| Repository Version referenced by HREF/PRN | [optional]
75
+ **repository_version_removed** | **String**| Repository Version referenced by HREF/PRN | [optional]
76
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
77
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
78
+
79
+ ### Return type
80
+
81
+ [**PaginatedOpenPGPSignatureResponseList**](PaginatedOpenPGPSignatureResponseList.md)
82
+
83
+ ### Authorization
84
+
85
+ [basicAuth](../README.md#basicAuth)
86
+
87
+ ### HTTP request headers
88
+
89
+ - **Content-Type**: Not defined
90
+ - **Accept**: application/json
91
+
92
+
93
+ ## read
94
+
95
+ > OpenPGPSignatureResponse read(open_p_g_p_signature_href, opts)
96
+
97
+ Inspect an open pgp signature
98
+
99
+ Content viewset that supports only GET by default.
100
+
101
+ ### Example
102
+
103
+ ```ruby
104
+ # load the gem
105
+ require 'pulpcore_client'
106
+ # setup authorization
107
+ PulpcoreClient.configure do |config|
108
+ # Configure HTTP basic authorization: basicAuth
109
+ config.username = 'YOUR USERNAME'
110
+ config.password = 'YOUR PASSWORD'
111
+ end
112
+
113
+ api_instance = PulpcoreClient::ContentOpenpgpSignatureApi.new
114
+ open_p_g_p_signature_href = 'open_p_g_p_signature_href_example' # String |
115
+ opts = {
116
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
117
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
118
+ }
119
+
120
+ begin
121
+ #Inspect an open pgp signature
122
+ result = api_instance.read(open_p_g_p_signature_href, opts)
123
+ p result
124
+ rescue PulpcoreClient::ApiError => e
125
+ puts "Exception when calling ContentOpenpgpSignatureApi->read: #{e}"
126
+ end
127
+ ```
128
+
129
+ ### Parameters
130
+
131
+
132
+ Name | Type | Description | Notes
133
+ ------------- | ------------- | ------------- | -------------
134
+ **open_p_g_p_signature_href** | **String**| |
135
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
136
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
137
+
138
+ ### Return type
139
+
140
+ [**OpenPGPSignatureResponse**](OpenPGPSignatureResponse.md)
141
+
142
+ ### Authorization
143
+
144
+ [basicAuth](../README.md#basicAuth)
145
+
146
+ ### HTTP request headers
147
+
148
+ - **Content-Type**: Not defined
149
+ - **Accept**: application/json
150
+
@@ -0,0 +1,150 @@
1
+ # PulpcoreClient::ContentOpenpgpUserattributeApi
2
+
3
+ All URIs are relative to *http://localhost:24817*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**list**](ContentOpenpgpUserattributeApi.md#list) | **GET** /pulp/api/v3/content/core/openpgp_userattribute/ | List open pgp user attributes
8
+ [**read**](ContentOpenpgpUserattributeApi.md#read) | **GET** {open_p_g_p_user_attribute_href} | Inspect an open pgp user attribute
9
+
10
+
11
+
12
+ ## list
13
+
14
+ > PaginatedOpenPGPUserAttributeResponseList list(opts)
15
+
16
+ List open pgp user attributes
17
+
18
+ Content viewset that supports only GET by default.
19
+
20
+ ### Example
21
+
22
+ ```ruby
23
+ # load the gem
24
+ require 'pulpcore_client'
25
+ # setup authorization
26
+ PulpcoreClient.configure do |config|
27
+ # Configure HTTP basic authorization: basicAuth
28
+ config.username = 'YOUR USERNAME'
29
+ config.password = 'YOUR PASSWORD'
30
+ end
31
+
32
+ api_instance = PulpcoreClient::ContentOpenpgpUserattributeApi.new
33
+ opts = {
34
+ limit: 56, # Integer | Number of results to return per page.
35
+ offset: 56, # Integer | The initial index from which to return the results.
36
+ ordering: ['ordering_example'], # 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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `raw_data` - Raw data * `-raw_data` - Raw data (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
37
+ orphaned_for: 3.4, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
38
+ prn__in: ['prn__in_example'], # Array<String> | Multiple values may be separated by commas.
39
+ pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
40
+ pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
41
+ q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
42
+ repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
43
+ repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
44
+ repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF/PRN
45
+ sha256: 'sha256_example', # String | Filter results where sha256 matches value
46
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
47
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
48
+ }
49
+
50
+ begin
51
+ #List open pgp user attributes
52
+ result = api_instance.list(opts)
53
+ p result
54
+ rescue PulpcoreClient::ApiError => e
55
+ puts "Exception when calling ContentOpenpgpUserattributeApi->list: #{e}"
56
+ end
57
+ ```
58
+
59
+ ### Parameters
60
+
61
+
62
+ Name | Type | Description | Notes
63
+ ------------- | ------------- | ------------- | -------------
64
+ **limit** | **Integer**| Number of results to return per page. | [optional]
65
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
66
+ **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;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) | [optional]
67
+ **orphaned_for** | **Float**| Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional]
68
+ **prn__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
69
+ **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
70
+ **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
71
+ **q** | **String**| Filter results by using NOT, AND and OR operations on other filters | [optional]
72
+ **repository_version** | **String**| Repository Version referenced by HREF/PRN | [optional]
73
+ **repository_version_added** | **String**| Repository Version referenced by HREF/PRN | [optional]
74
+ **repository_version_removed** | **String**| Repository Version referenced by HREF/PRN | [optional]
75
+ **sha256** | **String**| Filter results where sha256 matches value | [optional]
76
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
77
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
78
+
79
+ ### Return type
80
+
81
+ [**PaginatedOpenPGPUserAttributeResponseList**](PaginatedOpenPGPUserAttributeResponseList.md)
82
+
83
+ ### Authorization
84
+
85
+ [basicAuth](../README.md#basicAuth)
86
+
87
+ ### HTTP request headers
88
+
89
+ - **Content-Type**: Not defined
90
+ - **Accept**: application/json
91
+
92
+
93
+ ## read
94
+
95
+ > OpenPGPUserAttributeResponse read(open_p_g_p_user_attribute_href, opts)
96
+
97
+ Inspect an open pgp user attribute
98
+
99
+ Content viewset that supports only GET by default.
100
+
101
+ ### Example
102
+
103
+ ```ruby
104
+ # load the gem
105
+ require 'pulpcore_client'
106
+ # setup authorization
107
+ PulpcoreClient.configure do |config|
108
+ # Configure HTTP basic authorization: basicAuth
109
+ config.username = 'YOUR USERNAME'
110
+ config.password = 'YOUR PASSWORD'
111
+ end
112
+
113
+ api_instance = PulpcoreClient::ContentOpenpgpUserattributeApi.new
114
+ open_p_g_p_user_attribute_href = 'open_p_g_p_user_attribute_href_example' # String |
115
+ opts = {
116
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
117
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
118
+ }
119
+
120
+ begin
121
+ #Inspect an open pgp user attribute
122
+ result = api_instance.read(open_p_g_p_user_attribute_href, opts)
123
+ p result
124
+ rescue PulpcoreClient::ApiError => e
125
+ puts "Exception when calling ContentOpenpgpUserattributeApi->read: #{e}"
126
+ end
127
+ ```
128
+
129
+ ### Parameters
130
+
131
+
132
+ Name | Type | Description | Notes
133
+ ------------- | ------------- | ------------- | -------------
134
+ **open_p_g_p_user_attribute_href** | **String**| |
135
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
136
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
137
+
138
+ ### Return type
139
+
140
+ [**OpenPGPUserAttributeResponse**](OpenPGPUserAttributeResponse.md)
141
+
142
+ ### Authorization
143
+
144
+ [basicAuth](../README.md#basicAuth)
145
+
146
+ ### HTTP request headers
147
+
148
+ - **Content-Type**: Not defined
149
+ - **Accept**: application/json
150
+
@@ -0,0 +1,166 @@
1
+ # PulpcoreClient::ContentOpenpgpUseridApi
2
+
3
+ All URIs are relative to *http://localhost:24817*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**list**](ContentOpenpgpUseridApi.md#list) | **GET** /pulp/api/v3/content/core/openpgp_userid/ | List open pgp user ids
8
+ [**read**](ContentOpenpgpUseridApi.md#read) | **GET** {open_p_g_p_user_i_d_href} | Inspect an open pgp user id
9
+
10
+
11
+
12
+ ## list
13
+
14
+ > PaginatedOpenPGPUserIDResponseList list(opts)
15
+
16
+ List open pgp user ids
17
+
18
+ Content viewset that supports only GET by default.
19
+
20
+ ### Example
21
+
22
+ ```ruby
23
+ # load the gem
24
+ require 'pulpcore_client'
25
+ # setup authorization
26
+ PulpcoreClient.configure do |config|
27
+ # Configure HTTP basic authorization: basicAuth
28
+ config.username = 'YOUR USERNAME'
29
+ config.password = 'YOUR PASSWORD'
30
+ end
31
+
32
+ api_instance = PulpcoreClient::ContentOpenpgpUseridApi.new
33
+ opts = {
34
+ limit: 56, # Integer | Number of results to return per page.
35
+ offset: 56, # Integer | The initial index from which to return the results.
36
+ ordering: ['ordering_example'], # 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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `raw_data` - Raw data * `-raw_data` - Raw data (descending) * `user_id` - User id * `-user_id` - User id (descending) * `pk` - Pk * `-pk` - Pk (descending)
37
+ orphaned_for: 3.4, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
38
+ prn__in: ['prn__in_example'], # Array<String> | Multiple values may be separated by commas.
39
+ pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
40
+ pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
41
+ q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
42
+ repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
43
+ repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
44
+ repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF/PRN
45
+ user_id: 'user_id_example', # String | Filter results where user_id matches value
46
+ user_id__contains: 'user_id__contains_example', # String | Filter results where user_id contains value
47
+ user_id__icontains: 'user_id__icontains_example', # String | Filter results where user_id contains value
48
+ user_id__iexact: 'user_id__iexact_example', # String | Filter results where user_id matches value
49
+ user_id__in: ['user_id__in_example'], # Array<String> | Filter results where user_id is in a comma-separated list of values
50
+ user_id__iregex: 'user_id__iregex_example', # String | Filter results where user_id matches regex value
51
+ user_id__istartswith: 'user_id__istartswith_example', # String | Filter results where user_id starts with value
52
+ user_id__regex: 'user_id__regex_example', # String | Filter results where user_id matches regex value
53
+ user_id__startswith: 'user_id__startswith_example', # String | Filter results where user_id starts with value
54
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
55
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
56
+ }
57
+
58
+ begin
59
+ #List open pgp user ids
60
+ result = api_instance.list(opts)
61
+ p result
62
+ rescue PulpcoreClient::ApiError => e
63
+ puts "Exception when calling ContentOpenpgpUseridApi->list: #{e}"
64
+ end
65
+ ```
66
+
67
+ ### Parameters
68
+
69
+
70
+ Name | Type | Description | Notes
71
+ ------------- | ------------- | ------------- | -------------
72
+ **limit** | **Integer**| Number of results to return per page. | [optional]
73
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
74
+ **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;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) | [optional]
75
+ **orphaned_for** | **Float**| Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional]
76
+ **prn__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
77
+ **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
78
+ **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
79
+ **q** | **String**| Filter results by using NOT, AND and OR operations on other filters | [optional]
80
+ **repository_version** | **String**| Repository Version referenced by HREF/PRN | [optional]
81
+ **repository_version_added** | **String**| Repository Version referenced by HREF/PRN | [optional]
82
+ **repository_version_removed** | **String**| Repository Version referenced by HREF/PRN | [optional]
83
+ **user_id** | **String**| Filter results where user_id matches value | [optional]
84
+ **user_id__contains** | **String**| Filter results where user_id contains value | [optional]
85
+ **user_id__icontains** | **String**| Filter results where user_id contains value | [optional]
86
+ **user_id__iexact** | **String**| Filter results where user_id matches value | [optional]
87
+ **user_id__in** | [**Array&lt;String&gt;**](String.md)| Filter results where user_id is in a comma-separated list of values | [optional]
88
+ **user_id__iregex** | **String**| Filter results where user_id matches regex value | [optional]
89
+ **user_id__istartswith** | **String**| Filter results where user_id starts with value | [optional]
90
+ **user_id__regex** | **String**| Filter results where user_id matches regex value | [optional]
91
+ **user_id__startswith** | **String**| Filter results where user_id starts with value | [optional]
92
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
93
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
94
+
95
+ ### Return type
96
+
97
+ [**PaginatedOpenPGPUserIDResponseList**](PaginatedOpenPGPUserIDResponseList.md)
98
+
99
+ ### Authorization
100
+
101
+ [basicAuth](../README.md#basicAuth)
102
+
103
+ ### HTTP request headers
104
+
105
+ - **Content-Type**: Not defined
106
+ - **Accept**: application/json
107
+
108
+
109
+ ## read
110
+
111
+ > OpenPGPUserIDResponse read(open_p_g_p_user_i_d_href, opts)
112
+
113
+ Inspect an open pgp user id
114
+
115
+ Content viewset that supports only GET by default.
116
+
117
+ ### Example
118
+
119
+ ```ruby
120
+ # load the gem
121
+ require 'pulpcore_client'
122
+ # setup authorization
123
+ PulpcoreClient.configure do |config|
124
+ # Configure HTTP basic authorization: basicAuth
125
+ config.username = 'YOUR USERNAME'
126
+ config.password = 'YOUR PASSWORD'
127
+ end
128
+
129
+ api_instance = PulpcoreClient::ContentOpenpgpUseridApi.new
130
+ open_p_g_p_user_i_d_href = 'open_p_g_p_user_i_d_href_example' # String |
131
+ opts = {
132
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
133
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
134
+ }
135
+
136
+ begin
137
+ #Inspect an open pgp user id
138
+ result = api_instance.read(open_p_g_p_user_i_d_href, opts)
139
+ p result
140
+ rescue PulpcoreClient::ApiError => e
141
+ puts "Exception when calling ContentOpenpgpUseridApi->read: #{e}"
142
+ end
143
+ ```
144
+
145
+ ### Parameters
146
+
147
+
148
+ Name | Type | Description | Notes
149
+ ------------- | ------------- | ------------- | -------------
150
+ **open_p_g_p_user_i_d_href** | **String**| |
151
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
152
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
153
+
154
+ ### Return type
155
+
156
+ [**OpenPGPUserIDResponse**](OpenPGPUserIDResponse.md)
157
+
158
+ ### Authorization
159
+
160
+ [basicAuth](../README.md#basicAuth)
161
+
162
+ ### HTTP request headers
163
+
164
+ - **Content-Type**: Not defined
165
+ - **Accept**: application/json
166
+
@@ -50,8 +50,8 @@ opts = {
50
50
  pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
51
51
  pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
52
52
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
53
- pulp_type: 'pulp_type_example', # String | Pulp type * `core.artifact` - core.artifact * `file.file` - file.file
54
- pulp_type__in: ['pulp_type__in_example'], # Array<String> | Multiple values may be separated by commas. * `core.artifact` - core.artifact * `file.file` - file.file
53
+ pulp_type: 'pulp_type_example', # String | Pulp type * `core.artifact` - core.artifact * `core.openpgp` - core.openpgp * `file.file` - file.file
54
+ pulp_type__in: ['pulp_type__in_example'], # Array<String> | Multiple values may be separated by commas. * `core.artifact` - core.artifact * `core.openpgp` - core.openpgp * `file.file` - file.file
55
55
  q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
56
56
  repository: 'repository_example', # String | Filter results where repository matches value
57
57
  repository__in: ['repository__in_example'], # Array<String> | Filter results where repository is in a comma-separated list of values
@@ -94,8 +94,8 @@ Name | Type | Description | Notes
94
94
  **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
95
95
  **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
96
96
  **pulp_label_select** | **String**| Filter labels by search string | [optional]
97
- **pulp_type** | **String**| Pulp type * &#x60;core.artifact&#x60; - core.artifact * &#x60;file.file&#x60; - file.file | [optional]
98
- **pulp_type__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. * &#x60;core.artifact&#x60; - core.artifact * &#x60;file.file&#x60; - file.file | [optional]
97
+ **pulp_type** | **String**| Pulp type * &#x60;core.artifact&#x60; - core.artifact * &#x60;core.openpgp&#x60; - core.openpgp * &#x60;file.file&#x60; - file.file | [optional]
98
+ **pulp_type__in** | [**Array&lt;String&gt;**](String.md)| 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 | [optional]
99
99
  **q** | **String**| Filter results by using NOT, AND and OR operations on other filters | [optional]
100
100
  **repository** | [**String**](.md)| Filter results where repository matches value | [optional]
101
101
  **repository__in** | [**Array&lt;String&gt;**](String.md)| Filter results where repository is in a comma-separated list of values | [optional]