pulp_container_client 2.15.6 → 2.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +27 -36
  3. data/docs/ContainerContainerDistribution.md +5 -5
  4. data/docs/ContainerContainerDistributionResponse.md +8 -8
  5. data/docs/ContainerContainerPushRepository.md +6 -6
  6. data/docs/ContainerContainerPushRepositoryResponse.md +12 -12
  7. data/docs/ContentBlobsApi.md +1 -3
  8. data/docs/ContentManifestsApi.md +1 -3
  9. data/docs/ContentSignaturesApi.md +1 -11
  10. data/docs/ContentTagsApi.md +1 -3
  11. data/docs/DistributionsContainerApi.md +10 -136
  12. data/docs/IndexDynamicApi.md +50 -0
  13. data/docs/IndexStaticApi.md +50 -0
  14. data/docs/PatchedcontainerContainerDistribution.md +5 -5
  15. data/docs/PatchedcontainerContainerPushRepository.md +6 -6
  16. data/docs/PulpContainerNamespacesApi.md +9 -23
  17. data/docs/RemotesContainerApi.md +9 -135
  18. data/docs/RepositoriesContainerApi.md +11 -137
  19. data/docs/RepositoriesContainerPushApi.md +10 -24
  20. data/docs/RepositoriesContainerPushVersionsApi.md +1 -3
  21. data/docs/RepositoriesContainerVersionsApi.md +1 -3
  22. data/docs/TokenApi.md +1 -1
  23. data/lib/pulp_container_client/api/content_blobs_api.rb +0 -3
  24. data/lib/pulp_container_client/api/content_manifests_api.rb +0 -3
  25. data/lib/pulp_container_client/api/content_signatures_api.rb +0 -15
  26. data/lib/pulp_container_client/api/content_tags_api.rb +0 -3
  27. data/lib/pulp_container_client/api/distributions_container_api.rb +0 -163
  28. data/lib/pulp_container_client/api/index_dynamic_api.rb +74 -0
  29. data/lib/pulp_container_client/api/index_static_api.rb +74 -0
  30. data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +0 -23
  31. data/lib/pulp_container_client/api/remotes_container_api.rb +0 -163
  32. data/lib/pulp_container_client/api/repositories_container_api.rb +2 -165
  33. data/lib/pulp_container_client/api/repositories_container_push_api.rb +0 -23
  34. data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +0 -3
  35. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +0 -3
  36. data/lib/pulp_container_client/configuration.rb +2 -2
  37. data/lib/pulp_container_client/models/container_container_distribution.rb +20 -20
  38. data/lib/pulp_container_client/models/container_container_distribution_response.rb +29 -29
  39. data/lib/pulp_container_client/models/container_container_push_repository.rb +26 -26
  40. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +49 -49
  41. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +20 -20
  42. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +26 -26
  43. data/lib/pulp_container_client/version.rb +1 -1
  44. data/lib/pulp_container_client.rb +2 -4
  45. data/spec/api/content_blobs_api_spec.rb +0 -1
  46. data/spec/api/content_manifests_api_spec.rb +0 -1
  47. data/spec/api/content_signatures_api_spec.rb +0 -5
  48. data/spec/api/content_tags_api_spec.rb +0 -1
  49. data/spec/api/distributions_container_api_spec.rb +0 -35
  50. data/spec/{models/set_label_spec.rb → api/index_dynamic_api_spec.rb} +11 -13
  51. data/spec/{models/unset_label_spec.rb → api/index_static_api_spec.rb} +12 -8
  52. data/spec/api/pulp_container_namespaces_api_spec.rb +0 -9
  53. data/spec/api/remotes_container_api_spec.rb +0 -35
  54. data/spec/api/repositories_container_api_spec.rb +1 -36
  55. data/spec/api/repositories_container_push_api_spec.rb +0 -9
  56. data/spec/api/repositories_container_push_versions_api_spec.rb +0 -1
  57. data/spec/api/repositories_container_versions_api_spec.rb +0 -1
  58. data/spec/configuration_spec.rb +3 -3
  59. data/spec/models/container_container_distribution_response_spec.rb +4 -4
  60. data/spec/models/container_container_distribution_spec.rb +4 -4
  61. data/spec/models/container_container_push_repository_response_spec.rb +9 -9
  62. data/spec/models/container_container_push_repository_spec.rb +5 -5
  63. data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
  64. data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
  65. metadata +57 -65
  66. data/docs/SetLabel.md +0 -19
  67. data/docs/SetLabelResponse.md +0 -19
  68. data/docs/UnsetLabel.md +0 -17
  69. data/docs/UnsetLabelResponse.md +0 -19
  70. data/lib/pulp_container_client/models/set_label.rb +0 -252
  71. data/lib/pulp_container_client/models/set_label_response.rb +0 -243
  72. data/lib/pulp_container_client/models/unset_label.rb +0 -242
  73. data/lib/pulp_container_client/models/unset_label_response.rb +0 -242
  74. data/spec/models/set_label_response_spec.rb +0 -47
  75. data/spec/models/unset_label_response_spec.rb +0 -47
@@ -1,6 +1,6 @@
1
1
  # PulpContainerClient::RepositoriesContainerPushVersionsApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -105,7 +105,6 @@ 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 |
109
108
  fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
110
109
  exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
111
110
  }
@@ -143,7 +142,6 @@ Name | Type | Description | Notes
143
142
  **pulp_created__lte** | **DateTime**| Filter results where pulp_created is less than or equal to value | [optional]
144
143
  **pulp_created__range** | [**Array&lt;DateTime&gt;**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
145
144
  **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
146
- **q** | **String**| | [optional]
147
145
  **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
148
146
  **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
149
147
 
@@ -1,6 +1,6 @@
1
1
  # PulpContainerClient::RepositoriesContainerVersionsApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -105,7 +105,6 @@ 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 |
109
108
  fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
110
109
  exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
111
110
  }
@@ -143,7 +142,6 @@ Name | Type | Description | Notes
143
142
  **pulp_created__lte** | **DateTime**| Filter results where pulp_created is less than or equal to value | [optional]
144
143
  **pulp_created__range** | [**Array&lt;DateTime&gt;**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
145
144
  **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
146
- **q** | **String**| | [optional]
147
145
  **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
148
146
  **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
149
147
 
data/docs/TokenApi.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # PulpContainerClient::TokenApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -29,7 +29,6 @@ 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
33
32
  # @option opts [String] :repository_version Repository Version referenced by HREF
34
33
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
35
34
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -51,7 +50,6 @@ module PulpContainerClient
51
50
  # @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)
52
51
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
53
52
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
54
- # @option opts [String] :q
55
53
  # @option opts [String] :repository_version Repository Version referenced by HREF
56
54
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
57
55
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -78,7 +76,6 @@ module PulpContainerClient
78
76
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
79
77
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
80
78
  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?
82
79
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
83
80
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
84
81
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
@@ -30,7 +30,6 @@ 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
34
33
  # @option opts [String] :repository_version Repository Version referenced by HREF
35
34
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
36
35
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -53,7 +52,6 @@ module PulpContainerClient
53
52
  # @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)
54
53
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
55
54
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
56
- # @option opts [String] :q
57
55
  # @option opts [String] :repository_version Repository Version referenced by HREF
58
56
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
59
57
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -85,7 +83,6 @@ module PulpContainerClient
85
83
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
86
84
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
87
85
  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?
89
86
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
90
87
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
91
88
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
@@ -31,17 +31,12 @@ 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
35
34
  # @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
39
35
  # @option opts [String] :name__startswith Filter results where name starts with value
40
36
  # @option opts [Integer] :offset The initial index from which to return the results.
41
37
  # @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)
42
38
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
43
39
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
44
- # @option opts [String] :q
45
40
  # @option opts [String] :repository_version Repository Version referenced by HREF
46
41
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
47
42
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -65,17 +60,12 @@ module PulpContainerClient
65
60
  # @option opts [String] :name Filter results where name matches value
66
61
  # @option opts [String] :name__contains Filter results where name contains value
67
62
  # @option opts [String] :name__icontains Filter results where name contains value
68
- # @option opts [String] :name__iexact Filter results where name matches value
69
63
  # @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
73
64
  # @option opts [String] :name__startswith Filter results where name starts with value
74
65
  # @option opts [Integer] :offset The initial index from which to return the results.
75
66
  # @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)
76
67
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
77
68
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
78
- # @option opts [String] :q
79
69
  # @option opts [String] :repository_version Repository Version referenced by HREF
80
70
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
81
71
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -104,17 +94,12 @@ module PulpContainerClient
104
94
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
105
95
  query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
106
96
  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?
108
97
  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?
112
98
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
113
99
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
114
100
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
115
101
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
116
102
  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?
118
103
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
119
104
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
120
105
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
@@ -31,7 +31,6 @@ 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
35
34
  # @option opts [String] :repository_version Repository Version referenced by HREF
36
35
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
37
36
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -55,7 +54,6 @@ module PulpContainerClient
55
54
  # @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)
56
55
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
57
56
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
58
- # @option opts [String] :q
59
57
  # @option opts [String] :repository_version Repository Version referenced by HREF
60
58
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
61
59
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -88,7 +86,6 @@ module PulpContainerClient
88
86
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
89
87
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
90
88
  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?
92
89
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
93
90
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
94
91
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
@@ -19,7 +19,6 @@ module PulpContainerClient
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
- # Add a role
23
22
  # Add a role for this object to users/groups.
24
23
  # @param container_container_distribution_href [String]
25
24
  # @param nested_role [NestedRole]
@@ -30,7 +29,6 @@ module PulpContainerClient
30
29
  data
31
30
  end
32
31
 
33
- # Add a role
34
32
  # Add a role for this object to users/groups.
35
33
  # @param container_container_distribution_href [String]
36
34
  # @param nested_role [NestedRole]
@@ -226,11 +224,7 @@ module PulpContainerClient
226
224
  # @option opts [String] :name Filter results where name matches value
227
225
  # @option opts [String] :name__contains Filter results where name contains value
228
226
  # @option opts [String] :name__icontains Filter results where name contains value
229
- # @option opts [String] :name__iexact Filter results where name matches value
230
227
  # @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
234
228
  # @option opts [String] :name__startswith Filter results where name starts with value
235
229
  # @option opts [String] :namespace__name
236
230
  # @option opts [Integer] :offset The initial index from which to return the results.
@@ -238,7 +232,6 @@ module PulpContainerClient
238
232
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
239
233
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
240
234
  # @option opts [String] :pulp_label_select Filter labels by search string
241
- # @option opts [String] :q
242
235
  # @option opts [String] :repository Filter results where repository matches value
243
236
  # @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
244
237
  # @option opts [String] :with_content Filter distributions based on the content served by them
@@ -261,11 +254,7 @@ module PulpContainerClient
261
254
  # @option opts [String] :name Filter results where name matches value
262
255
  # @option opts [String] :name__contains Filter results where name contains value
263
256
  # @option opts [String] :name__icontains Filter results where name contains value
264
- # @option opts [String] :name__iexact Filter results where name matches value
265
257
  # @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
269
258
  # @option opts [String] :name__startswith Filter results where name starts with value
270
259
  # @option opts [String] :namespace__name
271
260
  # @option opts [Integer] :offset The initial index from which to return the results.
@@ -273,7 +262,6 @@ module PulpContainerClient
273
262
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
274
263
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
275
264
  # @option opts [String] :pulp_label_select Filter labels by search string
276
- # @option opts [String] :q
277
265
  # @option opts [String] :repository Filter results where repository matches value
278
266
  # @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
279
267
  # @option opts [String] :with_content Filter distributions based on the content served by them
@@ -301,11 +289,7 @@ module PulpContainerClient
301
289
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
302
290
  query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
303
291
  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?
305
292
  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?
309
293
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
310
294
  query_params[:'namespace__name'] = opts[:'namespace__name'] if !opts[:'namespace__name'].nil?
311
295
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
@@ -313,7 +297,6 @@ module PulpContainerClient
313
297
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
314
298
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
315
299
  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?
317
300
  query_params[:'repository'] = opts[:'repository'] if !opts[:'repository'].nil?
318
301
  query_params[:'repository__in'] = @api_client.build_collection_param(opts[:'repository__in'], :csv) if !opts[:'repository__in'].nil?
319
302
  query_params[:'with_content'] = opts[:'with_content'] if !opts[:'with_content'].nil?
@@ -353,7 +336,6 @@ module PulpContainerClient
353
336
  return data, status_code, headers
354
337
  end
355
338
 
356
- # List roles
357
339
  # List roles assigned to this object.
358
340
  # @param container_container_distribution_href [String]
359
341
  # @param [Hash] opts the optional parameters
@@ -365,7 +347,6 @@ module PulpContainerClient
365
347
  data
366
348
  end
367
349
 
368
- # List roles
369
350
  # List roles assigned to this object.
370
351
  # @param container_container_distribution_href [String]
371
352
  # @param [Hash] opts the optional parameters
@@ -421,7 +402,6 @@ module PulpContainerClient
421
402
  return data, status_code, headers
422
403
  end
423
404
 
424
- # List user permissions
425
405
  # List permissions available to the current user on this object.
426
406
  # @param container_container_distribution_href [String]
427
407
  # @param [Hash] opts the optional parameters
@@ -433,7 +413,6 @@ module PulpContainerClient
433
413
  data
434
414
  end
435
415
 
436
- # List user permissions
437
416
  # List permissions available to the current user on this object.
438
417
  # @param container_container_distribution_href [String]
439
418
  # @param [Hash] opts the optional parameters
@@ -627,7 +606,6 @@ module PulpContainerClient
627
606
  return data, status_code, headers
628
607
  end
629
608
 
630
- # Remove a role
631
609
  # Remove a role for this object from users/groups.
632
610
  # @param container_container_distribution_href [String]
633
611
  # @param nested_role [NestedRole]
@@ -638,7 +616,6 @@ module PulpContainerClient
638
616
  data
639
617
  end
640
618
 
641
- # Remove a role
642
619
  # Remove a role for this object from users/groups.
643
620
  # @param container_container_distribution_href [String]
644
621
  # @param nested_role [NestedRole]
@@ -697,146 +674,6 @@ module PulpContainerClient
697
674
  return data, status_code, headers
698
675
  end
699
676
 
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
-
840
677
  # Update a container distribution
841
678
  # Trigger an asynchronous update task
842
679
  # @param container_container_distribution_href [String]
@@ -0,0 +1,74 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'cgi'
14
+
15
+ module PulpContainerClient
16
+ class IndexDynamicApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # Handles requests to the /index/dynamic endpoint
23
+ # @param [Hash] opts the optional parameters
24
+ # @return [nil]
25
+ def get(opts = {})
26
+ get_with_http_info(opts)
27
+ nil
28
+ end
29
+
30
+ # Handles requests to the /index/dynamic endpoint
31
+ # @param [Hash] opts the optional parameters
32
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
33
+ def get_with_http_info(opts = {})
34
+ if @api_client.config.debugging
35
+ @api_client.config.logger.debug 'Calling API: IndexDynamicApi.get ...'
36
+ end
37
+ # resource path
38
+ local_var_path = '/index/dynamic'
39
+
40
+ # query parameters
41
+ query_params = opts[:query_params] || {}
42
+
43
+ # header parameters
44
+ header_params = opts[:header_params] || {}
45
+
46
+ # form parameters
47
+ form_params = opts[:form_params] || {}
48
+
49
+ # http body (model)
50
+ post_body = opts[:body]
51
+
52
+ # return_type
53
+ return_type = opts[:return_type]
54
+
55
+ # auth_names
56
+ auth_names = opts[:auth_names] || []
57
+
58
+ new_options = opts.merge(
59
+ :header_params => header_params,
60
+ :query_params => query_params,
61
+ :form_params => form_params,
62
+ :body => post_body,
63
+ :auth_names => auth_names,
64
+ :return_type => return_type
65
+ )
66
+
67
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
68
+ if @api_client.config.debugging
69
+ @api_client.config.logger.debug "API called: IndexDynamicApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
70
+ end
71
+ return data, status_code, headers
72
+ end
73
+ end
74
+ end
@@ -0,0 +1,74 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'cgi'
14
+
15
+ module PulpContainerClient
16
+ class IndexStaticApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # Handles requests to the /index/static endpoint
23
+ # @param [Hash] opts the optional parameters
24
+ # @return [nil]
25
+ def get(opts = {})
26
+ get_with_http_info(opts)
27
+ nil
28
+ end
29
+
30
+ # Handles requests to the /index/static endpoint
31
+ # @param [Hash] opts the optional parameters
32
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
33
+ def get_with_http_info(opts = {})
34
+ if @api_client.config.debugging
35
+ @api_client.config.logger.debug 'Calling API: IndexStaticApi.get ...'
36
+ end
37
+ # resource path
38
+ local_var_path = '/index/static'
39
+
40
+ # query parameters
41
+ query_params = opts[:query_params] || {}
42
+
43
+ # header parameters
44
+ header_params = opts[:header_params] || {}
45
+
46
+ # form parameters
47
+ form_params = opts[:form_params] || {}
48
+
49
+ # http body (model)
50
+ post_body = opts[:body]
51
+
52
+ # return_type
53
+ return_type = opts[:return_type]
54
+
55
+ # auth_names
56
+ auth_names = opts[:auth_names] || []
57
+
58
+ new_options = opts.merge(
59
+ :header_params => header_params,
60
+ :query_params => query_params,
61
+ :form_params => form_params,
62
+ :body => post_body,
63
+ :auth_names => auth_names,
64
+ :return_type => return_type
65
+ )
66
+
67
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
68
+ if @api_client.config.debugging
69
+ @api_client.config.logger.debug "API called: IndexStaticApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
70
+ end
71
+ return data, status_code, headers
72
+ end
73
+ end
74
+ end