pulp_2to3_migration_client 0.2.0b3.dev01590500248 → 0.2.0b3.dev01590586626
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -6
- data/docs/InlineResponse200.md +1 -1
- data/docs/InlineResponse2001.md +1 -1
- data/docs/InlineResponse2002.md +1 -1
- data/docs/MigrationPlansApi.md +4 -4
- data/docs/Pulp2contentApi.md +2 -2
- data/docs/Pulp2repositoriesApi.md +2 -2
- data/docs/Pulp2to3MigrationMigrationPlanRead.md +21 -0
- data/docs/{Pulp2to3MigrationPulp2Content.md → Pulp2to3MigrationPulp2ContentRead.md} +2 -2
- data/docs/{Pulp2to3MigrationPulp2Repository.md → Pulp2to3MigrationPulp2RepositoryRead.md} +2 -2
- data/lib/pulp_2to3_migration_client.rb +3 -2
- data/lib/pulp_2to3_migration_client/api/migration_plans_api.rb +6 -6
- data/lib/pulp_2to3_migration_client/api/pulp2content_api.rb +3 -3
- data/lib/pulp_2to3_migration_client/api/pulp2repositories_api.rb +3 -3
- data/lib/pulp_2to3_migration_client/models/inline_response200.rb +1 -1
- data/lib/pulp_2to3_migration_client/models/inline_response2001.rb +1 -1
- data/lib/pulp_2to3_migration_client/models/inline_response2002.rb +1 -1
- data/lib/pulp_2to3_migration_client/models/pulp2to3_migration_migration_plan_read.rb +231 -0
- data/lib/pulp_2to3_migration_client/models/{pulp2to3_migration_pulp2_content.rb → pulp2to3_migration_pulp2_content_read.rb} +3 -3
- data/lib/pulp_2to3_migration_client/models/{pulp2to3_migration_pulp2_repository.rb → pulp2to3_migration_pulp2_repository_read.rb} +3 -3
- data/lib/pulp_2to3_migration_client/version.rb +1 -1
- data/pulpcore/client/pulp_2to3_migration/__init__.py +3 -2
- data/pulpcore/client/pulp_2to3_migration/api/migration_plans_api.py +6 -6
- data/pulpcore/client/pulp_2to3_migration/api/pulp2content_api.py +3 -3
- data/pulpcore/client/pulp_2to3_migration/api/pulp2repositories_api.py +3 -3
- data/pulpcore/client/pulp_2to3_migration/models/__init__.py +3 -2
- data/pulpcore/client/pulp_2to3_migration/models/inline_response200.py +3 -3
- data/pulpcore/client/pulp_2to3_migration/models/inline_response2001.py +3 -3
- data/pulpcore/client/pulp_2to3_migration/models/inline_response2002.py +3 -3
- data/pulpcore/client/pulp_2to3_migration/models/pulp2to3_migration_migration_plan_read.py +177 -0
- data/pulpcore/client/pulp_2to3_migration/models/{pulp2to3_migration_pulp2_content.py → pulp2to3_migration_pulp2_content_read.py} +40 -40
- data/pulpcore/client/pulp_2to3_migration/models/{pulp2to3_migration_pulp2_repository.py → pulp2to3_migration_pulp2_repository_read.py} +52 -52
- data/spec/api/migration_plans_api_spec.rb +2 -2
- data/spec/api/pulp2content_api_spec.rb +1 -1
- data/spec/api/pulp2repositories_api_spec.rb +1 -1
- data/spec/models/pulp2to3_migration_migration_plan_read_spec.rb +53 -0
- data/spec/models/{pulp2to3_migration_pulp2_content_spec.rb → pulp2to3_migration_pulp2_content_read_spec.rb} +6 -6
- data/spec/models/{pulp2to3_migration_pulp2_repository_spec.rb → pulp2to3_migration_pulp2_repository_read_spec.rb} +6 -6
- data/test/test_inline_response200.py +2 -2
- data/test/test_inline_response2001.py +2 -2
- data/test/test_inline_response2002.py +2 -2
- data/test/test_pulp2to3_migration_migration_plan_read.py +55 -0
- data/test/{test_pulp2to3_migration_pulp2_content.py → test_pulp2to3_migration_pulp2_content_read.py} +9 -9
- data/test/{test_pulp2to3_migration_pulp2_repository.py → test_pulp2to3_migration_pulp2_repository_read.py} +9 -9
- metadata +20 -14
@@ -18,7 +18,7 @@ import six
|
|
18
18
|
from pulpcore.client.pulp_2to3_migration.configuration import Configuration
|
19
19
|
|
20
20
|
|
21
|
-
class
|
21
|
+
class Pulp2to3MigrationPulp2RepositoryRead(object):
|
22
22
|
"""NOTE: This class is auto generated by OpenAPI Generator.
|
23
23
|
Ref: https://openapi-generator.tech
|
24
24
|
|
@@ -63,7 +63,7 @@ class Pulp2to3MigrationPulp2Repository(object):
|
|
63
63
|
}
|
64
64
|
|
65
65
|
def __init__(self, pulp_href=None, pulp_created=None, pulp2_object_id=None, pulp2_repo_id=None, pulp2_repo_type=None, is_migrated=False, not_in_plan=False, pulp3_repository_version=None, pulp3_remote_href=None, pulp3_publication_href=None, pulp3_distribution_hrefs=None, pulp3_repository_href=None, local_vars_configuration=None): # noqa: E501
|
66
|
-
"""
|
66
|
+
"""Pulp2to3MigrationPulp2RepositoryRead - a model defined in OpenAPI""" # noqa: E501
|
67
67
|
if local_vars_configuration is None:
|
68
68
|
local_vars_configuration = Configuration()
|
69
69
|
self.local_vars_configuration = local_vars_configuration
|
@@ -105,20 +105,20 @@ class Pulp2to3MigrationPulp2Repository(object):
|
|
105
105
|
|
106
106
|
@property
|
107
107
|
def pulp_href(self):
|
108
|
-
"""Gets the pulp_href of this
|
108
|
+
"""Gets the pulp_href of this Pulp2to3MigrationPulp2RepositoryRead. # noqa: E501
|
109
109
|
|
110
110
|
|
111
|
-
:return: The pulp_href of this
|
111
|
+
:return: The pulp_href of this Pulp2to3MigrationPulp2RepositoryRead. # noqa: E501
|
112
112
|
:rtype: str
|
113
113
|
"""
|
114
114
|
return self._pulp_href
|
115
115
|
|
116
116
|
@pulp_href.setter
|
117
117
|
def pulp_href(self, pulp_href):
|
118
|
-
"""Sets the pulp_href of this
|
118
|
+
"""Sets the pulp_href of this Pulp2to3MigrationPulp2RepositoryRead.
|
119
119
|
|
120
120
|
|
121
|
-
:param pulp_href: The pulp_href of this
|
121
|
+
:param pulp_href: The pulp_href of this Pulp2to3MigrationPulp2RepositoryRead. # noqa: E501
|
122
122
|
:type: str
|
123
123
|
"""
|
124
124
|
|
@@ -126,22 +126,22 @@ class Pulp2to3MigrationPulp2Repository(object):
|
|
126
126
|
|
127
127
|
@property
|
128
128
|
def pulp_created(self):
|
129
|
-
"""Gets the pulp_created of this
|
129
|
+
"""Gets the pulp_created of this Pulp2to3MigrationPulp2RepositoryRead. # noqa: E501
|
130
130
|
|
131
131
|
Timestamp of creation. # noqa: E501
|
132
132
|
|
133
|
-
:return: The pulp_created of this
|
133
|
+
:return: The pulp_created of this Pulp2to3MigrationPulp2RepositoryRead. # noqa: E501
|
134
134
|
:rtype: datetime
|
135
135
|
"""
|
136
136
|
return self._pulp_created
|
137
137
|
|
138
138
|
@pulp_created.setter
|
139
139
|
def pulp_created(self, pulp_created):
|
140
|
-
"""Sets the pulp_created of this
|
140
|
+
"""Sets the pulp_created of this Pulp2to3MigrationPulp2RepositoryRead.
|
141
141
|
|
142
142
|
Timestamp of creation. # noqa: E501
|
143
143
|
|
144
|
-
:param pulp_created: The pulp_created of this
|
144
|
+
:param pulp_created: The pulp_created of this Pulp2to3MigrationPulp2RepositoryRead. # noqa: E501
|
145
145
|
:type: datetime
|
146
146
|
"""
|
147
147
|
|
@@ -149,20 +149,20 @@ class Pulp2to3MigrationPulp2Repository(object):
|
|
149
149
|
|
150
150
|
@property
|
151
151
|
def pulp2_object_id(self):
|
152
|
-
"""Gets the pulp2_object_id of this
|
152
|
+
"""Gets the pulp2_object_id of this Pulp2to3MigrationPulp2RepositoryRead. # noqa: E501
|
153
153
|
|
154
154
|
|
155
|
-
:return: The pulp2_object_id of this
|
155
|
+
:return: The pulp2_object_id of this Pulp2to3MigrationPulp2RepositoryRead. # noqa: E501
|
156
156
|
:rtype: str
|
157
157
|
"""
|
158
158
|
return self._pulp2_object_id
|
159
159
|
|
160
160
|
@pulp2_object_id.setter
|
161
161
|
def pulp2_object_id(self, pulp2_object_id):
|
162
|
-
"""Sets the pulp2_object_id of this
|
162
|
+
"""Sets the pulp2_object_id of this Pulp2to3MigrationPulp2RepositoryRead.
|
163
163
|
|
164
164
|
|
165
|
-
:param pulp2_object_id: The pulp2_object_id of this
|
165
|
+
:param pulp2_object_id: The pulp2_object_id of this Pulp2to3MigrationPulp2RepositoryRead. # noqa: E501
|
166
166
|
:type: str
|
167
167
|
"""
|
168
168
|
if self.local_vars_configuration.client_side_validation and pulp2_object_id is None: # noqa: E501
|
@@ -178,20 +178,20 @@ class Pulp2to3MigrationPulp2Repository(object):
|
|
178
178
|
|
179
179
|
@property
|
180
180
|
def pulp2_repo_id(self):
|
181
|
-
"""Gets the pulp2_repo_id of this
|
181
|
+
"""Gets the pulp2_repo_id of this Pulp2to3MigrationPulp2RepositoryRead. # noqa: E501
|
182
182
|
|
183
183
|
|
184
|
-
:return: The pulp2_repo_id of this
|
184
|
+
:return: The pulp2_repo_id of this Pulp2to3MigrationPulp2RepositoryRead. # noqa: E501
|
185
185
|
:rtype: str
|
186
186
|
"""
|
187
187
|
return self._pulp2_repo_id
|
188
188
|
|
189
189
|
@pulp2_repo_id.setter
|
190
190
|
def pulp2_repo_id(self, pulp2_repo_id):
|
191
|
-
"""Sets the pulp2_repo_id of this
|
191
|
+
"""Sets the pulp2_repo_id of this Pulp2to3MigrationPulp2RepositoryRead.
|
192
192
|
|
193
193
|
|
194
|
-
:param pulp2_repo_id: The pulp2_repo_id of this
|
194
|
+
:param pulp2_repo_id: The pulp2_repo_id of this Pulp2to3MigrationPulp2RepositoryRead. # noqa: E501
|
195
195
|
:type: str
|
196
196
|
"""
|
197
197
|
if self.local_vars_configuration.client_side_validation and pulp2_repo_id is None: # noqa: E501
|
@@ -204,20 +204,20 @@ class Pulp2to3MigrationPulp2Repository(object):
|
|
204
204
|
|
205
205
|
@property
|
206
206
|
def pulp2_repo_type(self):
|
207
|
-
"""Gets the pulp2_repo_type of this
|
207
|
+
"""Gets the pulp2_repo_type of this Pulp2to3MigrationPulp2RepositoryRead. # noqa: E501
|
208
208
|
|
209
209
|
|
210
|
-
:return: The pulp2_repo_type of this
|
210
|
+
:return: The pulp2_repo_type of this Pulp2to3MigrationPulp2RepositoryRead. # noqa: E501
|
211
211
|
:rtype: str
|
212
212
|
"""
|
213
213
|
return self._pulp2_repo_type
|
214
214
|
|
215
215
|
@pulp2_repo_type.setter
|
216
216
|
def pulp2_repo_type(self, pulp2_repo_type):
|
217
|
-
"""Sets the pulp2_repo_type of this
|
217
|
+
"""Sets the pulp2_repo_type of this Pulp2to3MigrationPulp2RepositoryRead.
|
218
218
|
|
219
219
|
|
220
|
-
:param pulp2_repo_type: The pulp2_repo_type of this
|
220
|
+
:param pulp2_repo_type: The pulp2_repo_type of this Pulp2to3MigrationPulp2RepositoryRead. # noqa: E501
|
221
221
|
:type: str
|
222
222
|
"""
|
223
223
|
if self.local_vars_configuration.client_side_validation and pulp2_repo_type is None: # noqa: E501
|
@@ -230,20 +230,20 @@ class Pulp2to3MigrationPulp2Repository(object):
|
|
230
230
|
|
231
231
|
@property
|
232
232
|
def is_migrated(self):
|
233
|
-
"""Gets the is_migrated of this
|
233
|
+
"""Gets the is_migrated of this Pulp2to3MigrationPulp2RepositoryRead. # noqa: E501
|
234
234
|
|
235
235
|
|
236
|
-
:return: The is_migrated of this
|
236
|
+
:return: The is_migrated of this Pulp2to3MigrationPulp2RepositoryRead. # noqa: E501
|
237
237
|
:rtype: bool
|
238
238
|
"""
|
239
239
|
return self._is_migrated
|
240
240
|
|
241
241
|
@is_migrated.setter
|
242
242
|
def is_migrated(self, is_migrated):
|
243
|
-
"""Sets the is_migrated of this
|
243
|
+
"""Sets the is_migrated of this Pulp2to3MigrationPulp2RepositoryRead.
|
244
244
|
|
245
245
|
|
246
|
-
:param is_migrated: The is_migrated of this
|
246
|
+
:param is_migrated: The is_migrated of this Pulp2to3MigrationPulp2RepositoryRead. # noqa: E501
|
247
247
|
:type: bool
|
248
248
|
"""
|
249
249
|
|
@@ -251,20 +251,20 @@ class Pulp2to3MigrationPulp2Repository(object):
|
|
251
251
|
|
252
252
|
@property
|
253
253
|
def not_in_plan(self):
|
254
|
-
"""Gets the not_in_plan of this
|
254
|
+
"""Gets the not_in_plan of this Pulp2to3MigrationPulp2RepositoryRead. # noqa: E501
|
255
255
|
|
256
256
|
|
257
|
-
:return: The not_in_plan of this
|
257
|
+
:return: The not_in_plan of this Pulp2to3MigrationPulp2RepositoryRead. # noqa: E501
|
258
258
|
:rtype: bool
|
259
259
|
"""
|
260
260
|
return self._not_in_plan
|
261
261
|
|
262
262
|
@not_in_plan.setter
|
263
263
|
def not_in_plan(self, not_in_plan):
|
264
|
-
"""Sets the not_in_plan of this
|
264
|
+
"""Sets the not_in_plan of this Pulp2to3MigrationPulp2RepositoryRead.
|
265
265
|
|
266
266
|
|
267
|
-
:param not_in_plan: The not_in_plan of this
|
267
|
+
:param not_in_plan: The not_in_plan of this Pulp2to3MigrationPulp2RepositoryRead. # noqa: E501
|
268
268
|
:type: bool
|
269
269
|
"""
|
270
270
|
|
@@ -272,22 +272,22 @@ class Pulp2to3MigrationPulp2Repository(object):
|
|
272
272
|
|
273
273
|
@property
|
274
274
|
def pulp3_repository_version(self):
|
275
|
-
"""Gets the pulp3_repository_version of this
|
275
|
+
"""Gets the pulp3_repository_version of this Pulp2to3MigrationPulp2RepositoryRead. # noqa: E501
|
276
276
|
|
277
277
|
RepositoryVersion to be served # noqa: E501
|
278
278
|
|
279
|
-
:return: The pulp3_repository_version of this
|
279
|
+
:return: The pulp3_repository_version of this Pulp2to3MigrationPulp2RepositoryRead. # noqa: E501
|
280
280
|
:rtype: str
|
281
281
|
"""
|
282
282
|
return self._pulp3_repository_version
|
283
283
|
|
284
284
|
@pulp3_repository_version.setter
|
285
285
|
def pulp3_repository_version(self, pulp3_repository_version):
|
286
|
-
"""Sets the pulp3_repository_version of this
|
286
|
+
"""Sets the pulp3_repository_version of this Pulp2to3MigrationPulp2RepositoryRead.
|
287
287
|
|
288
288
|
RepositoryVersion to be served # noqa: E501
|
289
289
|
|
290
|
-
:param pulp3_repository_version: The pulp3_repository_version of this
|
290
|
+
:param pulp3_repository_version: The pulp3_repository_version of this Pulp2to3MigrationPulp2RepositoryRead. # noqa: E501
|
291
291
|
:type: str
|
292
292
|
"""
|
293
293
|
|
@@ -295,22 +295,22 @@ class Pulp2to3MigrationPulp2Repository(object):
|
|
295
295
|
|
296
296
|
@property
|
297
297
|
def pulp3_remote_href(self):
|
298
|
-
"""Gets the pulp3_remote_href of this
|
298
|
+
"""Gets the pulp3_remote_href of this Pulp2to3MigrationPulp2RepositoryRead. # noqa: E501
|
299
299
|
|
300
300
|
Get pulp3_remote_href from pulp2repo # noqa: E501
|
301
301
|
|
302
|
-
:return: The pulp3_remote_href of this
|
302
|
+
:return: The pulp3_remote_href of this Pulp2to3MigrationPulp2RepositoryRead. # noqa: E501
|
303
303
|
:rtype: str
|
304
304
|
"""
|
305
305
|
return self._pulp3_remote_href
|
306
306
|
|
307
307
|
@pulp3_remote_href.setter
|
308
308
|
def pulp3_remote_href(self, pulp3_remote_href):
|
309
|
-
"""Sets the pulp3_remote_href of this
|
309
|
+
"""Sets the pulp3_remote_href of this Pulp2to3MigrationPulp2RepositoryRead.
|
310
310
|
|
311
311
|
Get pulp3_remote_href from pulp2repo # noqa: E501
|
312
312
|
|
313
|
-
:param pulp3_remote_href: The pulp3_remote_href of this
|
313
|
+
:param pulp3_remote_href: The pulp3_remote_href of this Pulp2to3MigrationPulp2RepositoryRead. # noqa: E501
|
314
314
|
:type: str
|
315
315
|
"""
|
316
316
|
if (self.local_vars_configuration.client_side_validation and
|
@@ -321,22 +321,22 @@ class Pulp2to3MigrationPulp2Repository(object):
|
|
321
321
|
|
322
322
|
@property
|
323
323
|
def pulp3_publication_href(self):
|
324
|
-
"""Gets the pulp3_publication_href of this
|
324
|
+
"""Gets the pulp3_publication_href of this Pulp2to3MigrationPulp2RepositoryRead. # noqa: E501
|
325
325
|
|
326
326
|
Get pulp3_publication_href from pulp3_repository_version # noqa: E501
|
327
327
|
|
328
|
-
:return: The pulp3_publication_href of this
|
328
|
+
:return: The pulp3_publication_href of this Pulp2to3MigrationPulp2RepositoryRead. # noqa: E501
|
329
329
|
:rtype: str
|
330
330
|
"""
|
331
331
|
return self._pulp3_publication_href
|
332
332
|
|
333
333
|
@pulp3_publication_href.setter
|
334
334
|
def pulp3_publication_href(self, pulp3_publication_href):
|
335
|
-
"""Sets the pulp3_publication_href of this
|
335
|
+
"""Sets the pulp3_publication_href of this Pulp2to3MigrationPulp2RepositoryRead.
|
336
336
|
|
337
337
|
Get pulp3_publication_href from pulp3_repository_version # noqa: E501
|
338
338
|
|
339
|
-
:param pulp3_publication_href: The pulp3_publication_href of this
|
339
|
+
:param pulp3_publication_href: The pulp3_publication_href of this Pulp2to3MigrationPulp2RepositoryRead. # noqa: E501
|
340
340
|
:type: str
|
341
341
|
"""
|
342
342
|
if (self.local_vars_configuration.client_side_validation and
|
@@ -347,22 +347,22 @@ class Pulp2to3MigrationPulp2Repository(object):
|
|
347
347
|
|
348
348
|
@property
|
349
349
|
def pulp3_distribution_hrefs(self):
|
350
|
-
"""Gets the pulp3_distribution_hrefs of this
|
350
|
+
"""Gets the pulp3_distribution_hrefs of this Pulp2to3MigrationPulp2RepositoryRead. # noqa: E501
|
351
351
|
|
352
352
|
Get pulp3_distribution_hrefs from pulp3_repository_version # noqa: E501
|
353
353
|
|
354
|
-
:return: The pulp3_distribution_hrefs of this
|
354
|
+
:return: The pulp3_distribution_hrefs of this Pulp2to3MigrationPulp2RepositoryRead. # noqa: E501
|
355
355
|
:rtype: list[str]
|
356
356
|
"""
|
357
357
|
return self._pulp3_distribution_hrefs
|
358
358
|
|
359
359
|
@pulp3_distribution_hrefs.setter
|
360
360
|
def pulp3_distribution_hrefs(self, pulp3_distribution_hrefs):
|
361
|
-
"""Sets the pulp3_distribution_hrefs of this
|
361
|
+
"""Sets the pulp3_distribution_hrefs of this Pulp2to3MigrationPulp2RepositoryRead.
|
362
362
|
|
363
363
|
Get pulp3_distribution_hrefs from pulp3_repository_version # noqa: E501
|
364
364
|
|
365
|
-
:param pulp3_distribution_hrefs: The pulp3_distribution_hrefs of this
|
365
|
+
:param pulp3_distribution_hrefs: The pulp3_distribution_hrefs of this Pulp2to3MigrationPulp2RepositoryRead. # noqa: E501
|
366
366
|
:type: list[str]
|
367
367
|
"""
|
368
368
|
|
@@ -370,22 +370,22 @@ class Pulp2to3MigrationPulp2Repository(object):
|
|
370
370
|
|
371
371
|
@property
|
372
372
|
def pulp3_repository_href(self):
|
373
|
-
"""Gets the pulp3_repository_href of this
|
373
|
+
"""Gets the pulp3_repository_href of this Pulp2to3MigrationPulp2RepositoryRead. # noqa: E501
|
374
374
|
|
375
375
|
Get pulp3_repository_href from pulp2repo # noqa: E501
|
376
376
|
|
377
|
-
:return: The pulp3_repository_href of this
|
377
|
+
:return: The pulp3_repository_href of this Pulp2to3MigrationPulp2RepositoryRead. # noqa: E501
|
378
378
|
:rtype: str
|
379
379
|
"""
|
380
380
|
return self._pulp3_repository_href
|
381
381
|
|
382
382
|
@pulp3_repository_href.setter
|
383
383
|
def pulp3_repository_href(self, pulp3_repository_href):
|
384
|
-
"""Sets the pulp3_repository_href of this
|
384
|
+
"""Sets the pulp3_repository_href of this Pulp2to3MigrationPulp2RepositoryRead.
|
385
385
|
|
386
386
|
Get pulp3_repository_href from pulp2repo # noqa: E501
|
387
387
|
|
388
|
-
:param pulp3_repository_href: The pulp3_repository_href of this
|
388
|
+
:param pulp3_repository_href: The pulp3_repository_href of this Pulp2to3MigrationPulp2RepositoryRead. # noqa: E501
|
389
389
|
:type: str
|
390
390
|
"""
|
391
391
|
if (self.local_vars_configuration.client_side_validation and
|
@@ -428,14 +428,14 @@ class Pulp2to3MigrationPulp2Repository(object):
|
|
428
428
|
|
429
429
|
def __eq__(self, other):
|
430
430
|
"""Returns true if both objects are equal"""
|
431
|
-
if not isinstance(other,
|
431
|
+
if not isinstance(other, Pulp2to3MigrationPulp2RepositoryRead):
|
432
432
|
return False
|
433
433
|
|
434
434
|
return self.to_dict() == other.to_dict()
|
435
435
|
|
436
436
|
def __ne__(self, other):
|
437
437
|
"""Returns true if both objects are not equal"""
|
438
|
-
if not isinstance(other,
|
438
|
+
if not isinstance(other, Pulp2to3MigrationPulp2RepositoryRead):
|
439
439
|
return True
|
440
440
|
|
441
441
|
return self.to_dict() != other.to_dict()
|
@@ -37,7 +37,7 @@ describe 'MigrationPlansApi' do
|
|
37
37
|
# MigrationPlan ViewSet.
|
38
38
|
# @param data
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [
|
40
|
+
# @return [Pulp2to3MigrationMigrationPlanRead]
|
41
41
|
describe 'create test' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -79,7 +79,7 @@ describe 'MigrationPlansApi' do
|
|
79
79
|
# @param [Hash] opts the optional parameters
|
80
80
|
# @option opts [String] :fields A list of fields to include in the response.
|
81
81
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
82
|
-
# @return [
|
82
|
+
# @return [Pulp2to3MigrationMigrationPlanRead]
|
83
83
|
describe 'read test' do
|
84
84
|
it 'should work' do
|
85
85
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -66,7 +66,7 @@ describe 'Pulp2contentApi' do
|
|
66
66
|
# @param [Hash] opts the optional parameters
|
67
67
|
# @option opts [String] :fields A list of fields to include in the response.
|
68
68
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
69
|
-
# @return [
|
69
|
+
# @return [Pulp2to3MigrationPulp2ContentRead]
|
70
70
|
describe 'read test' do
|
71
71
|
it 'should work' do
|
72
72
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -59,7 +59,7 @@ describe 'Pulp2repositoriesApi' do
|
|
59
59
|
# @param [Hash] opts the optional parameters
|
60
60
|
# @option opts [String] :fields A list of fields to include in the response.
|
61
61
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
62
|
-
# @return [
|
62
|
+
# @return [Pulp2to3MigrationPulp2RepositoryRead]
|
63
63
|
describe 'read test' do
|
64
64
|
it 'should work' do
|
65
65
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -0,0 +1,53 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Pulp2to3MigrationClient::Pulp2to3MigrationMigrationPlanRead
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'Pulp2to3MigrationMigrationPlanRead' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Pulp2to3MigrationClient::Pulp2to3MigrationMigrationPlanRead.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of Pulp2to3MigrationMigrationPlanRead' do
|
31
|
+
it 'should create an instance of Pulp2to3MigrationMigrationPlanRead' do
|
32
|
+
expect(@instance).to be_instance_of(Pulp2to3MigrationClient::Pulp2to3MigrationMigrationPlanRead)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "pulp_href"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "pulp_created"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "plan"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
end
|
@@ -14,22 +14,22 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for Pulp2to3MigrationClient::
|
17
|
+
# Unit tests for Pulp2to3MigrationClient::Pulp2to3MigrationPulp2ContentRead
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'Pulp2to3MigrationPulp2ContentRead' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = Pulp2to3MigrationClient::
|
23
|
+
@instance = Pulp2to3MigrationClient::Pulp2to3MigrationPulp2ContentRead.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
27
27
|
# run after each test
|
28
28
|
end
|
29
29
|
|
30
|
-
describe 'test an instance of
|
31
|
-
it 'should create an instance of
|
32
|
-
expect(@instance).to be_instance_of(Pulp2to3MigrationClient::
|
30
|
+
describe 'test an instance of Pulp2to3MigrationPulp2ContentRead' do
|
31
|
+
it 'should create an instance of Pulp2to3MigrationPulp2ContentRead' do
|
32
|
+
expect(@instance).to be_instance_of(Pulp2to3MigrationClient::Pulp2to3MigrationPulp2ContentRead)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
describe 'test attribute "pulp_href"' do
|