pulpcore_client 3.72.2 → 3.73.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.
- checksums.yaml +4 -4
- data/README.md +8 -5
- data/docs/ArtifactDistributionResponse.md +15 -15
- data/docs/ContentApi.md +2 -0
- data/docs/ContentOpenpgpPublickeyApi.md +152 -2
- data/docs/ContentOpenpgpPublicsubkeyApi.md +4 -2
- data/docs/ContentOpenpgpSignatureApi.md +4 -2
- data/docs/ContentOpenpgpUserattributeApi.md +4 -2
- data/docs/ContentOpenpgpUseridApi.md +4 -2
- data/docs/GenericRemoteResponse.md +1 -1
- data/docs/GenericRemoteResponsePolicyEnum.md +15 -0
- data/docs/MultipleArtifactContentResponse.md +2 -0
- data/docs/OpenPGPPublicKeyResponse.md +2 -0
- data/docs/OpenPGPPublicSubkeyResponse.md +2 -0
- data/docs/OpenPGPSignatureResponse.md +2 -0
- data/docs/OpenPGPUserAttributeResponse.md +2 -0
- data/docs/OpenPGPUserIDResponse.md +2 -0
- data/docs/PatchedUpstreamPulp.md +3 -1
- data/docs/{PolicyEnum.md → Policy357Enum.md} +2 -2
- data/docs/UpstreamPulp.md +3 -1
- data/docs/UpstreamPulpResponse.md +3 -1
- data/docs/UpstreamPulpsApi.md +2 -2
- data/lib/pulpcore_client/api/content_api.rb +3 -0
- data/lib/pulpcore_client/api/content_openpgp_publickey_api.rb +157 -3
- data/lib/pulpcore_client/api/content_openpgp_publicsubkey_api.rb +6 -3
- data/lib/pulpcore_client/api/content_openpgp_signature_api.rb +6 -3
- data/lib/pulpcore_client/api/content_openpgp_userattribute_api.rb +6 -3
- data/lib/pulpcore_client/api/content_openpgp_userid_api.rb +6 -3
- data/lib/pulpcore_client/api/upstream_pulps_api.rb +3 -3
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +67 -67
- data/lib/pulpcore_client/models/generic_remote_response.rb +1 -1
- data/lib/pulpcore_client/models/{policy_enum.rb → generic_remote_response_policy_enum.rb} +3 -3
- data/lib/pulpcore_client/models/multiple_artifact_content_response.rb +13 -1
- data/lib/pulpcore_client/models/open_pgp_public_key_response.rb +13 -1
- data/lib/pulpcore_client/models/open_pgp_public_subkey_response.rb +13 -1
- data/lib/pulpcore_client/models/open_pgp_signature_response.rb +13 -1
- data/lib/pulpcore_client/models/open_pgp_user_attribute_response.rb +13 -1
- data/lib/pulpcore_client/models/open_pgp_user_id_response.rb +13 -1
- data/lib/pulpcore_client/models/patched_upstream_pulp.rb +37 -5
- data/lib/pulpcore_client/models/policy357_enum.rb +41 -0
- data/lib/pulpcore_client/models/upstream_pulp.rb +37 -5
- data/lib/pulpcore_client/models/upstream_pulp_response.rb +36 -4
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +2 -1
- data/spec/api/content_api_spec.rb +1 -0
- data/spec/api/content_openpgp_publickey_api_spec.rb +29 -1
- data/spec/api/content_openpgp_publicsubkey_api_spec.rb +2 -1
- data/spec/api/content_openpgp_signature_api_spec.rb +2 -1
- data/spec/api/content_openpgp_userattribute_api_spec.rb +2 -1
- data/spec/api/content_openpgp_userid_api_spec.rb +2 -1
- data/spec/api/upstream_pulps_api_spec.rb +1 -1
- data/spec/models/artifact_distribution_response_spec.rb +10 -10
- data/spec/models/generic_remote_response_policy_enum_spec.rb +30 -0
- data/spec/models/multiple_artifact_content_response_spec.rb +6 -0
- data/spec/models/open_pgp_public_key_response_spec.rb +6 -0
- data/spec/models/open_pgp_public_subkey_response_spec.rb +6 -0
- data/spec/models/open_pgp_signature_response_spec.rb +6 -0
- data/spec/models/open_pgp_user_attribute_response_spec.rb +6 -0
- data/spec/models/open_pgp_user_id_response_spec.rb +6 -0
- data/spec/models/patched_upstream_pulp_spec.rb +6 -0
- data/spec/models/{policy_enum_spec.rb → policy357_enum_spec.rb} +6 -6
- data/spec/models/upstream_pulp_response_spec.rb +6 -0
- data/spec/models/upstream_pulp_spec.rb +6 -0
- metadata +9 -5
data/docs/PatchedUpstreamPulp.md
CHANGED
@@ -15,6 +15,7 @@
|
|
15
15
|
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
16
16
|
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
17
17
|
| **q_select** | **String** | Filter distributions on the upstream Pulp using complex filtering. E.g. pulp_label_select=\"foo\" OR pulp_label_select=\"key=val\" | [optional] |
|
18
|
+
| **policy** | [**Policy357Enum**](Policy357Enum.md) | Policy for how replicate will manage the local objects within the domain. * `all` - Replicate manages ALL local objects within the domain. * `labeled` - Replicate will only manage the objects created from a previous replication, unlabled local objects will be untouched. * `nodelete` - Replicate will not delete any local object whether they were created by replication or not. | [optional] |
|
18
19
|
|
19
20
|
## Example
|
20
21
|
|
@@ -32,7 +33,8 @@ instance = PulpcoreClient::PatchedUpstreamPulp.new(
|
|
32
33
|
tls_validation: null,
|
33
34
|
username: null,
|
34
35
|
password: null,
|
35
|
-
q_select: null
|
36
|
+
q_select: null,
|
37
|
+
policy: null
|
36
38
|
)
|
37
39
|
```
|
38
40
|
|
data/docs/UpstreamPulp.md
CHANGED
@@ -15,6 +15,7 @@
|
|
15
15
|
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
16
16
|
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
17
17
|
| **q_select** | **String** | Filter distributions on the upstream Pulp using complex filtering. E.g. pulp_label_select=\"foo\" OR pulp_label_select=\"key=val\" | [optional] |
|
18
|
+
| **policy** | [**Policy357Enum**](Policy357Enum.md) | Policy for how replicate will manage the local objects within the domain. * `all` - Replicate manages ALL local objects within the domain. * `labeled` - Replicate will only manage the objects created from a previous replication, unlabled local objects will be untouched. * `nodelete` - Replicate will not delete any local object whether they were created by replication or not. | [optional] |
|
18
19
|
|
19
20
|
## Example
|
20
21
|
|
@@ -32,7 +33,8 @@ instance = PulpcoreClient::UpstreamPulp.new(
|
|
32
33
|
tls_validation: null,
|
33
34
|
username: null,
|
34
35
|
password: null,
|
35
|
-
q_select: null
|
36
|
+
q_select: null,
|
37
|
+
policy: null
|
36
38
|
)
|
37
39
|
```
|
38
40
|
|
@@ -18,6 +18,7 @@
|
|
18
18
|
| **hidden_fields** | [**Array<GenericRemoteResponseHiddenFieldsInner>**](GenericRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional][readonly] |
|
19
19
|
| **q_select** | **String** | Filter distributions on the upstream Pulp using complex filtering. E.g. pulp_label_select=\"foo\" OR pulp_label_select=\"key=val\" | [optional] |
|
20
20
|
| **last_replication** | **Time** | Timestamp of the last replication that occurred. Equals to 'null' if no replication task has been executed. | [optional][readonly] |
|
21
|
+
| **policy** | [**Policy357Enum**](Policy357Enum.md) | Policy for how replicate will manage the local objects within the domain. * `all` - Replicate manages ALL local objects within the domain. * `labeled` - Replicate will only manage the objects created from a previous replication, unlabled local objects will be untouched. * `nodelete` - Replicate will not delete any local object whether they were created by replication or not. | [optional] |
|
21
22
|
|
22
23
|
## Example
|
23
24
|
|
@@ -38,7 +39,8 @@ instance = PulpcoreClient::UpstreamPulpResponse.new(
|
|
38
39
|
tls_validation: null,
|
39
40
|
hidden_fields: null,
|
40
41
|
q_select: null,
|
41
|
-
last_replication: null
|
42
|
+
last_replication: null,
|
43
|
+
policy: null
|
42
44
|
)
|
43
45
|
```
|
44
46
|
|
data/docs/UpstreamPulpsApi.md
CHANGED
@@ -277,7 +277,7 @@ opts = {
|
|
277
277
|
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
278
278
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
279
279
|
offset: 56, # Integer | The initial index from which to return the results.
|
280
|
-
ordering: ['-api_root'], # 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) * `name` - Name * `-name` - Name (descending) * `base_url` - Base url * `-base_url` - Base url (descending) * `api_root` - Api root * `-api_root` - Api root (descending) * `domain` - Domain * `-domain` - Domain (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `q_select` - Q select * `-q_select` - Q select (descending) * `last_replication` - Last replication * `-last_replication` - Last replication (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
280
|
+
ordering: ['-api_root'], # 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) * `name` - Name * `-name` - Name (descending) * `base_url` - Base url * `-base_url` - Base url (descending) * `api_root` - Api root * `-api_root` - Api root (descending) * `domain` - Domain * `-domain` - Domain (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `q_select` - Q select * `-q_select` - Q select (descending) * `policy` - Policy * `-policy` - Policy (descending) * `last_replication` - Last replication * `-last_replication` - Last replication (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
281
281
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
282
282
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
283
283
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
@@ -344,7 +344,7 @@ end
|
|
344
344
|
| **name__regex** | **String** | Filter results where name matches regex value | [optional] |
|
345
345
|
| **name__startswith** | **String** | Filter results where name starts with value | [optional] |
|
346
346
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
347
|
-
| **ordering** | [**Array<String>**](String.md) | 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) * `name` - Name * `-name` - Name (descending) * `base_url` - Base url * `-base_url` - Base url (descending) * `api_root` - Api root * `-api_root` - Api root (descending) * `domain` - Domain * `-domain` - Domain (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `q_select` - Q select * `-q_select` - Q select (descending) * `last_replication` - Last replication * `-last_replication` - Last replication (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
347
|
+
| **ordering** | [**Array<String>**](String.md) | 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) * `name` - Name * `-name` - Name (descending) * `base_url` - Base url * `-base_url` - Base url (descending) * `api_root` - Api root * `-api_root` - Api root (descending) * `domain` - Domain * `-domain` - Domain (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `q_select` - Q select * `-q_select` - Q select (descending) * `policy` - Policy * `-policy` - Policy (descending) * `last_replication` - Last replication * `-last_replication` - Last replication (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
348
348
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
349
349
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
350
350
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
@@ -29,6 +29,7 @@ module PulpcoreClient
|
|
29
29
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
30
30
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
31
31
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
32
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
32
33
|
# @option opts [String] :pulp_type Pulp type * `core.publishedmetadata` - core.publishedmetadata * `core.openpgp_publickey` - core.openpgp_publickey * `core.openpgp_publicsubkey` - core.openpgp_publicsubkey * `core.openpgp_userid` - core.openpgp_userid * `core.openpgp_userattribute` - core.openpgp_userattribute * `core.openpgp_signature` - core.openpgp_signature * `file.file` - file.file
|
33
34
|
# @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * `core.publishedmetadata` - core.publishedmetadata * `core.openpgp_publickey` - core.openpgp_publickey * `core.openpgp_publicsubkey` - core.openpgp_publicsubkey * `core.openpgp_userid` - core.openpgp_userid * `core.openpgp_userattribute` - core.openpgp_userattribute * `core.openpgp_signature` - core.openpgp_signature * `file.file` - file.file
|
34
35
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
@@ -53,6 +54,7 @@ module PulpcoreClient
|
|
53
54
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
54
55
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
55
56
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
57
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
56
58
|
# @option opts [String] :pulp_type Pulp type * `core.publishedmetadata` - core.publishedmetadata * `core.openpgp_publickey` - core.openpgp_publickey * `core.openpgp_publicsubkey` - core.openpgp_publicsubkey * `core.openpgp_userid` - core.openpgp_userid * `core.openpgp_userattribute` - core.openpgp_userattribute * `core.openpgp_signature` - core.openpgp_signature * `file.file` - file.file
|
57
59
|
# @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * `core.publishedmetadata` - core.publishedmetadata * `core.openpgp_publickey` - core.openpgp_publickey * `core.openpgp_publicsubkey` - core.openpgp_publicsubkey * `core.openpgp_userid` - core.openpgp_userid * `core.openpgp_userattribute` - core.openpgp_userattribute * `core.openpgp_signature` - core.openpgp_signature * `file.file` - file.file
|
58
60
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
@@ -90,6 +92,7 @@ module PulpcoreClient
|
|
90
92
|
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
91
93
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
92
94
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
95
|
+
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
93
96
|
query_params[:'pulp_type'] = opts[:'pulp_type'] if !opts[:'pulp_type'].nil?
|
94
97
|
query_params[:'pulp_type__in'] = @api_client.build_collection_param(opts[:'pulp_type__in'], :csv) if !opts[:'pulp_type__in'].nil?
|
95
98
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
@@ -23,6 +23,7 @@ module PulpcoreClient
|
|
23
23
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
26
|
+
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
26
27
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
27
28
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
28
29
|
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
@@ -36,6 +37,7 @@ module PulpcoreClient
|
|
36
37
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
37
38
|
# @param [Hash] opts the optional parameters
|
38
39
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
40
|
+
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
39
41
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
40
42
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
41
43
|
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
@@ -67,6 +69,7 @@ module PulpcoreClient
|
|
67
69
|
# form parameters
|
68
70
|
form_params = opts[:form_params] || {}
|
69
71
|
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
72
|
+
form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
|
70
73
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
71
74
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
72
75
|
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
@@ -103,11 +106,12 @@ module PulpcoreClient
|
|
103
106
|
# @option opts [String] :fingerprint Filter results where fingerprint matches value
|
104
107
|
# @option opts [Integer] :limit Number of results to return per page.
|
105
108
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
106
|
-
# @option opts [Array<String>] :ordering 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) * `fingerprint` - Fingerprint * `-fingerprint` - Fingerprint (descending) * `created` - Created * `-created` - Created (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
109
|
+
# @option opts [Array<String>] :ordering 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) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `raw_data` - Raw data * `-raw_data` - Raw data (descending) * `fingerprint` - Fingerprint * `-fingerprint` - Fingerprint (descending) * `created` - Created * `-created` - Created (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
107
110
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
108
111
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
109
112
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
110
113
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
114
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
111
115
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
112
116
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
113
117
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -126,11 +130,12 @@ module PulpcoreClient
|
|
126
130
|
# @option opts [String] :fingerprint Filter results where fingerprint matches value
|
127
131
|
# @option opts [Integer] :limit Number of results to return per page.
|
128
132
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
129
|
-
# @option opts [Array<String>] :ordering 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) * `fingerprint` - Fingerprint * `-fingerprint` - Fingerprint (descending) * `created` - Created * `-created` - Created (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
133
|
+
# @option opts [Array<String>] :ordering 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) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `raw_data` - Raw data * `-raw_data` - Raw data (descending) * `fingerprint` - Fingerprint * `-fingerprint` - Fingerprint (descending) * `created` - Created * `-created` - Created (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
130
134
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
131
135
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
132
136
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
133
137
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
138
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
134
139
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
135
140
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
136
141
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -142,7 +147,7 @@ module PulpcoreClient
|
|
142
147
|
if @api_client.config.debugging
|
143
148
|
@api_client.config.logger.debug 'Calling API: ContentOpenpgpPublickeyApi.list ...'
|
144
149
|
end
|
145
|
-
allowable_values = ["-created", "-fingerprint", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-raw_data", "-timestamp_of_interest", "-upstream_id", "created", "fingerprint", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "raw_data", "timestamp_of_interest", "upstream_id"]
|
150
|
+
allowable_values = ["-created", "-fingerprint", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-raw_data", "-timestamp_of_interest", "-upstream_id", "created", "fingerprint", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "raw_data", "timestamp_of_interest", "upstream_id"]
|
146
151
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
147
152
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
148
153
|
end
|
@@ -159,6 +164,7 @@ module PulpcoreClient
|
|
159
164
|
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
160
165
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
161
166
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
167
|
+
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
162
168
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
163
169
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
164
170
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
@@ -268,5 +274,153 @@ module PulpcoreClient
|
|
268
274
|
end
|
269
275
|
return data, status_code, headers
|
270
276
|
end
|
277
|
+
|
278
|
+
# Set a label
|
279
|
+
# Set a single pulp_label on the object to a specific value or null.
|
280
|
+
# @param open_p_g_p_public_key_href [String]
|
281
|
+
# @param set_label [SetLabel]
|
282
|
+
# @param [Hash] opts the optional parameters
|
283
|
+
# @return [SetLabelResponse]
|
284
|
+
def set_label(open_p_g_p_public_key_href, set_label, opts = {})
|
285
|
+
data, _status_code, _headers = set_label_with_http_info(open_p_g_p_public_key_href, set_label, opts)
|
286
|
+
data
|
287
|
+
end
|
288
|
+
|
289
|
+
# Set a label
|
290
|
+
# Set a single pulp_label on the object to a specific value or null.
|
291
|
+
# @param open_p_g_p_public_key_href [String]
|
292
|
+
# @param set_label [SetLabel]
|
293
|
+
# @param [Hash] opts the optional parameters
|
294
|
+
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
295
|
+
def set_label_with_http_info(open_p_g_p_public_key_href, set_label, opts = {})
|
296
|
+
if @api_client.config.debugging
|
297
|
+
@api_client.config.logger.debug 'Calling API: ContentOpenpgpPublickeyApi.set_label ...'
|
298
|
+
end
|
299
|
+
# verify the required parameter 'open_p_g_p_public_key_href' is set
|
300
|
+
if @api_client.config.client_side_validation && open_p_g_p_public_key_href.nil?
|
301
|
+
fail ArgumentError, "Missing the required parameter 'open_p_g_p_public_key_href' when calling ContentOpenpgpPublickeyApi.set_label"
|
302
|
+
end
|
303
|
+
# verify the required parameter 'set_label' is set
|
304
|
+
if @api_client.config.client_side_validation && set_label.nil?
|
305
|
+
fail ArgumentError, "Missing the required parameter 'set_label' when calling ContentOpenpgpPublickeyApi.set_label"
|
306
|
+
end
|
307
|
+
# resource path
|
308
|
+
local_var_path = '{open_p_g_p_public_key_href}set_label/'.sub('{' + 'open_p_g_p_public_key_href' + '}', CGI.escape(open_p_g_p_public_key_href.to_s).gsub('%2F', '/'))
|
309
|
+
|
310
|
+
# query parameters
|
311
|
+
query_params = opts[:query_params] || {}
|
312
|
+
|
313
|
+
# header parameters
|
314
|
+
header_params = opts[:header_params] || {}
|
315
|
+
# HTTP header 'Accept' (if needed)
|
316
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
317
|
+
# HTTP header 'Content-Type'
|
318
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
319
|
+
if !content_type.nil?
|
320
|
+
header_params['Content-Type'] = content_type
|
321
|
+
end
|
322
|
+
|
323
|
+
# form parameters
|
324
|
+
form_params = opts[:form_params] || {}
|
325
|
+
|
326
|
+
# http body (model)
|
327
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(set_label)
|
328
|
+
|
329
|
+
# return_type
|
330
|
+
return_type = opts[:debug_return_type] || 'SetLabelResponse'
|
331
|
+
|
332
|
+
# auth_names
|
333
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
334
|
+
|
335
|
+
new_options = opts.merge(
|
336
|
+
:operation => :"ContentOpenpgpPublickeyApi.set_label",
|
337
|
+
:header_params => header_params,
|
338
|
+
:query_params => query_params,
|
339
|
+
:form_params => form_params,
|
340
|
+
:body => post_body,
|
341
|
+
:auth_names => auth_names,
|
342
|
+
:return_type => return_type
|
343
|
+
)
|
344
|
+
|
345
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
346
|
+
if @api_client.config.debugging
|
347
|
+
@api_client.config.logger.debug "API called: ContentOpenpgpPublickeyApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
348
|
+
end
|
349
|
+
return data, status_code, headers
|
350
|
+
end
|
351
|
+
|
352
|
+
# Unset a label
|
353
|
+
# Unset a single pulp_label on the object.
|
354
|
+
# @param open_p_g_p_public_key_href [String]
|
355
|
+
# @param unset_label [UnsetLabel]
|
356
|
+
# @param [Hash] opts the optional parameters
|
357
|
+
# @return [UnsetLabelResponse]
|
358
|
+
def unset_label(open_p_g_p_public_key_href, unset_label, opts = {})
|
359
|
+
data, _status_code, _headers = unset_label_with_http_info(open_p_g_p_public_key_href, unset_label, opts)
|
360
|
+
data
|
361
|
+
end
|
362
|
+
|
363
|
+
# Unset a label
|
364
|
+
# Unset a single pulp_label on the object.
|
365
|
+
# @param open_p_g_p_public_key_href [String]
|
366
|
+
# @param unset_label [UnsetLabel]
|
367
|
+
# @param [Hash] opts the optional parameters
|
368
|
+
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
369
|
+
def unset_label_with_http_info(open_p_g_p_public_key_href, unset_label, opts = {})
|
370
|
+
if @api_client.config.debugging
|
371
|
+
@api_client.config.logger.debug 'Calling API: ContentOpenpgpPublickeyApi.unset_label ...'
|
372
|
+
end
|
373
|
+
# verify the required parameter 'open_p_g_p_public_key_href' is set
|
374
|
+
if @api_client.config.client_side_validation && open_p_g_p_public_key_href.nil?
|
375
|
+
fail ArgumentError, "Missing the required parameter 'open_p_g_p_public_key_href' when calling ContentOpenpgpPublickeyApi.unset_label"
|
376
|
+
end
|
377
|
+
# verify the required parameter 'unset_label' is set
|
378
|
+
if @api_client.config.client_side_validation && unset_label.nil?
|
379
|
+
fail ArgumentError, "Missing the required parameter 'unset_label' when calling ContentOpenpgpPublickeyApi.unset_label"
|
380
|
+
end
|
381
|
+
# resource path
|
382
|
+
local_var_path = '{open_p_g_p_public_key_href}unset_label/'.sub('{' + 'open_p_g_p_public_key_href' + '}', CGI.escape(open_p_g_p_public_key_href.to_s).gsub('%2F', '/'))
|
383
|
+
|
384
|
+
# query parameters
|
385
|
+
query_params = opts[:query_params] || {}
|
386
|
+
|
387
|
+
# header parameters
|
388
|
+
header_params = opts[:header_params] || {}
|
389
|
+
# HTTP header 'Accept' (if needed)
|
390
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
391
|
+
# HTTP header 'Content-Type'
|
392
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
393
|
+
if !content_type.nil?
|
394
|
+
header_params['Content-Type'] = content_type
|
395
|
+
end
|
396
|
+
|
397
|
+
# form parameters
|
398
|
+
form_params = opts[:form_params] || {}
|
399
|
+
|
400
|
+
# http body (model)
|
401
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(unset_label)
|
402
|
+
|
403
|
+
# return_type
|
404
|
+
return_type = opts[:debug_return_type] || 'UnsetLabelResponse'
|
405
|
+
|
406
|
+
# auth_names
|
407
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
408
|
+
|
409
|
+
new_options = opts.merge(
|
410
|
+
:operation => :"ContentOpenpgpPublickeyApi.unset_label",
|
411
|
+
:header_params => header_params,
|
412
|
+
:query_params => query_params,
|
413
|
+
:form_params => form_params,
|
414
|
+
:body => post_body,
|
415
|
+
:auth_names => auth_names,
|
416
|
+
:return_type => return_type
|
417
|
+
)
|
418
|
+
|
419
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
420
|
+
if @api_client.config.debugging
|
421
|
+
@api_client.config.logger.debug "API called: ContentOpenpgpPublickeyApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
422
|
+
end
|
423
|
+
return data, status_code, headers
|
424
|
+
end
|
271
425
|
end
|
272
426
|
end
|
@@ -25,11 +25,12 @@ module PulpcoreClient
|
|
25
25
|
# @option opts [String] :fingerprint Filter results where fingerprint matches value
|
26
26
|
# @option opts [Integer] :limit Number of results to return per page.
|
27
27
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
28
|
-
# @option opts [Array<String>] :ordering 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) * `fingerprint` - Fingerprint * `-fingerprint` - Fingerprint (descending) * `created` - Created * `-created` - Created (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
28
|
+
# @option opts [Array<String>] :ordering 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) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `raw_data` - Raw data * `-raw_data` - Raw data (descending) * `fingerprint` - Fingerprint * `-fingerprint` - Fingerprint (descending) * `created` - Created * `-created` - Created (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
29
29
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
30
30
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
31
31
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
32
32
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
33
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
33
34
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
34
35
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
35
36
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -48,11 +49,12 @@ module PulpcoreClient
|
|
48
49
|
# @option opts [String] :fingerprint Filter results where fingerprint matches value
|
49
50
|
# @option opts [Integer] :limit Number of results to return per page.
|
50
51
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
51
|
-
# @option opts [Array<String>] :ordering 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) * `fingerprint` - Fingerprint * `-fingerprint` - Fingerprint (descending) * `created` - Created * `-created` - Created (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
52
|
+
# @option opts [Array<String>] :ordering 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) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `raw_data` - Raw data * `-raw_data` - Raw data (descending) * `fingerprint` - Fingerprint * `-fingerprint` - Fingerprint (descending) * `created` - Created * `-created` - Created (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
52
53
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
53
54
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
54
55
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
55
56
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
57
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
56
58
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
57
59
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
58
60
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -64,7 +66,7 @@ module PulpcoreClient
|
|
64
66
|
if @api_client.config.debugging
|
65
67
|
@api_client.config.logger.debug 'Calling API: ContentOpenpgpPublicsubkeyApi.list ...'
|
66
68
|
end
|
67
|
-
allowable_values = ["-created", "-fingerprint", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-raw_data", "-timestamp_of_interest", "-upstream_id", "created", "fingerprint", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "raw_data", "timestamp_of_interest", "upstream_id"]
|
69
|
+
allowable_values = ["-created", "-fingerprint", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-raw_data", "-timestamp_of_interest", "-upstream_id", "created", "fingerprint", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "raw_data", "timestamp_of_interest", "upstream_id"]
|
68
70
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
69
71
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
70
72
|
end
|
@@ -81,6 +83,7 @@ module PulpcoreClient
|
|
81
83
|
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
82
84
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
83
85
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
86
|
+
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
84
87
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
85
88
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
86
89
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
@@ -25,11 +25,12 @@ module PulpcoreClient
|
|
25
25
|
# @option opts [String] :issuer Filter results where issuer matches value
|
26
26
|
# @option opts [Integer] :limit Number of results to return per page.
|
27
27
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
28
|
-
# @option opts [Array<String>] :ordering 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)
|
28
|
+
# @option opts [Array<String>] :ordering 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) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (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)
|
29
29
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
30
30
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
31
31
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
32
32
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
33
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
33
34
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
34
35
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
35
36
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -48,11 +49,12 @@ module PulpcoreClient
|
|
48
49
|
# @option opts [String] :issuer Filter results where issuer matches value
|
49
50
|
# @option opts [Integer] :limit Number of results to return per page.
|
50
51
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
51
|
-
# @option opts [Array<String>] :ordering 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)
|
52
|
+
# @option opts [Array<String>] :ordering 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) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (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)
|
52
53
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
53
54
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
54
55
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
55
56
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
57
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
56
58
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
57
59
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
58
60
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -64,7 +66,7 @@ module PulpcoreClient
|
|
64
66
|
if @api_client.config.debugging
|
65
67
|
@api_client.config.logger.debug 'Calling API: ContentOpenpgpSignatureApi.list ...'
|
66
68
|
end
|
67
|
-
allowable_values = ["-created", "-expiration_time", "-issuer", "-key_expiration_time", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-raw_data", "-sha256", "-signature_type", "-signers_user_id", "-timestamp_of_interest", "-upstream_id", "created", "expiration_time", "issuer", "key_expiration_time", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "raw_data", "sha256", "signature_type", "signers_user_id", "timestamp_of_interest", "upstream_id"]
|
69
|
+
allowable_values = ["-created", "-expiration_time", "-issuer", "-key_expiration_time", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-raw_data", "-sha256", "-signature_type", "-signers_user_id", "-timestamp_of_interest", "-upstream_id", "created", "expiration_time", "issuer", "key_expiration_time", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "raw_data", "sha256", "signature_type", "signers_user_id", "timestamp_of_interest", "upstream_id"]
|
68
70
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
69
71
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
70
72
|
end
|
@@ -81,6 +83,7 @@ module PulpcoreClient
|
|
81
83
|
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
82
84
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
83
85
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
86
|
+
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
84
87
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
85
88
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
86
89
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
@@ -24,11 +24,12 @@ module PulpcoreClient
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @option opts [Integer] :limit Number of results to return per page.
|
26
26
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
27
|
-
# @option opts [Array<String>] :ordering 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)
|
27
|
+
# @option opts [Array<String>] :ordering 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) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (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)
|
28
28
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
29
29
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
30
30
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
31
31
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
32
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
32
33
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
33
34
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
34
35
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -47,11 +48,12 @@ module PulpcoreClient
|
|
47
48
|
# @param [Hash] opts the optional parameters
|
48
49
|
# @option opts [Integer] :limit Number of results to return per page.
|
49
50
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
50
|
-
# @option opts [Array<String>] :ordering 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)
|
51
|
+
# @option opts [Array<String>] :ordering 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) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (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)
|
51
52
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
52
53
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
53
54
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
54
55
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
56
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
55
57
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
56
58
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
57
59
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -64,7 +66,7 @@ module PulpcoreClient
|
|
64
66
|
if @api_client.config.debugging
|
65
67
|
@api_client.config.logger.debug 'Calling API: ContentOpenpgpUserattributeApi.list ...'
|
66
68
|
end
|
67
|
-
allowable_values = ["-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-raw_data", "-sha256", "-timestamp_of_interest", "-upstream_id", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "raw_data", "sha256", "timestamp_of_interest", "upstream_id"]
|
69
|
+
allowable_values = ["-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-raw_data", "-sha256", "-timestamp_of_interest", "-upstream_id", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "raw_data", "sha256", "timestamp_of_interest", "upstream_id"]
|
68
70
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
69
71
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
70
72
|
end
|
@@ -80,6 +82,7 @@ module PulpcoreClient
|
|
80
82
|
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
81
83
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
82
84
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
85
|
+
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
83
86
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
84
87
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
85
88
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
@@ -24,11 +24,12 @@ module PulpcoreClient
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @option opts [Integer] :limit Number of results to return per page.
|
26
26
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
27
|
-
# @option opts [Array<String>] :ordering 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)
|
27
|
+
# @option opts [Array<String>] :ordering 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) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (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)
|
28
28
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
29
29
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
30
30
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
31
31
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
32
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
32
33
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
33
34
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
34
35
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -55,11 +56,12 @@ module PulpcoreClient
|
|
55
56
|
# @param [Hash] opts the optional parameters
|
56
57
|
# @option opts [Integer] :limit Number of results to return per page.
|
57
58
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
58
|
-
# @option opts [Array<String>] :ordering 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)
|
59
|
+
# @option opts [Array<String>] :ordering 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) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (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)
|
59
60
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
60
61
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
61
62
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
62
63
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
64
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
63
65
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
64
66
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
65
67
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -80,7 +82,7 @@ module PulpcoreClient
|
|
80
82
|
if @api_client.config.debugging
|
81
83
|
@api_client.config.logger.debug 'Calling API: ContentOpenpgpUseridApi.list ...'
|
82
84
|
end
|
83
|
-
allowable_values = ["-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-raw_data", "-timestamp_of_interest", "-upstream_id", "-user_id", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "raw_data", "timestamp_of_interest", "upstream_id", "user_id"]
|
85
|
+
allowable_values = ["-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-raw_data", "-timestamp_of_interest", "-upstream_id", "-user_id", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "raw_data", "timestamp_of_interest", "upstream_id", "user_id"]
|
84
86
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
85
87
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
86
88
|
end
|
@@ -96,6 +98,7 @@ module PulpcoreClient
|
|
96
98
|
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
97
99
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
98
100
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
101
|
+
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
99
102
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
100
103
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
101
104
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|