pulp_python_client 3.26.1 → 3.27.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/PatchedpythonPythonDistribution.md +2 -2
- data/docs/PatchedpythonPythonRepository.md +3 -1
- data/docs/PublicationsPypiApi.md +3 -3
- data/docs/PythonPythonDistribution.md +2 -2
- data/docs/PythonPythonDistributionResponse.md +4 -2
- data/docs/PythonPythonRepository.md +3 -1
- data/docs/PythonPythonRepositoryResponse.md +3 -1
- data/docs/RepositoriesPythonApi.md +18 -2
- data/lib/pulp_python_client/api/publications_pypi_api.rb +6 -6
- data/lib/pulp_python_client/api/repositories_python_api.rb +27 -3
- data/lib/pulp_python_client/models/patchedpython_python_distribution.rb +12 -12
- data/lib/pulp_python_client/models/patchedpython_python_repository.rb +28 -2
- data/lib/pulp_python_client/models/python_python_distribution.rb +12 -12
- data/lib/pulp_python_client/models/python_python_distribution_response.rb +22 -12
- data/lib/pulp_python_client/models/python_python_repository.rb +28 -2
- data/lib/pulp_python_client/models/python_python_repository_response.rb +28 -2
- data/lib/pulp_python_client/version.rb +1 -1
- data/spec/api/publications_pypi_api_spec.rb +3 -3
- data/spec/api/repositories_python_api_spec.rb +9 -1
- data/spec/models/patchedpython_python_distribution_spec.rb +2 -2
- data/spec/models/patchedpython_python_repository_spec.rb +6 -0
- data/spec/models/python_python_distribution_response_spec.rb +8 -2
- data/spec/models/python_python_distribution_spec.rb +2 -2
- data/spec/models/python_python_repository_response_spec.rb +6 -0
- data/spec/models/python_python_repository_spec.rb +6 -0
- metadata +44 -44
|
@@ -33,12 +33,12 @@ module PulpPythonClient
|
|
|
33
33
|
# The latest RepositoryVersion for this Repository will be served.
|
|
34
34
|
attr_accessor :repository
|
|
35
35
|
|
|
36
|
-
# Publication to be served
|
|
37
|
-
attr_accessor :publication
|
|
38
|
-
|
|
39
36
|
# RepositoryVersion to be served.
|
|
40
37
|
attr_accessor :repository_version
|
|
41
38
|
|
|
39
|
+
# Publication to be served. [Deprecated]
|
|
40
|
+
attr_accessor :publication
|
|
41
|
+
|
|
42
42
|
# Allow packages to be uploaded to this index.
|
|
43
43
|
attr_accessor :allow_uploads
|
|
44
44
|
|
|
@@ -54,8 +54,8 @@ module PulpPythonClient
|
|
|
54
54
|
:'pulp_labels' => :'pulp_labels',
|
|
55
55
|
:'name' => :'name',
|
|
56
56
|
:'repository' => :'repository',
|
|
57
|
-
:'publication' => :'publication',
|
|
58
57
|
:'repository_version' => :'repository_version',
|
|
58
|
+
:'publication' => :'publication',
|
|
59
59
|
:'allow_uploads' => :'allow_uploads',
|
|
60
60
|
:'remote' => :'remote'
|
|
61
61
|
}
|
|
@@ -75,8 +75,8 @@ module PulpPythonClient
|
|
|
75
75
|
:'pulp_labels' => :'Hash<String, String>',
|
|
76
76
|
:'name' => :'String',
|
|
77
77
|
:'repository' => :'String',
|
|
78
|
-
:'publication' => :'String',
|
|
79
78
|
:'repository_version' => :'String',
|
|
79
|
+
:'publication' => :'String',
|
|
80
80
|
:'allow_uploads' => :'Boolean',
|
|
81
81
|
:'remote' => :'String'
|
|
82
82
|
}
|
|
@@ -87,8 +87,8 @@ module PulpPythonClient
|
|
|
87
87
|
Set.new([
|
|
88
88
|
:'content_guard',
|
|
89
89
|
:'repository',
|
|
90
|
-
:'publication',
|
|
91
90
|
:'repository_version',
|
|
91
|
+
:'publication',
|
|
92
92
|
:'remote'
|
|
93
93
|
])
|
|
94
94
|
end
|
|
@@ -140,14 +140,14 @@ module PulpPythonClient
|
|
|
140
140
|
self.repository = attributes[:'repository']
|
|
141
141
|
end
|
|
142
142
|
|
|
143
|
-
if attributes.key?(:'publication')
|
|
144
|
-
self.publication = attributes[:'publication']
|
|
145
|
-
end
|
|
146
|
-
|
|
147
143
|
if attributes.key?(:'repository_version')
|
|
148
144
|
self.repository_version = attributes[:'repository_version']
|
|
149
145
|
end
|
|
150
146
|
|
|
147
|
+
if attributes.key?(:'publication')
|
|
148
|
+
self.publication = attributes[:'publication']
|
|
149
|
+
end
|
|
150
|
+
|
|
151
151
|
if attributes.key?(:'allow_uploads')
|
|
152
152
|
self.allow_uploads = attributes[:'allow_uploads']
|
|
153
153
|
else
|
|
@@ -233,8 +233,8 @@ module PulpPythonClient
|
|
|
233
233
|
pulp_labels == o.pulp_labels &&
|
|
234
234
|
name == o.name &&
|
|
235
235
|
repository == o.repository &&
|
|
236
|
-
publication == o.publication &&
|
|
237
236
|
repository_version == o.repository_version &&
|
|
237
|
+
publication == o.publication &&
|
|
238
238
|
allow_uploads == o.allow_uploads &&
|
|
239
239
|
remote == o.remote
|
|
240
240
|
end
|
|
@@ -248,7 +248,7 @@ module PulpPythonClient
|
|
|
248
248
|
# Calculates hash code according to all attributes.
|
|
249
249
|
# @return [Integer] Hash code
|
|
250
250
|
def hash
|
|
251
|
-
[base_path, content_guard, hidden, pulp_labels, name, repository,
|
|
251
|
+
[base_path, content_guard, hidden, pulp_labels, name, repository, repository_version, publication, allow_uploads, remote].hash
|
|
252
252
|
end
|
|
253
253
|
|
|
254
254
|
# Builds the object from hash
|
|
@@ -35,6 +35,9 @@ module PulpPythonClient
|
|
|
35
35
|
# An optional content-guard.
|
|
36
36
|
attr_accessor :content_guard
|
|
37
37
|
|
|
38
|
+
# The Pulp Resource Name (PRN) of the associated optional content guard.
|
|
39
|
+
attr_accessor :content_guard_prn
|
|
40
|
+
|
|
38
41
|
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
39
42
|
attr_accessor :no_content_change_since
|
|
40
43
|
|
|
@@ -49,12 +52,12 @@ module PulpPythonClient
|
|
|
49
52
|
# The latest RepositoryVersion for this Repository will be served.
|
|
50
53
|
attr_accessor :repository
|
|
51
54
|
|
|
52
|
-
# Publication to be served
|
|
53
|
-
attr_accessor :publication
|
|
54
|
-
|
|
55
55
|
# RepositoryVersion to be served.
|
|
56
56
|
attr_accessor :repository_version
|
|
57
57
|
|
|
58
|
+
# Publication to be served. [Deprecated]
|
|
59
|
+
attr_accessor :publication
|
|
60
|
+
|
|
58
61
|
# Allow packages to be uploaded to this index.
|
|
59
62
|
attr_accessor :allow_uploads
|
|
60
63
|
|
|
@@ -71,13 +74,14 @@ module PulpPythonClient
|
|
|
71
74
|
:'base_path' => :'base_path',
|
|
72
75
|
:'base_url' => :'base_url',
|
|
73
76
|
:'content_guard' => :'content_guard',
|
|
77
|
+
:'content_guard_prn' => :'content_guard_prn',
|
|
74
78
|
:'no_content_change_since' => :'no_content_change_since',
|
|
75
79
|
:'hidden' => :'hidden',
|
|
76
80
|
:'pulp_labels' => :'pulp_labels',
|
|
77
81
|
:'name' => :'name',
|
|
78
82
|
:'repository' => :'repository',
|
|
79
|
-
:'publication' => :'publication',
|
|
80
83
|
:'repository_version' => :'repository_version',
|
|
84
|
+
:'publication' => :'publication',
|
|
81
85
|
:'allow_uploads' => :'allow_uploads',
|
|
82
86
|
:'remote' => :'remote'
|
|
83
87
|
}
|
|
@@ -98,13 +102,14 @@ module PulpPythonClient
|
|
|
98
102
|
:'base_path' => :'String',
|
|
99
103
|
:'base_url' => :'String',
|
|
100
104
|
:'content_guard' => :'String',
|
|
105
|
+
:'content_guard_prn' => :'String',
|
|
101
106
|
:'no_content_change_since' => :'String',
|
|
102
107
|
:'hidden' => :'Boolean',
|
|
103
108
|
:'pulp_labels' => :'Hash<String, String>',
|
|
104
109
|
:'name' => :'String',
|
|
105
110
|
:'repository' => :'String',
|
|
106
|
-
:'publication' => :'String',
|
|
107
111
|
:'repository_version' => :'String',
|
|
112
|
+
:'publication' => :'String',
|
|
108
113
|
:'allow_uploads' => :'Boolean',
|
|
109
114
|
:'remote' => :'String'
|
|
110
115
|
}
|
|
@@ -115,8 +120,8 @@ module PulpPythonClient
|
|
|
115
120
|
Set.new([
|
|
116
121
|
:'content_guard',
|
|
117
122
|
:'repository',
|
|
118
|
-
:'publication',
|
|
119
123
|
:'repository_version',
|
|
124
|
+
:'publication',
|
|
120
125
|
:'remote'
|
|
121
126
|
])
|
|
122
127
|
end
|
|
@@ -166,6 +171,10 @@ module PulpPythonClient
|
|
|
166
171
|
self.content_guard = attributes[:'content_guard']
|
|
167
172
|
end
|
|
168
173
|
|
|
174
|
+
if attributes.key?(:'content_guard_prn')
|
|
175
|
+
self.content_guard_prn = attributes[:'content_guard_prn']
|
|
176
|
+
end
|
|
177
|
+
|
|
169
178
|
if attributes.key?(:'no_content_change_since')
|
|
170
179
|
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
171
180
|
end
|
|
@@ -192,14 +201,14 @@ module PulpPythonClient
|
|
|
192
201
|
self.repository = attributes[:'repository']
|
|
193
202
|
end
|
|
194
203
|
|
|
195
|
-
if attributes.key?(:'publication')
|
|
196
|
-
self.publication = attributes[:'publication']
|
|
197
|
-
end
|
|
198
|
-
|
|
199
204
|
if attributes.key?(:'repository_version')
|
|
200
205
|
self.repository_version = attributes[:'repository_version']
|
|
201
206
|
end
|
|
202
207
|
|
|
208
|
+
if attributes.key?(:'publication')
|
|
209
|
+
self.publication = attributes[:'publication']
|
|
210
|
+
end
|
|
211
|
+
|
|
203
212
|
if attributes.key?(:'allow_uploads')
|
|
204
213
|
self.allow_uploads = attributes[:'allow_uploads']
|
|
205
214
|
else
|
|
@@ -248,13 +257,14 @@ module PulpPythonClient
|
|
|
248
257
|
base_path == o.base_path &&
|
|
249
258
|
base_url == o.base_url &&
|
|
250
259
|
content_guard == o.content_guard &&
|
|
260
|
+
content_guard_prn == o.content_guard_prn &&
|
|
251
261
|
no_content_change_since == o.no_content_change_since &&
|
|
252
262
|
hidden == o.hidden &&
|
|
253
263
|
pulp_labels == o.pulp_labels &&
|
|
254
264
|
name == o.name &&
|
|
255
265
|
repository == o.repository &&
|
|
256
|
-
publication == o.publication &&
|
|
257
266
|
repository_version == o.repository_version &&
|
|
267
|
+
publication == o.publication &&
|
|
258
268
|
allow_uploads == o.allow_uploads &&
|
|
259
269
|
remote == o.remote
|
|
260
270
|
end
|
|
@@ -268,7 +278,7 @@ module PulpPythonClient
|
|
|
268
278
|
# Calculates hash code according to all attributes.
|
|
269
279
|
# @return [Integer] Hash code
|
|
270
280
|
def hash
|
|
271
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, base_path, base_url, content_guard, no_content_change_since, hidden, pulp_labels, name, repository,
|
|
281
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, base_path, base_url, content_guard, content_guard_prn, no_content_change_since, hidden, pulp_labels, name, repository, repository_version, publication, allow_uploads, remote].hash
|
|
272
282
|
end
|
|
273
283
|
|
|
274
284
|
# Builds the object from hash
|
|
@@ -27,10 +27,13 @@ module PulpPythonClient
|
|
|
27
27
|
# Retain X versions of the repository. Default is null which retains all versions.
|
|
28
28
|
attr_accessor :retain_repo_versions
|
|
29
29
|
|
|
30
|
+
# Retain X checkpoint publications for the repository. Default is null which retains all checkpoints.
|
|
31
|
+
attr_accessor :retain_checkpoints
|
|
32
|
+
|
|
30
33
|
# An optional remote to use by default when syncing.
|
|
31
34
|
attr_accessor :remote
|
|
32
35
|
|
|
33
|
-
# Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository.
|
|
36
|
+
# Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. [Deprecated]
|
|
34
37
|
attr_accessor :autopublish
|
|
35
38
|
|
|
36
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -40,6 +43,7 @@ module PulpPythonClient
|
|
|
40
43
|
:'name' => :'name',
|
|
41
44
|
:'description' => :'description',
|
|
42
45
|
:'retain_repo_versions' => :'retain_repo_versions',
|
|
46
|
+
:'retain_checkpoints' => :'retain_checkpoints',
|
|
43
47
|
:'remote' => :'remote',
|
|
44
48
|
:'autopublish' => :'autopublish'
|
|
45
49
|
}
|
|
@@ -57,6 +61,7 @@ module PulpPythonClient
|
|
|
57
61
|
:'name' => :'String',
|
|
58
62
|
:'description' => :'String',
|
|
59
63
|
:'retain_repo_versions' => :'Integer',
|
|
64
|
+
:'retain_checkpoints' => :'Integer',
|
|
60
65
|
:'remote' => :'String',
|
|
61
66
|
:'autopublish' => :'Boolean'
|
|
62
67
|
}
|
|
@@ -67,6 +72,7 @@ module PulpPythonClient
|
|
|
67
72
|
Set.new([
|
|
68
73
|
:'description',
|
|
69
74
|
:'retain_repo_versions',
|
|
75
|
+
:'retain_checkpoints',
|
|
70
76
|
:'remote',
|
|
71
77
|
])
|
|
72
78
|
end
|
|
@@ -106,6 +112,10 @@ module PulpPythonClient
|
|
|
106
112
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
107
113
|
end
|
|
108
114
|
|
|
115
|
+
if attributes.key?(:'retain_checkpoints')
|
|
116
|
+
self.retain_checkpoints = attributes[:'retain_checkpoints']
|
|
117
|
+
end
|
|
118
|
+
|
|
109
119
|
if attributes.key?(:'remote')
|
|
110
120
|
self.remote = attributes[:'remote']
|
|
111
121
|
end
|
|
@@ -138,6 +148,10 @@ module PulpPythonClient
|
|
|
138
148
|
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
|
139
149
|
end
|
|
140
150
|
|
|
151
|
+
if !@retain_checkpoints.nil? && @retain_checkpoints < 1
|
|
152
|
+
invalid_properties.push('invalid value for "retain_checkpoints", must be greater than or equal to 1.')
|
|
153
|
+
end
|
|
154
|
+
|
|
141
155
|
invalid_properties
|
|
142
156
|
end
|
|
143
157
|
|
|
@@ -149,6 +163,7 @@ module PulpPythonClient
|
|
|
149
163
|
return false if @name.to_s.length < 1
|
|
150
164
|
return false if !@description.nil? && @description.to_s.length < 1
|
|
151
165
|
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
166
|
+
return false if !@retain_checkpoints.nil? && @retain_checkpoints < 1
|
|
152
167
|
true
|
|
153
168
|
end
|
|
154
169
|
|
|
@@ -186,6 +201,16 @@ module PulpPythonClient
|
|
|
186
201
|
@retain_repo_versions = retain_repo_versions
|
|
187
202
|
end
|
|
188
203
|
|
|
204
|
+
# Custom attribute writer method with validation
|
|
205
|
+
# @param [Object] retain_checkpoints Value to be assigned
|
|
206
|
+
def retain_checkpoints=(retain_checkpoints)
|
|
207
|
+
if !retain_checkpoints.nil? && retain_checkpoints < 1
|
|
208
|
+
fail ArgumentError, 'invalid value for "retain_checkpoints", must be greater than or equal to 1.'
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
@retain_checkpoints = retain_checkpoints
|
|
212
|
+
end
|
|
213
|
+
|
|
189
214
|
# Checks equality by comparing each attribute.
|
|
190
215
|
# @param [Object] Object to be compared
|
|
191
216
|
def ==(o)
|
|
@@ -195,6 +220,7 @@ module PulpPythonClient
|
|
|
195
220
|
name == o.name &&
|
|
196
221
|
description == o.description &&
|
|
197
222
|
retain_repo_versions == o.retain_repo_versions &&
|
|
223
|
+
retain_checkpoints == o.retain_checkpoints &&
|
|
198
224
|
remote == o.remote &&
|
|
199
225
|
autopublish == o.autopublish
|
|
200
226
|
end
|
|
@@ -208,7 +234,7 @@ module PulpPythonClient
|
|
|
208
234
|
# Calculates hash code according to all attributes.
|
|
209
235
|
# @return [Integer] Hash code
|
|
210
236
|
def hash
|
|
211
|
-
[pulp_labels, name, description, retain_repo_versions, remote, autopublish].hash
|
|
237
|
+
[pulp_labels, name, description, retain_repo_versions, retain_checkpoints, remote, autopublish].hash
|
|
212
238
|
end
|
|
213
239
|
|
|
214
240
|
# Builds the object from hash
|
|
@@ -42,10 +42,13 @@ module PulpPythonClient
|
|
|
42
42
|
# Retain X versions of the repository. Default is null which retains all versions.
|
|
43
43
|
attr_accessor :retain_repo_versions
|
|
44
44
|
|
|
45
|
+
# Retain X checkpoint publications for the repository. Default is null which retains all checkpoints.
|
|
46
|
+
attr_accessor :retain_checkpoints
|
|
47
|
+
|
|
45
48
|
# An optional remote to use by default when syncing.
|
|
46
49
|
attr_accessor :remote
|
|
47
50
|
|
|
48
|
-
# Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository.
|
|
51
|
+
# Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. [Deprecated]
|
|
49
52
|
attr_accessor :autopublish
|
|
50
53
|
|
|
51
54
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -61,6 +64,7 @@ module PulpPythonClient
|
|
|
61
64
|
:'name' => :'name',
|
|
62
65
|
:'description' => :'description',
|
|
63
66
|
:'retain_repo_versions' => :'retain_repo_versions',
|
|
67
|
+
:'retain_checkpoints' => :'retain_checkpoints',
|
|
64
68
|
:'remote' => :'remote',
|
|
65
69
|
:'autopublish' => :'autopublish'
|
|
66
70
|
}
|
|
@@ -84,6 +88,7 @@ module PulpPythonClient
|
|
|
84
88
|
:'name' => :'String',
|
|
85
89
|
:'description' => :'String',
|
|
86
90
|
:'retain_repo_versions' => :'Integer',
|
|
91
|
+
:'retain_checkpoints' => :'Integer',
|
|
87
92
|
:'remote' => :'String',
|
|
88
93
|
:'autopublish' => :'Boolean'
|
|
89
94
|
}
|
|
@@ -94,6 +99,7 @@ module PulpPythonClient
|
|
|
94
99
|
Set.new([
|
|
95
100
|
:'description',
|
|
96
101
|
:'retain_repo_versions',
|
|
102
|
+
:'retain_checkpoints',
|
|
97
103
|
:'remote',
|
|
98
104
|
])
|
|
99
105
|
end
|
|
@@ -157,6 +163,10 @@ module PulpPythonClient
|
|
|
157
163
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
158
164
|
end
|
|
159
165
|
|
|
166
|
+
if attributes.key?(:'retain_checkpoints')
|
|
167
|
+
self.retain_checkpoints = attributes[:'retain_checkpoints']
|
|
168
|
+
end
|
|
169
|
+
|
|
160
170
|
if attributes.key?(:'remote')
|
|
161
171
|
self.remote = attributes[:'remote']
|
|
162
172
|
end
|
|
@@ -181,6 +191,10 @@ module PulpPythonClient
|
|
|
181
191
|
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
|
182
192
|
end
|
|
183
193
|
|
|
194
|
+
if !@retain_checkpoints.nil? && @retain_checkpoints < 1
|
|
195
|
+
invalid_properties.push('invalid value for "retain_checkpoints", must be greater than or equal to 1.')
|
|
196
|
+
end
|
|
197
|
+
|
|
184
198
|
invalid_properties
|
|
185
199
|
end
|
|
186
200
|
|
|
@@ -190,6 +204,7 @@ module PulpPythonClient
|
|
|
190
204
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
191
205
|
return false if @name.nil?
|
|
192
206
|
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
207
|
+
return false if !@retain_checkpoints.nil? && @retain_checkpoints < 1
|
|
193
208
|
true
|
|
194
209
|
end
|
|
195
210
|
|
|
@@ -203,6 +218,16 @@ module PulpPythonClient
|
|
|
203
218
|
@retain_repo_versions = retain_repo_versions
|
|
204
219
|
end
|
|
205
220
|
|
|
221
|
+
# Custom attribute writer method with validation
|
|
222
|
+
# @param [Object] retain_checkpoints Value to be assigned
|
|
223
|
+
def retain_checkpoints=(retain_checkpoints)
|
|
224
|
+
if !retain_checkpoints.nil? && retain_checkpoints < 1
|
|
225
|
+
fail ArgumentError, 'invalid value for "retain_checkpoints", must be greater than or equal to 1.'
|
|
226
|
+
end
|
|
227
|
+
|
|
228
|
+
@retain_checkpoints = retain_checkpoints
|
|
229
|
+
end
|
|
230
|
+
|
|
206
231
|
# Checks equality by comparing each attribute.
|
|
207
232
|
# @param [Object] Object to be compared
|
|
208
233
|
def ==(o)
|
|
@@ -218,6 +243,7 @@ module PulpPythonClient
|
|
|
218
243
|
name == o.name &&
|
|
219
244
|
description == o.description &&
|
|
220
245
|
retain_repo_versions == o.retain_repo_versions &&
|
|
246
|
+
retain_checkpoints == o.retain_checkpoints &&
|
|
221
247
|
remote == o.remote &&
|
|
222
248
|
autopublish == o.autopublish
|
|
223
249
|
end
|
|
@@ -231,7 +257,7 @@ module PulpPythonClient
|
|
|
231
257
|
# Calculates hash code according to all attributes.
|
|
232
258
|
# @return [Integer] Hash code
|
|
233
259
|
def hash
|
|
234
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, autopublish].hash
|
|
260
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, retain_checkpoints, remote, autopublish].hash
|
|
235
261
|
end
|
|
236
262
|
|
|
237
263
|
# Builds the object from hash
|
|
@@ -61,7 +61,7 @@ describe 'PublicationsPypiApi' do
|
|
|
61
61
|
|
|
62
62
|
# unit tests for delete
|
|
63
63
|
# Delete a python publication
|
|
64
|
-
#
|
|
64
|
+
# Python Publications refer to the Python Package content in a repository version, and include metadata about that content. [Deprecated] See https://pulpproject.org/pulp_python/docs/user/guides/host/#migrating-off-publications for more information. Use a repository or repository-version to serve content instead.
|
|
65
65
|
# @param python_python_publication_href
|
|
66
66
|
# @param [Hash] opts the optional parameters
|
|
67
67
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
@@ -74,7 +74,7 @@ describe 'PublicationsPypiApi' do
|
|
|
74
74
|
|
|
75
75
|
# unit tests for list
|
|
76
76
|
# List python publications
|
|
77
|
-
#
|
|
77
|
+
# Python Publications refer to the Python Package content in a repository version, and include metadata about that content. [Deprecated] See https://pulpproject.org/pulp_python/docs/user/guides/host/#migrating-off-publications for more information. Use a repository or repository-version to serve content instead.
|
|
78
78
|
# @param [Hash] opts the optional parameters
|
|
79
79
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
80
80
|
# @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
|
|
@@ -137,7 +137,7 @@ describe 'PublicationsPypiApi' do
|
|
|
137
137
|
|
|
138
138
|
# unit tests for read
|
|
139
139
|
# Inspect a python publication
|
|
140
|
-
#
|
|
140
|
+
# Python Publications refer to the Python Package content in a repository version, and include metadata about that content. [Deprecated] See https://pulpproject.org/pulp_python/docs/user/guides/host/#migrating-off-publications for more information. Use a repository or repository-version to serve content instead.
|
|
141
141
|
# @param python_python_publication_href
|
|
142
142
|
# @param [Hash] opts the optional parameters
|
|
143
143
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
@@ -89,13 +89,21 @@ describe 'RepositoriesPythonApi' do
|
|
|
89
89
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
|
90
90
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
91
91
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
92
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
92
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `retain_checkpoints` - Retain checkpoints * `-retain_checkpoints` - Retain checkpoints (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
93
93
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
94
94
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
95
95
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
96
96
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
97
97
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
98
98
|
# @option opts [String] :remote
|
|
99
|
+
# @option opts [Integer] :retain_checkpoints Filter results where retain_checkpoints matches value
|
|
100
|
+
# @option opts [Integer] :retain_checkpoints__gt Filter results where retain_checkpoints is greater than value
|
|
101
|
+
# @option opts [Integer] :retain_checkpoints__gte Filter results where retain_checkpoints is greater than or equal to value
|
|
102
|
+
# @option opts [Boolean] :retain_checkpoints__isnull Filter results where retain_checkpoints has a null value
|
|
103
|
+
# @option opts [Integer] :retain_checkpoints__lt Filter results where retain_checkpoints is less than value
|
|
104
|
+
# @option opts [Integer] :retain_checkpoints__lte Filter results where retain_checkpoints is less than or equal to value
|
|
105
|
+
# @option opts [Integer] :retain_checkpoints__ne Filter results where retain_checkpoints not equal to value
|
|
106
|
+
# @option opts [Array<Integer>] :retain_checkpoints__range Filter results where retain_checkpoints is between two comma separated values
|
|
99
107
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
|
100
108
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
|
101
109
|
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
|
@@ -63,13 +63,13 @@ describe PulpPythonClient::PatchedpythonPythonDistribution do
|
|
|
63
63
|
end
|
|
64
64
|
end
|
|
65
65
|
|
|
66
|
-
describe 'test attribute "
|
|
66
|
+
describe 'test attribute "repository_version"' do
|
|
67
67
|
it 'should work' do
|
|
68
68
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
69
|
end
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
-
describe 'test attribute "
|
|
72
|
+
describe 'test attribute "publication"' do
|
|
73
73
|
it 'should work' do
|
|
74
74
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
75
|
end
|
|
@@ -51,6 +51,12 @@ describe PulpPythonClient::PatchedpythonPythonRepository do
|
|
|
51
51
|
end
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
+
describe 'test attribute "retain_checkpoints"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
54
60
|
describe 'test attribute "remote"' do
|
|
55
61
|
it 'should work' do
|
|
56
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -69,6 +69,12 @@ describe PulpPythonClient::PythonPythonDistributionResponse do
|
|
|
69
69
|
end
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
+
describe 'test attribute "content_guard_prn"' do
|
|
73
|
+
it 'should work' do
|
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
|
|
72
78
|
describe 'test attribute "no_content_change_since"' do
|
|
73
79
|
it 'should work' do
|
|
74
80
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -99,13 +105,13 @@ describe PulpPythonClient::PythonPythonDistributionResponse do
|
|
|
99
105
|
end
|
|
100
106
|
end
|
|
101
107
|
|
|
102
|
-
describe 'test attribute "
|
|
108
|
+
describe 'test attribute "repository_version"' do
|
|
103
109
|
it 'should work' do
|
|
104
110
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
105
111
|
end
|
|
106
112
|
end
|
|
107
113
|
|
|
108
|
-
describe 'test attribute "
|
|
114
|
+
describe 'test attribute "publication"' do
|
|
109
115
|
it 'should work' do
|
|
110
116
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
111
117
|
end
|
|
@@ -63,13 +63,13 @@ describe PulpPythonClient::PythonPythonDistribution do
|
|
|
63
63
|
end
|
|
64
64
|
end
|
|
65
65
|
|
|
66
|
-
describe 'test attribute "
|
|
66
|
+
describe 'test attribute "repository_version"' do
|
|
67
67
|
it 'should work' do
|
|
68
68
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
69
|
end
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
-
describe 'test attribute "
|
|
72
|
+
describe 'test attribute "publication"' do
|
|
73
73
|
it 'should work' do
|
|
74
74
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
75
|
end
|
|
@@ -87,6 +87,12 @@ describe PulpPythonClient::PythonPythonRepositoryResponse do
|
|
|
87
87
|
end
|
|
88
88
|
end
|
|
89
89
|
|
|
90
|
+
describe 'test attribute "retain_checkpoints"' do
|
|
91
|
+
it 'should work' do
|
|
92
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
93
|
+
end
|
|
94
|
+
end
|
|
95
|
+
|
|
90
96
|
describe 'test attribute "remote"' do
|
|
91
97
|
it 'should work' do
|
|
92
98
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -51,6 +51,12 @@ describe PulpPythonClient::PythonPythonRepository do
|
|
|
51
51
|
end
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
+
describe 'test attribute "retain_checkpoints"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
54
60
|
describe 'test attribute "remote"' do
|
|
55
61
|
it 'should work' do
|
|
56
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|