pulp_container_client 2.15.2 → 2.15.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +36 -25
  3. data/docs/ContainerContainerDistribution.md +6 -6
  4. data/docs/ContainerContainerDistributionResponse.md +9 -9
  5. data/docs/ContainerContainerPushRepository.md +6 -6
  6. data/docs/ContainerContainerPushRepositoryResponse.md +10 -10
  7. data/docs/ContentBlobsApi.md +3 -1
  8. data/docs/ContentManifestsApi.md +3 -1
  9. data/docs/ContentSignaturesApi.md +11 -1
  10. data/docs/ContentTagsApi.md +3 -1
  11. data/docs/DistributionsContainerApi.md +136 -10
  12. data/docs/PatchedcontainerContainerDistribution.md +6 -6
  13. data/docs/PatchedcontainerContainerPushRepository.md +6 -6
  14. data/docs/PulpContainerNamespacesApi.md +23 -9
  15. data/docs/RemotesContainerApi.md +135 -9
  16. data/docs/RepositoriesContainerApi.md +136 -10
  17. data/docs/RepositoriesContainerPushApi.md +24 -10
  18. data/docs/RepositoriesContainerPushVersionsApi.md +3 -1
  19. data/docs/RepositoriesContainerVersionsApi.md +3 -1
  20. data/docs/SetLabel.md +19 -0
  21. data/docs/SetLabelResponse.md +19 -0
  22. data/docs/TokenApi.md +1 -1
  23. data/docs/UnsetLabel.md +17 -0
  24. data/docs/UnsetLabelResponse.md +19 -0
  25. data/lib/pulp_container_client/api/content_blobs_api.rb +3 -0
  26. data/lib/pulp_container_client/api/content_manifests_api.rb +3 -0
  27. data/lib/pulp_container_client/api/content_signatures_api.rb +15 -0
  28. data/lib/pulp_container_client/api/content_tags_api.rb +3 -0
  29. data/lib/pulp_container_client/api/distributions_container_api.rb +163 -0
  30. data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +23 -0
  31. data/lib/pulp_container_client/api/remotes_container_api.rb +163 -0
  32. data/lib/pulp_container_client/api/repositories_container_api.rb +163 -0
  33. data/lib/pulp_container_client/api/repositories_container_push_api.rb +23 -0
  34. data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +3 -0
  35. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +3 -0
  36. data/lib/pulp_container_client/configuration.rb +2 -2
  37. data/lib/pulp_container_client/models/container_container_distribution.rb +31 -31
  38. data/lib/pulp_container_client/models/container_container_distribution_response.rb +39 -39
  39. data/lib/pulp_container_client/models/container_container_push_repository.rb +42 -42
  40. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +48 -48
  41. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +31 -31
  42. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +42 -42
  43. data/lib/pulp_container_client/models/set_label.rb +252 -0
  44. data/lib/pulp_container_client/models/set_label_response.rb +243 -0
  45. data/lib/pulp_container_client/models/unset_label.rb +242 -0
  46. data/lib/pulp_container_client/models/unset_label_response.rb +242 -0
  47. data/lib/pulp_container_client/version.rb +1 -1
  48. data/lib/pulp_container_client.rb +4 -0
  49. data/spec/api/content_blobs_api_spec.rb +1 -0
  50. data/spec/api/content_manifests_api_spec.rb +1 -0
  51. data/spec/api/content_signatures_api_spec.rb +5 -0
  52. data/spec/api/content_tags_api_spec.rb +1 -0
  53. data/spec/api/distributions_container_api_spec.rb +35 -0
  54. data/spec/api/pulp_container_namespaces_api_spec.rb +9 -0
  55. data/spec/api/remotes_container_api_spec.rb +35 -0
  56. data/spec/api/repositories_container_api_spec.rb +35 -0
  57. data/spec/api/repositories_container_push_api_spec.rb +9 -0
  58. data/spec/api/repositories_container_push_versions_api_spec.rb +1 -0
  59. data/spec/api/repositories_container_versions_api_spec.rb +1 -0
  60. data/spec/configuration_spec.rb +3 -3
  61. data/spec/models/container_container_distribution_response_spec.rb +6 -6
  62. data/spec/models/container_container_distribution_spec.rb +5 -5
  63. data/spec/models/container_container_push_repository_response_spec.rb +9 -9
  64. data/spec/models/container_container_push_repository_spec.rb +5 -5
  65. data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
  66. data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
  67. data/spec/models/set_label_response_spec.rb +47 -0
  68. data/spec/models/set_label_spec.rb +47 -0
  69. data/spec/models/unset_label_response_spec.rb +47 -0
  70. data/spec/models/unset_label_spec.rb +41 -0
  71. metadata +63 -47
@@ -1,6 +1,6 @@
1
1
  # PulpContainerClient::RepositoriesContainerPushVersionsApi
2
2
 
3
- All URIs are relative to *https://pulp*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -105,6 +105,7 @@ opts = {
105
105
  pulp_created__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than or equal to value
106
106
  pulp_created__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_created is between two comma separated values
107
107
  pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
108
+ q: 'q_example', # String |
108
109
  fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
109
110
  exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
110
111
  }
@@ -142,6 +143,7 @@ Name | Type | Description | Notes
142
143
  **pulp_created__lte** | **DateTime**| Filter results where pulp_created is less than or equal to value | [optional]
143
144
  **pulp_created__range** | [**Array&lt;DateTime&gt;**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
144
145
  **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
146
+ **q** | **String**| | [optional]
145
147
  **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
146
148
  **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
147
149
 
@@ -1,6 +1,6 @@
1
1
  # PulpContainerClient::RepositoriesContainerVersionsApi
2
2
 
3
- All URIs are relative to *https://pulp*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -105,6 +105,7 @@ opts = {
105
105
  pulp_created__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than or equal to value
106
106
  pulp_created__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_created is between two comma separated values
107
107
  pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
108
+ q: 'q_example', # String |
108
109
  fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
109
110
  exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
110
111
  }
@@ -142,6 +143,7 @@ Name | Type | Description | Notes
142
143
  **pulp_created__lte** | **DateTime**| Filter results where pulp_created is less than or equal to value | [optional]
143
144
  **pulp_created__range** | [**Array&lt;DateTime&gt;**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
144
145
  **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
146
+ **q** | **String**| | [optional]
145
147
  **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
146
148
  **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
147
149
 
data/docs/SetLabel.md ADDED
@@ -0,0 +1,19 @@
1
+ # PulpContainerClient::SetLabel
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **key** | **String** | |
8
+ **value** | **String** | |
9
+
10
+ ## Code Sample
11
+
12
+ ```ruby
13
+ require 'PulpContainerClient'
14
+
15
+ instance = PulpContainerClient::SetLabel.new(key: null,
16
+ value: null)
17
+ ```
18
+
19
+
@@ -0,0 +1,19 @@
1
+ # PulpContainerClient::SetLabelResponse
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **key** | **String** | |
8
+ **value** | **String** | |
9
+
10
+ ## Code Sample
11
+
12
+ ```ruby
13
+ require 'PulpContainerClient'
14
+
15
+ instance = PulpContainerClient::SetLabelResponse.new(key: null,
16
+ value: null)
17
+ ```
18
+
19
+
data/docs/TokenApi.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # PulpContainerClient::TokenApi
2
2
 
3
- All URIs are relative to *https://pulp*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -0,0 +1,17 @@
1
+ # PulpContainerClient::UnsetLabel
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **key** | **String** | |
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'PulpContainerClient'
13
+
14
+ instance = PulpContainerClient::UnsetLabel.new(key: null)
15
+ ```
16
+
17
+
@@ -0,0 +1,19 @@
1
+ # PulpContainerClient::UnsetLabelResponse
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **key** | **String** | |
8
+ **value** | **String** | | [optional] [readonly]
9
+
10
+ ## Code Sample
11
+
12
+ ```ruby
13
+ require 'PulpContainerClient'
14
+
15
+ instance = PulpContainerClient::UnsetLabelResponse.new(key: null,
16
+ value: null)
17
+ ```
18
+
19
+
@@ -29,6 +29,7 @@ module PulpContainerClient
29
29
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
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] :q
32
33
  # @option opts [String] :repository_version Repository Version referenced by HREF
33
34
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
34
35
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -50,6 +51,7 @@ module PulpContainerClient
50
51
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
51
52
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
52
53
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
54
+ # @option opts [String] :q
53
55
  # @option opts [String] :repository_version Repository Version referenced by HREF
54
56
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
55
57
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -76,6 +78,7 @@ module PulpContainerClient
76
78
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
77
79
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
78
80
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
81
+ query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
79
82
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
80
83
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
81
84
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
@@ -30,6 +30,7 @@ module PulpContainerClient
30
30
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;schema_version&#x60; - Schema version * &#x60;-schema_version&#x60; - Schema version (descending) * &#x60;media_type&#x60; - Media type * &#x60;-media_type&#x60; - Media type (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
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] :q
33
34
  # @option opts [String] :repository_version Repository Version referenced by HREF
34
35
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
35
36
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -52,6 +53,7 @@ module PulpContainerClient
52
53
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;schema_version&#x60; - Schema version * &#x60;-schema_version&#x60; - Schema version (descending) * &#x60;media_type&#x60; - Media type * &#x60;-media_type&#x60; - Media type (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
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] :q
55
57
  # @option opts [String] :repository_version Repository Version referenced by HREF
56
58
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
57
59
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -83,6 +85,7 @@ module PulpContainerClient
83
85
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
84
86
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
85
87
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
88
+ query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
86
89
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
87
90
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
88
91
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
@@ -31,12 +31,17 @@ module PulpContainerClient
31
31
  # @option opts [String] :name Filter results where name matches value
32
32
  # @option opts [String] :name__contains Filter results where name contains value
33
33
  # @option opts [String] :name__icontains Filter results where name contains value
34
+ # @option opts [String] :name__iexact Filter results where name matches value
34
35
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
36
+ # @option opts [String] :name__iregex Filter results where name matches regex value
37
+ # @option opts [String] :name__istartswith Filter results where name starts with value
38
+ # @option opts [String] :name__regex Filter results where name matches regex value
35
39
  # @option opts [String] :name__startswith Filter results where name starts with value
36
40
  # @option opts [Integer] :offset The initial index from which to return the results.
37
41
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;type&#x60; - Type * &#x60;-type&#x60; - Type (descending) * &#x60;key_id&#x60; - Key id * &#x60;-key_id&#x60; - Key id (descending) * &#x60;timestamp&#x60; - Timestamp * &#x60;-timestamp&#x60; - Timestamp (descending) * &#x60;creator&#x60; - Creator * &#x60;-creator&#x60; - Creator (descending) * &#x60;data&#x60; - Data * &#x60;-data&#x60; - Data (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
38
42
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
39
43
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
44
+ # @option opts [String] :q
40
45
  # @option opts [String] :repository_version Repository Version referenced by HREF
41
46
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
42
47
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -60,12 +65,17 @@ module PulpContainerClient
60
65
  # @option opts [String] :name Filter results where name matches value
61
66
  # @option opts [String] :name__contains Filter results where name contains value
62
67
  # @option opts [String] :name__icontains Filter results where name contains value
68
+ # @option opts [String] :name__iexact Filter results where name matches value
63
69
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
70
+ # @option opts [String] :name__iregex Filter results where name matches regex value
71
+ # @option opts [String] :name__istartswith Filter results where name starts with value
72
+ # @option opts [String] :name__regex Filter results where name matches regex value
64
73
  # @option opts [String] :name__startswith Filter results where name starts with value
65
74
  # @option opts [Integer] :offset The initial index from which to return the results.
66
75
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;type&#x60; - Type * &#x60;-type&#x60; - Type (descending) * &#x60;key_id&#x60; - Key id * &#x60;-key_id&#x60; - Key id (descending) * &#x60;timestamp&#x60; - Timestamp * &#x60;-timestamp&#x60; - Timestamp (descending) * &#x60;creator&#x60; - Creator * &#x60;-creator&#x60; - Creator (descending) * &#x60;data&#x60; - Data * &#x60;-data&#x60; - Data (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
67
76
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
68
77
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
78
+ # @option opts [String] :q
69
79
  # @option opts [String] :repository_version Repository Version referenced by HREF
70
80
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
71
81
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -94,12 +104,17 @@ module PulpContainerClient
94
104
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
95
105
  query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
96
106
  query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
107
+ query_params[:'name__iexact'] = opts[:'name__iexact'] if !opts[:'name__iexact'].nil?
97
108
  query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
109
+ query_params[:'name__iregex'] = opts[:'name__iregex'] if !opts[:'name__iregex'].nil?
110
+ query_params[:'name__istartswith'] = opts[:'name__istartswith'] if !opts[:'name__istartswith'].nil?
111
+ query_params[:'name__regex'] = opts[:'name__regex'] if !opts[:'name__regex'].nil?
98
112
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
99
113
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
100
114
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
101
115
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
102
116
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
117
+ query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
103
118
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
104
119
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
105
120
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
@@ -31,6 +31,7 @@ module PulpContainerClient
31
31
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
32
32
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
33
33
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
34
+ # @option opts [String] :q
34
35
  # @option opts [String] :repository_version Repository Version referenced by HREF
35
36
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
36
37
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -54,6 +55,7 @@ module PulpContainerClient
54
55
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
55
56
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
56
57
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
58
+ # @option opts [String] :q
57
59
  # @option opts [String] :repository_version Repository Version referenced by HREF
58
60
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
59
61
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -86,6 +88,7 @@ module PulpContainerClient
86
88
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
87
89
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
88
90
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
91
+ query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
89
92
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
90
93
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
91
94
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
@@ -19,6 +19,7 @@ module PulpContainerClient
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
+ # Add a role
22
23
  # Add a role for this object to users/groups.
23
24
  # @param container_container_distribution_href [String]
24
25
  # @param nested_role [NestedRole]
@@ -29,6 +30,7 @@ module PulpContainerClient
29
30
  data
30
31
  end
31
32
 
33
+ # Add a role
32
34
  # Add a role for this object to users/groups.
33
35
  # @param container_container_distribution_href [String]
34
36
  # @param nested_role [NestedRole]
@@ -224,7 +226,11 @@ module PulpContainerClient
224
226
  # @option opts [String] :name Filter results where name matches value
225
227
  # @option opts [String] :name__contains Filter results where name contains value
226
228
  # @option opts [String] :name__icontains Filter results where name contains value
229
+ # @option opts [String] :name__iexact Filter results where name matches value
227
230
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
231
+ # @option opts [String] :name__iregex Filter results where name matches regex value
232
+ # @option opts [String] :name__istartswith Filter results where name starts with value
233
+ # @option opts [String] :name__regex Filter results where name matches regex value
228
234
  # @option opts [String] :name__startswith Filter results where name starts with value
229
235
  # @option opts [String] :namespace__name
230
236
  # @option opts [Integer] :offset The initial index from which to return the results.
@@ -232,6 +238,7 @@ module PulpContainerClient
232
238
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
233
239
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
234
240
  # @option opts [String] :pulp_label_select Filter labels by search string
241
+ # @option opts [String] :q
235
242
  # @option opts [String] :repository Filter results where repository matches value
236
243
  # @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
237
244
  # @option opts [String] :with_content Filter distributions based on the content served by them
@@ -254,7 +261,11 @@ module PulpContainerClient
254
261
  # @option opts [String] :name Filter results where name matches value
255
262
  # @option opts [String] :name__contains Filter results where name contains value
256
263
  # @option opts [String] :name__icontains Filter results where name contains value
264
+ # @option opts [String] :name__iexact Filter results where name matches value
257
265
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
266
+ # @option opts [String] :name__iregex Filter results where name matches regex value
267
+ # @option opts [String] :name__istartswith Filter results where name starts with value
268
+ # @option opts [String] :name__regex Filter results where name matches regex value
258
269
  # @option opts [String] :name__startswith Filter results where name starts with value
259
270
  # @option opts [String] :namespace__name
260
271
  # @option opts [Integer] :offset The initial index from which to return the results.
@@ -262,6 +273,7 @@ module PulpContainerClient
262
273
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
263
274
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
264
275
  # @option opts [String] :pulp_label_select Filter labels by search string
276
+ # @option opts [String] :q
265
277
  # @option opts [String] :repository Filter results where repository matches value
266
278
  # @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
267
279
  # @option opts [String] :with_content Filter distributions based on the content served by them
@@ -289,7 +301,11 @@ module PulpContainerClient
289
301
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
290
302
  query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
291
303
  query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
304
+ query_params[:'name__iexact'] = opts[:'name__iexact'] if !opts[:'name__iexact'].nil?
292
305
  query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
306
+ query_params[:'name__iregex'] = opts[:'name__iregex'] if !opts[:'name__iregex'].nil?
307
+ query_params[:'name__istartswith'] = opts[:'name__istartswith'] if !opts[:'name__istartswith'].nil?
308
+ query_params[:'name__regex'] = opts[:'name__regex'] if !opts[:'name__regex'].nil?
293
309
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
294
310
  query_params[:'namespace__name'] = opts[:'namespace__name'] if !opts[:'namespace__name'].nil?
295
311
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
@@ -297,6 +313,7 @@ module PulpContainerClient
297
313
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
298
314
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
299
315
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
316
+ query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
300
317
  query_params[:'repository'] = opts[:'repository'] if !opts[:'repository'].nil?
301
318
  query_params[:'repository__in'] = @api_client.build_collection_param(opts[:'repository__in'], :csv) if !opts[:'repository__in'].nil?
302
319
  query_params[:'with_content'] = opts[:'with_content'] if !opts[:'with_content'].nil?
@@ -336,6 +353,7 @@ module PulpContainerClient
336
353
  return data, status_code, headers
337
354
  end
338
355
 
356
+ # List roles
339
357
  # List roles assigned to this object.
340
358
  # @param container_container_distribution_href [String]
341
359
  # @param [Hash] opts the optional parameters
@@ -347,6 +365,7 @@ module PulpContainerClient
347
365
  data
348
366
  end
349
367
 
368
+ # List roles
350
369
  # List roles assigned to this object.
351
370
  # @param container_container_distribution_href [String]
352
371
  # @param [Hash] opts the optional parameters
@@ -402,6 +421,7 @@ module PulpContainerClient
402
421
  return data, status_code, headers
403
422
  end
404
423
 
424
+ # List user permissions
405
425
  # List permissions available to the current user on this object.
406
426
  # @param container_container_distribution_href [String]
407
427
  # @param [Hash] opts the optional parameters
@@ -413,6 +433,7 @@ module PulpContainerClient
413
433
  data
414
434
  end
415
435
 
436
+ # List user permissions
416
437
  # List permissions available to the current user on this object.
417
438
  # @param container_container_distribution_href [String]
418
439
  # @param [Hash] opts the optional parameters
@@ -606,6 +627,7 @@ module PulpContainerClient
606
627
  return data, status_code, headers
607
628
  end
608
629
 
630
+ # Remove a role
609
631
  # Remove a role for this object from users/groups.
610
632
  # @param container_container_distribution_href [String]
611
633
  # @param nested_role [NestedRole]
@@ -616,6 +638,7 @@ module PulpContainerClient
616
638
  data
617
639
  end
618
640
 
641
+ # Remove a role
619
642
  # Remove a role for this object from users/groups.
620
643
  # @param container_container_distribution_href [String]
621
644
  # @param nested_role [NestedRole]
@@ -674,6 +697,146 @@ module PulpContainerClient
674
697
  return data, status_code, headers
675
698
  end
676
699
 
700
+ # Set a label
701
+ # Set a single pulp_label on the object to a specific value or null.
702
+ # @param container_container_distribution_href [String]
703
+ # @param set_label [SetLabel]
704
+ # @param [Hash] opts the optional parameters
705
+ # @return [SetLabelResponse]
706
+ def set_label(container_container_distribution_href, set_label, opts = {})
707
+ data, _status_code, _headers = set_label_with_http_info(container_container_distribution_href, set_label, opts)
708
+ data
709
+ end
710
+
711
+ # Set a label
712
+ # Set a single pulp_label on the object to a specific value or null.
713
+ # @param container_container_distribution_href [String]
714
+ # @param set_label [SetLabel]
715
+ # @param [Hash] opts the optional parameters
716
+ # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
717
+ def set_label_with_http_info(container_container_distribution_href, set_label, opts = {})
718
+ if @api_client.config.debugging
719
+ @api_client.config.logger.debug 'Calling API: DistributionsContainerApi.set_label ...'
720
+ end
721
+ # verify the required parameter 'container_container_distribution_href' is set
722
+ if @api_client.config.client_side_validation && container_container_distribution_href.nil?
723
+ fail ArgumentError, "Missing the required parameter 'container_container_distribution_href' when calling DistributionsContainerApi.set_label"
724
+ end
725
+ # verify the required parameter 'set_label' is set
726
+ if @api_client.config.client_side_validation && set_label.nil?
727
+ fail ArgumentError, "Missing the required parameter 'set_label' when calling DistributionsContainerApi.set_label"
728
+ end
729
+ # resource path
730
+ local_var_path = '{container_container_distribution_href}set_label/'.sub('{' + 'container_container_distribution_href' + '}', CGI.escape(container_container_distribution_href.to_s).gsub('%2F', '/'))
731
+
732
+ # query parameters
733
+ query_params = opts[:query_params] || {}
734
+
735
+ # header parameters
736
+ header_params = opts[:header_params] || {}
737
+ # HTTP header 'Accept' (if needed)
738
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
739
+ # HTTP header 'Content-Type'
740
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
741
+
742
+ # form parameters
743
+ form_params = opts[:form_params] || {}
744
+
745
+ # http body (model)
746
+ post_body = opts[:body] || @api_client.object_to_http_body(set_label)
747
+
748
+ # return_type
749
+ return_type = opts[:return_type] || 'SetLabelResponse'
750
+
751
+ # auth_names
752
+ auth_names = opts[:auth_names] || ['basicAuth']
753
+
754
+ new_options = opts.merge(
755
+ :header_params => header_params,
756
+ :query_params => query_params,
757
+ :form_params => form_params,
758
+ :body => post_body,
759
+ :auth_names => auth_names,
760
+ :return_type => return_type
761
+ )
762
+
763
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
764
+ if @api_client.config.debugging
765
+ @api_client.config.logger.debug "API called: DistributionsContainerApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
766
+ end
767
+ return data, status_code, headers
768
+ end
769
+
770
+ # Unset a label
771
+ # Unset a single pulp_label on the object.
772
+ # @param container_container_distribution_href [String]
773
+ # @param unset_label [UnsetLabel]
774
+ # @param [Hash] opts the optional parameters
775
+ # @return [UnsetLabelResponse]
776
+ def unset_label(container_container_distribution_href, unset_label, opts = {})
777
+ data, _status_code, _headers = unset_label_with_http_info(container_container_distribution_href, unset_label, opts)
778
+ data
779
+ end
780
+
781
+ # Unset a label
782
+ # Unset a single pulp_label on the object.
783
+ # @param container_container_distribution_href [String]
784
+ # @param unset_label [UnsetLabel]
785
+ # @param [Hash] opts the optional parameters
786
+ # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
787
+ def unset_label_with_http_info(container_container_distribution_href, unset_label, opts = {})
788
+ if @api_client.config.debugging
789
+ @api_client.config.logger.debug 'Calling API: DistributionsContainerApi.unset_label ...'
790
+ end
791
+ # verify the required parameter 'container_container_distribution_href' is set
792
+ if @api_client.config.client_side_validation && container_container_distribution_href.nil?
793
+ fail ArgumentError, "Missing the required parameter 'container_container_distribution_href' when calling DistributionsContainerApi.unset_label"
794
+ end
795
+ # verify the required parameter 'unset_label' is set
796
+ if @api_client.config.client_side_validation && unset_label.nil?
797
+ fail ArgumentError, "Missing the required parameter 'unset_label' when calling DistributionsContainerApi.unset_label"
798
+ end
799
+ # resource path
800
+ local_var_path = '{container_container_distribution_href}unset_label/'.sub('{' + 'container_container_distribution_href' + '}', CGI.escape(container_container_distribution_href.to_s).gsub('%2F', '/'))
801
+
802
+ # query parameters
803
+ query_params = opts[:query_params] || {}
804
+
805
+ # header parameters
806
+ header_params = opts[:header_params] || {}
807
+ # HTTP header 'Accept' (if needed)
808
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
809
+ # HTTP header 'Content-Type'
810
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
811
+
812
+ # form parameters
813
+ form_params = opts[:form_params] || {}
814
+
815
+ # http body (model)
816
+ post_body = opts[:body] || @api_client.object_to_http_body(unset_label)
817
+
818
+ # return_type
819
+ return_type = opts[:return_type] || 'UnsetLabelResponse'
820
+
821
+ # auth_names
822
+ auth_names = opts[:auth_names] || ['basicAuth']
823
+
824
+ new_options = opts.merge(
825
+ :header_params => header_params,
826
+ :query_params => query_params,
827
+ :form_params => form_params,
828
+ :body => post_body,
829
+ :auth_names => auth_names,
830
+ :return_type => return_type
831
+ )
832
+
833
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
834
+ if @api_client.config.debugging
835
+ @api_client.config.logger.debug "API called: DistributionsContainerApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
836
+ end
837
+ return data, status_code, headers
838
+ end
839
+
677
840
  # Update a container distribution
678
841
  # Trigger an asynchronous update task
679
842
  # @param container_container_distribution_href [String]