pulp_rpm_client 3.14.2 → 3.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: adbe0b3e052a487dba48f15b2aa699ebbe29817230e987973665895f5605e5ef
4
- data.tar.gz: 9d6635f64d8a377dda389bae5dd0013a97bec2fb2cb7ab4866cee4a2d2944928
3
+ metadata.gz: 8a0f868a6b2c23d0234ed3e2a7b4b622cfe1e5ad0040f214a93d4945073f2ff0
4
+ data.tar.gz: 16e7f0636383a2d7f213fe83f5a7480f1cc0f723f5ab7c6436a7c2e9ac980894
5
5
  SHA512:
6
- metadata.gz: 89d7de516f80cd4b8a5741bdedf4a7b0b1b012a849d24639523899eb4f8427f469715d57f8a7d962b6bc364c67d7eca2c01f5421e87d3bb13ac724e9b2cb0d89
7
- data.tar.gz: 5c70670a0e4a3b8ef4facbc33b13c4802a92d56c98c25883dcbb9865ceb63e9465dbff8beac18b8b24dba5ef19c948321854f176bf228b647cf5ebf32aa42ba0
6
+ metadata.gz: fdf23d5cc4185c15f09ab46583c05cafbd41e1656f2b74176493febfde30e3d68ff3eff96042bd022caa5b822eb1a73fe513ee5c9bd386b29162d2203e4f8ceb
7
+ data.tar.gz: 5eec77db196250c0e167cd6095c2a1c69261f4ad77d05ac6c7dcbe7f71001df79688b5f7a3ba5e9e607a0687d64f839844182037d138e97319d6b2097ef2edfd
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: 3.14.2
10
+ - Package version: 3.15.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_rpm_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_rpm_client-3.14.2.gem
27
+ gem install ./pulp_rpm_client-3.15.0.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_rpm_client-3.14.2.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_rpm_client-3.15.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_rpm_client', '~> 3.14.2'
36
+ gem 'pulp_rpm_client', '~> 3.15.0'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -82,7 +82,7 @@ end
82
82
 
83
83
  ## Documentation for API Endpoints
84
84
 
85
- All URIs are relative to *http://pulp*
85
+ All URIs are relative to *https://pulp*
86
86
 
87
87
  Class | Method | HTTP request | Description
88
88
  ------------ | ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentAdvisoriesApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentDistributionTreesApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentModulemdDefaultsApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentModulemdsApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentPackagecategoriesApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentPackageenvironmentsApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentPackagegroupsApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentPackagelangpacksApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentPackagesApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::ContentRepoMetadataFilesApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::DistributionsRpmApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -7,8 +7,8 @@ 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]
11
- **remote** | **String** | | [optional]
10
+ **retain_repo_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]
11
+ **remote** | **String** | An optional remote to use by default when syncing. | [optional]
12
12
  **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional] [default to false]
13
13
  **metadata_signing_service** | **String** | A reference to an associated signing service. | [optional]
14
14
  **retain_package_versions** | **Integer** | The number of versions of each package to keep in the repository; older versions will be purged. The default is '0', which will disable this feature and keep all versions of each package. | [optional]
@@ -26,7 +26,7 @@ require 'PulpRpmClient'
26
26
  instance = PulpRpmClient::PatchedrpmRpmRepository.new(pulp_labels: null,
27
27
  name: null,
28
28
  description: null,
29
- retained_versions: null,
29
+ retain_repo_versions: null,
30
30
  remote: null,
31
31
  autopublish: null,
32
32
  metadata_signing_service: null,
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::PublicationsRpmApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::RemotesRpmApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::RemotesUlnApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::RepositoriesRpmApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::RepositoriesRpmVersionsApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
data/docs/RpmCopyApi.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::RpmCopyApi
2
2
 
3
- All URIs are relative to *http://pulp*
3
+ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -7,8 +7,8 @@ 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]
11
- **remote** | **String** | | [optional]
10
+ **retain_repo_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]
11
+ **remote** | **String** | An optional remote to use by default when syncing. | [optional]
12
12
  **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional] [default to false]
13
13
  **metadata_signing_service** | **String** | A reference to an associated signing service. | [optional]
14
14
  **retain_package_versions** | **Integer** | The number of versions of each package to keep in the repository; older versions will be purged. The default is '0', which will disable this feature and keep all versions of each package. | [optional]
@@ -26,7 +26,7 @@ require 'PulpRpmClient'
26
26
  instance = PulpRpmClient::RpmRpmRepository.new(pulp_labels: null,
27
27
  name: null,
28
28
  description: null,
29
- retained_versions: null,
29
+ retain_repo_versions: null,
30
30
  remote: null,
31
31
  autopublish: null,
32
32
  metadata_signing_service: null,
@@ -11,8 +11,8 @@ 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]
15
- **remote** | **String** | | [optional]
14
+ **retain_repo_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]
15
+ **remote** | **String** | An optional remote to use by default when syncing. | [optional]
16
16
  **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional] [default to false]
17
17
  **metadata_signing_service** | **String** | A reference to an associated signing service. | [optional]
18
18
  **retain_package_versions** | **Integer** | The number of versions of each package to keep in the repository; older versions will be purged. The default is '0', which will disable this feature and keep all versions of each package. | [optional]
@@ -34,7 +34,7 @@ instance = PulpRpmClient::RpmRpmRepositoryResponse.new(pulp_href: null,
34
34
  latest_version_href: null,
35
35
  name: null,
36
36
  description: null,
37
- retained_versions: null,
37
+ retain_repo_versions: null,
38
38
  remote: null,
39
39
  autopublish: null,
40
40
  metadata_signing_service: null,
@@ -127,7 +127,7 @@ module PulpRpmClient
127
127
  attr_accessor :force_ending_format
128
128
 
129
129
  def initialize
130
- @scheme = 'http'
130
+ @scheme = 'https'
131
131
  @host = 'pulp'
132
132
  @base_path = ''
133
133
  @api_key = {}
@@ -209,7 +209,7 @@ module PulpRpmClient
209
209
  def server_settings
210
210
  [
211
211
  {
212
- url: "http://pulp/",
212
+ url: "https://pulp/",
213
213
  description: "No description provided",
214
214
  }
215
215
  ]
@@ -24,8 +24,9 @@ module PulpRpmClient
24
24
  attr_accessor :description
25
25
 
26
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
27
+ attr_accessor :retain_repo_versions
28
28
 
29
+ # An optional remote to use by default when syncing.
29
30
  attr_accessor :remote
30
31
 
31
32
  # Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository.
@@ -58,7 +59,7 @@ module PulpRpmClient
58
59
  :'pulp_labels' => :'pulp_labels',
59
60
  :'name' => :'name',
60
61
  :'description' => :'description',
61
- :'retained_versions' => :'retained_versions',
62
+ :'retain_repo_versions' => :'retain_repo_versions',
62
63
  :'remote' => :'remote',
63
64
  :'autopublish' => :'autopublish',
64
65
  :'metadata_signing_service' => :'metadata_signing_service',
@@ -77,7 +78,7 @@ module PulpRpmClient
77
78
  :'pulp_labels' => :'Object',
78
79
  :'name' => :'String',
79
80
  :'description' => :'String',
80
- :'retained_versions' => :'Integer',
81
+ :'retain_repo_versions' => :'Integer',
81
82
  :'remote' => :'String',
82
83
  :'autopublish' => :'Boolean',
83
84
  :'metadata_signing_service' => :'String',
@@ -94,7 +95,7 @@ module PulpRpmClient
94
95
  def self.openapi_nullable
95
96
  Set.new([
96
97
  :'description',
97
- :'retained_versions',
98
+ :'retain_repo_versions',
98
99
  :'remote',
99
100
  :'metadata_signing_service',
100
101
  :'metadata_checksum_type',
@@ -129,8 +130,8 @@ module PulpRpmClient
129
130
  self.description = attributes[:'description']
130
131
  end
131
132
 
132
- if attributes.key?(:'retained_versions')
133
- self.retained_versions = attributes[:'retained_versions']
133
+ if attributes.key?(:'retain_repo_versions')
134
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
134
135
  end
135
136
 
136
137
  if attributes.key?(:'remote')
@@ -182,8 +183,8 @@ module PulpRpmClient
182
183
  # @return Array for valid properties with the reasons
183
184
  def list_invalid_properties
184
185
  invalid_properties = Array.new
185
- if !@retained_versions.nil? && @retained_versions < 1
186
- invalid_properties.push('invalid value for "retained_versions", must be greater than or equal to 1.')
186
+ if !@retain_repo_versions.nil? && @retain_repo_versions < 1
187
+ invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
187
188
  end
188
189
 
189
190
  if !@retain_package_versions.nil? && @retain_package_versions < 0
@@ -212,7 +213,7 @@ module PulpRpmClient
212
213
  # Check to see if the all the properties in the model are valid
213
214
  # @return true if the model is valid
214
215
  def valid?
215
- return false if !@retained_versions.nil? && @retained_versions < 1
216
+ return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
216
217
  return false if !@retain_package_versions.nil? && @retain_package_versions < 0
217
218
  return false if !@gpgcheck.nil? && @gpgcheck > 1
218
219
  return false if !@gpgcheck.nil? && @gpgcheck < 0
@@ -222,13 +223,13 @@ module PulpRpmClient
222
223
  end
223
224
 
224
225
  # Custom attribute writer method with validation
225
- # @param [Object] retained_versions Value to be assigned
226
- def retained_versions=(retained_versions)
227
- if !retained_versions.nil? && retained_versions < 1
228
- fail ArgumentError, 'invalid value for "retained_versions", must be greater than or equal to 1.'
226
+ # @param [Object] retain_repo_versions Value to be assigned
227
+ def retain_repo_versions=(retain_repo_versions)
228
+ if !retain_repo_versions.nil? && retain_repo_versions < 1
229
+ fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
229
230
  end
230
231
 
231
- @retained_versions = retained_versions
232
+ @retain_repo_versions = retain_repo_versions
232
233
  end
233
234
 
234
235
  # Custom attribute writer method with validation
@@ -277,7 +278,7 @@ module PulpRpmClient
277
278
  pulp_labels == o.pulp_labels &&
278
279
  name == o.name &&
279
280
  description == o.description &&
280
- retained_versions == o.retained_versions &&
281
+ retain_repo_versions == o.retain_repo_versions &&
281
282
  remote == o.remote &&
282
283
  autopublish == o.autopublish &&
283
284
  metadata_signing_service == o.metadata_signing_service &&
@@ -298,7 +299,7 @@ module PulpRpmClient
298
299
  # Calculates hash code according to all attributes.
299
300
  # @return [Integer] Hash code
300
301
  def hash
301
- [pulp_labels, name, description, retained_versions, remote, autopublish, metadata_signing_service, retain_package_versions, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata].hash
302
+ [pulp_labels, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, retain_package_versions, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata].hash
302
303
  end
303
304
 
304
305
  # Builds the object from hash
@@ -24,8 +24,9 @@ module PulpRpmClient
24
24
  attr_accessor :description
25
25
 
26
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
27
+ attr_accessor :retain_repo_versions
28
28
 
29
+ # An optional remote to use by default when syncing.
29
30
  attr_accessor :remote
30
31
 
31
32
  # Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository.
@@ -58,7 +59,7 @@ module PulpRpmClient
58
59
  :'pulp_labels' => :'pulp_labels',
59
60
  :'name' => :'name',
60
61
  :'description' => :'description',
61
- :'retained_versions' => :'retained_versions',
62
+ :'retain_repo_versions' => :'retain_repo_versions',
62
63
  :'remote' => :'remote',
63
64
  :'autopublish' => :'autopublish',
64
65
  :'metadata_signing_service' => :'metadata_signing_service',
@@ -77,7 +78,7 @@ module PulpRpmClient
77
78
  :'pulp_labels' => :'Object',
78
79
  :'name' => :'String',
79
80
  :'description' => :'String',
80
- :'retained_versions' => :'Integer',
81
+ :'retain_repo_versions' => :'Integer',
81
82
  :'remote' => :'String',
82
83
  :'autopublish' => :'Boolean',
83
84
  :'metadata_signing_service' => :'String',
@@ -94,7 +95,7 @@ module PulpRpmClient
94
95
  def self.openapi_nullable
95
96
  Set.new([
96
97
  :'description',
97
- :'retained_versions',
98
+ :'retain_repo_versions',
98
99
  :'remote',
99
100
  :'metadata_signing_service',
100
101
  :'metadata_checksum_type',
@@ -129,8 +130,8 @@ module PulpRpmClient
129
130
  self.description = attributes[:'description']
130
131
  end
131
132
 
132
- if attributes.key?(:'retained_versions')
133
- self.retained_versions = attributes[:'retained_versions']
133
+ if attributes.key?(:'retain_repo_versions')
134
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
134
135
  end
135
136
 
136
137
  if attributes.key?(:'remote')
@@ -186,8 +187,8 @@ module PulpRpmClient
186
187
  invalid_properties.push('invalid value for "name", name cannot be nil.')
187
188
  end
188
189
 
189
- if !@retained_versions.nil? && @retained_versions < 1
190
- invalid_properties.push('invalid value for "retained_versions", must be greater than or equal to 1.')
190
+ if !@retain_repo_versions.nil? && @retain_repo_versions < 1
191
+ invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
191
192
  end
192
193
 
193
194
  if !@retain_package_versions.nil? && @retain_package_versions < 0
@@ -217,7 +218,7 @@ module PulpRpmClient
217
218
  # @return true if the model is valid
218
219
  def valid?
219
220
  return false if @name.nil?
220
- return false if !@retained_versions.nil? && @retained_versions < 1
221
+ return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
221
222
  return false if !@retain_package_versions.nil? && @retain_package_versions < 0
222
223
  return false if !@gpgcheck.nil? && @gpgcheck > 1
223
224
  return false if !@gpgcheck.nil? && @gpgcheck < 0
@@ -227,13 +228,13 @@ module PulpRpmClient
227
228
  end
228
229
 
229
230
  # Custom attribute writer method with validation
230
- # @param [Object] retained_versions Value to be assigned
231
- def retained_versions=(retained_versions)
232
- if !retained_versions.nil? && retained_versions < 1
233
- fail ArgumentError, 'invalid value for "retained_versions", must be greater than or equal to 1.'
231
+ # @param [Object] retain_repo_versions Value to be assigned
232
+ def retain_repo_versions=(retain_repo_versions)
233
+ if !retain_repo_versions.nil? && retain_repo_versions < 1
234
+ fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
234
235
  end
235
236
 
236
- @retained_versions = retained_versions
237
+ @retain_repo_versions = retain_repo_versions
237
238
  end
238
239
 
239
240
  # Custom attribute writer method with validation
@@ -282,7 +283,7 @@ module PulpRpmClient
282
283
  pulp_labels == o.pulp_labels &&
283
284
  name == o.name &&
284
285
  description == o.description &&
285
- retained_versions == o.retained_versions &&
286
+ retain_repo_versions == o.retain_repo_versions &&
286
287
  remote == o.remote &&
287
288
  autopublish == o.autopublish &&
288
289
  metadata_signing_service == o.metadata_signing_service &&
@@ -303,7 +304,7 @@ module PulpRpmClient
303
304
  # Calculates hash code according to all attributes.
304
305
  # @return [Integer] Hash code
305
306
  def hash
306
- [pulp_labels, name, description, retained_versions, remote, autopublish, metadata_signing_service, retain_package_versions, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata].hash
307
+ [pulp_labels, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, retain_package_versions, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata].hash
307
308
  end
308
309
 
309
310
  # Builds the object from hash
@@ -33,8 +33,9 @@ module PulpRpmClient
33
33
  attr_accessor :description
34
34
 
35
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
36
+ attr_accessor :retain_repo_versions
37
37
 
38
+ # An optional remote to use by default when syncing.
38
39
  attr_accessor :remote
39
40
 
40
41
  # Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository.
@@ -71,7 +72,7 @@ module PulpRpmClient
71
72
  :'latest_version_href' => :'latest_version_href',
72
73
  :'name' => :'name',
73
74
  :'description' => :'description',
74
- :'retained_versions' => :'retained_versions',
75
+ :'retain_repo_versions' => :'retain_repo_versions',
75
76
  :'remote' => :'remote',
76
77
  :'autopublish' => :'autopublish',
77
78
  :'metadata_signing_service' => :'metadata_signing_service',
@@ -94,7 +95,7 @@ module PulpRpmClient
94
95
  :'latest_version_href' => :'String',
95
96
  :'name' => :'String',
96
97
  :'description' => :'String',
97
- :'retained_versions' => :'Integer',
98
+ :'retain_repo_versions' => :'Integer',
98
99
  :'remote' => :'String',
99
100
  :'autopublish' => :'Boolean',
100
101
  :'metadata_signing_service' => :'String',
@@ -111,7 +112,7 @@ module PulpRpmClient
111
112
  def self.openapi_nullable
112
113
  Set.new([
113
114
  :'description',
114
- :'retained_versions',
115
+ :'retain_repo_versions',
115
116
  :'remote',
116
117
  :'metadata_signing_service',
117
118
  :'metadata_checksum_type',
@@ -162,8 +163,8 @@ module PulpRpmClient
162
163
  self.description = attributes[:'description']
163
164
  end
164
165
 
165
- if attributes.key?(:'retained_versions')
166
- self.retained_versions = attributes[:'retained_versions']
166
+ if attributes.key?(:'retain_repo_versions')
167
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
167
168
  end
168
169
 
169
170
  if attributes.key?(:'remote')
@@ -219,8 +220,8 @@ module PulpRpmClient
219
220
  invalid_properties.push('invalid value for "name", name cannot be nil.')
220
221
  end
221
222
 
222
- if !@retained_versions.nil? && @retained_versions < 1
223
- invalid_properties.push('invalid value for "retained_versions", must be greater than or equal to 1.')
223
+ if !@retain_repo_versions.nil? && @retain_repo_versions < 1
224
+ invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
224
225
  end
225
226
 
226
227
  if !@retain_package_versions.nil? && @retain_package_versions < 0
@@ -250,7 +251,7 @@ module PulpRpmClient
250
251
  # @return true if the model is valid
251
252
  def valid?
252
253
  return false if @name.nil?
253
- return false if !@retained_versions.nil? && @retained_versions < 1
254
+ return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
254
255
  return false if !@retain_package_versions.nil? && @retain_package_versions < 0
255
256
  return false if !@gpgcheck.nil? && @gpgcheck > 1
256
257
  return false if !@gpgcheck.nil? && @gpgcheck < 0
@@ -260,13 +261,13 @@ module PulpRpmClient
260
261
  end
261
262
 
262
263
  # Custom attribute writer method with validation
263
- # @param [Object] retained_versions Value to be assigned
264
- def retained_versions=(retained_versions)
265
- if !retained_versions.nil? && retained_versions < 1
266
- fail ArgumentError, 'invalid value for "retained_versions", must be greater than or equal to 1.'
264
+ # @param [Object] retain_repo_versions Value to be assigned
265
+ def retain_repo_versions=(retain_repo_versions)
266
+ if !retain_repo_versions.nil? && retain_repo_versions < 1
267
+ fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
267
268
  end
268
269
 
269
- @retained_versions = retained_versions
270
+ @retain_repo_versions = retain_repo_versions
270
271
  end
271
272
 
272
273
  # Custom attribute writer method with validation
@@ -319,7 +320,7 @@ module PulpRpmClient
319
320
  latest_version_href == o.latest_version_href &&
320
321
  name == o.name &&
321
322
  description == o.description &&
322
- retained_versions == o.retained_versions &&
323
+ retain_repo_versions == o.retain_repo_versions &&
323
324
  remote == o.remote &&
324
325
  autopublish == o.autopublish &&
325
326
  metadata_signing_service == o.metadata_signing_service &&
@@ -340,7 +341,7 @@ module PulpRpmClient
340
341
  # Calculates hash code according to all attributes.
341
342
  # @return [Integer] Hash code
342
343
  def hash
343
- [pulp_href, pulp_created, versions_href, pulp_labels, latest_version_href, name, description, retained_versions, remote, autopublish, metadata_signing_service, retain_package_versions, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata].hash
344
+ [pulp_href, pulp_created, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, retain_package_versions, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata].hash
344
345
  end
345
346
 
346
347
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpRpmClient
14
- VERSION = '3.14.2'
14
+ VERSION = '3.15.0'
15
15
  end
@@ -18,7 +18,7 @@ describe PulpRpmClient::Configuration do
18
18
  before(:each) do
19
19
  # uncomment below to setup host and base_path
20
20
  # require 'URI'
21
- # uri = URI.parse("http://pulp")
21
+ # uri = URI.parse("https://pulp")
22
22
  # PulpRpmClient.configure do |c|
23
23
  # c.host = uri.host
24
24
  # c.base_path = uri.path
@@ -28,14 +28,14 @@ describe PulpRpmClient::Configuration do
28
28
  describe '#base_url' do
29
29
  it 'should have the default value' do
30
30
  # uncomment below to test default value of the base path
31
- # expect(config.base_url).to eq("http://pulp")
31
+ # expect(config.base_url).to eq("https://pulp")
32
32
  end
33
33
 
34
34
  it 'should remove trailing slashes' do
35
35
  [nil, '', '/', '//'].each do |base_path|
36
36
  config.base_path = base_path
37
37
  # uncomment below to test trailing slashes
38
- # expect(config.base_url).to eq("http://pulp")
38
+ # expect(config.base_url).to eq("https://pulp")
39
39
  end
40
40
  end
41
41
  end
@@ -50,7 +50,7 @@ describe 'PatchedrpmRpmRepository' do
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "retained_versions"' do
53
+ describe 'test attribute "retain_repo_versions"' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
@@ -74,7 +74,7 @@ describe 'RpmRpmRepositoryResponse' do
74
74
  end
75
75
  end
76
76
 
77
- describe 'test attribute "retained_versions"' do
77
+ describe 'test attribute "retain_repo_versions"' do
78
78
  it 'should work' do
79
79
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
80
  end
@@ -50,7 +50,7 @@ describe 'RpmRpmRepository' do
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "retained_versions"' do
53
+ describe 'test attribute "retain_repo_versions"' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_rpm_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.14.2
4
+ version: 3.15.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-08-24 00:00:00.000000000 Z
11
+ date: 2021-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday