pulp_deb_client 2.18.0 → 2.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -5
- data/docs/ContentGenericContentsApi.md +5 -3
- data/docs/ContentInstallerFileIndicesApi.md +2 -2
- data/docs/ContentInstallerPackagesApi.md +5 -3
- data/docs/ContentPackageIndicesApi.md +2 -2
- data/docs/ContentPackageReleaseComponentsApi.md +2 -2
- data/docs/ContentPackagesApi.md +5 -3
- data/docs/ContentReleaseArchitecturesApi.md +2 -2
- data/docs/ContentReleaseComponentsApi.md +2 -2
- data/docs/ContentReleaseFilesApi.md +2 -2
- data/docs/ContentReleasesApi.md +2 -2
- data/docs/DebAptRemote.md +2 -2
- data/docs/DebBasePackage.md +3 -1
- data/docs/DebGenericContent.md +3 -1
- data/docs/DistributionsAptApi.md +2 -2
- data/docs/PatcheddebAptRemote.md +2 -2
- data/docs/PublicationsAptApi.md +4 -2
- data/docs/PublicationsVerbatimApi.md +4 -2
- data/docs/RemotesAptApi.md +2 -2
- data/docs/RepositoriesAptApi.md +2 -2
- data/docs/RepositoriesAptVersionsApi.md +2 -2
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +10 -3
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +7 -3
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +10 -3
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +7 -3
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +7 -3
- data/lib/pulp_deb_client/api/content_packages_api.rb +10 -3
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +7 -3
- data/lib/pulp_deb_client/api/content_release_components_api.rb +7 -3
- data/lib/pulp_deb_client/api/content_release_files_api.rb +7 -3
- data/lib/pulp_deb_client/api/content_releases_api.rb +7 -3
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +7 -3
- data/lib/pulp_deb_client/api/publications_apt_api.rb +10 -3
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +10 -3
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +7 -3
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +7 -3
- data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +7 -3
- data/lib/pulp_deb_client/models/deb_apt_remote.rb +2 -2
- data/lib/pulp_deb_client/models/deb_base_package.rb +14 -4
- data/lib/pulp_deb_client/models/deb_generic_content.rb +14 -4
- data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +2 -2
- data/lib/pulp_deb_client/version.rb +1 -1
- data/spec/api/content_generic_contents_api_spec.rb +2 -1
- data/spec/api/content_installer_file_indices_api_spec.rb +1 -1
- data/spec/api/content_installer_packages_api_spec.rb +2 -1
- data/spec/api/content_package_indices_api_spec.rb +1 -1
- data/spec/api/content_package_release_components_api_spec.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +2 -1
- data/spec/api/content_release_architectures_api_spec.rb +1 -1
- data/spec/api/content_release_components_api_spec.rb +1 -1
- data/spec/api/content_release_files_api_spec.rb +1 -1
- data/spec/api/content_releases_api_spec.rb +1 -1
- data/spec/api/distributions_apt_api_spec.rb +1 -1
- data/spec/api/publications_apt_api_spec.rb +2 -1
- data/spec/api/publications_verbatim_api_spec.rb +2 -1
- data/spec/api/remotes_apt_api_spec.rb +1 -1
- data/spec/api/repositories_apt_api_spec.rb +1 -1
- data/spec/api/repositories_apt_versions_api_spec.rb +1 -1
- data/spec/models/deb_base_package_spec.rb +6 -0
- data/spec/models/deb_generic_content_spec.rb +6 -0
- metadata +52 -52
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab6fcc89676915f9d0930a2dacc41cfecac112343d0f1402e109880642bdda9c
|
4
|
+
data.tar.gz: f8af6b34ecb8a72924306cacc86a9b068ed201ec4423068724471b477af2c4c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5adbf7be44da744764294ea6128debcb9698af15f61e7c83b6b6bfe77241469bcda2b8b3fafc1433cbced7e6c57fcb2923cc69c351b06edcd0edd2a172a234dd
|
7
|
+
data.tar.gz: c703be39d393e35e97a35f666e0d1f9f3d40bf6ecd51a75c4f91a14774f6ac2aa8d75badcb3f7ffb847bfe8f2af17b8165466c11d2b9f5cddcbe54d7111034a3
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: v3
|
10
|
-
- Package version: 2.
|
10
|
+
- Package version: 2.19.0
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build pulp_deb_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_deb_client-2.
|
27
|
+
gem install ./pulp_deb_client-2.19.0.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_deb_client-2.
|
30
|
+
(for development, run `gem install --dev ./pulp_deb_client-2.19.0.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'pulp_deb_client', '~> 2.
|
36
|
+
gem 'pulp_deb_client', '~> 2.19.0'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -69,7 +69,8 @@ relative_path = 'relative_path_example' # String | Path where the artifact is lo
|
|
69
69
|
opts = {
|
70
70
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
71
71
|
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
|
72
|
-
repository: 'repository_example' # String | A URI of a repository the new content unit should be associated with.
|
72
|
+
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
73
|
+
upload: 'upload_example' # String | An uncommitted upload that may be turned into the artifact of the content unit.
|
73
74
|
}
|
74
75
|
|
75
76
|
begin
|
@@ -35,7 +35,8 @@ relative_path = 'relative_path_example' # String | Path where the artifact is lo
|
|
35
35
|
opts = {
|
36
36
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
37
37
|
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
|
38
|
-
repository: 'repository_example' # String | A URI of a repository the new content unit should be associated with.
|
38
|
+
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
39
|
+
upload: 'upload_example' # String | An uncommitted upload that may be turned into the artifact of the content unit.
|
39
40
|
}
|
40
41
|
|
41
42
|
begin
|
@@ -56,6 +57,7 @@ Name | Type | Description | Notes
|
|
56
57
|
**artifact** | **String**| Artifact file representing the physical content | [optional]
|
57
58
|
**file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
58
59
|
**repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
|
60
|
+
**upload** | **String**| An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
|
59
61
|
|
60
62
|
### Return type
|
61
63
|
|
@@ -95,7 +97,7 @@ api_instance = PulpDebClient::ContentGenericContentsApi.new
|
|
95
97
|
opts = {
|
96
98
|
limit: 56, # Integer | Number of results to return per page.
|
97
99
|
offset: 56, # Integer | The initial index from which to return the results.
|
98
|
-
ordering: 'ordering_example', # String |
|
100
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
99
101
|
relative_path: 'relative_path_example', # String | Filter results where relative_path matches value
|
100
102
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
101
103
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
@@ -121,7 +123,7 @@ Name | Type | Description | Notes
|
|
121
123
|
------------- | ------------- | ------------- | -------------
|
122
124
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
123
125
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
124
|
-
**ordering** | **String
|
126
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
125
127
|
**relative_path** | **String**| Filter results where relative_path matches value | [optional]
|
126
128
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
127
129
|
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
@@ -89,7 +89,7 @@ opts = {
|
|
89
89
|
component: 'component_example', # String | Filter results where component matches value
|
90
90
|
limit: 56, # Integer | Number of results to return per page.
|
91
91
|
offset: 56, # Integer | The initial index from which to return the results.
|
92
|
-
ordering: 'ordering_example', # String |
|
92
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
93
93
|
relative_path: 'relative_path_example', # String | Filter results where relative_path matches value
|
94
94
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
95
95
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
@@ -117,7 +117,7 @@ Name | Type | Description | Notes
|
|
117
117
|
**component** | **String**| Filter results where component matches value | [optional]
|
118
118
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
119
119
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
120
|
-
**ordering** | **String
|
120
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
121
121
|
**relative_path** | **String**| Filter results where relative_path matches value | [optional]
|
122
122
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
123
123
|
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
@@ -35,7 +35,8 @@ opts = {
|
|
35
35
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
36
36
|
relative_path: 'relative_path_example', # String | Path where the artifact is located relative to distributions base_path
|
37
37
|
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
|
38
|
-
repository: 'repository_example' # String | A URI of a repository the new content unit should be associated with.
|
38
|
+
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
39
|
+
upload: 'upload_example' # String | An uncommitted upload that may be turned into the artifact of the content unit.
|
39
40
|
}
|
40
41
|
|
41
42
|
begin
|
@@ -56,6 +57,7 @@ Name | Type | Description | Notes
|
|
56
57
|
**relative_path** | **String**| Path where the artifact is located relative to distributions base_path | [optional]
|
57
58
|
**file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
58
59
|
**repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
|
60
|
+
**upload** | **String**| An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
|
59
61
|
|
60
62
|
### Return type
|
61
63
|
|
@@ -103,7 +105,7 @@ opts = {
|
|
103
105
|
maintainer: 'maintainer_example', # String | Filter results where maintainer matches value
|
104
106
|
multi_arch: 'multi_arch_example', # String | Filter results where multi_arch matches value
|
105
107
|
offset: 56, # Integer | The initial index from which to return the results.
|
106
|
-
ordering: 'ordering_example', # String |
|
108
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
107
109
|
origin: 'origin_example', # String | Filter results where origin matches value
|
108
110
|
original_maintainer: 'original_maintainer_example', # String | Filter results where original_maintainer matches value
|
109
111
|
package: 'package_example', # String | Filter results where package matches value
|
@@ -144,7 +146,7 @@ Name | Type | Description | Notes
|
|
144
146
|
**maintainer** | **String**| Filter results where maintainer matches value | [optional]
|
145
147
|
**multi_arch** | **String**| Filter results where multi_arch matches value | [optional]
|
146
148
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
147
|
-
**ordering** | **String
|
149
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
148
150
|
**origin** | **String**| Filter results where origin matches value | [optional]
|
149
151
|
**original_maintainer** | **String**| Filter results where original_maintainer matches value | [optional]
|
150
152
|
**package** | **String**| Filter results where package matches value | [optional]
|
@@ -89,7 +89,7 @@ opts = {
|
|
89
89
|
component: 'component_example', # String | Filter results where component matches value
|
90
90
|
limit: 56, # Integer | Number of results to return per page.
|
91
91
|
offset: 56, # Integer | The initial index from which to return the results.
|
92
|
-
ordering: 'ordering_example', # String |
|
92
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
93
93
|
relative_path: 'relative_path_example', # String | Filter results where relative_path matches value
|
94
94
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
95
95
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
@@ -117,7 +117,7 @@ Name | Type | Description | Notes
|
|
117
117
|
**component** | **String**| Filter results where component matches value | [optional]
|
118
118
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
119
119
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
120
|
-
**ordering** | **String
|
120
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
121
121
|
**relative_path** | **String**| Filter results where relative_path matches value | [optional]
|
122
122
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
123
123
|
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
@@ -87,7 +87,7 @@ api_instance = PulpDebClient::ContentPackageReleaseComponentsApi.new
|
|
87
87
|
opts = {
|
88
88
|
limit: 56, # Integer | Number of results to return per page.
|
89
89
|
offset: 56, # Integer | The initial index from which to return the results.
|
90
|
-
ordering: 'ordering_example', # String |
|
90
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
91
91
|
package: 'package_example', # String | Filter results where package matches value
|
92
92
|
release_component: 'release_component_example', # String | Filter results where release_component matches value
|
93
93
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
@@ -113,7 +113,7 @@ Name | Type | Description | Notes
|
|
113
113
|
------------- | ------------- | ------------- | -------------
|
114
114
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
115
115
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
116
|
-
**ordering** | **String
|
116
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
117
117
|
**package** | [**String**](.md)| Filter results where package matches value | [optional]
|
118
118
|
**release_component** | [**String**](.md)| Filter results where release_component matches value | [optional]
|
119
119
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
data/docs/ContentPackagesApi.md
CHANGED
@@ -35,7 +35,8 @@ opts = {
|
|
35
35
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
36
36
|
relative_path: 'relative_path_example', # String | Path where the artifact is located relative to distributions base_path
|
37
37
|
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
|
38
|
-
repository: 'repository_example' # String | A URI of a repository the new content unit should be associated with.
|
38
|
+
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
39
|
+
upload: 'upload_example' # String | An uncommitted upload that may be turned into the artifact of the content unit.
|
39
40
|
}
|
40
41
|
|
41
42
|
begin
|
@@ -56,6 +57,7 @@ Name | Type | Description | Notes
|
|
56
57
|
**relative_path** | **String**| Path where the artifact is located relative to distributions base_path | [optional]
|
57
58
|
**file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
58
59
|
**repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
|
60
|
+
**upload** | **String**| An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
|
59
61
|
|
60
62
|
### Return type
|
61
63
|
|
@@ -103,7 +105,7 @@ opts = {
|
|
103
105
|
maintainer: 'maintainer_example', # String | Filter results where maintainer matches value
|
104
106
|
multi_arch: 'multi_arch_example', # String | Filter results where multi_arch matches value
|
105
107
|
offset: 56, # Integer | The initial index from which to return the results.
|
106
|
-
ordering: 'ordering_example', # String |
|
108
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
107
109
|
origin: 'origin_example', # String | Filter results where origin matches value
|
108
110
|
original_maintainer: 'original_maintainer_example', # String | Filter results where original_maintainer matches value
|
109
111
|
package: 'package_example', # String | Filter results where package matches value
|
@@ -145,7 +147,7 @@ Name | Type | Description | Notes
|
|
145
147
|
**maintainer** | **String**| Filter results where maintainer matches value | [optional]
|
146
148
|
**multi_arch** | **String**| Filter results where multi_arch matches value | [optional]
|
147
149
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
148
|
-
**ordering** | **String
|
150
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
149
151
|
**origin** | **String**| Filter results where origin matches value | [optional]
|
150
152
|
**original_maintainer** | **String**| Filter results where original_maintainer matches value | [optional]
|
151
153
|
**package** | **String**| Filter results where package matches value | [optional]
|
@@ -88,7 +88,7 @@ opts = {
|
|
88
88
|
architecture: 'architecture_example', # String | Filter results where architecture matches value
|
89
89
|
limit: 56, # Integer | Number of results to return per page.
|
90
90
|
offset: 56, # Integer | The initial index from which to return the results.
|
91
|
-
ordering: 'ordering_example', # String |
|
91
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
92
92
|
release: 'release_example', # String | Filter results where release matches value
|
93
93
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
94
94
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
@@ -114,7 +114,7 @@ Name | Type | Description | Notes
|
|
114
114
|
**architecture** | **String**| Filter results where architecture matches value | [optional]
|
115
115
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
116
116
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
117
|
-
**ordering** | **String
|
117
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
118
118
|
**release** | [**String**](.md)| Filter results where release matches value | [optional]
|
119
119
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
120
120
|
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
@@ -88,7 +88,7 @@ opts = {
|
|
88
88
|
component: 'component_example', # String | Filter results where component matches value
|
89
89
|
limit: 56, # Integer | Number of results to return per page.
|
90
90
|
offset: 56, # Integer | The initial index from which to return the results.
|
91
|
-
ordering: 'ordering_example', # String |
|
91
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
92
92
|
release: 'release_example', # String | Filter results where release matches value
|
93
93
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
94
94
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
@@ -114,7 +114,7 @@ Name | Type | Description | Notes
|
|
114
114
|
**component** | **String**| Filter results where component matches value | [optional]
|
115
115
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
116
116
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
117
|
-
**ordering** | **String
|
117
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
118
118
|
**release** | [**String**](.md)| Filter results where release matches value | [optional]
|
119
119
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
120
120
|
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
@@ -88,7 +88,7 @@ opts = {
|
|
88
88
|
codename: 'codename_example', # String | Filter results where codename matches value
|
89
89
|
limit: 56, # Integer | Number of results to return per page.
|
90
90
|
offset: 56, # Integer | The initial index from which to return the results.
|
91
|
-
ordering: 'ordering_example', # String |
|
91
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
92
92
|
relative_path: 'relative_path_example', # String | Filter results where relative_path matches value
|
93
93
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
94
94
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
@@ -116,7 +116,7 @@ Name | Type | Description | Notes
|
|
116
116
|
**codename** | **String**| Filter results where codename matches value | [optional]
|
117
117
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
118
118
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
119
|
-
**ordering** | **String
|
119
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
120
120
|
**relative_path** | **String**| Filter results where relative_path matches value | [optional]
|
121
121
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
122
122
|
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
data/docs/ContentReleasesApi.md
CHANGED
@@ -89,7 +89,7 @@ opts = {
|
|
89
89
|
distribution: 'distribution_example', # String | Filter results where distribution matches value
|
90
90
|
limit: 56, # Integer | Number of results to return per page.
|
91
91
|
offset: 56, # Integer | The initial index from which to return the results.
|
92
|
-
ordering: 'ordering_example', # String |
|
92
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
93
93
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
94
94
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
95
95
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
@@ -116,7 +116,7 @@ Name | Type | Description | Notes
|
|
116
116
|
**distribution** | **String**| Filter results where distribution matches value | [optional]
|
117
117
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
118
118
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
119
|
-
**ordering** | **String
|
119
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
120
120
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
121
121
|
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
122
122
|
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
data/docs/DebAptRemote.md
CHANGED
@@ -12,9 +12,9 @@ Name | Type | Description | Notes
|
|
12
12
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
13
13
|
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
14
14
|
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
15
|
-
**proxy_password** | **String** | The password to
|
15
|
+
**proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
16
16
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
17
|
-
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
17
|
+
**password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
18
18
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
19
19
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
20
20
|
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
data/docs/DebBasePackage.md
CHANGED
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
8
8
|
**relative_path** | **String** | Path where the artifact is located relative to distributions base_path | [optional]
|
9
9
|
**file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
10
10
|
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
11
|
+
**upload** | **String** | An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
|
11
12
|
|
12
13
|
## Code Sample
|
13
14
|
|
@@ -17,7 +18,8 @@ require 'PulpDebClient'
|
|
17
18
|
instance = PulpDebClient::DebBasePackage.new(artifact: null,
|
18
19
|
relative_path: null,
|
19
20
|
file: null,
|
20
|
-
repository: null
|
21
|
+
repository: null,
|
22
|
+
upload: null)
|
21
23
|
```
|
22
24
|
|
23
25
|
|
data/docs/DebGenericContent.md
CHANGED
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
8
8
|
**relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
|
9
9
|
**file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
10
10
|
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
11
|
+
**upload** | **String** | An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
|
11
12
|
|
12
13
|
## Code Sample
|
13
14
|
|
@@ -17,7 +18,8 @@ require 'PulpDebClient'
|
|
17
18
|
instance = PulpDebClient::DebGenericContent.new(artifact: null,
|
18
19
|
relative_path: null,
|
19
20
|
file: null,
|
20
|
-
repository: null
|
21
|
+
repository: null,
|
22
|
+
upload: null)
|
21
23
|
```
|
22
24
|
|
23
25
|
|
data/docs/DistributionsAptApi.md
CHANGED
@@ -152,7 +152,7 @@ opts = {
|
|
152
152
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
153
153
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
154
154
|
offset: 56, # Integer | The initial index from which to return the results.
|
155
|
-
ordering: 'ordering_example', # String |
|
155
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
156
156
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
157
157
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
158
158
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
@@ -183,7 +183,7 @@ Name | Type | Description | Notes
|
|
183
183
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
184
184
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
185
185
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
186
|
-
**ordering** | **String
|
186
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
187
187
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
188
188
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
189
189
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
data/docs/PatcheddebAptRemote.md
CHANGED
@@ -12,9 +12,9 @@ Name | Type | Description | Notes
|
|
12
12
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
13
13
|
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
14
14
|
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
15
|
-
**proxy_password** | **String** | The password to
|
15
|
+
**proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
16
16
|
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
17
|
-
**password** | **String** | The password to be used for authentication when syncing. | [optional]
|
17
|
+
**password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
18
18
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
19
19
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
20
20
|
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
data/docs/PublicationsAptApi.md
CHANGED
@@ -142,13 +142,14 @@ opts = {
|
|
142
142
|
content__in: 'content__in_example', # String | Content Unit referenced by HREF
|
143
143
|
limit: 56, # Integer | Number of results to return per page.
|
144
144
|
offset: 56, # Integer | The initial index from which to return the results.
|
145
|
-
ordering: 'ordering_example', # String |
|
145
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
146
146
|
pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
|
147
147
|
pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
|
148
148
|
pulp_created__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than or equal to value
|
149
149
|
pulp_created__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than value
|
150
150
|
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
|
151
151
|
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
|
152
|
+
repository: 'repository_example', # String | Repository referenced by HREF
|
152
153
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
153
154
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
154
155
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
@@ -172,13 +173,14 @@ Name | Type | Description | Notes
|
|
172
173
|
**content__in** | **String**| Content Unit referenced by HREF | [optional]
|
173
174
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
174
175
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
175
|
-
**ordering** | **String
|
176
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
176
177
|
**pulp_created** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
|
177
178
|
**pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
|
178
179
|
**pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
|
179
180
|
**pulp_created__lt** | **DateTime**| Filter results where pulp_created is less than value | [optional]
|
180
181
|
**pulp_created__lte** | **DateTime**| Filter results where pulp_created is less than or equal to value | [optional]
|
181
182
|
**pulp_created__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
|
183
|
+
**repository** | **String**| Repository referenced by HREF | [optional]
|
182
184
|
**repository_version** | [**String**](.md)| Repository Version referenced by HREF | [optional]
|
183
185
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
184
186
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
@@ -142,13 +142,14 @@ opts = {
|
|
142
142
|
content__in: 'content__in_example', # String | Content Unit referenced by HREF
|
143
143
|
limit: 56, # Integer | Number of results to return per page.
|
144
144
|
offset: 56, # Integer | The initial index from which to return the results.
|
145
|
-
ordering: 'ordering_example', # String |
|
145
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
146
146
|
pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
|
147
147
|
pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
|
148
148
|
pulp_created__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than or equal to value
|
149
149
|
pulp_created__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than value
|
150
150
|
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
|
151
151
|
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
|
152
|
+
repository: 'repository_example', # String | Repository referenced by HREF
|
152
153
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
153
154
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
154
155
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
@@ -172,13 +173,14 @@ Name | Type | Description | Notes
|
|
172
173
|
**content__in** | **String**| Content Unit referenced by HREF | [optional]
|
173
174
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
174
175
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
175
|
-
**ordering** | **String
|
176
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
176
177
|
**pulp_created** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
|
177
178
|
**pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
|
178
179
|
**pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
|
179
180
|
**pulp_created__lt** | **DateTime**| Filter results where pulp_created is less than value | [optional]
|
180
181
|
**pulp_created__lte** | **DateTime**| Filter results where pulp_created is less than or equal to value | [optional]
|
181
182
|
**pulp_created__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
|
183
|
+
**repository** | **String**| Repository referenced by HREF | [optional]
|
182
184
|
**repository_version** | [**String**](.md)| Repository Version referenced by HREF | [optional]
|
183
185
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
184
186
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
data/docs/RemotesAptApi.md
CHANGED
@@ -148,7 +148,7 @@ opts = {
|
|
148
148
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
149
149
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
150
150
|
offset: 56, # Integer | The initial index from which to return the results.
|
151
|
-
ordering: 'ordering_example', # String |
|
151
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
152
152
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
153
153
|
pulp_last_updated: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
|
154
154
|
pulp_last_updated__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is greater than value
|
@@ -181,7 +181,7 @@ Name | Type | Description | Notes
|
|
181
181
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
182
182
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
183
183
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
184
|
-
**ordering** | **String
|
184
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
185
185
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
186
186
|
**pulp_last_updated** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
|
187
187
|
**pulp_last_updated__gt** | **DateTime**| Filter results where pulp_last_updated is greater than value | [optional]
|
data/docs/RepositoriesAptApi.md
CHANGED
@@ -150,7 +150,7 @@ opts = {
|
|
150
150
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
151
151
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
152
152
|
offset: 56, # Integer | The initial index from which to return the results.
|
153
|
-
ordering: 'ordering_example', # String |
|
153
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
154
154
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
155
155
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
156
156
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
@@ -177,7 +177,7 @@ Name | Type | Description | Notes
|
|
177
177
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
178
178
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
179
179
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
180
|
-
**ordering** | **String
|
180
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
181
181
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
182
182
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
183
183
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
@@ -97,7 +97,7 @@ opts = {
|
|
97
97
|
number__lte: 56, # Integer | Filter results where number is less than or equal to value
|
98
98
|
number__range: [56], # Array<Integer> | Filter results where number is between two comma separated values
|
99
99
|
offset: 56, # Integer | The initial index from which to return the results.
|
100
|
-
ordering: 'ordering_example', # String |
|
100
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
101
101
|
pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | ISO 8601 formatted dates are supported
|
102
102
|
pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
|
103
103
|
pulp_created__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than or equal to value
|
@@ -133,7 +133,7 @@ Name | Type | Description | Notes
|
|
133
133
|
**number__lte** | **Integer**| Filter results where number is less than or equal to value | [optional]
|
134
134
|
**number__range** | [**Array<Integer>**](Integer.md)| Filter results where number is between two comma separated values | [optional]
|
135
135
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
136
|
-
**ordering** | **String
|
136
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
137
137
|
**pulp_created** | **DateTime**| ISO 8601 formatted dates are supported | [optional]
|
138
138
|
**pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
|
139
139
|
**pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
|
@@ -26,6 +26,7 @@ module PulpDebClient
|
|
26
26
|
# @option opts [String] :artifact Artifact file representing the physical content
|
27
27
|
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
28
28
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
29
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
29
30
|
# @return [AsyncOperationResponse]
|
30
31
|
def create(relative_path, opts = {})
|
31
32
|
data, _status_code, _headers = create_with_http_info(relative_path, opts)
|
@@ -39,6 +40,7 @@ module PulpDebClient
|
|
39
40
|
# @option opts [String] :artifact Artifact file representing the physical content
|
40
41
|
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
41
42
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
43
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
42
44
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
43
45
|
def create_with_http_info(relative_path, opts = {})
|
44
46
|
if @api_client.config.debugging
|
@@ -71,6 +73,7 @@ module PulpDebClient
|
|
71
73
|
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
72
74
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
73
75
|
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
76
|
+
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
74
77
|
|
75
78
|
# http body (model)
|
76
79
|
post_body = opts[:body]
|
@@ -102,7 +105,7 @@ module PulpDebClient
|
|
102
105
|
# @param [Hash] opts the optional parameters
|
103
106
|
# @option opts [Integer] :limit Number of results to return per page.
|
104
107
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
105
|
-
# @option opts [String] :ordering
|
108
|
+
# @option opts [Array<String>] :ordering Ordering
|
106
109
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
107
110
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
108
111
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
@@ -121,7 +124,7 @@ module PulpDebClient
|
|
121
124
|
# @param [Hash] opts the optional parameters
|
122
125
|
# @option opts [Integer] :limit Number of results to return per page.
|
123
126
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
124
|
-
# @option opts [String] :ordering
|
127
|
+
# @option opts [Array<String>] :ordering Ordering
|
125
128
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
126
129
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
127
130
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
@@ -134,6 +137,10 @@ module PulpDebClient
|
|
134
137
|
if @api_client.config.debugging
|
135
138
|
@api_client.config.logger.debug 'Calling API: ContentGenericContentsApi.list ...'
|
136
139
|
end
|
140
|
+
allowable_values = ["-_artifacts", "-content_ptr", "-contentartifact", "-group_roles", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-relative_path", "-repositories", "-sha256", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version_memberships", "_artifacts", "content_ptr", "contentartifact", "group_roles", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "relative_path", "repositories", "sha256", "timestamp_of_interest", "upstream_id", "user_roles", "version_memberships"]
|
141
|
+
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
142
|
+
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
143
|
+
end
|
137
144
|
# resource path
|
138
145
|
local_var_path = '/pulp/api/v3/content/deb/generic_contents/'
|
139
146
|
|
@@ -141,7 +148,7 @@ module PulpDebClient
|
|
141
148
|
query_params = opts[:query_params] || {}
|
142
149
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
143
150
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
144
|
-
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
151
|
+
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
145
152
|
query_params[:'relative_path'] = opts[:'relative_path'] if !opts[:'relative_path'].nil?
|
146
153
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
147
154
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
@@ -90,7 +90,7 @@ module PulpDebClient
|
|
90
90
|
# @option opts [String] :component Filter results where component matches value
|
91
91
|
# @option opts [Integer] :limit Number of results to return per page.
|
92
92
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
93
|
-
# @option opts [String] :ordering
|
93
|
+
# @option opts [Array<String>] :ordering Ordering
|
94
94
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
95
95
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
96
96
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
@@ -111,7 +111,7 @@ module PulpDebClient
|
|
111
111
|
# @option opts [String] :component Filter results where component matches value
|
112
112
|
# @option opts [Integer] :limit Number of results to return per page.
|
113
113
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
114
|
-
# @option opts [String] :ordering
|
114
|
+
# @option opts [Array<String>] :ordering Ordering
|
115
115
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
116
116
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
117
117
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
@@ -124,6 +124,10 @@ module PulpDebClient
|
|
124
124
|
if @api_client.config.debugging
|
125
125
|
@api_client.config.logger.debug 'Calling API: ContentInstallerFileIndicesApi.list ...'
|
126
126
|
end
|
127
|
+
allowable_values = ["-_artifacts", "-architecture", "-component", "-content_ptr", "-contentartifact", "-group_roles", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-relative_path", "-release", "-repositories", "-sha256", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version_memberships", "_artifacts", "architecture", "component", "content_ptr", "contentartifact", "group_roles", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "relative_path", "release", "repositories", "sha256", "timestamp_of_interest", "upstream_id", "user_roles", "version_memberships"]
|
128
|
+
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
129
|
+
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
130
|
+
end
|
127
131
|
# resource path
|
128
132
|
local_var_path = '/pulp/api/v3/content/deb/installer_file_indices/'
|
129
133
|
|
@@ -133,7 +137,7 @@ module PulpDebClient
|
|
133
137
|
query_params[:'component'] = opts[:'component'] if !opts[:'component'].nil?
|
134
138
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
135
139
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
136
|
-
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
140
|
+
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
137
141
|
query_params[:'relative_path'] = opts[:'relative_path'] if !opts[:'relative_path'].nil?
|
138
142
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
139
143
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|