pulp_python_client 3.11.3 → 3.12.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.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +31 -11
  3. data/docs/ContentPackagesApi.md +13 -13
  4. data/docs/DistributionsPypiApi.md +233 -1
  5. data/docs/MyPermissionsResponse.md +17 -0
  6. data/docs/NestedRole.md +21 -0
  7. data/docs/NestedRoleResponse.md +21 -0
  8. data/docs/ObjectRolesResponse.md +17 -0
  9. data/docs/PackageMetadataResponse.md +3 -3
  10. data/docs/PublicationsPypiApi.md +233 -1
  11. data/docs/PypiApi.md +8 -2
  12. data/docs/PypiLegacyApi.md +1 -1
  13. data/docs/PypiMetadataApi.md +8 -2
  14. data/docs/PypiSimpleApi.md +1 -1
  15. data/docs/PythonPythonPackageContent.md +6 -6
  16. data/docs/PythonPythonPackageContentResponse.md +6 -6
  17. data/docs/RemotesPythonApi.md +233 -1
  18. data/docs/RepositoriesPythonApi.md +233 -1
  19. data/docs/RepositoriesPythonVersionsApi.md +1 -1
  20. data/lib/pulp_python_client/api/content_packages_api.rb +12 -12
  21. data/lib/pulp_python_client/api/distributions_pypi_api.rb +276 -0
  22. data/lib/pulp_python_client/api/publications_pypi_api.rb +276 -0
  23. data/lib/pulp_python_client/api/pypi_api.rb +1 -1
  24. data/lib/pulp_python_client/api/pypi_metadata_api.rb +1 -1
  25. data/lib/pulp_python_client/api/remotes_python_api.rb +276 -0
  26. data/lib/pulp_python_client/api/repositories_python_api.rb +276 -0
  27. data/lib/pulp_python_client/configuration.rb +2 -2
  28. data/lib/pulp_python_client/models/my_permissions_response.rb +213 -0
  29. data/lib/pulp_python_client/models/nested_role.rb +253 -0
  30. data/lib/pulp_python_client/models/nested_role_response.rb +234 -0
  31. data/lib/pulp_python_client/models/object_roles_response.rb +213 -0
  32. data/lib/pulp_python_client/models/package_metadata_response.rb +3 -3
  33. data/lib/pulp_python_client/models/package_upload_task_response.rb +2 -10
  34. data/lib/pulp_python_client/models/patchedpython_python_remote.rb +20 -20
  35. data/lib/pulp_python_client/models/python_python_package_content.rb +6 -6
  36. data/lib/pulp_python_client/models/python_python_package_content_response.rb +6 -6
  37. data/lib/pulp_python_client/models/python_python_remote.rb +20 -20
  38. data/lib/pulp_python_client/models/python_python_remote_response.rb +20 -20
  39. data/lib/pulp_python_client/version.rb +1 -1
  40. data/lib/pulp_python_client.rb +4 -0
  41. data/spec/api/content_packages_api_spec.rb +6 -6
  42. data/spec/api/distributions_pypi_api_spec.rb +54 -0
  43. data/spec/api/publications_pypi_api_spec.rb +54 -0
  44. data/spec/api/remotes_python_api_spec.rb +54 -0
  45. data/spec/api/repositories_python_api_spec.rb +54 -0
  46. data/spec/configuration_spec.rb +3 -3
  47. data/spec/models/my_permissions_response_spec.rb +41 -0
  48. data/spec/models/nested_role_response_spec.rb +53 -0
  49. data/spec/models/nested_role_spec.rb +53 -0
  50. data/spec/models/object_roles_response_spec.rb +41 -0
  51. metadata +66 -50
@@ -42,6 +42,8 @@ module PulpPythonClient
42
42
  # List of attributes with nullable: true
43
43
  def self.openapi_nullable
44
44
  Set.new([
45
+ :'session',
46
+ :'task_start_time'
45
47
  ])
46
48
  end
47
49
 
@@ -77,27 +79,17 @@ module PulpPythonClient
77
79
  # @return Array for valid properties with the reasons
78
80
  def list_invalid_properties
79
81
  invalid_properties = Array.new
80
- if @session.nil?
81
- invalid_properties.push('invalid value for "session", session cannot be nil.')
82
- end
83
-
84
82
  if @task.nil?
85
83
  invalid_properties.push('invalid value for "task", task cannot be nil.')
86
84
  end
87
85
 
88
- if @task_start_time.nil?
89
- invalid_properties.push('invalid value for "task_start_time", task_start_time cannot be nil.')
90
- end
91
-
92
86
  invalid_properties
93
87
  end
94
88
 
95
89
  # Check to see if the all the properties in the model are valid
96
90
  # @return true if the model is valid
97
91
  def valid?
98
- return false if @session.nil?
99
92
  return false if @task.nil?
100
- return false if @task_start_time.nil?
101
93
  true
102
94
  end
103
95
 
@@ -368,20 +368,20 @@ module PulpPythonClient
368
368
  invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
369
369
  end
370
370
 
371
- if !@total_timeout.nil? && @total_timeout < 0
372
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
371
+ if !@total_timeout.nil? && @total_timeout < 0.0
372
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
373
373
  end
374
374
 
375
- if !@connect_timeout.nil? && @connect_timeout < 0
376
- invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
375
+ if !@connect_timeout.nil? && @connect_timeout < 0.0
376
+ invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
377
377
  end
378
378
 
379
- if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
380
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
379
+ if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
380
+ invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
381
381
  end
382
382
 
383
- if !@sock_read_timeout.nil? && @sock_read_timeout < 0
384
- invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
383
+ if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
384
+ invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
385
385
  end
386
386
 
387
387
  invalid_properties
@@ -401,10 +401,10 @@ module PulpPythonClient
401
401
  return false if !@username.nil? && @username.to_s.length < 1
402
402
  return false if !@password.nil? && @password.to_s.length < 1
403
403
  return false if !@download_concurrency.nil? && @download_concurrency < 1
404
- return false if !@total_timeout.nil? && @total_timeout < 0
405
- return false if !@connect_timeout.nil? && @connect_timeout < 0
406
- return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
407
- return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
404
+ return false if !@total_timeout.nil? && @total_timeout < 0.0
405
+ return false if !@connect_timeout.nil? && @connect_timeout < 0.0
406
+ return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
407
+ return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
408
408
  true
409
409
  end
410
410
 
@@ -521,8 +521,8 @@ module PulpPythonClient
521
521
  # Custom attribute writer method with validation
522
522
  # @param [Object] total_timeout Value to be assigned
523
523
  def total_timeout=(total_timeout)
524
- if !total_timeout.nil? && total_timeout < 0
525
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
524
+ if !total_timeout.nil? && total_timeout < 0.0
525
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
526
526
  end
527
527
 
528
528
  @total_timeout = total_timeout
@@ -531,8 +531,8 @@ module PulpPythonClient
531
531
  # Custom attribute writer method with validation
532
532
  # @param [Object] connect_timeout Value to be assigned
533
533
  def connect_timeout=(connect_timeout)
534
- if !connect_timeout.nil? && connect_timeout < 0
535
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
534
+ if !connect_timeout.nil? && connect_timeout < 0.0
535
+ fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
536
536
  end
537
537
 
538
538
  @connect_timeout = connect_timeout
@@ -541,8 +541,8 @@ module PulpPythonClient
541
541
  # Custom attribute writer method with validation
542
542
  # @param [Object] sock_connect_timeout Value to be assigned
543
543
  def sock_connect_timeout=(sock_connect_timeout)
544
- if !sock_connect_timeout.nil? && sock_connect_timeout < 0
545
- fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
544
+ if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
545
+ fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
546
546
  end
547
547
 
548
548
  @sock_connect_timeout = sock_connect_timeout
@@ -551,8 +551,8 @@ module PulpPythonClient
551
551
  # Custom attribute writer method with validation
552
552
  # @param [Object] sock_read_timeout Value to be assigned
553
553
  def sock_read_timeout=(sock_read_timeout)
554
- if !sock_read_timeout.nil? && sock_read_timeout < 0
555
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
554
+ if !sock_read_timeout.nil? && sock_read_timeout < 0.0
555
+ fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
556
556
  end
557
557
 
558
558
  @sock_read_timeout = sock_read_timeout
@@ -151,14 +151,14 @@ module PulpPythonClient
151
151
  :'license' => :'String',
152
152
  :'requires_python' => :'String',
153
153
  :'project_url' => :'String',
154
- :'project_urls' => :'Object',
154
+ :'project_urls' => :'AnyType',
155
155
  :'platform' => :'String',
156
156
  :'supported_platform' => :'String',
157
- :'requires_dist' => :'Object',
158
- :'provides_dist' => :'Object',
159
- :'obsoletes_dist' => :'Object',
160
- :'requires_external' => :'Object',
161
- :'classifiers' => :'Object'
157
+ :'requires_dist' => :'AnyType',
158
+ :'provides_dist' => :'AnyType',
159
+ :'obsoletes_dist' => :'AnyType',
160
+ :'requires_external' => :'AnyType',
161
+ :'classifiers' => :'AnyType'
162
162
  }
163
163
  end
164
164
 
@@ -170,14 +170,14 @@ module PulpPythonClient
170
170
  :'license' => :'String',
171
171
  :'requires_python' => :'String',
172
172
  :'project_url' => :'String',
173
- :'project_urls' => :'Object',
173
+ :'project_urls' => :'AnyType',
174
174
  :'platform' => :'String',
175
175
  :'supported_platform' => :'String',
176
- :'requires_dist' => :'Object',
177
- :'provides_dist' => :'Object',
178
- :'obsoletes_dist' => :'Object',
179
- :'requires_external' => :'Object',
180
- :'classifiers' => :'Object'
176
+ :'requires_dist' => :'AnyType',
177
+ :'provides_dist' => :'AnyType',
178
+ :'obsoletes_dist' => :'AnyType',
179
+ :'requires_external' => :'AnyType',
180
+ :'classifiers' => :'AnyType'
181
181
  }
182
182
  end
183
183
 
@@ -376,20 +376,20 @@ module PulpPythonClient
376
376
  invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
377
377
  end
378
378
 
379
- if !@total_timeout.nil? && @total_timeout < 0
380
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
379
+ if !@total_timeout.nil? && @total_timeout < 0.0
380
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
381
381
  end
382
382
 
383
- if !@connect_timeout.nil? && @connect_timeout < 0
384
- invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
383
+ if !@connect_timeout.nil? && @connect_timeout < 0.0
384
+ invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
385
385
  end
386
386
 
387
- if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
388
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
387
+ if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
388
+ invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
389
389
  end
390
390
 
391
- if !@sock_read_timeout.nil? && @sock_read_timeout < 0
392
- invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
391
+ if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
392
+ invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
393
393
  end
394
394
 
395
395
  invalid_properties
@@ -411,10 +411,10 @@ module PulpPythonClient
411
411
  return false if !@username.nil? && @username.to_s.length < 1
412
412
  return false if !@password.nil? && @password.to_s.length < 1
413
413
  return false if !@download_concurrency.nil? && @download_concurrency < 1
414
- return false if !@total_timeout.nil? && @total_timeout < 0
415
- return false if !@connect_timeout.nil? && @connect_timeout < 0
416
- return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
417
- return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
414
+ return false if !@total_timeout.nil? && @total_timeout < 0.0
415
+ return false if !@connect_timeout.nil? && @connect_timeout < 0.0
416
+ return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
417
+ return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
418
418
  true
419
419
  end
420
420
 
@@ -539,8 +539,8 @@ module PulpPythonClient
539
539
  # Custom attribute writer method with validation
540
540
  # @param [Object] total_timeout Value to be assigned
541
541
  def total_timeout=(total_timeout)
542
- if !total_timeout.nil? && total_timeout < 0
543
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
542
+ if !total_timeout.nil? && total_timeout < 0.0
543
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
544
544
  end
545
545
 
546
546
  @total_timeout = total_timeout
@@ -549,8 +549,8 @@ module PulpPythonClient
549
549
  # Custom attribute writer method with validation
550
550
  # @param [Object] connect_timeout Value to be assigned
551
551
  def connect_timeout=(connect_timeout)
552
- if !connect_timeout.nil? && connect_timeout < 0
553
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
552
+ if !connect_timeout.nil? && connect_timeout < 0.0
553
+ fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
554
554
  end
555
555
 
556
556
  @connect_timeout = connect_timeout
@@ -559,8 +559,8 @@ module PulpPythonClient
559
559
  # Custom attribute writer method with validation
560
560
  # @param [Object] sock_connect_timeout Value to be assigned
561
561
  def sock_connect_timeout=(sock_connect_timeout)
562
- if !sock_connect_timeout.nil? && sock_connect_timeout < 0
563
- fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
562
+ if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
563
+ fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
564
564
  end
565
565
 
566
566
  @sock_connect_timeout = sock_connect_timeout
@@ -569,8 +569,8 @@ module PulpPythonClient
569
569
  # Custom attribute writer method with validation
570
570
  # @param [Object] sock_read_timeout Value to be assigned
571
571
  def sock_read_timeout=(sock_read_timeout)
572
- if !sock_read_timeout.nil? && sock_read_timeout < 0
573
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
572
+ if !sock_read_timeout.nil? && sock_read_timeout < 0.0
573
+ fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
574
574
  end
575
575
 
576
576
  @sock_read_timeout = sock_read_timeout
@@ -323,20 +323,20 @@ module PulpPythonClient
323
323
  invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
324
324
  end
325
325
 
326
- if !@total_timeout.nil? && @total_timeout < 0
327
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
326
+ if !@total_timeout.nil? && @total_timeout < 0.0
327
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
328
328
  end
329
329
 
330
- if !@connect_timeout.nil? && @connect_timeout < 0
331
- invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
330
+ if !@connect_timeout.nil? && @connect_timeout < 0.0
331
+ invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
332
332
  end
333
333
 
334
- if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
335
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
334
+ if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
335
+ invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
336
336
  end
337
337
 
338
- if !@sock_read_timeout.nil? && @sock_read_timeout < 0
339
- invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
338
+ if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
339
+ invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
340
340
  end
341
341
 
342
342
  invalid_properties
@@ -348,10 +348,10 @@ module PulpPythonClient
348
348
  return false if @name.nil?
349
349
  return false if @url.nil?
350
350
  return false if !@download_concurrency.nil? && @download_concurrency < 1
351
- return false if !@total_timeout.nil? && @total_timeout < 0
352
- return false if !@connect_timeout.nil? && @connect_timeout < 0
353
- return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
354
- return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
351
+ return false if !@total_timeout.nil? && @total_timeout < 0.0
352
+ return false if !@connect_timeout.nil? && @connect_timeout < 0.0
353
+ return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
354
+ return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
355
355
  true
356
356
  end
357
357
 
@@ -368,8 +368,8 @@ module PulpPythonClient
368
368
  # Custom attribute writer method with validation
369
369
  # @param [Object] total_timeout Value to be assigned
370
370
  def total_timeout=(total_timeout)
371
- if !total_timeout.nil? && total_timeout < 0
372
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
371
+ if !total_timeout.nil? && total_timeout < 0.0
372
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
373
373
  end
374
374
 
375
375
  @total_timeout = total_timeout
@@ -378,8 +378,8 @@ module PulpPythonClient
378
378
  # Custom attribute writer method with validation
379
379
  # @param [Object] connect_timeout Value to be assigned
380
380
  def connect_timeout=(connect_timeout)
381
- if !connect_timeout.nil? && connect_timeout < 0
382
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
381
+ if !connect_timeout.nil? && connect_timeout < 0.0
382
+ fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
383
383
  end
384
384
 
385
385
  @connect_timeout = connect_timeout
@@ -388,8 +388,8 @@ module PulpPythonClient
388
388
  # Custom attribute writer method with validation
389
389
  # @param [Object] sock_connect_timeout Value to be assigned
390
390
  def sock_connect_timeout=(sock_connect_timeout)
391
- if !sock_connect_timeout.nil? && sock_connect_timeout < 0
392
- fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
391
+ if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
392
+ fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
393
393
  end
394
394
 
395
395
  @sock_connect_timeout = sock_connect_timeout
@@ -398,8 +398,8 @@ module PulpPythonClient
398
398
  # Custom attribute writer method with validation
399
399
  # @param [Object] sock_read_timeout Value to be assigned
400
400
  def sock_read_timeout=(sock_read_timeout)
401
- if !sock_read_timeout.nil? && sock_read_timeout < 0
402
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
401
+ if !sock_read_timeout.nil? && sock_read_timeout < 0.0
402
+ fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
403
403
  end
404
404
 
405
405
  @sock_read_timeout = sock_read_timeout
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpPythonClient
14
- VERSION = '3.11.3'
14
+ VERSION = '3.12.0'
15
15
  end
@@ -20,6 +20,10 @@ require 'pulp_python_client/configuration'
20
20
  require 'pulp_python_client/models/async_operation_response'
21
21
  require 'pulp_python_client/models/content_summary_response'
22
22
  require 'pulp_python_client/models/exclude_platforms_enum'
23
+ require 'pulp_python_client/models/my_permissions_response'
24
+ require 'pulp_python_client/models/nested_role'
25
+ require 'pulp_python_client/models/nested_role_response'
26
+ require 'pulp_python_client/models/object_roles_response'
23
27
  require 'pulp_python_client/models/package_metadata_response'
24
28
  require 'pulp_python_client/models/package_types_enum'
25
29
  require 'pulp_python_client/models/package_upload'
@@ -55,14 +55,14 @@ describe 'ContentPackagesApi' do
55
55
  # @option opts [String] :license Text indicating the license covering the distribution
56
56
  # @option opts [String] :requires_python The Python version(s) that the distribution is guaranteed to be compatible with.
57
57
  # @option opts [String] :project_url A browsable URL for the project and a label for it, separated by a comma.
58
- # @option opts [Object] :project_urls A dictionary of labels and URLs for the project.
58
+ # @option opts [AnyType] :project_urls A dictionary of labels and URLs for the project.
59
59
  # @option opts [String] :platform A comma-separated list of platform specifications, summarizing the operating systems supported by the package.
60
60
  # @option opts [String] :supported_platform Field to specify the OS and CPU for which the binary package was compiled.
61
- # @option opts [Object] :requires_dist A JSON list containing names of some other distutils project required by this distribution.
62
- # @option opts [Object] :provides_dist A JSON list containing names of a Distutils project which is contained within this distribution.
63
- # @option opts [Object] :obsoletes_dist A JSON list containing names of a distutils project&#39;s distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
64
- # @option opts [Object] :requires_external A JSON list containing some dependency in the system that the distribution is to be used.
65
- # @option opts [Object] :classifiers A JSON list containing classification values for a Python package.
61
+ # @option opts [AnyType] :requires_dist A JSON list containing names of some other distutils project required by this distribution.
62
+ # @option opts [AnyType] :provides_dist A JSON list containing names of a Distutils project which is contained within this distribution.
63
+ # @option opts [AnyType] :obsoletes_dist A JSON list containing names of a distutils project&#39;s distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
64
+ # @option opts [AnyType] :requires_external A JSON list containing some dependency in the system that the distribution is to be used.
65
+ # @option opts [AnyType] :classifiers A JSON list containing classification values for a Python package.
66
66
  # @return [AsyncOperationResponse]
67
67
  describe 'create test' do
68
68
  it 'should work' do
@@ -32,6 +32,19 @@ describe 'DistributionsPypiApi' do
32
32
  end
33
33
  end
34
34
 
35
+ # unit tests for add_role
36
+ # Add a role
37
+ # Add a role for this object to users/groups.
38
+ # @param python_python_distribution_href
39
+ # @param nested_role
40
+ # @param [Hash] opts the optional parameters
41
+ # @return [NestedRoleResponse]
42
+ describe 'add_role test' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
45
+ end
46
+ end
47
+
35
48
  # unit tests for create
36
49
  # Create a python distribution
37
50
  # Trigger an asynchronous create task
@@ -92,6 +105,34 @@ describe 'DistributionsPypiApi' do
92
105
  end
93
106
  end
94
107
 
108
+ # unit tests for list_roles
109
+ # List roles
110
+ # List roles assigned to this object.
111
+ # @param python_python_distribution_href
112
+ # @param [Hash] opts the optional parameters
113
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
114
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
115
+ # @return [ObjectRolesResponse]
116
+ describe 'list_roles test' do
117
+ it 'should work' do
118
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
119
+ end
120
+ end
121
+
122
+ # unit tests for my_permissions
123
+ # List user permissions
124
+ # List permissions available to the current user on this object.
125
+ # @param python_python_distribution_href
126
+ # @param [Hash] opts the optional parameters
127
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
128
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
129
+ # @return [MyPermissionsResponse]
130
+ describe 'my_permissions test' do
131
+ it 'should work' do
132
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
133
+ end
134
+ end
135
+
95
136
  # unit tests for partial_update
96
137
  # Update a python distribution
97
138
  # Trigger an asynchronous partial update task
@@ -119,6 +160,19 @@ describe 'DistributionsPypiApi' do
119
160
  end
120
161
  end
121
162
 
163
+ # unit tests for remove_role
164
+ # Remove a role
165
+ # Remove a role for this object from users/groups.
166
+ # @param python_python_distribution_href
167
+ # @param nested_role
168
+ # @param [Hash] opts the optional parameters
169
+ # @return [NestedRoleResponse]
170
+ describe 'remove_role test' do
171
+ it 'should work' do
172
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
173
+ end
174
+ end
175
+
122
176
  # unit tests for set_label
123
177
  # Set a label
124
178
  # Set a single pulp_label on the object to a specific value or null.
@@ -32,6 +32,19 @@ describe 'PublicationsPypiApi' do
32
32
  end
33
33
  end
34
34
 
35
+ # unit tests for add_role
36
+ # Add a role
37
+ # Add a role for this object to users/groups.
38
+ # @param python_python_publication_href
39
+ # @param nested_role
40
+ # @param [Hash] opts the optional parameters
41
+ # @return [NestedRoleResponse]
42
+ describe 'add_role test' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
45
+ end
46
+ end
47
+
35
48
  # unit tests for create
36
49
  # Create a python publication
37
50
  # Dispatches a publish task, which generates metadata that will be used by pip.
@@ -85,6 +98,34 @@ describe 'PublicationsPypiApi' do
85
98
  end
86
99
  end
87
100
 
101
+ # unit tests for list_roles
102
+ # List roles
103
+ # List roles assigned to this object.
104
+ # @param python_python_publication_href
105
+ # @param [Hash] opts the optional parameters
106
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
107
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
108
+ # @return [ObjectRolesResponse]
109
+ describe 'list_roles test' do
110
+ it 'should work' do
111
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
112
+ end
113
+ end
114
+
115
+ # unit tests for my_permissions
116
+ # List user permissions
117
+ # List permissions available to the current user on this object.
118
+ # @param python_python_publication_href
119
+ # @param [Hash] opts the optional parameters
120
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
121
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
122
+ # @return [MyPermissionsResponse]
123
+ describe 'my_permissions test' do
124
+ it 'should work' do
125
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
126
+ end
127
+ end
128
+
88
129
  # unit tests for read
89
130
  # Inspect a python publication
90
131
  # Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
@@ -99,4 +140,17 @@ describe 'PublicationsPypiApi' do
99
140
  end
100
141
  end
101
142
 
143
+ # unit tests for remove_role
144
+ # Remove a role
145
+ # Remove a role for this object from users/groups.
146
+ # @param python_python_publication_href
147
+ # @param nested_role
148
+ # @param [Hash] opts the optional parameters
149
+ # @return [NestedRoleResponse]
150
+ describe 'remove_role test' do
151
+ it 'should work' do
152
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
153
+ end
154
+ end
155
+
102
156
  end
@@ -32,6 +32,19 @@ describe 'RemotesPythonApi' do
32
32
  end
33
33
  end
34
34
 
35
+ # unit tests for add_role
36
+ # Add a role
37
+ # Add a role for this object to users/groups.
38
+ # @param python_python_remote_href
39
+ # @param nested_role
40
+ # @param [Hash] opts the optional parameters
41
+ # @return [NestedRoleResponse]
42
+ describe 'add_role test' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
45
+ end
46
+ end
47
+
35
48
  # unit tests for create
36
49
  # Create a python remote
37
50
  # Python Remotes are representations of an external repository of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to &#x60;sync&#x60; from upstream repositories, and contains sync settings.
@@ -105,6 +118,34 @@ describe 'RemotesPythonApi' do
105
118
  end
106
119
  end
107
120
 
121
+ # unit tests for list_roles
122
+ # List roles
123
+ # List roles assigned to this object.
124
+ # @param python_python_remote_href
125
+ # @param [Hash] opts the optional parameters
126
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
127
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
128
+ # @return [ObjectRolesResponse]
129
+ describe 'list_roles test' do
130
+ it 'should work' do
131
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
132
+ end
133
+ end
134
+
135
+ # unit tests for my_permissions
136
+ # List user permissions
137
+ # List permissions available to the current user on this object.
138
+ # @param python_python_remote_href
139
+ # @param [Hash] opts the optional parameters
140
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
141
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
142
+ # @return [MyPermissionsResponse]
143
+ describe 'my_permissions test' do
144
+ it 'should work' do
145
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
146
+ end
147
+ end
148
+
108
149
  # unit tests for partial_update
109
150
  # Update a python remote
110
151
  # Trigger an asynchronous partial update task
@@ -132,6 +173,19 @@ describe 'RemotesPythonApi' do
132
173
  end
133
174
  end
134
175
 
176
+ # unit tests for remove_role
177
+ # Remove a role
178
+ # Remove a role for this object from users/groups.
179
+ # @param python_python_remote_href
180
+ # @param nested_role
181
+ # @param [Hash] opts the optional parameters
182
+ # @return [NestedRoleResponse]
183
+ describe 'remove_role test' do
184
+ it 'should work' do
185
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
186
+ end
187
+ end
188
+
135
189
  # unit tests for set_label
136
190
  # Set a label
137
191
  # Set a single pulp_label on the object to a specific value or null.