pulp_deb_client 2.21.0 → 2.21.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/docs/ContentGenericContentsApi.md +2 -2
  4. data/docs/ContentInstallerPackagesApi.md +2 -2
  5. data/docs/ContentPackageReleaseComponentsApi.md +2 -2
  6. data/docs/ContentPackagesApi.md +2 -2
  7. data/docs/DebAptDistribution.md +2 -0
  8. data/docs/DebAptDistributionResponse.md +2 -0
  9. data/docs/DebGenericContent.md +3 -3
  10. data/docs/DebInstallerFileIndex.md +3 -1
  11. data/docs/DebInstallerPackage.md +3 -3
  12. data/docs/DebPackage.md +3 -3
  13. data/docs/DebPackageIndex.md +3 -1
  14. data/docs/DebPackageReleaseComponent.md +3 -1
  15. data/docs/DebRelease.md +3 -1
  16. data/docs/DebReleaseArchitecture.md +3 -1
  17. data/docs/DebReleaseComponent.md +3 -1
  18. data/docs/DebReleaseFile.md +3 -1
  19. data/docs/DistributionsAptApi.md +3 -3
  20. data/docs/PatcheddebAptDistribution.md +2 -0
  21. data/docs/RepositoriesAptApi.md +1 -1
  22. data/lib/pulp_deb_client/api/content_generic_contents_api.rb +3 -3
  23. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +3 -3
  24. data/lib/pulp_deb_client/api/content_packages_api.rb +3 -3
  25. data/lib/pulp_deb_client/api/distributions_apt_api.rb +3 -3
  26. data/lib/pulp_deb_client/models/deb_apt_distribution.rb +13 -1
  27. data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +13 -1
  28. data/lib/pulp_deb_client/models/deb_generic_content.rb +11 -11
  29. data/lib/pulp_deb_client/models/deb_installer_file_index.rb +11 -1
  30. data/lib/pulp_deb_client/models/deb_installer_package.rb +11 -11
  31. data/lib/pulp_deb_client/models/deb_package.rb +11 -11
  32. data/lib/pulp_deb_client/models/deb_package_index.rb +11 -1
  33. data/lib/pulp_deb_client/models/deb_package_release_component.rb +11 -1
  34. data/lib/pulp_deb_client/models/deb_release.rb +11 -1
  35. data/lib/pulp_deb_client/models/deb_release_architecture.rb +11 -1
  36. data/lib/pulp_deb_client/models/deb_release_component.rb +11 -1
  37. data/lib/pulp_deb_client/models/deb_release_file.rb +11 -1
  38. data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +13 -1
  39. data/lib/pulp_deb_client/version.rb +1 -1
  40. data/spec/api/content_generic_contents_api_spec.rb +1 -1
  41. data/spec/api/content_installer_packages_api_spec.rb +1 -1
  42. data/spec/api/content_packages_api_spec.rb +1 -1
  43. data/spec/api/distributions_apt_api_spec.rb +1 -1
  44. data/spec/models/deb_apt_distribution_response_spec.rb +6 -0
  45. data/spec/models/deb_apt_distribution_spec.rb +6 -0
  46. data/spec/models/deb_generic_content_spec.rb +4 -4
  47. data/spec/models/deb_installer_file_index_spec.rb +6 -0
  48. data/spec/models/deb_installer_package_spec.rb +4 -4
  49. data/spec/models/deb_package_index_spec.rb +6 -0
  50. data/spec/models/deb_package_release_component_spec.rb +6 -0
  51. data/spec/models/deb_package_spec.rb +4 -4
  52. data/spec/models/deb_release_architecture_spec.rb +6 -0
  53. data/spec/models/deb_release_component_spec.rb +6 -0
  54. data/spec/models/deb_release_file_spec.rb +6 -0
  55. data/spec/models/deb_release_spec.rb +6 -0
  56. data/spec/models/patcheddeb_apt_distribution_spec.rb +6 -0
  57. metadata +61 -61
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 323660f0ff04d0c1a6a0ed469ef793131f3b793331d1186511e0ad5c9a8ca85b
4
- data.tar.gz: 26b929abd8eb1637168f06b34b33e00cc05bc96748f57d6068fbb930f0652402
3
+ metadata.gz: 5ef738ed2710ad15c08a58a98ecdd382bc48bbd7f4fd66dc7a81b8d7c212dd82
4
+ data.tar.gz: 4c08e77b877670bc7d67a059c63e8f7ef431ac710e6cdc939c2a34ecea037abe
5
5
  SHA512:
6
- metadata.gz: 28016fb7231bab941d1a3371d78ebe6a220e91d0283bf0abddd09ea48987f3d75ad138ac76b0162efaf0ec42e54dfee2b6c8dce2dd2fe58ea01b0fcc11a0fd94
7
- data.tar.gz: 05f516052663c0c94d66823329c6cbecb7839a9029fb3231e655e3208448117e8d3e098bf5f14ef2ed765dc808987ae5bb20e061d7614fa016e81949bc4cf299
6
+ metadata.gz: 3e0a469d1f605cf4071af69430c6fa3c5dce93230a902e1015967b8059f46d2be27b98172c123e2541bf30eb4943a41271384b8233f6fc6bbf65339837eb731d
7
+ data.tar.gz: f5366c3a0b2d9a3d585fac1cfa8bfa1adac72a903faab4dc628a86f04a41adcd24c8d9b0b58e4eecadc135e03f8bdd20b42eb153fb995fa17166ac5a84297d32
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.0
10
+ - Package version: 2.21.2
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.0.gem
27
+ gem install ./pulp_deb_client-2.21.2.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_deb_client-2.21.0.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_deb_client-2.21.2.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.0'
36
+ gem 'pulp_deb_client', '~> 2.21.2'
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
@@ -116,10 +116,10 @@ Name | Type | Description | Notes
116
116
  **limit** | **Integer**| Number of results to return per page. | [optional]
117
117
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
118
118
  **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) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
119
- **package** | **String**| Filter results where package matches value | [optional]
119
+ **package** | [**String**](.md)| Filter results where package matches value | [optional]
120
120
  **pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
121
121
  **pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
122
- **release_component** | **String**| Filter results where release_component matches value | [optional]
122
+ **release_component** | [**String**](.md)| Filter results where release_component matches value | [optional]
123
123
  **repository_version** | **String**| Repository Version referenced by HREF | [optional]
124
124
  **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
125
125
  **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
@@ -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]
@@ -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,
@@ -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(artifact: null,
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(artifacts: null,
18
+ instance = PulpDebClient::DebInstallerFileIndex.new(repository: null,
19
+ artifacts: null,
18
20
  component: null,
19
21
  architecture: null,
20
22
  relative_path: null)
@@ -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(artifact: null,
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(artifact: null,
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)
@@ -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(artifacts: null,
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(package: null,
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(codename: null,
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(architecture: null,
18
+ instance = PulpDebClient::DebReleaseArchitecture.new(repository: null,
19
+ architecture: null,
18
20
  distribution: null,
19
21
  codename: null,
20
22
  suite: 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
  **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(component: null,
18
+ instance = PulpDebClient::DebReleaseComponent.new(repository: null,
19
+ component: null,
18
20
  distribution: null,
19
21
  codename: null,
20
22
  suite: 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
  **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(artifacts: null,
19
+ instance = PulpDebClient::DebReleaseFile.new(repository: null,
20
+ artifacts: null,
19
21
  codename: null,
20
22
  suite: null,
21
23
  distribution: null,
@@ -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,11 +188,11 @@ Name | Type | Description | Notes
188
188
  **name__in** | [**Array&lt;String&gt;**](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&lt;String&gt;**](String.md)| Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
191
+ **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
192
192
  **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
193
193
  **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
194
194
  **pulp_label_select** | **String**| Filter labels by search string | [optional]
195
- **repository** | **String**| Filter results where repository matches value | [optional]
195
+ **repository** | [**String**](.md)| Filter results where repository matches value | [optional]
196
196
  **repository__in** | [**Array&lt;String&gt;**](String.md)| Filter results where repository is in a comma-separated list of values | [optional]
197
197
  **with_content** | **String**| Filter distributions based on the content served by them | [optional]
198
198
  **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [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. \&quot;foo\&quot; and \&quot;foo/bar\&quot;) | [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&lt;String, String&gt;** | | [optional]
10
11
  **name** | **String** | A unique name. Ex, &#x60;rawhide&#x60; and &#x60;stable&#x60;. | [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,
@@ -195,7 +195,7 @@ Name | Type | Description | Notes
195
195
  **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
196
196
  **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
197
197
  **pulp_label_select** | **String**| Filter labels by search string | [optional]
198
- **remote** | **String**| Foreign Key referenced by HREF | [optional]
198
+ **remote** | [**String**](.md)| Foreign Key referenced by HREF | [optional]
199
199
  **retain_repo_versions** | **Integer**| Filter results where retain_repo_versions matches value | [optional]
200
200
  **retain_repo_versions__gt** | **Integer**| Filter results where retain_repo_versions is greater than value | [optional]
201
201
  **retain_repo_versions__gte** | **Integer**| Filter results where retain_repo_versions is greater than or equal to value | [optional]
@@ -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 * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
162
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - 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 * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
191
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - 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