pulp_rpm_client 3.28.1 → 3.29.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 +4 -4
- data/README.md +5 -4
- data/docs/LayoutEnum.md +15 -0
- data/docs/PatchedrpmRpmRepository.md +3 -1
- data/docs/RpmRpmPublication.md +3 -1
- data/docs/RpmRpmPublicationResponse.md +3 -1
- data/docs/RpmRpmRepository.md +3 -1
- data/docs/RpmRpmRepositoryResponse.md +3 -1
- data/lib/pulp_rpm_client/models/layout_enum.rb +40 -0
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +16 -5
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +15 -4
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +15 -4
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +16 -5
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +16 -5
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/lib/pulp_rpm_client.rb +1 -0
- data/spec/models/layout_enum_spec.rb +30 -0
- data/spec/models/patchedrpm_rpm_repository_spec.rb +6 -0
- data/spec/models/rpm_rpm_publication_response_spec.rb +6 -0
- data/spec/models/rpm_rpm_publication_spec.rb +6 -0
- data/spec/models/rpm_rpm_repository_response_spec.rb +6 -0
- data/spec/models/rpm_rpm_repository_spec.rb +6 -0
- metadata +5 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2523ad4ca81a4da47161fd44e449ebcbc8a3e8e5e6194566eb515c8b777fc0c5
|
4
|
+
data.tar.gz: 15f872f8a09f7d3781f14c5782fe5e06a8239654ddc632d7723a6fd585e4709f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63cbb2902ec54dd0c340cd0622f1911dd4bbcff19f511a897575cd29e6892a1f3102f389e0496b43b5fde46e27b6e9418c3d922eb950935a8a947110e7e102d0
|
7
|
+
data.tar.gz: 6b7bd876925238d540f74fe5c856f71981444b6bf58564b0e529cafa6a089d31a52d6c9e069d1952917c96cb109e0d33e361d6938415d037d7cdb5331fd46110
|
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.
|
10
|
+
- Package version: 3.29.0
|
11
11
|
- Generator version: 7.10.0
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
13
13
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
@@ -25,16 +25,16 @@ gem build pulp_rpm_client.gemspec
|
|
25
25
|
Then either install the gem locally:
|
26
26
|
|
27
27
|
```shell
|
28
|
-
gem install ./pulp_rpm_client-3.
|
28
|
+
gem install ./pulp_rpm_client-3.29.0.gem
|
29
29
|
```
|
30
30
|
|
31
|
-
(for development, run `gem install --dev ./pulp_rpm_client-3.
|
31
|
+
(for development, run `gem install --dev ./pulp_rpm_client-3.29.0.gem` to install the development dependencies)
|
32
32
|
|
33
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
34
34
|
|
35
35
|
Finally add this to the Gemfile:
|
36
36
|
|
37
|
-
gem 'pulp_rpm_client', '~> 3.
|
37
|
+
gem 'pulp_rpm_client', '~> 3.29.0'
|
38
38
|
|
39
39
|
### Install from Git
|
40
40
|
|
@@ -224,6 +224,7 @@ Class | Method | HTTP request | Description
|
|
224
224
|
- [PulpRpmClient::ContentSummaryResponse](docs/ContentSummaryResponse.md)
|
225
225
|
- [PulpRpmClient::Copy](docs/Copy.md)
|
226
226
|
- [PulpRpmClient::ImageResponse](docs/ImageResponse.md)
|
227
|
+
- [PulpRpmClient::LayoutEnum](docs/LayoutEnum.md)
|
227
228
|
- [PulpRpmClient::MyPermissionsResponse](docs/MyPermissionsResponse.md)
|
228
229
|
- [PulpRpmClient::NestedRole](docs/NestedRole.md)
|
229
230
|
- [PulpRpmClient::NestedRoleResponse](docs/NestedRoleResponse.md)
|
data/docs/LayoutEnum.md
ADDED
@@ -21,6 +21,7 @@
|
|
21
21
|
| **repo_gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. | [optional] |
|
22
22
|
| **repo_config** | **Object** | A JSON document describing config.repo file | [optional] |
|
23
23
|
| **compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz | [optional] |
|
24
|
+
| **layout** | [**LayoutEnum**](LayoutEnum.md) | How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat | [optional] |
|
24
25
|
|
25
26
|
## Example
|
26
27
|
|
@@ -44,7 +45,8 @@ instance = PulpRpmClient::PatchedrpmRpmRepository.new(
|
|
44
45
|
gpgcheck: null,
|
45
46
|
repo_gpgcheck: null,
|
46
47
|
repo_config: null,
|
47
|
-
compression_type: null
|
48
|
+
compression_type: null,
|
49
|
+
layout: null
|
48
50
|
)
|
49
51
|
```
|
50
52
|
|
data/docs/RpmRpmPublication.md
CHANGED
@@ -13,6 +13,7 @@
|
|
13
13
|
| **repo_gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. | [optional] |
|
14
14
|
| **repo_config** | **Object** | A JSON document describing config.repo file | [optional] |
|
15
15
|
| **compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz | [optional] |
|
16
|
+
| **layout** | [**LayoutEnum**](LayoutEnum.md) | How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat | [optional] |
|
16
17
|
|
17
18
|
## Example
|
18
19
|
|
@@ -28,7 +29,8 @@ instance = PulpRpmClient::RpmRpmPublication.new(
|
|
28
29
|
gpgcheck: null,
|
29
30
|
repo_gpgcheck: null,
|
30
31
|
repo_config: null,
|
31
|
-
compression_type: null
|
32
|
+
compression_type: null,
|
33
|
+
layout: null
|
32
34
|
)
|
33
35
|
```
|
34
36
|
|
@@ -18,6 +18,7 @@
|
|
18
18
|
| **sqlite_metadata** | **Boolean** | REMOVED: An option specifying whether Pulp should generate SQLite metadata. Not operation since pulp_rpm 3.25.0 release | [optional][readonly][default to false] |
|
19
19
|
| **repo_config** | **Object** | A JSON document describing config.repo file | [optional] |
|
20
20
|
| **compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz | [optional] |
|
21
|
+
| **layout** | [**LayoutEnum**](LayoutEnum.md) | How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat | [optional] |
|
21
22
|
|
22
23
|
## Example
|
23
24
|
|
@@ -38,7 +39,8 @@ instance = PulpRpmClient::RpmRpmPublicationResponse.new(
|
|
38
39
|
repo_gpgcheck: null,
|
39
40
|
sqlite_metadata: null,
|
40
41
|
repo_config: null,
|
41
|
-
compression_type: null
|
42
|
+
compression_type: null,
|
43
|
+
layout: null
|
42
44
|
)
|
43
45
|
```
|
44
46
|
|
data/docs/RpmRpmRepository.md
CHANGED
@@ -21,6 +21,7 @@
|
|
21
21
|
| **repo_gpgcheck** | **Integer** | DEPRECATED: An option specifying whether a client should perform a GPG signature check on the repodata. | [optional] |
|
22
22
|
| **repo_config** | **Object** | A JSON document describing config.repo file | [optional] |
|
23
23
|
| **compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz | [optional] |
|
24
|
+
| **layout** | [**LayoutEnum**](LayoutEnum.md) | How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat | [optional] |
|
24
25
|
|
25
26
|
## Example
|
26
27
|
|
@@ -44,7 +45,8 @@ instance = PulpRpmClient::RpmRpmRepository.new(
|
|
44
45
|
gpgcheck: null,
|
45
46
|
repo_gpgcheck: null,
|
46
47
|
repo_config: null,
|
47
|
-
compression_type: null
|
48
|
+
compression_type: null,
|
49
|
+
layout: null
|
48
50
|
)
|
49
51
|
```
|
50
52
|
|
@@ -28,6 +28,7 @@
|
|
28
28
|
| **sqlite_metadata** | **Boolean** | REMOVED: An option specifying whether Pulp should generate SQLite metadata. Not operation since pulp_rpm 3.25.0 release | [optional][readonly][default to false] |
|
29
29
|
| **repo_config** | **Object** | A JSON document describing config.repo file | [optional] |
|
30
30
|
| **compression_type** | [**CompressionTypeEnum**](CompressionTypeEnum.md) | The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz | [optional] |
|
31
|
+
| **layout** | [**LayoutEnum**](LayoutEnum.md) | How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat | [optional] |
|
31
32
|
|
32
33
|
## Example
|
33
34
|
|
@@ -58,7 +59,8 @@ instance = PulpRpmClient::RpmRpmRepositoryResponse.new(
|
|
58
59
|
repo_gpgcheck: null,
|
59
60
|
sqlite_metadata: null,
|
60
61
|
repo_config: null,
|
61
|
-
compression_type: null
|
62
|
+
compression_type: null,
|
63
|
+
layout: null
|
62
64
|
)
|
63
65
|
```
|
64
66
|
|
@@ -0,0 +1,40 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.10.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
require 'time'
|
15
|
+
|
16
|
+
module PulpRpmClient
|
17
|
+
class LayoutEnum
|
18
|
+
NESTED_ALPHABETICALLY = "nested_alphabetically".freeze
|
19
|
+
FLAT = "flat".freeze
|
20
|
+
|
21
|
+
def self.all_vars
|
22
|
+
@all_vars ||= [NESTED_ALPHABETICALLY, FLAT].freeze
|
23
|
+
end
|
24
|
+
|
25
|
+
# Builds the enum from string
|
26
|
+
# @param [String] The enum value in the form of the string
|
27
|
+
# @return [String] The enum value
|
28
|
+
def self.build_from_hash(value)
|
29
|
+
new.build_from_hash(value)
|
30
|
+
end
|
31
|
+
|
32
|
+
# Builds the enum from string
|
33
|
+
# @param [String] The enum value in the form of the string
|
34
|
+
# @return [String] The enum value
|
35
|
+
def build_from_hash(value)
|
36
|
+
return value if LayoutEnum.all_vars.include?(value)
|
37
|
+
raise "Invalid ENUM value #{value} for class #LayoutEnum"
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -66,6 +66,9 @@ module PulpRpmClient
|
|
66
66
|
# The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz
|
67
67
|
attr_accessor :compression_type
|
68
68
|
|
69
|
+
# How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat
|
70
|
+
attr_accessor :layout
|
71
|
+
|
69
72
|
class EnumAttributeValidator
|
70
73
|
attr_reader :datatype
|
71
74
|
attr_reader :allowable_values
|
@@ -107,7 +110,8 @@ module PulpRpmClient
|
|
107
110
|
:'gpgcheck' => :'gpgcheck',
|
108
111
|
:'repo_gpgcheck' => :'repo_gpgcheck',
|
109
112
|
:'repo_config' => :'repo_config',
|
110
|
-
:'compression_type' => :'compression_type'
|
113
|
+
:'compression_type' => :'compression_type',
|
114
|
+
:'layout' => :'layout'
|
111
115
|
}
|
112
116
|
end
|
113
117
|
|
@@ -135,7 +139,8 @@ module PulpRpmClient
|
|
135
139
|
:'gpgcheck' => :'Integer',
|
136
140
|
:'repo_gpgcheck' => :'Integer',
|
137
141
|
:'repo_config' => :'Object',
|
138
|
-
:'compression_type' => :'CompressionTypeEnum'
|
142
|
+
:'compression_type' => :'CompressionTypeEnum',
|
143
|
+
:'layout' => :'LayoutEnum'
|
139
144
|
}
|
140
145
|
end
|
141
146
|
|
@@ -153,7 +158,8 @@ module PulpRpmClient
|
|
153
158
|
:'gpgcheck',
|
154
159
|
:'repo_gpgcheck',
|
155
160
|
:'repo_config',
|
156
|
-
:'compression_type'
|
161
|
+
:'compression_type',
|
162
|
+
:'layout'
|
157
163
|
])
|
158
164
|
end
|
159
165
|
|
@@ -245,6 +251,10 @@ module PulpRpmClient
|
|
245
251
|
if attributes.key?(:'compression_type')
|
246
252
|
self.compression_type = attributes[:'compression_type']
|
247
253
|
end
|
254
|
+
|
255
|
+
if attributes.key?(:'layout')
|
256
|
+
self.layout = attributes[:'layout']
|
257
|
+
end
|
248
258
|
end
|
249
259
|
|
250
260
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -418,7 +428,8 @@ module PulpRpmClient
|
|
418
428
|
gpgcheck == o.gpgcheck &&
|
419
429
|
repo_gpgcheck == o.repo_gpgcheck &&
|
420
430
|
repo_config == o.repo_config &&
|
421
|
-
compression_type == o.compression_type
|
431
|
+
compression_type == o.compression_type &&
|
432
|
+
layout == o.layout
|
422
433
|
end
|
423
434
|
|
424
435
|
# @see the `==` method
|
@@ -430,7 +441,7 @@ module PulpRpmClient
|
|
430
441
|
# Calculates hash code according to all attributes.
|
431
442
|
# @return [Integer] Hash code
|
432
443
|
def hash
|
433
|
-
[pulp_labels, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, package_signing_service, package_signing_fingerprint, retain_package_versions, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, repo_config, compression_type].hash
|
444
|
+
[pulp_labels, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, package_signing_service, package_signing_fingerprint, retain_package_versions, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, repo_config, compression_type, layout].hash
|
434
445
|
end
|
435
446
|
|
436
447
|
# Builds the object from hash
|
@@ -42,6 +42,9 @@ module PulpRpmClient
|
|
42
42
|
# The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz
|
43
43
|
attr_accessor :compression_type
|
44
44
|
|
45
|
+
# How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat
|
46
|
+
attr_accessor :layout
|
47
|
+
|
45
48
|
class EnumAttributeValidator
|
46
49
|
attr_reader :datatype
|
47
50
|
attr_reader :allowable_values
|
@@ -75,7 +78,8 @@ module PulpRpmClient
|
|
75
78
|
:'gpgcheck' => :'gpgcheck',
|
76
79
|
:'repo_gpgcheck' => :'repo_gpgcheck',
|
77
80
|
:'repo_config' => :'repo_config',
|
78
|
-
:'compression_type' => :'compression_type'
|
81
|
+
:'compression_type' => :'compression_type',
|
82
|
+
:'layout' => :'layout'
|
79
83
|
}
|
80
84
|
end
|
81
85
|
|
@@ -95,7 +99,8 @@ module PulpRpmClient
|
|
95
99
|
:'gpgcheck' => :'Integer',
|
96
100
|
:'repo_gpgcheck' => :'Integer',
|
97
101
|
:'repo_config' => :'Object',
|
98
|
-
:'compression_type' => :'CompressionTypeEnum'
|
102
|
+
:'compression_type' => :'CompressionTypeEnum',
|
103
|
+
:'layout' => :'LayoutEnum'
|
99
104
|
}
|
100
105
|
end
|
101
106
|
|
@@ -105,6 +110,7 @@ module PulpRpmClient
|
|
105
110
|
:'gpgcheck',
|
106
111
|
:'repo_gpgcheck',
|
107
112
|
:'repo_config',
|
113
|
+
:'layout'
|
108
114
|
])
|
109
115
|
end
|
110
116
|
|
@@ -158,6 +164,10 @@ module PulpRpmClient
|
|
158
164
|
if attributes.key?(:'compression_type')
|
159
165
|
self.compression_type = attributes[:'compression_type']
|
160
166
|
end
|
167
|
+
|
168
|
+
if attributes.key?(:'layout')
|
169
|
+
self.layout = attributes[:'layout']
|
170
|
+
end
|
161
171
|
end
|
162
172
|
|
163
173
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -236,7 +246,8 @@ module PulpRpmClient
|
|
236
246
|
gpgcheck == o.gpgcheck &&
|
237
247
|
repo_gpgcheck == o.repo_gpgcheck &&
|
238
248
|
repo_config == o.repo_config &&
|
239
|
-
compression_type == o.compression_type
|
249
|
+
compression_type == o.compression_type &&
|
250
|
+
layout == o.layout
|
240
251
|
end
|
241
252
|
|
242
253
|
# @see the `==` method
|
@@ -248,7 +259,7 @@ module PulpRpmClient
|
|
248
259
|
# Calculates hash code according to all attributes.
|
249
260
|
# @return [Integer] Hash code
|
250
261
|
def hash
|
251
|
-
[repository_version, repository, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, repo_config, compression_type].hash
|
262
|
+
[repository_version, repository, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, repo_config, compression_type, layout].hash
|
252
263
|
end
|
253
264
|
|
254
265
|
# Builds the object from hash
|
@@ -56,6 +56,9 @@ module PulpRpmClient
|
|
56
56
|
# The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz
|
57
57
|
attr_accessor :compression_type
|
58
58
|
|
59
|
+
# How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat
|
60
|
+
attr_accessor :layout
|
61
|
+
|
59
62
|
class EnumAttributeValidator
|
60
63
|
attr_reader :datatype
|
61
64
|
attr_reader :allowable_values
|
@@ -94,7 +97,8 @@ module PulpRpmClient
|
|
94
97
|
:'repo_gpgcheck' => :'repo_gpgcheck',
|
95
98
|
:'sqlite_metadata' => :'sqlite_metadata',
|
96
99
|
:'repo_config' => :'repo_config',
|
97
|
-
:'compression_type' => :'compression_type'
|
100
|
+
:'compression_type' => :'compression_type',
|
101
|
+
:'layout' => :'layout'
|
98
102
|
}
|
99
103
|
end
|
100
104
|
|
@@ -119,7 +123,8 @@ module PulpRpmClient
|
|
119
123
|
:'repo_gpgcheck' => :'Integer',
|
120
124
|
:'sqlite_metadata' => :'Boolean',
|
121
125
|
:'repo_config' => :'Object',
|
122
|
-
:'compression_type' => :'CompressionTypeEnum'
|
126
|
+
:'compression_type' => :'CompressionTypeEnum',
|
127
|
+
:'layout' => :'LayoutEnum'
|
123
128
|
}
|
124
129
|
end
|
125
130
|
|
@@ -129,6 +134,7 @@ module PulpRpmClient
|
|
129
134
|
:'gpgcheck',
|
130
135
|
:'repo_gpgcheck',
|
131
136
|
:'repo_config',
|
137
|
+
:'layout'
|
132
138
|
])
|
133
139
|
end
|
134
140
|
|
@@ -204,6 +210,10 @@ module PulpRpmClient
|
|
204
210
|
if attributes.key?(:'compression_type')
|
205
211
|
self.compression_type = attributes[:'compression_type']
|
206
212
|
end
|
213
|
+
|
214
|
+
if attributes.key?(:'layout')
|
215
|
+
self.layout = attributes[:'layout']
|
216
|
+
end
|
207
217
|
end
|
208
218
|
|
209
219
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -287,7 +297,8 @@ module PulpRpmClient
|
|
287
297
|
repo_gpgcheck == o.repo_gpgcheck &&
|
288
298
|
sqlite_metadata == o.sqlite_metadata &&
|
289
299
|
repo_config == o.repo_config &&
|
290
|
-
compression_type == o.compression_type
|
300
|
+
compression_type == o.compression_type &&
|
301
|
+
layout == o.layout
|
291
302
|
end
|
292
303
|
|
293
304
|
# @see the `==` method
|
@@ -299,7 +310,7 @@ module PulpRpmClient
|
|
299
310
|
# Calculates hash code according to all attributes.
|
300
311
|
# @return [Integer] Hash code
|
301
312
|
def hash
|
302
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, repository_version, repository, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata, repo_config, compression_type].hash
|
313
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, repository_version, repository, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata, repo_config, compression_type, layout].hash
|
303
314
|
end
|
304
315
|
|
305
316
|
# Builds the object from hash
|
@@ -66,6 +66,9 @@ module PulpRpmClient
|
|
66
66
|
# The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz
|
67
67
|
attr_accessor :compression_type
|
68
68
|
|
69
|
+
# How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat
|
70
|
+
attr_accessor :layout
|
71
|
+
|
69
72
|
class EnumAttributeValidator
|
70
73
|
attr_reader :datatype
|
71
74
|
attr_reader :allowable_values
|
@@ -107,7 +110,8 @@ module PulpRpmClient
|
|
107
110
|
:'gpgcheck' => :'gpgcheck',
|
108
111
|
:'repo_gpgcheck' => :'repo_gpgcheck',
|
109
112
|
:'repo_config' => :'repo_config',
|
110
|
-
:'compression_type' => :'compression_type'
|
113
|
+
:'compression_type' => :'compression_type',
|
114
|
+
:'layout' => :'layout'
|
111
115
|
}
|
112
116
|
end
|
113
117
|
|
@@ -135,7 +139,8 @@ module PulpRpmClient
|
|
135
139
|
:'gpgcheck' => :'Integer',
|
136
140
|
:'repo_gpgcheck' => :'Integer',
|
137
141
|
:'repo_config' => :'Object',
|
138
|
-
:'compression_type' => :'CompressionTypeEnum'
|
142
|
+
:'compression_type' => :'CompressionTypeEnum',
|
143
|
+
:'layout' => :'LayoutEnum'
|
139
144
|
}
|
140
145
|
end
|
141
146
|
|
@@ -153,7 +158,8 @@ module PulpRpmClient
|
|
153
158
|
:'gpgcheck',
|
154
159
|
:'repo_gpgcheck',
|
155
160
|
:'repo_config',
|
156
|
-
:'compression_type'
|
161
|
+
:'compression_type',
|
162
|
+
:'layout'
|
157
163
|
])
|
158
164
|
end
|
159
165
|
|
@@ -247,6 +253,10 @@ module PulpRpmClient
|
|
247
253
|
if attributes.key?(:'compression_type')
|
248
254
|
self.compression_type = attributes[:'compression_type']
|
249
255
|
end
|
256
|
+
|
257
|
+
if attributes.key?(:'layout')
|
258
|
+
self.layout = attributes[:'layout']
|
259
|
+
end
|
250
260
|
end
|
251
261
|
|
252
262
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -425,7 +435,8 @@ module PulpRpmClient
|
|
425
435
|
gpgcheck == o.gpgcheck &&
|
426
436
|
repo_gpgcheck == o.repo_gpgcheck &&
|
427
437
|
repo_config == o.repo_config &&
|
428
|
-
compression_type == o.compression_type
|
438
|
+
compression_type == o.compression_type &&
|
439
|
+
layout == o.layout
|
429
440
|
end
|
430
441
|
|
431
442
|
# @see the `==` method
|
@@ -437,7 +448,7 @@ module PulpRpmClient
|
|
437
448
|
# Calculates hash code according to all attributes.
|
438
449
|
# @return [Integer] Hash code
|
439
450
|
def hash
|
440
|
-
[pulp_labels, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, package_signing_service, package_signing_fingerprint, retain_package_versions, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, repo_config, compression_type].hash
|
451
|
+
[pulp_labels, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, package_signing_service, package_signing_fingerprint, retain_package_versions, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, repo_config, compression_type, layout].hash
|
441
452
|
end
|
442
453
|
|
443
454
|
# Builds the object from hash
|
@@ -84,6 +84,9 @@ module PulpRpmClient
|
|
84
84
|
# The compression type to use for metadata files. * `zstd` - zstd * `gz` - gz
|
85
85
|
attr_accessor :compression_type
|
86
86
|
|
87
|
+
# How to layout the packages within the published repository. * `nested_alphabetically` - nested_alphabetically * `flat` - flat
|
88
|
+
attr_accessor :layout
|
89
|
+
|
87
90
|
class EnumAttributeValidator
|
88
91
|
attr_reader :datatype
|
89
92
|
attr_reader :allowable_values
|
@@ -132,7 +135,8 @@ module PulpRpmClient
|
|
132
135
|
:'repo_gpgcheck' => :'repo_gpgcheck',
|
133
136
|
:'sqlite_metadata' => :'sqlite_metadata',
|
134
137
|
:'repo_config' => :'repo_config',
|
135
|
-
:'compression_type' => :'compression_type'
|
138
|
+
:'compression_type' => :'compression_type',
|
139
|
+
:'layout' => :'layout'
|
136
140
|
}
|
137
141
|
end
|
138
142
|
|
@@ -167,7 +171,8 @@ module PulpRpmClient
|
|
167
171
|
:'repo_gpgcheck' => :'Integer',
|
168
172
|
:'sqlite_metadata' => :'Boolean',
|
169
173
|
:'repo_config' => :'Object',
|
170
|
-
:'compression_type' => :'CompressionTypeEnum'
|
174
|
+
:'compression_type' => :'CompressionTypeEnum',
|
175
|
+
:'layout' => :'LayoutEnum'
|
171
176
|
}
|
172
177
|
end
|
173
178
|
|
@@ -185,7 +190,8 @@ module PulpRpmClient
|
|
185
190
|
:'gpgcheck',
|
186
191
|
:'repo_gpgcheck',
|
187
192
|
:'repo_config',
|
188
|
-
:'compression_type'
|
193
|
+
:'compression_type',
|
194
|
+
:'layout'
|
189
195
|
])
|
190
196
|
end
|
191
197
|
|
@@ -309,6 +315,10 @@ module PulpRpmClient
|
|
309
315
|
if attributes.key?(:'compression_type')
|
310
316
|
self.compression_type = attributes[:'compression_type']
|
311
317
|
end
|
318
|
+
|
319
|
+
if attributes.key?(:'layout')
|
320
|
+
self.layout = attributes[:'layout']
|
321
|
+
end
|
312
322
|
end
|
313
323
|
|
314
324
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -460,7 +470,8 @@ module PulpRpmClient
|
|
460
470
|
repo_gpgcheck == o.repo_gpgcheck &&
|
461
471
|
sqlite_metadata == o.sqlite_metadata &&
|
462
472
|
repo_config == o.repo_config &&
|
463
|
-
compression_type == o.compression_type
|
473
|
+
compression_type == o.compression_type &&
|
474
|
+
layout == o.layout
|
464
475
|
end
|
465
476
|
|
466
477
|
# @see the `==` method
|
@@ -472,7 +483,7 @@ module PulpRpmClient
|
|
472
483
|
# Calculates hash code according to all attributes.
|
473
484
|
# @return [Integer] Hash code
|
474
485
|
def hash
|
475
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, package_signing_service, package_signing_fingerprint, retain_package_versions, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata, repo_config, compression_type].hash
|
486
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, autopublish, metadata_signing_service, package_signing_service, package_signing_fingerprint, retain_package_versions, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata, repo_config, compression_type, layout].hash
|
476
487
|
end
|
477
488
|
|
478
489
|
# Builds the object from hash
|
data/lib/pulp_rpm_client.rb
CHANGED
@@ -25,6 +25,7 @@ require 'pulp_rpm_client/models/compression_type_enum'
|
|
25
25
|
require 'pulp_rpm_client/models/content_summary_response'
|
26
26
|
require 'pulp_rpm_client/models/copy'
|
27
27
|
require 'pulp_rpm_client/models/image_response'
|
28
|
+
require 'pulp_rpm_client/models/layout_enum'
|
28
29
|
require 'pulp_rpm_client/models/my_permissions_response'
|
29
30
|
require 'pulp_rpm_client/models/nested_role'
|
30
31
|
require 'pulp_rpm_client/models/nested_role_response'
|
@@ -0,0 +1,30 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.10.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpRpmClient::LayoutEnum
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe PulpRpmClient::LayoutEnum do
|
21
|
+
let(:instance) { PulpRpmClient::LayoutEnum.new }
|
22
|
+
|
23
|
+
describe 'test an instance of LayoutEnum' do
|
24
|
+
it 'should create an instance of LayoutEnum' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(PulpRpmClient::LayoutEnum)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
end
|
@@ -129,4 +129,10 @@ describe PulpRpmClient::PatchedrpmRpmRepository do
|
|
129
129
|
end
|
130
130
|
end
|
131
131
|
|
132
|
+
describe 'test attribute "layout"' do
|
133
|
+
it 'should work' do
|
134
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
135
|
+
end
|
136
|
+
end
|
137
|
+
|
132
138
|
end
|
@@ -111,4 +111,10 @@ describe PulpRpmClient::RpmRpmPublicationResponse do
|
|
111
111
|
end
|
112
112
|
end
|
113
113
|
|
114
|
+
describe 'test attribute "layout"' do
|
115
|
+
it 'should work' do
|
116
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
117
|
+
end
|
118
|
+
end
|
119
|
+
|
114
120
|
end
|
@@ -171,4 +171,10 @@ describe PulpRpmClient::RpmRpmRepositoryResponse do
|
|
171
171
|
end
|
172
172
|
end
|
173
173
|
|
174
|
+
describe 'test attribute "layout"' do
|
175
|
+
it 'should work' do
|
176
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
177
|
+
end
|
178
|
+
end
|
179
|
+
|
174
180
|
end
|
@@ -129,4 +129,10 @@ describe PulpRpmClient::RpmRpmRepository do
|
|
129
129
|
end
|
130
130
|
end
|
131
131
|
|
132
|
+
describe 'test attribute "layout"' do
|
133
|
+
it 'should work' do
|
134
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
135
|
+
end
|
136
|
+
end
|
137
|
+
|
132
138
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_rpm_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.29.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
@@ -129,6 +129,7 @@ files:
|
|
129
129
|
- docs/Copy.md
|
130
130
|
- docs/DistributionsRpmApi.md
|
131
131
|
- docs/ImageResponse.md
|
132
|
+
- docs/LayoutEnum.md
|
132
133
|
- docs/MyPermissionsResponse.md
|
133
134
|
- docs/NestedRole.md
|
134
135
|
- docs/NestedRoleResponse.md
|
@@ -241,6 +242,7 @@ files:
|
|
241
242
|
- lib/pulp_rpm_client/models/content_summary_response.rb
|
242
243
|
- lib/pulp_rpm_client/models/copy.rb
|
243
244
|
- lib/pulp_rpm_client/models/image_response.rb
|
245
|
+
- lib/pulp_rpm_client/models/layout_enum.rb
|
244
246
|
- lib/pulp_rpm_client/models/my_permissions_response.rb
|
245
247
|
- lib/pulp_rpm_client/models/nested_role.rb
|
246
248
|
- lib/pulp_rpm_client/models/nested_role_response.rb
|
@@ -343,6 +345,7 @@ files:
|
|
343
345
|
- spec/models/content_summary_response_spec.rb
|
344
346
|
- spec/models/copy_spec.rb
|
345
347
|
- spec/models/image_response_spec.rb
|
348
|
+
- spec/models/layout_enum_spec.rb
|
346
349
|
- spec/models/my_permissions_response_spec.rb
|
347
350
|
- spec/models/nested_role_response_spec.rb
|
348
351
|
- spec/models/nested_role_spec.rb
|
@@ -527,6 +530,7 @@ test_files:
|
|
527
530
|
- spec/models/package_checksum_type_enum_spec.rb
|
528
531
|
- spec/models/rpm_rpm_remote_spec.rb
|
529
532
|
- spec/models/paginatedrpm_modulemd_obsolete_response_list_spec.rb
|
533
|
+
- spec/models/layout_enum_spec.rb
|
530
534
|
- spec/models/prune_packages_spec.rb
|
531
535
|
- spec/models/set_label_response_spec.rb
|
532
536
|
- spec/models/rpm_rpm_distribution_spec.rb
|