pulp_deb_client 2.11.2 → 2.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/ContentSummary.md +3 -3
  4. data/docs/ContentSummaryResponse.md +3 -3
  5. data/docs/DebAptDistribution.md +2 -0
  6. data/docs/DebAptDistributionResponse.md +2 -0
  7. data/docs/DebAptRepository.md +2 -0
  8. data/docs/DebAptRepositoryResponse.md +2 -0
  9. data/docs/PatcheddebAptDistribution.md +2 -0
  10. data/docs/PatcheddebAptRepository.md +2 -0
  11. data/docs/PublicationsAptApi.md +4 -0
  12. data/docs/PublicationsVerbatimApi.md +4 -0
  13. data/docs/RepositoryVersionResponse.md +2 -0
  14. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +0 -8
  15. data/lib/pulp_deb_client/api/content_packages_api.rb +0 -8
  16. data/lib/pulp_deb_client/api/publications_apt_api.rb +6 -0
  17. data/lib/pulp_deb_client/api/publications_verbatim_api.rb +6 -0
  18. data/lib/pulp_deb_client/api/repositories_deb_versions_api.rb +0 -20
  19. data/lib/pulp_deb_client/models/content_summary.rb +12 -6
  20. data/lib/pulp_deb_client/models/content_summary_response.rb +12 -6
  21. data/lib/pulp_deb_client/models/deb_apt_distribution.rb +12 -1
  22. data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +12 -1
  23. data/lib/pulp_deb_client/models/deb_apt_repository.rb +27 -1
  24. data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +27 -1
  25. data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +12 -1
  26. data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +27 -1
  27. data/lib/pulp_deb_client/models/repository_version_response.rb +10 -1
  28. data/lib/pulp_deb_client/version.rb +1 -1
  29. data/spec/api/publications_apt_api_spec.rb +2 -0
  30. data/spec/api/publications_verbatim_api_spec.rb +2 -0
  31. data/spec/models/deb_apt_distribution_response_spec.rb +6 -0
  32. data/spec/models/deb_apt_distribution_spec.rb +6 -0
  33. data/spec/models/deb_apt_repository_response_spec.rb +6 -0
  34. data/spec/models/deb_apt_repository_spec.rb +6 -0
  35. data/spec/models/patcheddeb_apt_distribution_spec.rb +6 -0
  36. data/spec/models/patcheddeb_apt_repository_spec.rb +6 -0
  37. data/spec/models/repository_version_response_spec.rb +6 -0
  38. metadata +57 -57
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 811753851e05b45eb2910e0e1c4c834a3fdff73745e54aea13c1ed6a86df821a
4
- data.tar.gz: 4ead90ca546910c22df7b733ee4873f1a3343cd11b99ad560cab2826fa415c4f
3
+ metadata.gz: b94ecf032a8f27142f310dfd10439b6aaa9d92bd29d283540ee327237536b6ee
4
+ data.tar.gz: cd2a41b5a70e8f11b0bc51e68c8542944836a9126fb6f89ced5a751d173ea9b6
5
5
  SHA512:
6
- metadata.gz: 711c61dc101f19fa02324d9fea4e8b21f2075569d8bee2c92d49b835b519539491b75b81abc1e61f3d4d3efc5ea0b67a90f66a3d6fdb3b9ccd8520e64d839a73
7
- data.tar.gz: a2ef231a5ea8a524a687281267867d4da0c96c474bbd8bdcc0159d1eb886c294595bf5a7abc680d67d9dd7cca818b2d7a55477057f50e9e3cef2756f2b54c3fd
6
+ metadata.gz: babc7393ca8e1e7b968b046b8062b66e29c23b6feeff8454f937a398233c04cf58922d7c73be2abc7020decb5ffe2734100193fce5945726bee7ee8bd81fc624
7
+ data.tar.gz: a6f5f39aadf9c2d197ac237de32b69a136d493c690af31fdf6adffd737ea6fa7be8f1a35651251fe0079049c6ed7bcde9e178541c9f3e03cb7d85a94370586da
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.11.2
10
+ - Package version: 2.12.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.11.2.gem
27
+ gem install ./pulp_deb_client-2.12.0.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_deb_client-2.11.2.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_deb_client-2.12.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.11.2'
36
+ gem 'pulp_deb_client', '~> 2.12.0'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -4,9 +4,9 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **added** | [**Object**](.md) | |
8
- **removed** | [**Object**](.md) | |
9
- **present** | [**Object**](.md) | |
7
+ **added** | **Hash<String, Object>** | |
8
+ **removed** | **Hash<String, Object>** | |
9
+ **present** | **Hash<String, Object>** | |
10
10
 
11
11
  ## Code Sample
12
12
 
@@ -4,9 +4,9 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **added** | [**Object**](.md) | |
8
- **removed** | [**Object**](.md) | |
9
- **present** | [**Object**](.md) | |
7
+ **added** | **Hash<String, Object>** | |
8
+ **removed** | **Hash<String, Object>** | |
9
+ **present** | **Hash<String, Object>** | |
10
10
 
11
11
  ## Code Sample
12
12
 
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
8
8
  **content_guard** | **String** | An optional content-guard. | [optional]
9
9
  **pulp_labels** | [**Object**](.md) | | [optional]
10
10
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
11
+ **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
11
12
  **publication** | **String** | Publication to be served | [optional]
12
13
 
13
14
  ## Code Sample
@@ -19,6 +20,7 @@ instance = PulpDebClient::DebAptDistribution.new(base_path: null,
19
20
  content_guard: null,
20
21
  pulp_labels: null,
21
22
  name: null,
23
+ repository: null,
22
24
  publication: null)
23
25
  ```
24
26
 
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
11
11
  **content_guard** | **String** | An optional content-guard. | [optional]
12
12
  **pulp_labels** | [**Object**](.md) | | [optional]
13
13
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
14
+ **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
14
15
  **publication** | **String** | Publication to be served | [optional]
15
16
 
16
17
  ## Code Sample
@@ -25,6 +26,7 @@ instance = PulpDebClient::DebAptDistributionResponse.new(pulp_href: null,
25
26
  content_guard: null,
26
27
  pulp_labels: null,
27
28
  name: null,
29
+ repository: null,
28
30
  publication: null)
29
31
  ```
30
32
 
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
  **pulp_labels** | [**Object**](.md) | | [optional]
8
8
  **name** | **String** | A unique name for this repository. |
9
9
  **description** | **String** | An optional description. | [optional]
10
+ **retained_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
10
11
  **remote** | **String** | | [optional]
11
12
 
12
13
  ## Code Sample
@@ -17,6 +18,7 @@ require 'PulpDebClient'
17
18
  instance = PulpDebClient::DebAptRepository.new(pulp_labels: null,
18
19
  name: null,
19
20
  description: null,
21
+ retained_versions: null,
20
22
  remote: null)
21
23
  ```
22
24
 
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
11
11
  **latest_version_href** | **String** | | [optional] [readonly]
12
12
  **name** | **String** | A unique name for this repository. |
13
13
  **description** | **String** | An optional description. | [optional]
14
+ **retained_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
14
15
  **remote** | **String** | | [optional]
15
16
 
16
17
  ## Code Sample
@@ -25,6 +26,7 @@ instance = PulpDebClient::DebAptRepositoryResponse.new(pulp_href: null,
25
26
  latest_version_href: null,
26
27
  name: null,
27
28
  description: null,
29
+ retained_versions: null,
28
30
  remote: null)
29
31
  ```
30
32
 
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
8
8
  **content_guard** | **String** | An optional content-guard. | [optional]
9
9
  **pulp_labels** | [**Object**](.md) | | [optional]
10
10
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
11
+ **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
11
12
  **publication** | **String** | Publication to be served | [optional]
12
13
 
13
14
  ## Code Sample
@@ -19,6 +20,7 @@ instance = PulpDebClient::PatcheddebAptDistribution.new(base_path: null,
19
20
  content_guard: null,
20
21
  pulp_labels: null,
21
22
  name: null,
23
+ repository: null,
22
24
  publication: null)
23
25
  ```
24
26
 
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
  **pulp_labels** | [**Object**](.md) | | [optional]
8
8
  **name** | **String** | A unique name for this repository. | [optional]
9
9
  **description** | **String** | An optional description. | [optional]
10
+ **retained_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
10
11
  **remote** | **String** | | [optional]
11
12
 
12
13
  ## Code Sample
@@ -17,6 +18,7 @@ require 'PulpDebClient'
17
18
  instance = PulpDebClient::PatcheddebAptRepository.new(pulp_labels: null,
18
19
  name: null,
19
20
  description: null,
21
+ retained_versions: null,
20
22
  remote: null)
21
23
  ```
22
24
 
@@ -138,6 +138,8 @@ end
138
138
 
139
139
  api_instance = PulpDebClient::PublicationsAptApi.new
140
140
  opts = {
141
+ content: 'content_example', # String | Content Unit referenced by HREF
142
+ content__in: 'content__in_example', # String | Content Unit referenced by HREF
141
143
  limit: 56, # Integer | Number of results to return per page.
142
144
  offset: 56, # Integer | The initial index from which to return the results.
143
145
  ordering: 'ordering_example', # String | Which field to use when ordering the results.
@@ -166,6 +168,8 @@ end
166
168
 
167
169
  Name | Type | Description | Notes
168
170
  ------------- | ------------- | ------------- | -------------
171
+ **content** | **String**| Content Unit referenced by HREF | [optional]
172
+ **content__in** | **String**| Content Unit referenced by HREF | [optional]
169
173
  **limit** | **Integer**| Number of results to return per page. | [optional]
170
174
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
171
175
  **ordering** | **String**| Which field to use when ordering the results. | [optional]
@@ -138,6 +138,8 @@ end
138
138
 
139
139
  api_instance = PulpDebClient::PublicationsVerbatimApi.new
140
140
  opts = {
141
+ content: 'content_example', # String | Content Unit referenced by HREF
142
+ content__in: 'content__in_example', # String | Content Unit referenced by HREF
141
143
  limit: 56, # Integer | Number of results to return per page.
142
144
  offset: 56, # Integer | The initial index from which to return the results.
143
145
  ordering: 'ordering_example', # String | Which field to use when ordering the results.
@@ -166,6 +168,8 @@ end
166
168
 
167
169
  Name | Type | Description | Notes
168
170
  ------------- | ------------- | ------------- | -------------
171
+ **content** | **String**| Content Unit referenced by HREF | [optional]
172
+ **content__in** | **String**| Content Unit referenced by HREF | [optional]
169
173
  **limit** | **Integer**| Number of results to return per page. | [optional]
170
174
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
171
175
  **ordering** | **String**| Which field to use when ordering the results. | [optional]
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
  **pulp_href** | **String** | | [optional] [readonly]
8
8
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
9
  **number** | **Integer** | | [optional] [readonly]
10
+ **repository** | **String** | | [optional] [readonly]
10
11
  **base_version** | **String** | A repository version whose content was used as the initial set of content for this repository version | [optional]
11
12
  **content_summary** | [**ContentSummaryResponse**](ContentSummaryResponse.md) | Various count summaries of the content in the version and the HREF to view them. | [optional] [readonly]
12
13
 
@@ -18,6 +19,7 @@ require 'PulpDebClient'
18
19
  instance = PulpDebClient::RepositoryVersionResponse.new(pulp_href: null,
19
20
  pulp_created: null,
20
21
  number: null,
22
+ repository: null,
21
23
  base_version: null,
22
24
  content_summary: null)
23
25
  ```
@@ -164,14 +164,6 @@ module PulpDebClient
164
164
  if @api_client.config.client_side_validation && opts[:'essential'] && !allowable_values.include?(opts[:'essential'])
165
165
  fail ArgumentError, "invalid value for \"essential\", must be one of #{allowable_values}"
166
166
  end
167
- if @api_client.config.client_side_validation && !opts[:'installed_size'].nil? && opts[:'installed_size'] > 2147483647
168
- fail ArgumentError, 'invalid value for "opts[:"installed_size"]" when calling ContentInstallerPackagesApi.list, must be smaller than or equal to 2147483647.'
169
- end
170
-
171
- if @api_client.config.client_side_validation && !opts[:'installed_size'].nil? && opts[:'installed_size'] < -2147483648
172
- fail ArgumentError, 'invalid value for "opts[:"installed_size"]" when calling ContentInstallerPackagesApi.list, must be greater than or equal to -2147483648.'
173
- end
174
-
175
167
  allowable_values = ["allowed", "foreign", "no", "same"]
176
168
  if @api_client.config.client_side_validation && opts[:'multi_arch'] && !allowable_values.include?(opts[:'multi_arch'])
177
169
  fail ArgumentError, "invalid value for \"multi_arch\", must be one of #{allowable_values}"
@@ -166,14 +166,6 @@ module PulpDebClient
166
166
  if @api_client.config.client_side_validation && opts[:'essential'] && !allowable_values.include?(opts[:'essential'])
167
167
  fail ArgumentError, "invalid value for \"essential\", must be one of #{allowable_values}"
168
168
  end
169
- if @api_client.config.client_side_validation && !opts[:'installed_size'].nil? && opts[:'installed_size'] > 2147483647
170
- fail ArgumentError, 'invalid value for "opts[:"installed_size"]" when calling ContentPackagesApi.list, must be smaller than or equal to 2147483647.'
171
- end
172
-
173
- if @api_client.config.client_side_validation && !opts[:'installed_size'].nil? && opts[:'installed_size'] < -2147483648
174
- fail ArgumentError, 'invalid value for "opts[:"installed_size"]" when calling ContentPackagesApi.list, must be greater than or equal to -2147483648.'
175
- end
176
-
177
169
  allowable_values = ["allowed", "foreign", "no", "same"]
178
170
  if @api_client.config.client_side_validation && opts[:'multi_arch'] && !allowable_values.include?(opts[:'multi_arch'])
179
171
  fail ArgumentError, "invalid value for \"multi_arch\", must be one of #{allowable_values}"
@@ -146,6 +146,8 @@ module PulpDebClient
146
146
  # List apt publications
147
147
  # An AptPublication is the ready to serve Pulp-internal representation of an AptRepositoryVersion. When creating an APT publication, users must use simple or structured mode (or both). If the publication should include '.deb' packages that were manually uploaded to the relevant AptRepository, users must use 'simple=true'. Conversely, 'structured=true' is only useful for publishing content obtained via synchronization. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
148
148
  # @param [Hash] opts the optional parameters
149
+ # @option opts [String] :content Content Unit referenced by HREF
150
+ # @option opts [String] :content__in Content Unit referenced by HREF
149
151
  # @option opts [Integer] :limit Number of results to return per page.
150
152
  # @option opts [Integer] :offset The initial index from which to return the results.
151
153
  # @option opts [String] :ordering Which field to use when ordering the results.
@@ -167,6 +169,8 @@ module PulpDebClient
167
169
  # List apt publications
168
170
  # An AptPublication is the ready to serve Pulp-internal representation of an AptRepositoryVersion. When creating an APT publication, users must use simple or structured mode (or both). If the publication should include &#39;.deb&#39; packages that were manually uploaded to the relevant AptRepository, users must use &#39;simple&#x3D;true&#39;. Conversely, &#39;structured&#x3D;true&#39; is only useful for publishing content obtained via synchronization. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
169
171
  # @param [Hash] opts the optional parameters
172
+ # @option opts [String] :content Content Unit referenced by HREF
173
+ # @option opts [String] :content__in Content Unit referenced by HREF
170
174
  # @option opts [Integer] :limit Number of results to return per page.
171
175
  # @option opts [Integer] :offset The initial index from which to return the results.
172
176
  # @option opts [String] :ordering Which field to use when ordering the results.
@@ -189,6 +193,8 @@ module PulpDebClient
189
193
 
190
194
  # query parameters
191
195
  query_params = opts[:query_params] || {}
196
+ query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
197
+ query_params[:'content__in'] = opts[:'content__in'] if !opts[:'content__in'].nil?
192
198
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
193
199
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
194
200
  query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
@@ -146,6 +146,8 @@ module PulpDebClient
146
146
  # List verbatim publications
147
147
  # An VerbatimPublication is the Pulp-internal representation of a \"mirrored\" AptRepositoryVersion. In other words, the verbatim publisher will recreate the synced subset of some a APT repository using the exact same metadata files and signatures as used by the upstream original. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
148
148
  # @param [Hash] opts the optional parameters
149
+ # @option opts [String] :content Content Unit referenced by HREF
150
+ # @option opts [String] :content__in Content Unit referenced by HREF
149
151
  # @option opts [Integer] :limit Number of results to return per page.
150
152
  # @option opts [Integer] :offset The initial index from which to return the results.
151
153
  # @option opts [String] :ordering Which field to use when ordering the results.
@@ -167,6 +169,8 @@ module PulpDebClient
167
169
  # List verbatim publications
168
170
  # An VerbatimPublication is the Pulp-internal representation of a \&quot;mirrored\&quot; AptRepositoryVersion. In other words, the verbatim publisher will recreate the synced subset of some a APT repository using the exact same metadata files and signatures as used by the upstream original. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
169
171
  # @param [Hash] opts the optional parameters
172
+ # @option opts [String] :content Content Unit referenced by HREF
173
+ # @option opts [String] :content__in Content Unit referenced by HREF
170
174
  # @option opts [Integer] :limit Number of results to return per page.
171
175
  # @option opts [Integer] :offset The initial index from which to return the results.
172
176
  # @option opts [String] :ordering Which field to use when ordering the results.
@@ -189,6 +193,8 @@ module PulpDebClient
189
193
 
190
194
  # query parameters
191
195
  query_params = opts[:query_params] || {}
196
+ query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
197
+ query_params[:'content__in'] = opts[:'content__in'] if !opts[:'content__in'].nil?
192
198
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
193
199
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
194
200
  query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
@@ -142,26 +142,6 @@ module PulpDebClient
142
142
  if @api_client.config.client_side_validation && deb_apt_repository_href.nil?
143
143
  fail ArgumentError, "Missing the required parameter 'deb_apt_repository_href' when calling RepositoriesDebVersionsApi.list"
144
144
  end
145
- if @api_client.config.client_side_validation && !opts[:'number'].nil? && opts[:'number'] > 2147483647
146
- fail ArgumentError, 'invalid value for "opts[:"number"]" when calling RepositoriesDebVersionsApi.list, must be smaller than or equal to 2147483647.'
147
- end
148
-
149
- if @api_client.config.client_side_validation && !opts[:'number__gt'].nil? && opts[:'number__gt'] > 2147483647
150
- fail ArgumentError, 'invalid value for "opts[:"number__gt"]" when calling RepositoriesDebVersionsApi.list, must be smaller than or equal to 2147483647.'
151
- end
152
-
153
- if @api_client.config.client_side_validation && !opts[:'number__gte'].nil? && opts[:'number__gte'] > 2147483647
154
- fail ArgumentError, 'invalid value for "opts[:"number__gte"]" when calling RepositoriesDebVersionsApi.list, must be smaller than or equal to 2147483647.'
155
- end
156
-
157
- if @api_client.config.client_side_validation && !opts[:'number__lt'].nil? && opts[:'number__lt'] > 2147483647
158
- fail ArgumentError, 'invalid value for "opts[:"number__lt"]" when calling RepositoriesDebVersionsApi.list, must be smaller than or equal to 2147483647.'
159
- end
160
-
161
- if @api_client.config.client_side_validation && !opts[:'number__lte'].nil? && opts[:'number__lte'] > 2147483647
162
- fail ArgumentError, 'invalid value for "opts[:"number__lte"]" when calling RepositoriesDebVersionsApi.list, must be smaller than or equal to 2147483647.'
163
- end
164
-
165
145
  # resource path
166
146
  local_var_path = '{deb_apt_repository_href}versions/'.sub('{' + 'deb_apt_repository_href' + '}', CGI.escape(deb_apt_repository_href.to_s).gsub('%2F', '/'))
167
147
 
@@ -33,9 +33,9 @@ module PulpDebClient
33
33
  # Attribute type mapping.
34
34
  def self.openapi_types
35
35
  {
36
- :'added' => :'Object',
37
- :'removed' => :'Object',
38
- :'present' => :'Object'
36
+ :'added' => :'Hash<String, Object>',
37
+ :'removed' => :'Hash<String, Object>',
38
+ :'present' => :'Hash<String, Object>'
39
39
  }
40
40
  end
41
41
 
@@ -61,15 +61,21 @@ module PulpDebClient
61
61
  }
62
62
 
63
63
  if attributes.key?(:'added')
64
- self.added = attributes[:'added']
64
+ if (value = attributes[:'added']).is_a?(Hash)
65
+ self.added = value
66
+ end
65
67
  end
66
68
 
67
69
  if attributes.key?(:'removed')
68
- self.removed = attributes[:'removed']
70
+ if (value = attributes[:'removed']).is_a?(Hash)
71
+ self.removed = value
72
+ end
69
73
  end
70
74
 
71
75
  if attributes.key?(:'present')
72
- self.present = attributes[:'present']
76
+ if (value = attributes[:'present']).is_a?(Hash)
77
+ self.present = value
78
+ end
73
79
  end
74
80
  end
75
81
 
@@ -33,9 +33,9 @@ module PulpDebClient
33
33
  # Attribute type mapping.
34
34
  def self.openapi_types
35
35
  {
36
- :'added' => :'Object',
37
- :'removed' => :'Object',
38
- :'present' => :'Object'
36
+ :'added' => :'Hash<String, Object>',
37
+ :'removed' => :'Hash<String, Object>',
38
+ :'present' => :'Hash<String, Object>'
39
39
  }
40
40
  end
41
41
 
@@ -61,15 +61,21 @@ module PulpDebClient
61
61
  }
62
62
 
63
63
  if attributes.key?(:'added')
64
- self.added = attributes[:'added']
64
+ if (value = attributes[:'added']).is_a?(Hash)
65
+ self.added = value
66
+ end
65
67
  end
66
68
 
67
69
  if attributes.key?(:'removed')
68
- self.removed = attributes[:'removed']
70
+ if (value = attributes[:'removed']).is_a?(Hash)
71
+ self.removed = value
72
+ end
69
73
  end
70
74
 
71
75
  if attributes.key?(:'present')
72
- self.present = attributes[:'present']
76
+ if (value = attributes[:'present']).is_a?(Hash)
77
+ self.present = value
78
+ end
73
79
  end
74
80
  end
75
81
 
@@ -26,6 +26,9 @@ module PulpDebClient
26
26
  # A unique name. Ex, `rawhide` and `stable`.
27
27
  attr_accessor :name
28
28
 
29
+ # The latest RepositoryVersion for this Repository will be served.
30
+ attr_accessor :repository
31
+
29
32
  # Publication to be served
30
33
  attr_accessor :publication
31
34
 
@@ -36,6 +39,7 @@ module PulpDebClient
36
39
  :'content_guard' => :'content_guard',
37
40
  :'pulp_labels' => :'pulp_labels',
38
41
  :'name' => :'name',
42
+ :'repository' => :'repository',
39
43
  :'publication' => :'publication'
40
44
  }
41
45
  end
@@ -47,6 +51,7 @@ module PulpDebClient
47
51
  :'content_guard' => :'String',
48
52
  :'pulp_labels' => :'Object',
49
53
  :'name' => :'String',
54
+ :'repository' => :'String',
50
55
  :'publication' => :'String'
51
56
  }
52
57
  end
@@ -55,6 +60,7 @@ module PulpDebClient
55
60
  def self.openapi_nullable
56
61
  Set.new([
57
62
  :'content_guard',
63
+ :'repository',
58
64
  :'publication'
59
65
  ])
60
66
  end
@@ -90,6 +96,10 @@ module PulpDebClient
90
96
  self.name = attributes[:'name']
91
97
  end
92
98
 
99
+ if attributes.key?(:'repository')
100
+ self.repository = attributes[:'repository']
101
+ end
102
+
93
103
  if attributes.key?(:'publication')
94
104
  self.publication = attributes[:'publication']
95
105
  end
@@ -127,6 +137,7 @@ module PulpDebClient
127
137
  content_guard == o.content_guard &&
128
138
  pulp_labels == o.pulp_labels &&
129
139
  name == o.name &&
140
+ repository == o.repository &&
130
141
  publication == o.publication
131
142
  end
132
143
 
@@ -139,7 +150,7 @@ module PulpDebClient
139
150
  # Calculates hash code according to all attributes.
140
151
  # @return [Integer] Hash code
141
152
  def hash
142
- [base_path, content_guard, pulp_labels, name, publication].hash
153
+ [base_path, content_guard, pulp_labels, name, repository, publication].hash
143
154
  end
144
155
 
145
156
  # Builds the object from hash
@@ -34,6 +34,9 @@ module PulpDebClient
34
34
  # A unique name. Ex, `rawhide` and `stable`.
35
35
  attr_accessor :name
36
36
 
37
+ # The latest RepositoryVersion for this Repository will be served.
38
+ attr_accessor :repository
39
+
37
40
  # Publication to be served
38
41
  attr_accessor :publication
39
42
 
@@ -47,6 +50,7 @@ module PulpDebClient
47
50
  :'content_guard' => :'content_guard',
48
51
  :'pulp_labels' => :'pulp_labels',
49
52
  :'name' => :'name',
53
+ :'repository' => :'repository',
50
54
  :'publication' => :'publication'
51
55
  }
52
56
  end
@@ -61,6 +65,7 @@ module PulpDebClient
61
65
  :'content_guard' => :'String',
62
66
  :'pulp_labels' => :'Object',
63
67
  :'name' => :'String',
68
+ :'repository' => :'String',
64
69
  :'publication' => :'String'
65
70
  }
66
71
  end
@@ -69,6 +74,7 @@ module PulpDebClient
69
74
  def self.openapi_nullable
70
75
  Set.new([
71
76
  :'content_guard',
77
+ :'repository',
72
78
  :'publication'
73
79
  ])
74
80
  end
@@ -116,6 +122,10 @@ module PulpDebClient
116
122
  self.name = attributes[:'name']
117
123
  end
118
124
 
125
+ if attributes.key?(:'repository')
126
+ self.repository = attributes[:'repository']
127
+ end
128
+
119
129
  if attributes.key?(:'publication')
120
130
  self.publication = attributes[:'publication']
121
131
  end
@@ -156,6 +166,7 @@ module PulpDebClient
156
166
  content_guard == o.content_guard &&
157
167
  pulp_labels == o.pulp_labels &&
158
168
  name == o.name &&
169
+ repository == o.repository &&
159
170
  publication == o.publication
160
171
  end
161
172
 
@@ -168,7 +179,7 @@ module PulpDebClient
168
179
  # Calculates hash code according to all attributes.
169
180
  # @return [Integer] Hash code
170
181
  def hash
171
- [pulp_href, pulp_created, base_path, base_url, content_guard, pulp_labels, name, publication].hash
182
+ [pulp_href, pulp_created, base_path, base_url, content_guard, pulp_labels, name, repository, publication].hash
172
183
  end
173
184
 
174
185
  # Builds the object from hash
@@ -23,6 +23,9 @@ module PulpDebClient
23
23
  # An optional description.
24
24
  attr_accessor :description
25
25
 
26
+ # Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
27
+ attr_accessor :retained_versions
28
+
26
29
  attr_accessor :remote
27
30
 
28
31
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -31,6 +34,7 @@ module PulpDebClient
31
34
  :'pulp_labels' => :'pulp_labels',
32
35
  :'name' => :'name',
33
36
  :'description' => :'description',
37
+ :'retained_versions' => :'retained_versions',
34
38
  :'remote' => :'remote'
35
39
  }
36
40
  end
@@ -41,6 +45,7 @@ module PulpDebClient
41
45
  :'pulp_labels' => :'Object',
42
46
  :'name' => :'String',
43
47
  :'description' => :'String',
48
+ :'retained_versions' => :'Integer',
44
49
  :'remote' => :'String'
45
50
  }
46
51
  end
@@ -49,6 +54,7 @@ module PulpDebClient
49
54
  def self.openapi_nullable
50
55
  Set.new([
51
56
  :'description',
57
+ :'retained_versions',
52
58
  :'remote'
53
59
  ])
54
60
  end
@@ -80,6 +86,10 @@ module PulpDebClient
80
86
  self.description = attributes[:'description']
81
87
  end
82
88
 
89
+ if attributes.key?(:'retained_versions')
90
+ self.retained_versions = attributes[:'retained_versions']
91
+ end
92
+
83
93
  if attributes.key?(:'remote')
84
94
  self.remote = attributes[:'remote']
85
95
  end
@@ -93,6 +103,10 @@ module PulpDebClient
93
103
  invalid_properties.push('invalid value for "name", name cannot be nil.')
94
104
  end
95
105
 
106
+ if !@retained_versions.nil? && @retained_versions < 1
107
+ invalid_properties.push('invalid value for "retained_versions", must be greater than or equal to 1.')
108
+ end
109
+
96
110
  invalid_properties
97
111
  end
98
112
 
@@ -100,9 +114,20 @@ module PulpDebClient
100
114
  # @return true if the model is valid
101
115
  def valid?
102
116
  return false if @name.nil?
117
+ return false if !@retained_versions.nil? && @retained_versions < 1
103
118
  true
104
119
  end
105
120
 
121
+ # Custom attribute writer method with validation
122
+ # @param [Object] retained_versions Value to be assigned
123
+ def retained_versions=(retained_versions)
124
+ if !retained_versions.nil? && retained_versions < 1
125
+ fail ArgumentError, 'invalid value for "retained_versions", must be greater than or equal to 1.'
126
+ end
127
+
128
+ @retained_versions = retained_versions
129
+ end
130
+
106
131
  # Checks equality by comparing each attribute.
107
132
  # @param [Object] Object to be compared
108
133
  def ==(o)
@@ -111,6 +136,7 @@ module PulpDebClient
111
136
  pulp_labels == o.pulp_labels &&
112
137
  name == o.name &&
113
138
  description == o.description &&
139
+ retained_versions == o.retained_versions &&
114
140
  remote == o.remote
115
141
  end
116
142
 
@@ -123,7 +149,7 @@ module PulpDebClient
123
149
  # Calculates hash code according to all attributes.
124
150
  # @return [Integer] Hash code
125
151
  def hash
126
- [pulp_labels, name, description, remote].hash
152
+ [pulp_labels, name, description, retained_versions, remote].hash
127
153
  end
128
154
 
129
155
  # Builds the object from hash
@@ -32,6 +32,9 @@ module PulpDebClient
32
32
  # An optional description.
33
33
  attr_accessor :description
34
34
 
35
+ # Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
36
+ attr_accessor :retained_versions
37
+
35
38
  attr_accessor :remote
36
39
 
37
40
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -44,6 +47,7 @@ module PulpDebClient
44
47
  :'latest_version_href' => :'latest_version_href',
45
48
  :'name' => :'name',
46
49
  :'description' => :'description',
50
+ :'retained_versions' => :'retained_versions',
47
51
  :'remote' => :'remote'
48
52
  }
49
53
  end
@@ -58,6 +62,7 @@ module PulpDebClient
58
62
  :'latest_version_href' => :'String',
59
63
  :'name' => :'String',
60
64
  :'description' => :'String',
65
+ :'retained_versions' => :'Integer',
61
66
  :'remote' => :'String'
62
67
  }
63
68
  end
@@ -66,6 +71,7 @@ module PulpDebClient
66
71
  def self.openapi_nullable
67
72
  Set.new([
68
73
  :'description',
74
+ :'retained_versions',
69
75
  :'remote'
70
76
  ])
71
77
  end
@@ -113,6 +119,10 @@ module PulpDebClient
113
119
  self.description = attributes[:'description']
114
120
  end
115
121
 
122
+ if attributes.key?(:'retained_versions')
123
+ self.retained_versions = attributes[:'retained_versions']
124
+ end
125
+
116
126
  if attributes.key?(:'remote')
117
127
  self.remote = attributes[:'remote']
118
128
  end
@@ -126,6 +136,10 @@ module PulpDebClient
126
136
  invalid_properties.push('invalid value for "name", name cannot be nil.')
127
137
  end
128
138
 
139
+ if !@retained_versions.nil? && @retained_versions < 1
140
+ invalid_properties.push('invalid value for "retained_versions", must be greater than or equal to 1.')
141
+ end
142
+
129
143
  invalid_properties
130
144
  end
131
145
 
@@ -133,9 +147,20 @@ module PulpDebClient
133
147
  # @return true if the model is valid
134
148
  def valid?
135
149
  return false if @name.nil?
150
+ return false if !@retained_versions.nil? && @retained_versions < 1
136
151
  true
137
152
  end
138
153
 
154
+ # Custom attribute writer method with validation
155
+ # @param [Object] retained_versions Value to be assigned
156
+ def retained_versions=(retained_versions)
157
+ if !retained_versions.nil? && retained_versions < 1
158
+ fail ArgumentError, 'invalid value for "retained_versions", must be greater than or equal to 1.'
159
+ end
160
+
161
+ @retained_versions = retained_versions
162
+ end
163
+
139
164
  # Checks equality by comparing each attribute.
140
165
  # @param [Object] Object to be compared
141
166
  def ==(o)
@@ -148,6 +173,7 @@ module PulpDebClient
148
173
  latest_version_href == o.latest_version_href &&
149
174
  name == o.name &&
150
175
  description == o.description &&
176
+ retained_versions == o.retained_versions &&
151
177
  remote == o.remote
152
178
  end
153
179
 
@@ -160,7 +186,7 @@ module PulpDebClient
160
186
  # Calculates hash code according to all attributes.
161
187
  # @return [Integer] Hash code
162
188
  def hash
163
- [pulp_href, pulp_created, versions_href, pulp_labels, latest_version_href, name, description, remote].hash
189
+ [pulp_href, pulp_created, versions_href, pulp_labels, latest_version_href, name, description, retained_versions, remote].hash
164
190
  end
165
191
 
166
192
  # Builds the object from hash
@@ -26,6 +26,9 @@ module PulpDebClient
26
26
  # A unique name. Ex, `rawhide` and `stable`.
27
27
  attr_accessor :name
28
28
 
29
+ # The latest RepositoryVersion for this Repository will be served.
30
+ attr_accessor :repository
31
+
29
32
  # Publication to be served
30
33
  attr_accessor :publication
31
34
 
@@ -36,6 +39,7 @@ module PulpDebClient
36
39
  :'content_guard' => :'content_guard',
37
40
  :'pulp_labels' => :'pulp_labels',
38
41
  :'name' => :'name',
42
+ :'repository' => :'repository',
39
43
  :'publication' => :'publication'
40
44
  }
41
45
  end
@@ -47,6 +51,7 @@ module PulpDebClient
47
51
  :'content_guard' => :'String',
48
52
  :'pulp_labels' => :'Object',
49
53
  :'name' => :'String',
54
+ :'repository' => :'String',
50
55
  :'publication' => :'String'
51
56
  }
52
57
  end
@@ -55,6 +60,7 @@ module PulpDebClient
55
60
  def self.openapi_nullable
56
61
  Set.new([
57
62
  :'content_guard',
63
+ :'repository',
58
64
  :'publication'
59
65
  ])
60
66
  end
@@ -90,6 +96,10 @@ module PulpDebClient
90
96
  self.name = attributes[:'name']
91
97
  end
92
98
 
99
+ if attributes.key?(:'repository')
100
+ self.repository = attributes[:'repository']
101
+ end
102
+
93
103
  if attributes.key?(:'publication')
94
104
  self.publication = attributes[:'publication']
95
105
  end
@@ -117,6 +127,7 @@ module PulpDebClient
117
127
  content_guard == o.content_guard &&
118
128
  pulp_labels == o.pulp_labels &&
119
129
  name == o.name &&
130
+ repository == o.repository &&
120
131
  publication == o.publication
121
132
  end
122
133
 
@@ -129,7 +140,7 @@ module PulpDebClient
129
140
  # Calculates hash code according to all attributes.
130
141
  # @return [Integer] Hash code
131
142
  def hash
132
- [base_path, content_guard, pulp_labels, name, publication].hash
143
+ [base_path, content_guard, pulp_labels, name, repository, publication].hash
133
144
  end
134
145
 
135
146
  # Builds the object from hash
@@ -23,6 +23,9 @@ module PulpDebClient
23
23
  # An optional description.
24
24
  attr_accessor :description
25
25
 
26
+ # Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
27
+ attr_accessor :retained_versions
28
+
26
29
  attr_accessor :remote
27
30
 
28
31
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -31,6 +34,7 @@ module PulpDebClient
31
34
  :'pulp_labels' => :'pulp_labels',
32
35
  :'name' => :'name',
33
36
  :'description' => :'description',
37
+ :'retained_versions' => :'retained_versions',
34
38
  :'remote' => :'remote'
35
39
  }
36
40
  end
@@ -41,6 +45,7 @@ module PulpDebClient
41
45
  :'pulp_labels' => :'Object',
42
46
  :'name' => :'String',
43
47
  :'description' => :'String',
48
+ :'retained_versions' => :'Integer',
44
49
  :'remote' => :'String'
45
50
  }
46
51
  end
@@ -49,6 +54,7 @@ module PulpDebClient
49
54
  def self.openapi_nullable
50
55
  Set.new([
51
56
  :'description',
57
+ :'retained_versions',
52
58
  :'remote'
53
59
  ])
54
60
  end
@@ -80,6 +86,10 @@ module PulpDebClient
80
86
  self.description = attributes[:'description']
81
87
  end
82
88
 
89
+ if attributes.key?(:'retained_versions')
90
+ self.retained_versions = attributes[:'retained_versions']
91
+ end
92
+
83
93
  if attributes.key?(:'remote')
84
94
  self.remote = attributes[:'remote']
85
95
  end
@@ -89,15 +99,30 @@ module PulpDebClient
89
99
  # @return Array for valid properties with the reasons
90
100
  def list_invalid_properties
91
101
  invalid_properties = Array.new
102
+ if !@retained_versions.nil? && @retained_versions < 1
103
+ invalid_properties.push('invalid value for "retained_versions", must be greater than or equal to 1.')
104
+ end
105
+
92
106
  invalid_properties
93
107
  end
94
108
 
95
109
  # Check to see if the all the properties in the model are valid
96
110
  # @return true if the model is valid
97
111
  def valid?
112
+ return false if !@retained_versions.nil? && @retained_versions < 1
98
113
  true
99
114
  end
100
115
 
116
+ # Custom attribute writer method with validation
117
+ # @param [Object] retained_versions Value to be assigned
118
+ def retained_versions=(retained_versions)
119
+ if !retained_versions.nil? && retained_versions < 1
120
+ fail ArgumentError, 'invalid value for "retained_versions", must be greater than or equal to 1.'
121
+ end
122
+
123
+ @retained_versions = retained_versions
124
+ end
125
+
101
126
  # Checks equality by comparing each attribute.
102
127
  # @param [Object] Object to be compared
103
128
  def ==(o)
@@ -106,6 +131,7 @@ module PulpDebClient
106
131
  pulp_labels == o.pulp_labels &&
107
132
  name == o.name &&
108
133
  description == o.description &&
134
+ retained_versions == o.retained_versions &&
109
135
  remote == o.remote
110
136
  end
111
137
 
@@ -118,7 +144,7 @@ module PulpDebClient
118
144
  # Calculates hash code according to all attributes.
119
145
  # @return [Integer] Hash code
120
146
  def hash
121
- [pulp_labels, name, description, remote].hash
147
+ [pulp_labels, name, description, retained_versions, remote].hash
122
148
  end
123
149
 
124
150
  # Builds the object from hash
@@ -22,6 +22,8 @@ module PulpDebClient
22
22
 
23
23
  attr_accessor :number
24
24
 
25
+ attr_accessor :repository
26
+
25
27
  # A repository version whose content was used as the initial set of content for this repository version
26
28
  attr_accessor :base_version
27
29
 
@@ -34,6 +36,7 @@ module PulpDebClient
34
36
  :'pulp_href' => :'pulp_href',
35
37
  :'pulp_created' => :'pulp_created',
36
38
  :'number' => :'number',
39
+ :'repository' => :'repository',
37
40
  :'base_version' => :'base_version',
38
41
  :'content_summary' => :'content_summary'
39
42
  }
@@ -45,6 +48,7 @@ module PulpDebClient
45
48
  :'pulp_href' => :'String',
46
49
  :'pulp_created' => :'DateTime',
47
50
  :'number' => :'Integer',
51
+ :'repository' => :'String',
48
52
  :'base_version' => :'String',
49
53
  :'content_summary' => :'ContentSummaryResponse'
50
54
  }
@@ -83,6 +87,10 @@ module PulpDebClient
83
87
  self.number = attributes[:'number']
84
88
  end
85
89
 
90
+ if attributes.key?(:'repository')
91
+ self.repository = attributes[:'repository']
92
+ end
93
+
86
94
  if attributes.key?(:'base_version')
87
95
  self.base_version = attributes[:'base_version']
88
96
  end
@@ -113,6 +121,7 @@ module PulpDebClient
113
121
  pulp_href == o.pulp_href &&
114
122
  pulp_created == o.pulp_created &&
115
123
  number == o.number &&
124
+ repository == o.repository &&
116
125
  base_version == o.base_version &&
117
126
  content_summary == o.content_summary
118
127
  end
@@ -126,7 +135,7 @@ module PulpDebClient
126
135
  # Calculates hash code according to all attributes.
127
136
  # @return [Integer] Hash code
128
137
  def hash
129
- [pulp_href, pulp_created, number, base_version, content_summary].hash
138
+ [pulp_href, pulp_created, number, repository, base_version, content_summary].hash
130
139
  end
131
140
 
132
141
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.2.3
11
11
  =end
12
12
 
13
13
  module PulpDebClient
14
- VERSION = '2.11.2'
14
+ VERSION = '2.12.0'
15
15
  end
@@ -60,6 +60,8 @@ describe 'PublicationsAptApi' do
60
60
  # List apt publications
61
61
  # An AptPublication is the ready to serve Pulp-internal representation of an AptRepositoryVersion. When creating an APT publication, users must use simple or structured mode (or both). If the publication should include &#39;.deb&#39; packages that were manually uploaded to the relevant AptRepository, users must use &#39;simple&#x3D;true&#39;. Conversely, &#39;structured&#x3D;true&#39; is only useful for publishing content obtained via synchronization. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
62
62
  # @param [Hash] opts the optional parameters
63
+ # @option opts [String] :content Content Unit referenced by HREF
64
+ # @option opts [String] :content__in Content Unit referenced by HREF
63
65
  # @option opts [Integer] :limit Number of results to return per page.
64
66
  # @option opts [Integer] :offset The initial index from which to return the results.
65
67
  # @option opts [String] :ordering Which field to use when ordering the results.
@@ -60,6 +60,8 @@ describe 'PublicationsVerbatimApi' do
60
60
  # List verbatim publications
61
61
  # An VerbatimPublication is the Pulp-internal representation of a \&quot;mirrored\&quot; AptRepositoryVersion. In other words, the verbatim publisher will recreate the synced subset of some a APT repository using the exact same metadata files and signatures as used by the upstream original. Once a Pulp publication has been created, it can be served by creating a Pulp distribution (in a near atomic action).
62
62
  # @param [Hash] opts the optional parameters
63
+ # @option opts [String] :content Content Unit referenced by HREF
64
+ # @option opts [String] :content__in Content Unit referenced by HREF
63
65
  # @option opts [Integer] :limit Number of results to return per page.
64
66
  # @option opts [Integer] :offset The initial index from which to return the results.
65
67
  # @option opts [String] :ordering Which field to use when ordering the results.
@@ -74,6 +74,12 @@ describe 'DebAptDistributionResponse' do
74
74
  end
75
75
  end
76
76
 
77
+ describe 'test attribute "repository"' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
77
83
  describe 'test attribute "publication"' do
78
84
  it 'should work' do
79
85
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -56,6 +56,12 @@ describe 'DebAptDistribution' do
56
56
  end
57
57
  end
58
58
 
59
+ describe 'test attribute "repository"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
59
65
  describe 'test attribute "publication"' do
60
66
  it 'should work' do
61
67
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -74,6 +74,12 @@ describe 'DebAptRepositoryResponse' do
74
74
  end
75
75
  end
76
76
 
77
+ describe 'test attribute "retained_versions"' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
77
83
  describe 'test attribute "remote"' do
78
84
  it 'should work' do
79
85
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -50,6 +50,12 @@ describe 'DebAptRepository' do
50
50
  end
51
51
  end
52
52
 
53
+ describe 'test attribute "retained_versions"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
53
59
  describe 'test attribute "remote"' do
54
60
  it 'should work' do
55
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -56,6 +56,12 @@ describe 'PatcheddebAptDistribution' do
56
56
  end
57
57
  end
58
58
 
59
+ describe 'test attribute "repository"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
59
65
  describe 'test attribute "publication"' do
60
66
  it 'should work' do
61
67
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -50,6 +50,12 @@ describe 'PatcheddebAptRepository' do
50
50
  end
51
51
  end
52
52
 
53
+ describe 'test attribute "retained_versions"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
53
59
  describe 'test attribute "remote"' do
54
60
  it 'should work' do
55
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -50,6 +50,12 @@ describe 'RepositoryVersionResponse' do
50
50
  end
51
51
  end
52
52
 
53
+ describe 'test attribute "repository"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
53
59
  describe 'test attribute "base_version"' do
54
60
  it 'should work' do
55
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_deb_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.11.2
4
+ version: 2.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-25 00:00:00.000000000 Z
11
+ date: 2021-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -318,76 +318,76 @@ signing_key:
318
318
  specification_version: 4
319
319
  summary: Pulp 3 API Ruby Gem
320
320
  test_files:
321
- - spec/api/content_release_files_api_spec.rb
322
- - spec/api/publications_verbatim_api_spec.rb
323
- - spec/api/content_package_release_components_api_spec.rb
324
- - spec/api/content_installer_file_indices_api_spec.rb
325
- - spec/api/content_installer_packages_api_spec.rb
326
- - spec/api/distributions_apt_api_spec.rb
327
- - spec/api/content_release_architectures_api_spec.rb
328
321
  - spec/api/content_packages_api_spec.rb
329
- - spec/api/remotes_apt_api_spec.rb
330
- - spec/api/repositories_deb_versions_api_spec.rb
331
- - spec/api/content_release_components_api_spec.rb
332
- - spec/api/publications_apt_api_spec.rb
333
- - spec/api/repositories_apt_api_spec.rb
334
322
  - spec/api/content_package_indices_api_spec.rb
335
323
  - spec/api/content_releases_api_spec.rb
324
+ - spec/api/publications_verbatim_api_spec.rb
325
+ - spec/api/repositories_apt_api_spec.rb
336
326
  - spec/api/content_generic_contents_api_spec.rb
327
+ - spec/api/publications_apt_api_spec.rb
328
+ - spec/api/remotes_apt_api_spec.rb
329
+ - spec/api/content_installer_file_indices_api_spec.rb
330
+ - spec/api/content_release_files_api_spec.rb
331
+ - spec/api/content_release_components_api_spec.rb
332
+ - spec/api/content_release_architectures_api_spec.rb
333
+ - spec/api/repositories_deb_versions_api_spec.rb
334
+ - spec/api/content_installer_packages_api_spec.rb
335
+ - spec/api/distributions_apt_api_spec.rb
336
+ - spec/api/content_package_release_components_api_spec.rb
337
337
  - spec/api_client_spec.rb
338
338
  - spec/configuration_spec.rb
339
- - spec/models/deb_package_release_component_spec.rb
340
- - spec/models/deb_apt_distribution_response_spec.rb
341
- - spec/models/deb_apt_repository_response_spec.rb
339
+ - spec/models/paginateddeb_base_package_response_list_spec.rb
340
+ - spec/models/deb_release_spec.rb
342
341
  - spec/models/deb_release_file_spec.rb
343
- - spec/models/repository_version_response_spec.rb
344
- - spec/models/paginateddeb_apt_repository_response_list_spec.rb
345
- - spec/models/deb_base_package_spec.rb
346
- - spec/models/deb_generic_content_response_spec.rb
347
- - spec/models/deb_release_response_spec.rb
348
- - spec/models/policy_enum_spec.rb
349
- - spec/models/deb_package_index_spec.rb
350
- - spec/models/paginateddeb_installer_file_index_response_list_spec.rb
351
- - spec/models/paginateddeb_release_file_response_list_spec.rb
352
- - spec/models/deb_installer_file_index_spec.rb
342
+ - spec/models/deb_generic_content_spec.rb
343
+ - spec/models/deb_release_component_response_spec.rb
344
+ - spec/models/paginateddeb_release_response_list_spec.rb
345
+ - spec/models/repository_version_spec.rb
346
+ - spec/models/deb_verbatim_publication_response_spec.rb
347
+ - spec/models/paginateddeb_apt_publication_response_list_spec.rb
348
+ - spec/models/deb_release_architecture_response_spec.rb
353
349
  - spec/models/deb_verbatim_publication_spec.rb
354
- - spec/models/deb_installer_file_index_response_spec.rb
350
+ - spec/models/deb_generic_content_response_spec.rb
351
+ - spec/models/deb_base_package_response_spec.rb
355
352
  - spec/models/paginateddeb_verbatim_publication_response_list_spec.rb
356
353
  - spec/models/deb_apt_distribution_spec.rb
357
- - spec/models/paginateddeb_apt_distribution_response_list_spec.rb
358
- - spec/models/deb_base_package_response_spec.rb
359
- - spec/models/paginated_repository_version_response_list_spec.rb
360
- - spec/models/repository_add_remove_content_spec.rb
361
- - spec/models/deb_release_spec.rb
362
- - spec/models/patcheddeb_apt_remote_spec.rb
363
- - spec/models/paginateddeb_generic_content_response_list_spec.rb
364
- - spec/models/paginateddeb_apt_publication_response_list_spec.rb
365
- - spec/models/content_summary_response_spec.rb
366
- - spec/models/deb_verbatim_publication_response_spec.rb
354
+ - spec/models/deb_apt_publication_response_spec.rb
355
+ - spec/models/patcheddeb_apt_repository_spec.rb
356
+ - spec/models/policy_enum_spec.rb
357
+ - spec/models/deb_apt_repository_response_spec.rb
367
358
  - spec/models/paginateddeb_package_index_response_list_spec.rb
368
- - spec/models/patcheddeb_apt_distribution_spec.rb
369
- - spec/models/paginateddeb_package_release_component_response_list_spec.rb
370
- - spec/models/repository_version_spec.rb
371
359
  - spec/models/paginateddeb_release_component_response_list_spec.rb
372
- - spec/models/deb_apt_remote_response_spec.rb
373
- - spec/models/deb_apt_publication_spec.rb
360
+ - spec/models/deb_release_file_response_spec.rb
361
+ - spec/models/paginateddeb_package_release_component_response_list_spec.rb
362
+ - spec/models/deb_package_release_component_spec.rb
363
+ - spec/models/paginateddeb_release_file_response_list_spec.rb
364
+ - spec/models/paginateddeb_generic_content_response_list_spec.rb
365
+ - spec/models/repository_version_response_spec.rb
366
+ - spec/models/async_operation_response_spec.rb
367
+ - spec/models/repository_add_remove_content_spec.rb
374
368
  - spec/models/deb_package_release_component_response_spec.rb
369
+ - spec/models/deb_release_response_spec.rb
375
370
  - spec/models/deb_package_index_response_spec.rb
376
- - spec/models/paginateddeb_release_response_list_spec.rb
377
- - spec/models/deb_generic_content_spec.rb
378
- - spec/models/repository_sync_url_spec.rb
379
371
  - spec/models/content_summary_spec.rb
380
- - spec/models/deb_apt_publication_response_spec.rb
381
- - spec/models/deb_release_component_spec.rb
382
- - spec/models/deb_release_file_response_spec.rb
383
- - spec/models/deb_release_architecture_spec.rb
384
- - spec/models/deb_release_component_response_spec.rb
385
- - spec/models/patcheddeb_apt_repository_spec.rb
386
- - spec/models/paginateddeb_apt_remote_response_list_spec.rb
387
- - spec/models/deb_apt_repository_spec.rb
372
+ - spec/models/content_summary_response_spec.rb
373
+ - spec/models/paginateddeb_installer_file_index_response_list_spec.rb
388
374
  - spec/models/deb_apt_remote_spec.rb
389
- - spec/models/paginateddeb_base_package_response_list_spec.rb
390
- - spec/models/async_operation_response_spec.rb
391
- - spec/models/deb_release_architecture_response_spec.rb
375
+ - spec/models/deb_apt_remote_response_spec.rb
376
+ - spec/models/paginateddeb_apt_remote_response_list_spec.rb
377
+ - spec/models/patcheddeb_apt_distribution_spec.rb
378
+ - spec/models/deb_apt_publication_spec.rb
379
+ - spec/models/paginated_repository_version_response_list_spec.rb
392
380
  - spec/models/paginateddeb_release_architecture_response_list_spec.rb
381
+ - spec/models/deb_apt_distribution_response_spec.rb
382
+ - spec/models/deb_installer_file_index_response_spec.rb
383
+ - spec/models/patcheddeb_apt_remote_spec.rb
384
+ - spec/models/deb_base_package_spec.rb
385
+ - spec/models/deb_release_architecture_spec.rb
386
+ - spec/models/repository_sync_url_spec.rb
387
+ - spec/models/paginateddeb_apt_repository_response_list_spec.rb
388
+ - spec/models/paginateddeb_apt_distribution_response_list_spec.rb
389
+ - spec/models/deb_installer_file_index_spec.rb
390
+ - spec/models/deb_release_component_spec.rb
391
+ - spec/models/deb_apt_repository_spec.rb
392
+ - spec/models/deb_package_index_spec.rb
393
393
  - spec/spec_helper.rb