pulp_deb_client 2.21.0 → 2.21.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/docs/ContentGenericContentsApi.md +2 -2
- data/docs/ContentInstallerPackagesApi.md +2 -2
- data/docs/ContentPackagesApi.md +2 -2
- data/docs/DebAptDistribution.md +2 -0
- data/docs/DebAptDistributionResponse.md +2 -0
- data/docs/DebGenericContent.md +3 -3
- data/docs/DebInstallerFileIndex.md +3 -1
- data/docs/DebInstallerPackage.md +3 -3
- data/docs/DebPackage.md +3 -3
- data/docs/DebPackageIndex.md +3 -1
- data/docs/DebPackageReleaseComponent.md +3 -1
- data/docs/DebRelease.md +3 -1
- data/docs/DebReleaseArchitecture.md +3 -1
- data/docs/DebReleaseComponent.md +3 -1
- data/docs/DebReleaseFile.md +3 -1
- data/docs/DistributionsAptApi.md +2 -2
- data/docs/PatcheddebAptDistribution.md +2 -0
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +3 -3
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +3 -3
- data/lib/pulp_deb_client/api/content_packages_api.rb +3 -3
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +3 -3
- data/lib/pulp_deb_client/models/deb_apt_distribution.rb +13 -1
- data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_generic_content.rb +11 -11
- data/lib/pulp_deb_client/models/deb_installer_file_index.rb +11 -1
- data/lib/pulp_deb_client/models/deb_installer_package.rb +11 -11
- data/lib/pulp_deb_client/models/deb_package.rb +11 -11
- data/lib/pulp_deb_client/models/deb_package_index.rb +11 -1
- data/lib/pulp_deb_client/models/deb_package_release_component.rb +11 -1
- data/lib/pulp_deb_client/models/deb_release.rb +11 -1
- data/lib/pulp_deb_client/models/deb_release_architecture.rb +11 -1
- data/lib/pulp_deb_client/models/deb_release_component.rb +11 -1
- data/lib/pulp_deb_client/models/deb_release_file.rb +11 -1
- data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +13 -1
- data/lib/pulp_deb_client/version.rb +1 -1
- data/spec/api/content_generic_contents_api_spec.rb +1 -1
- data/spec/api/content_installer_packages_api_spec.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +1 -1
- data/spec/api/distributions_apt_api_spec.rb +1 -1
- data/spec/models/deb_apt_distribution_response_spec.rb +6 -0
- data/spec/models/deb_apt_distribution_spec.rb +6 -0
- data/spec/models/deb_generic_content_spec.rb +4 -4
- data/spec/models/deb_installer_file_index_spec.rb +6 -0
- data/spec/models/deb_installer_package_spec.rb +4 -4
- data/spec/models/deb_package_index_spec.rb +6 -0
- data/spec/models/deb_package_release_component_spec.rb +6 -0
- data/spec/models/deb_package_spec.rb +4 -4
- data/spec/models/deb_release_architecture_spec.rb +6 -0
- data/spec/models/deb_release_component_spec.rb +6 -0
- data/spec/models/deb_release_file_spec.rb +6 -0
- data/spec/models/deb_release_spec.rb +6 -0
- data/spec/models/patcheddeb_apt_distribution_spec.rb +6 -0
- metadata +59 -59
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 145d0d77c5f2f281070db243b34b2df1c64b1d1379e27abb69f79e91fc2ea947
|
4
|
+
data.tar.gz: 35f917c11d78f24deecfbf806df41dc17802469efc68489271c27f93717f6cdb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7da5dae83d3d132716e569b3066ba89b951c197f980a81a723a9aaf4494c08452714489a5a6a5cccffff885e262f009edb66c568daa0dcc18510613066e8a29
|
7
|
+
data.tar.gz: d844e1b9351d343c5d8eaaaa8d9d0e86f1977c0af04604d952b45f99c8766b47bedfcee177ce381b7b7c20081547af5e79be0592bdb3104cfb16d127cd7094f4
|
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.21.
|
10
|
+
- Package version: 2.21.1
|
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.21.
|
27
|
+
gem install ./pulp_deb_client-2.21.1.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_deb_client-2.21.
|
30
|
+
(for development, run `gem install --dev ./pulp_deb_client-2.21.1.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.21.
|
36
|
+
gem 'pulp_deb_client', '~> 2.21.1'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -67,9 +67,9 @@ end
|
|
67
67
|
api_instance = PulpDebClient::ContentGenericContentsApi.new
|
68
68
|
relative_path = 'relative_path_example' # String | Path where the artifact is located relative to distributions base_path
|
69
69
|
opts = {
|
70
|
+
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
70
71
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
71
72
|
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.
|
73
73
|
upload: 'upload_example' # String | An uncommitted upload that may be turned into the artifact of the content unit.
|
74
74
|
}
|
75
75
|
|
@@ -33,9 +33,9 @@ end
|
|
33
33
|
api_instance = PulpDebClient::ContentGenericContentsApi.new
|
34
34
|
relative_path = 'relative_path_example' # String | Path where the artifact is located relative to distributions base_path
|
35
35
|
opts = {
|
36
|
+
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
36
37
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
37
38
|
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.
|
39
39
|
upload: 'upload_example' # String | An uncommitted upload that may be turned into the artifact of the content unit.
|
40
40
|
}
|
41
41
|
|
@@ -54,9 +54,9 @@ end
|
|
54
54
|
Name | Type | Description | Notes
|
55
55
|
------------- | ------------- | ------------- | -------------
|
56
56
|
**relative_path** | **String**| Path where the artifact is located relative to distributions base_path |
|
57
|
+
**repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
|
57
58
|
**artifact** | **String**| Artifact file representing the physical content | [optional]
|
58
59
|
**file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
59
|
-
**repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
|
60
60
|
**upload** | **String**| An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
|
61
61
|
|
62
62
|
### Return type
|
@@ -32,10 +32,10 @@ end
|
|
32
32
|
|
33
33
|
api_instance = PulpDebClient::ContentInstallerPackagesApi.new
|
34
34
|
opts = {
|
35
|
+
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
35
36
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
36
37
|
relative_path: 'relative_path_example', # String | Path where the artifact is located relative to distributions base_path
|
37
38
|
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.
|
39
39
|
upload: 'upload_example' # String | An uncommitted upload that may be turned into the artifact of the content unit.
|
40
40
|
}
|
41
41
|
|
@@ -53,10 +53,10 @@ end
|
|
53
53
|
|
54
54
|
Name | Type | Description | Notes
|
55
55
|
------------- | ------------- | ------------- | -------------
|
56
|
+
**repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
|
56
57
|
**artifact** | **String**| Artifact file representing the physical content | [optional]
|
57
58
|
**relative_path** | **String**| Path where the artifact is located relative to distributions base_path | [optional]
|
58
59
|
**file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
59
|
-
**repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
|
60
60
|
**upload** | **String**| An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
|
61
61
|
|
62
62
|
### Return type
|
data/docs/ContentPackagesApi.md
CHANGED
@@ -32,10 +32,10 @@ end
|
|
32
32
|
|
33
33
|
api_instance = PulpDebClient::ContentPackagesApi.new
|
34
34
|
opts = {
|
35
|
+
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
35
36
|
artifact: 'artifact_example', # String | Artifact file representing the physical content
|
36
37
|
relative_path: 'relative_path_example', # String | Path where the artifact is located relative to distributions base_path
|
37
38
|
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.
|
39
39
|
upload: 'upload_example', # String | An uncommitted upload that may be turned into the artifact of the content unit.
|
40
40
|
distribution: 'distribution_example', # String | Name of the distribution.
|
41
41
|
component: 'component_example' # String | Name of the component.
|
@@ -55,10 +55,10 @@ end
|
|
55
55
|
|
56
56
|
Name | Type | Description | Notes
|
57
57
|
------------- | ------------- | ------------- | -------------
|
58
|
+
**repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
|
58
59
|
**artifact** | **String**| Artifact file representing the physical content | [optional]
|
59
60
|
**relative_path** | **String**| Path where the artifact is located relative to distributions base_path | [optional]
|
60
61
|
**file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
61
|
-
**repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
|
62
62
|
**upload** | **String**| An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
|
63
63
|
**distribution** | **String**| Name of the distribution. | [optional]
|
64
64
|
**component** | **String**| Name of the component. | [optional]
|
data/docs/DebAptDistribution.md
CHANGED
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
8
8
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
9
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
9
10
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
10
11
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
11
12
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
@@ -18,6 +19,7 @@ require 'PulpDebClient'
|
|
18
19
|
|
19
20
|
instance = PulpDebClient::DebAptDistribution.new(base_path: null,
|
20
21
|
content_guard: null,
|
22
|
+
hidden: null,
|
21
23
|
pulp_labels: null,
|
22
24
|
name: null,
|
23
25
|
repository: null,
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
9
9
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
10
10
|
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
11
11
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
12
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
12
13
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
13
14
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
14
15
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
@@ -24,6 +25,7 @@ instance = PulpDebClient::DebAptDistributionResponse.new(pulp_href: null,
|
|
24
25
|
base_path: null,
|
25
26
|
base_url: null,
|
26
27
|
content_guard: null,
|
28
|
+
hidden: null,
|
27
29
|
pulp_labels: null,
|
28
30
|
name: null,
|
29
31
|
repository: null,
|
data/docs/DebGenericContent.md
CHANGED
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
7
8
|
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
8
9
|
**relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
|
9
10
|
**file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
10
|
-
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
11
11
|
**upload** | **String** | An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
|
12
12
|
|
13
13
|
## Code Sample
|
@@ -15,10 +15,10 @@ Name | Type | Description | Notes
|
|
15
15
|
```ruby
|
16
16
|
require 'PulpDebClient'
|
17
17
|
|
18
|
-
instance = PulpDebClient::DebGenericContent.new(
|
18
|
+
instance = PulpDebClient::DebGenericContent.new(repository: null,
|
19
|
+
artifact: null,
|
19
20
|
relative_path: null,
|
20
21
|
file: null,
|
21
|
-
repository: null,
|
22
22
|
upload: null)
|
23
23
|
```
|
24
24
|
|
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
7
8
|
**artifacts** | [**Object**](.md) | A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/' |
|
8
9
|
**component** | **String** | Component of the component - architecture combination. |
|
9
10
|
**architecture** | **String** | Architecture of the component - architecture combination. |
|
@@ -14,7 +15,8 @@ Name | Type | Description | Notes
|
|
14
15
|
```ruby
|
15
16
|
require 'PulpDebClient'
|
16
17
|
|
17
|
-
instance = PulpDebClient::DebInstallerFileIndex.new(
|
18
|
+
instance = PulpDebClient::DebInstallerFileIndex.new(repository: null,
|
19
|
+
artifacts: null,
|
18
20
|
component: null,
|
19
21
|
architecture: null,
|
20
22
|
relative_path: null)
|
data/docs/DebInstallerPackage.md
CHANGED
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
7
8
|
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
8
9
|
**relative_path** | **String** | Path where the artifact is located relative to distributions base_path | [optional]
|
9
10
|
**file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
10
|
-
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
11
11
|
**upload** | **String** | An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
|
12
12
|
|
13
13
|
## Code Sample
|
@@ -15,10 +15,10 @@ Name | Type | Description | Notes
|
|
15
15
|
```ruby
|
16
16
|
require 'PulpDebClient'
|
17
17
|
|
18
|
-
instance = PulpDebClient::DebInstallerPackage.new(
|
18
|
+
instance = PulpDebClient::DebInstallerPackage.new(repository: null,
|
19
|
+
artifact: null,
|
19
20
|
relative_path: null,
|
20
21
|
file: null,
|
21
|
-
repository: null,
|
22
22
|
upload: null)
|
23
23
|
```
|
24
24
|
|
data/docs/DebPackage.md
CHANGED
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
7
8
|
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
8
9
|
**relative_path** | **String** | Path where the artifact is located relative to distributions base_path | [optional]
|
9
10
|
**file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
|
10
|
-
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
11
11
|
**upload** | **String** | An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
|
12
12
|
**distribution** | **String** | Name of the distribution. | [optional]
|
13
13
|
**component** | **String** | Name of the component. | [optional]
|
@@ -17,10 +17,10 @@ Name | Type | Description | Notes
|
|
17
17
|
```ruby
|
18
18
|
require 'PulpDebClient'
|
19
19
|
|
20
|
-
instance = PulpDebClient::DebPackage.new(
|
20
|
+
instance = PulpDebClient::DebPackage.new(repository: null,
|
21
|
+
artifact: null,
|
21
22
|
relative_path: null,
|
22
23
|
file: null,
|
23
|
-
repository: null,
|
24
24
|
upload: null,
|
25
25
|
distribution: null,
|
26
26
|
component: null)
|
data/docs/DebPackageIndex.md
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
7
8
|
**artifacts** | [**Object**](.md) | A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/' |
|
8
9
|
**component** | **String** | Component of the component - architecture combination. | [optional]
|
9
10
|
**architecture** | **String** | Architecture of the component - architecture combination. | [optional]
|
@@ -14,7 +15,8 @@ Name | Type | Description | Notes
|
|
14
15
|
```ruby
|
15
16
|
require 'PulpDebClient'
|
16
17
|
|
17
|
-
instance = PulpDebClient::DebPackageIndex.new(
|
18
|
+
instance = PulpDebClient::DebPackageIndex.new(repository: null,
|
19
|
+
artifacts: null,
|
18
20
|
component: null,
|
19
21
|
architecture: null,
|
20
22
|
relative_path: null)
|
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
7
8
|
**package** | **String** | Package that is contained in release_comonent. |
|
8
9
|
**release_component** | **String** | ReleaseComponent this package is contained in. |
|
9
10
|
|
@@ -12,7 +13,8 @@ Name | Type | Description | Notes
|
|
12
13
|
```ruby
|
13
14
|
require 'PulpDebClient'
|
14
15
|
|
15
|
-
instance = PulpDebClient::DebPackageReleaseComponent.new(
|
16
|
+
instance = PulpDebClient::DebPackageReleaseComponent.new(repository: null,
|
17
|
+
package: null,
|
16
18
|
release_component: null)
|
17
19
|
```
|
18
20
|
|
data/docs/DebRelease.md
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
7
8
|
**codename** | **String** | |
|
8
9
|
**suite** | **String** | |
|
9
10
|
**distribution** | **String** | |
|
@@ -13,7 +14,8 @@ Name | Type | Description | Notes
|
|
13
14
|
```ruby
|
14
15
|
require 'PulpDebClient'
|
15
16
|
|
16
|
-
instance = PulpDebClient::DebRelease.new(
|
17
|
+
instance = PulpDebClient::DebRelease.new(repository: null,
|
18
|
+
codename: null,
|
17
19
|
suite: null,
|
18
20
|
distribution: null)
|
19
21
|
```
|
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
7
8
|
**architecture** | **String** | Name of the architecture. |
|
8
9
|
**distribution** | **String** | Name of the distribution. |
|
9
10
|
**codename** | **String** | |
|
@@ -14,7 +15,8 @@ Name | Type | Description | Notes
|
|
14
15
|
```ruby
|
15
16
|
require 'PulpDebClient'
|
16
17
|
|
17
|
-
instance = PulpDebClient::DebReleaseArchitecture.new(
|
18
|
+
instance = PulpDebClient::DebReleaseArchitecture.new(repository: null,
|
19
|
+
architecture: null,
|
18
20
|
distribution: null,
|
19
21
|
codename: null,
|
20
22
|
suite: null)
|
data/docs/DebReleaseComponent.md
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
7
8
|
**component** | **String** | Name of the component. |
|
8
9
|
**distribution** | **String** | Name of the distribution. |
|
9
10
|
**codename** | **String** | |
|
@@ -14,7 +15,8 @@ Name | Type | Description | Notes
|
|
14
15
|
```ruby
|
15
16
|
require 'PulpDebClient'
|
16
17
|
|
17
|
-
instance = PulpDebClient::DebReleaseComponent.new(
|
18
|
+
instance = PulpDebClient::DebReleaseComponent.new(repository: null,
|
19
|
+
component: null,
|
18
20
|
distribution: null,
|
19
21
|
codename: null,
|
20
22
|
suite: null)
|
data/docs/DebReleaseFile.md
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
7
8
|
**artifacts** | [**Object**](.md) | A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/' |
|
8
9
|
**codename** | **String** | Codename of the release, i.e. \"buster\". | [optional]
|
9
10
|
**suite** | **String** | Suite of the release, i.e. \"stable\". | [optional]
|
@@ -15,7 +16,8 @@ Name | Type | Description | Notes
|
|
15
16
|
```ruby
|
16
17
|
require 'PulpDebClient'
|
17
18
|
|
18
|
-
instance = PulpDebClient::DebReleaseFile.new(
|
19
|
+
instance = PulpDebClient::DebReleaseFile.new(repository: null,
|
20
|
+
artifacts: null,
|
19
21
|
codename: null,
|
20
22
|
suite: null,
|
21
23
|
distribution: null,
|
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'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
155
|
+
ordering: ['ordering_example'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
156
156
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
157
157
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
158
158
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
@@ -188,7 +188,7 @@ Name | Type | Description | Notes
|
|
188
188
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
189
189
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
190
190
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
191
|
-
**ordering** | [**Array<String>**](String.md)| Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
191
|
+
**ordering** | [**Array<String>**](String.md)| Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
192
192
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
193
193
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
194
194
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional]
|
8
8
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
9
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
9
10
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
10
11
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
11
12
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
@@ -18,6 +19,7 @@ require 'PulpDebClient'
|
|
18
19
|
|
19
20
|
instance = PulpDebClient::PatcheddebAptDistribution.new(base_path: null,
|
20
21
|
content_guard: null,
|
22
|
+
hidden: null,
|
21
23
|
pulp_labels: null,
|
22
24
|
name: null,
|
23
25
|
repository: null,
|
@@ -23,9 +23,9 @@ module PulpDebClient
|
|
23
23
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
24
24
|
# @param relative_path [String] Path where the artifact is located relative to distributions base_path
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
+
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
26
27
|
# @option opts [String] :artifact Artifact file representing the physical content
|
27
28
|
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
28
|
-
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
29
29
|
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
30
30
|
# @return [AsyncOperationResponse]
|
31
31
|
def create(relative_path, opts = {})
|
@@ -37,9 +37,9 @@ module PulpDebClient
|
|
37
37
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
38
38
|
# @param relative_path [String] Path where the artifact is located relative to distributions base_path
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
+
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
40
41
|
# @option opts [String] :artifact Artifact file representing the physical content
|
41
42
|
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
42
|
-
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
43
43
|
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
44
44
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
45
45
|
def create_with_http_info(relative_path, opts = {})
|
@@ -70,9 +70,9 @@ module PulpDebClient
|
|
70
70
|
# form parameters
|
71
71
|
form_params = opts[:form_params] || {}
|
72
72
|
form_params['relative_path'] = relative_path
|
73
|
+
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
73
74
|
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
74
75
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
75
|
-
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
76
76
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
77
77
|
|
78
78
|
# http body (model)
|
@@ -22,10 +22,10 @@ module PulpDebClient
|
|
22
22
|
# Create an installer package
|
23
23
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
+
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
25
26
|
# @option opts [String] :artifact Artifact file representing the physical content
|
26
27
|
# @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
|
27
28
|
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
28
|
-
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
29
29
|
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
30
30
|
# @return [AsyncOperationResponse]
|
31
31
|
def create(opts = {})
|
@@ -36,10 +36,10 @@ module PulpDebClient
|
|
36
36
|
# Create an installer package
|
37
37
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
39
40
|
# @option opts [String] :artifact Artifact file representing the physical content
|
40
41
|
# @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
|
41
42
|
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
42
|
-
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
43
43
|
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
44
44
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
45
45
|
def create_with_http_info(opts = {})
|
@@ -65,10 +65,10 @@ module PulpDebClient
|
|
65
65
|
|
66
66
|
# form parameters
|
67
67
|
form_params = opts[:form_params] || {}
|
68
|
+
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
68
69
|
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
69
70
|
form_params['relative_path'] = opts[:'relative_path'] if !opts[:'relative_path'].nil?
|
70
71
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
71
|
-
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
72
72
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
73
73
|
|
74
74
|
# http body (model)
|
@@ -22,10 +22,10 @@ module PulpDebClient
|
|
22
22
|
# Create a package
|
23
23
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
+
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
25
26
|
# @option opts [String] :artifact Artifact file representing the physical content
|
26
27
|
# @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
|
27
28
|
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
28
|
-
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
29
29
|
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
30
30
|
# @option opts [String] :distribution Name of the distribution.
|
31
31
|
# @option opts [String] :component Name of the component.
|
@@ -38,10 +38,10 @@ module PulpDebClient
|
|
38
38
|
# Create a package
|
39
39
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
40
40
|
# @param [Hash] opts the optional parameters
|
41
|
+
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
41
42
|
# @option opts [String] :artifact Artifact file representing the physical content
|
42
43
|
# @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
|
43
44
|
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
44
|
-
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
45
45
|
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
46
46
|
# @option opts [String] :distribution Name of the distribution.
|
47
47
|
# @option opts [String] :component Name of the component.
|
@@ -77,10 +77,10 @@ module PulpDebClient
|
|
77
77
|
|
78
78
|
# form parameters
|
79
79
|
form_params = opts[:form_params] || {}
|
80
|
+
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
80
81
|
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
81
82
|
form_params['relative_path'] = opts[:'relative_path'] if !opts[:'relative_path'].nil?
|
82
83
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
83
|
-
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
84
84
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
85
85
|
form_params['distribution'] = opts[:'distribution'] if !opts[:'distribution'].nil?
|
86
86
|
form_params['component'] = opts[:'component'] if !opts[:'component'].nil?
|
@@ -159,7 +159,7 @@ module PulpDebClient
|
|
159
159
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
160
160
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
161
161
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
162
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
162
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
163
163
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
164
164
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
165
165
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
@@ -188,7 +188,7 @@ module PulpDebClient
|
|
188
188
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
189
189
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
190
190
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
191
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
191
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
192
192
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
193
193
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
194
194
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
@@ -202,7 +202,7 @@ module PulpDebClient
|
|
202
202
|
if @api_client.config.debugging
|
203
203
|
@api_client.config.logger.debug 'Calling API: DistributionsAptApi.list ...'
|
204
204
|
end
|
205
|
-
allowable_values = ["-base_path", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "base_path", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type"]
|
205
|
+
allowable_values = ["-base_path", "-hidden", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "base_path", "hidden", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type"]
|
206
206
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
207
207
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
208
208
|
end
|
@@ -21,6 +21,9 @@ module PulpDebClient
|
|
21
21
|
# An optional content-guard.
|
22
22
|
attr_accessor :content_guard
|
23
23
|
|
24
|
+
# Whether this distribution should be shown in the content app.
|
25
|
+
attr_accessor :hidden
|
26
|
+
|
24
27
|
attr_accessor :pulp_labels
|
25
28
|
|
26
29
|
# A unique name. Ex, `rawhide` and `stable`.
|
@@ -37,6 +40,7 @@ module PulpDebClient
|
|
37
40
|
{
|
38
41
|
:'base_path' => :'base_path',
|
39
42
|
:'content_guard' => :'content_guard',
|
43
|
+
:'hidden' => :'hidden',
|
40
44
|
:'pulp_labels' => :'pulp_labels',
|
41
45
|
:'name' => :'name',
|
42
46
|
:'repository' => :'repository',
|
@@ -49,6 +53,7 @@ module PulpDebClient
|
|
49
53
|
{
|
50
54
|
:'base_path' => :'String',
|
51
55
|
:'content_guard' => :'String',
|
56
|
+
:'hidden' => :'Boolean',
|
52
57
|
:'pulp_labels' => :'Hash<String, String>',
|
53
58
|
:'name' => :'String',
|
54
59
|
:'repository' => :'String',
|
@@ -88,6 +93,12 @@ module PulpDebClient
|
|
88
93
|
self.content_guard = attributes[:'content_guard']
|
89
94
|
end
|
90
95
|
|
96
|
+
if attributes.key?(:'hidden')
|
97
|
+
self.hidden = attributes[:'hidden']
|
98
|
+
else
|
99
|
+
self.hidden = false
|
100
|
+
end
|
101
|
+
|
91
102
|
if attributes.key?(:'pulp_labels')
|
92
103
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
93
104
|
self.pulp_labels = value
|
@@ -175,6 +186,7 @@ module PulpDebClient
|
|
175
186
|
self.class == o.class &&
|
176
187
|
base_path == o.base_path &&
|
177
188
|
content_guard == o.content_guard &&
|
189
|
+
hidden == o.hidden &&
|
178
190
|
pulp_labels == o.pulp_labels &&
|
179
191
|
name == o.name &&
|
180
192
|
repository == o.repository &&
|
@@ -190,7 +202,7 @@ module PulpDebClient
|
|
190
202
|
# Calculates hash code according to all attributes.
|
191
203
|
# @return [Integer] Hash code
|
192
204
|
def hash
|
193
|
-
[base_path, content_guard, pulp_labels, name, repository, publication].hash
|
205
|
+
[base_path, content_guard, hidden, pulp_labels, name, repository, publication].hash
|
194
206
|
end
|
195
207
|
|
196
208
|
# Builds the object from hash
|