pulp_deb_client 2.17.1 → 2.19.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +9 -7
  3. data/docs/ContentGenericContentsApi.md +5 -3
  4. data/docs/ContentInstallerFileIndicesApi.md +2 -2
  5. data/docs/ContentInstallerPackagesApi.md +5 -3
  6. data/docs/ContentPackageIndicesApi.md +2 -2
  7. data/docs/ContentPackageReleaseComponentsApi.md +2 -2
  8. data/docs/ContentPackagesApi.md +5 -3
  9. data/docs/ContentReleaseArchitecturesApi.md +2 -2
  10. data/docs/ContentReleaseComponentsApi.md +2 -2
  11. data/docs/ContentReleaseFilesApi.md +2 -2
  12. data/docs/ContentReleasesApi.md +2 -2
  13. data/docs/Copy.md +21 -0
  14. data/docs/DebAptRemote.md +2 -2
  15. data/docs/DebBasePackage.md +3 -1
  16. data/docs/DebCopyApi.md +62 -0
  17. data/docs/DebGenericContent.md +3 -1
  18. data/docs/DistributionsAptApi.md +2 -2
  19. data/docs/PatcheddebAptRemote.md +2 -2
  20. data/docs/PublicationsAptApi.md +4 -2
  21. data/docs/PublicationsVerbatimApi.md +4 -2
  22. data/docs/RemotesAptApi.md +2 -2
  23. data/docs/Repair.md +17 -0
  24. data/docs/RepositoriesAptApi.md +2 -2
  25. data/docs/RepositoriesAptVersionsApi.md +6 -6
  26. data/lib/pulp_deb_client/api/content_generic_contents_api.rb +10 -3
  27. data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +7 -3
  28. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +10 -3
  29. data/lib/pulp_deb_client/api/content_package_indices_api.rb +7 -3
  30. data/lib/pulp_deb_client/api/content_package_release_components_api.rb +7 -3
  31. data/lib/pulp_deb_client/api/content_packages_api.rb +10 -3
  32. data/lib/pulp_deb_client/api/content_release_architectures_api.rb +7 -3
  33. data/lib/pulp_deb_client/api/content_release_components_api.rb +7 -3
  34. data/lib/pulp_deb_client/api/content_release_files_api.rb +7 -3
  35. data/lib/pulp_deb_client/api/content_releases_api.rb +7 -3
  36. data/lib/pulp_deb_client/api/deb_copy_api.rb +86 -0
  37. data/lib/pulp_deb_client/api/distributions_apt_api.rb +7 -3
  38. data/lib/pulp_deb_client/api/publications_apt_api.rb +10 -3
  39. data/lib/pulp_deb_client/api/publications_verbatim_api.rb +10 -3
  40. data/lib/pulp_deb_client/api/remotes_apt_api.rb +7 -3
  41. data/lib/pulp_deb_client/api/repositories_apt_api.rb +7 -3
  42. data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +16 -12
  43. data/lib/pulp_deb_client/models/{content_summary.rb → copy.rb} +33 -42
  44. data/lib/pulp_deb_client/models/deb_apt_remote.rb +2 -2
  45. data/lib/pulp_deb_client/models/deb_base_package.rb +14 -4
  46. data/lib/pulp_deb_client/models/deb_generic_content.rb +14 -4
  47. data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +2 -2
  48. data/lib/pulp_deb_client/models/{repository_version.rb → repair.rb} +13 -12
  49. data/lib/pulp_deb_client/version.rb +1 -1
  50. data/lib/pulp_deb_client.rb +3 -2
  51. data/pulp_deb_client.gemspec +3 -3
  52. data/spec/api/content_generic_contents_api_spec.rb +2 -1
  53. data/spec/api/content_installer_file_indices_api_spec.rb +1 -1
  54. data/spec/api/content_installer_packages_api_spec.rb +2 -1
  55. data/spec/api/content_package_indices_api_spec.rb +1 -1
  56. data/spec/api/content_package_release_components_api_spec.rb +1 -1
  57. data/spec/api/content_packages_api_spec.rb +2 -1
  58. data/spec/api/content_release_architectures_api_spec.rb +1 -1
  59. data/spec/api/content_release_components_api_spec.rb +1 -1
  60. data/spec/api/content_release_files_api_spec.rb +1 -1
  61. data/spec/api/content_releases_api_spec.rb +1 -1
  62. data/spec/api/deb_copy_api_spec.rb +47 -0
  63. data/spec/api/distributions_apt_api_spec.rb +1 -1
  64. data/spec/api/publications_apt_api_spec.rb +2 -1
  65. data/spec/api/publications_verbatim_api_spec.rb +2 -1
  66. data/spec/api/remotes_apt_api_spec.rb +1 -1
  67. data/spec/api/repositories_apt_api_spec.rb +1 -1
  68. data/spec/api/repositories_apt_versions_api_spec.rb +2 -2
  69. data/spec/models/{content_summary_spec.rb → copy_spec.rb} +9 -9
  70. data/spec/models/deb_base_package_spec.rb +6 -0
  71. data/spec/models/deb_generic_content_spec.rb +6 -0
  72. data/spec/models/{repository_version_spec.rb → repair_spec.rb} +7 -7
  73. metadata +68 -65
  74. data/docs/ContentSummary.md +0 -21
  75. data/docs/RepositoryVersion.md +0 -17
  76. data/git_push.sh +0 -58
@@ -13,22 +13,21 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module PulpDebClient
16
- # Base serializer for use with :class:`pulpcore.app.models.Model` This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
17
- class RepositoryVersion
18
- # A repository version whose content was used as the initial set of content for this repository version
19
- attr_accessor :base_version
16
+ class Repair
17
+ # Will verify that the checksum of all stored files matches what saved in the database. Otherwise only the existence of the files will be checked. Enabled by default
18
+ attr_accessor :verify_checksums
20
19
 
21
20
  # Attribute mapping from ruby-style variable name to JSON key.
22
21
  def self.attribute_map
23
22
  {
24
- :'base_version' => :'base_version'
23
+ :'verify_checksums' => :'verify_checksums'
25
24
  }
26
25
  end
27
26
 
28
27
  # Attribute type mapping.
29
28
  def self.openapi_types
30
29
  {
31
- :'base_version' => :'String'
30
+ :'verify_checksums' => :'Boolean'
32
31
  }
33
32
  end
34
33
 
@@ -42,19 +41,21 @@ module PulpDebClient
42
41
  # @param [Hash] attributes Model attributes in the form of hash
43
42
  def initialize(attributes = {})
44
43
  if (!attributes.is_a?(Hash))
45
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::RepositoryVersion` initialize method"
44
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::Repair` initialize method"
46
45
  end
47
46
 
48
47
  # check to see if the attribute exists and convert string to symbol for hash key
49
48
  attributes = attributes.each_with_object({}) { |(k, v), h|
50
49
  if (!self.class.attribute_map.key?(k.to_sym))
51
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::RepositoryVersion`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
50
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::Repair`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
52
51
  end
53
52
  h[k.to_sym] = v
54
53
  }
55
54
 
56
- if attributes.key?(:'base_version')
57
- self.base_version = attributes[:'base_version']
55
+ if attributes.key?(:'verify_checksums')
56
+ self.verify_checksums = attributes[:'verify_checksums']
57
+ else
58
+ self.verify_checksums = true
58
59
  end
59
60
  end
60
61
 
@@ -76,7 +77,7 @@ module PulpDebClient
76
77
  def ==(o)
77
78
  return true if self.equal?(o)
78
79
  self.class == o.class &&
79
- base_version == o.base_version
80
+ verify_checksums == o.verify_checksums
80
81
  end
81
82
 
82
83
  # @see the `==` method
@@ -88,7 +89,7 @@ module PulpDebClient
88
89
  # Calculates hash code according to all attributes.
89
90
  # @return [Integer] Hash code
90
91
  def hash
91
- [base_version].hash
92
+ [verify_checksums].hash
92
93
  end
93
94
 
94
95
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpDebClient
14
- VERSION = '2.17.1'
14
+ VERSION = '2.19.1'
15
15
  end
@@ -18,8 +18,8 @@ require 'pulp_deb_client/configuration'
18
18
 
19
19
  # Models
20
20
  require 'pulp_deb_client/models/async_operation_response'
21
- require 'pulp_deb_client/models/content_summary'
22
21
  require 'pulp_deb_client/models/content_summary_response'
22
+ require 'pulp_deb_client/models/copy'
23
23
  require 'pulp_deb_client/models/deb_apt_distribution'
24
24
  require 'pulp_deb_client/models/deb_apt_distribution_response'
25
25
  require 'pulp_deb_client/models/deb_apt_publication'
@@ -67,9 +67,9 @@ require 'pulp_deb_client/models/patcheddeb_apt_distribution'
67
67
  require 'pulp_deb_client/models/patcheddeb_apt_remote'
68
68
  require 'pulp_deb_client/models/patcheddeb_apt_repository'
69
69
  require 'pulp_deb_client/models/policy_enum'
70
+ require 'pulp_deb_client/models/repair'
70
71
  require 'pulp_deb_client/models/repository_add_remove_content'
71
72
  require 'pulp_deb_client/models/repository_sync_url'
72
- require 'pulp_deb_client/models/repository_version'
73
73
  require 'pulp_deb_client/models/repository_version_response'
74
74
 
75
75
  # APIs
@@ -83,6 +83,7 @@ require 'pulp_deb_client/api/content_release_architectures_api'
83
83
  require 'pulp_deb_client/api/content_release_components_api'
84
84
  require 'pulp_deb_client/api/content_release_files_api'
85
85
  require 'pulp_deb_client/api/content_releases_api'
86
+ require 'pulp_deb_client/api/deb_copy_api'
86
87
  require 'pulp_deb_client/api/distributions_apt_api'
87
88
  require 'pulp_deb_client/api/publications_apt_api'
88
89
  require 'pulp_deb_client/api/publications_verbatim_api'
@@ -21,13 +21,13 @@ Gem::Specification.new do |s|
21
21
  s.platform = Gem::Platform::RUBY
22
22
  s.authors = ["OpenAPI-Generator"]
23
23
  s.email = ["pulp-list@redhat.com"]
24
- s.homepage = "https://openapi-generator.tech"
24
+ s.homepage = "https://github.com/pulp/pulp_deb"
25
25
  s.summary = "Pulp 3 API Ruby Gem"
26
26
  s.description = "Fetch, Upload, Organize, and Distribute Software Packages"
27
- s.license = 'GPL-2.0+'
27
+ s.license = 'GPLv2+'
28
28
  s.required_ruby_version = ">= 1.9"
29
29
 
30
- s.add_runtime_dependency 'faraday', '~> 0.17', '< 1.9.0'
30
+ s.add_runtime_dependency 'faraday', '>= 0.17', '< 1.9.0'
31
31
  s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
32
32
 
33
33
  s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
@@ -40,6 +40,7 @@ describe 'ContentGenericContentsApi' do
40
40
  # @option opts [String] :artifact Artifact file representing the physical content
41
41
  # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
42
42
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
43
+ # @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
43
44
  # @return [AsyncOperationResponse]
44
45
  describe 'create test' do
45
46
  it 'should work' do
@@ -53,7 +54,7 @@ describe 'ContentGenericContentsApi' do
53
54
  # @param [Hash] opts the optional parameters
54
55
  # @option opts [Integer] :limit Number of results to return per page.
55
56
  # @option opts [Integer] :offset The initial index from which to return the results.
56
- # @option opts [String] :ordering Which field to use when ordering the results.
57
+ # @option opts [Array<String>] :ordering Ordering
57
58
  # @option opts [String] :relative_path Filter results where relative_path matches value
58
59
  # @option opts [String] :repository_version Repository Version referenced by HREF
59
60
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
@@ -52,7 +52,7 @@ describe 'ContentInstallerFileIndicesApi' do
52
52
  # @option opts [String] :component Filter results where component matches value
53
53
  # @option opts [Integer] :limit Number of results to return per page.
54
54
  # @option opts [Integer] :offset The initial index from which to return the results.
55
- # @option opts [String] :ordering Which field to use when ordering the results.
55
+ # @option opts [Array<String>] :ordering Ordering
56
56
  # @option opts [String] :relative_path Filter results where relative_path matches value
57
57
  # @option opts [String] :repository_version Repository Version referenced by HREF
58
58
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
@@ -40,6 +40,7 @@ describe 'ContentInstallerPackagesApi' do
40
40
  # @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
41
41
  # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
42
42
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
43
+ # @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
43
44
  # @return [AsyncOperationResponse]
44
45
  describe 'create test' do
45
46
  it 'should work' do
@@ -61,7 +62,7 @@ describe 'ContentInstallerPackagesApi' do
61
62
  # @option opts [String] :maintainer Filter results where maintainer matches value
62
63
  # @option opts [String] :multi_arch Filter results where multi_arch matches value
63
64
  # @option opts [Integer] :offset The initial index from which to return the results.
64
- # @option opts [String] :ordering Which field to use when ordering the results.
65
+ # @option opts [Array<String>] :ordering Ordering
65
66
  # @option opts [String] :origin Filter results where origin matches value
66
67
  # @option opts [String] :original_maintainer Filter results where original_maintainer matches value
67
68
  # @option opts [String] :package Filter results where package matches value
@@ -52,7 +52,7 @@ describe 'ContentPackageIndicesApi' do
52
52
  # @option opts [String] :component Filter results where component matches value
53
53
  # @option opts [Integer] :limit Number of results to return per page.
54
54
  # @option opts [Integer] :offset The initial index from which to return the results.
55
- # @option opts [String] :ordering Which field to use when ordering the results.
55
+ # @option opts [Array<String>] :ordering Ordering
56
56
  # @option opts [String] :relative_path Filter results where relative_path matches value
57
57
  # @option opts [String] :repository_version Repository Version referenced by HREF
58
58
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
@@ -50,7 +50,7 @@ describe 'ContentPackageReleaseComponentsApi' do
50
50
  # @param [Hash] opts the optional parameters
51
51
  # @option opts [Integer] :limit Number of results to return per page.
52
52
  # @option opts [Integer] :offset The initial index from which to return the results.
53
- # @option opts [String] :ordering Which field to use when ordering the results.
53
+ # @option opts [Array<String>] :ordering Ordering
54
54
  # @option opts [String] :package Filter results where package matches value
55
55
  # @option opts [String] :release_component Filter results where release_component matches value
56
56
  # @option opts [String] :repository_version Repository Version referenced by HREF
@@ -40,6 +40,7 @@ describe 'ContentPackagesApi' do
40
40
  # @option opts [String] :relative_path Path where the artifact is located relative to distributions base_path
41
41
  # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
42
42
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
43
+ # @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
43
44
  # @return [AsyncOperationResponse]
44
45
  describe 'create test' do
45
46
  it 'should work' do
@@ -61,7 +62,7 @@ describe 'ContentPackagesApi' do
61
62
  # @option opts [String] :maintainer Filter results where maintainer matches value
62
63
  # @option opts [String] :multi_arch Filter results where multi_arch matches value
63
64
  # @option opts [Integer] :offset The initial index from which to return the results.
64
- # @option opts [String] :ordering Which field to use when ordering the results.
65
+ # @option opts [Array<String>] :ordering Ordering
65
66
  # @option opts [String] :origin Filter results where origin matches value
66
67
  # @option opts [String] :original_maintainer Filter results where original_maintainer matches value
67
68
  # @option opts [String] :package Filter results where package matches value
@@ -51,7 +51,7 @@ describe 'ContentReleaseArchitecturesApi' do
51
51
  # @option opts [String] :architecture Filter results where architecture matches value
52
52
  # @option opts [Integer] :limit Number of results to return per page.
53
53
  # @option opts [Integer] :offset The initial index from which to return the results.
54
- # @option opts [String] :ordering Which field to use when ordering the results.
54
+ # @option opts [Array<String>] :ordering Ordering
55
55
  # @option opts [String] :release Filter results where release matches value
56
56
  # @option opts [String] :repository_version Repository Version referenced by HREF
57
57
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
@@ -51,7 +51,7 @@ describe 'ContentReleaseComponentsApi' do
51
51
  # @option opts [String] :component Filter results where component matches value
52
52
  # @option opts [Integer] :limit Number of results to return per page.
53
53
  # @option opts [Integer] :offset The initial index from which to return the results.
54
- # @option opts [String] :ordering Which field to use when ordering the results.
54
+ # @option opts [Array<String>] :ordering Ordering
55
55
  # @option opts [String] :release Filter results where release matches value
56
56
  # @option opts [String] :repository_version Repository Version referenced by HREF
57
57
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
@@ -51,7 +51,7 @@ describe 'ContentReleaseFilesApi' do
51
51
  # @option opts [String] :codename Filter results where codename matches value
52
52
  # @option opts [Integer] :limit Number of results to return per page.
53
53
  # @option opts [Integer] :offset The initial index from which to return the results.
54
- # @option opts [String] :ordering Which field to use when ordering the results.
54
+ # @option opts [Array<String>] :ordering Ordering
55
55
  # @option opts [String] :relative_path Filter results where relative_path matches value
56
56
  # @option opts [String] :repository_version Repository Version referenced by HREF
57
57
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
@@ -52,7 +52,7 @@ describe 'ContentReleasesApi' do
52
52
  # @option opts [String] :distribution Filter results where distribution matches value
53
53
  # @option opts [Integer] :limit Number of results to return per page.
54
54
  # @option opts [Integer] :offset The initial index from which to return the results.
55
- # @option opts [String] :ordering Which field to use when ordering the results.
55
+ # @option opts [Array<String>] :ordering Ordering
56
56
  # @option opts [String] :repository_version Repository Version referenced by HREF
57
57
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
58
58
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -0,0 +1,47 @@
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
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpDebClient::DebCopyApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'DebCopyApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpDebClient::DebCopyApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of DebCopyApi' do
30
+ it 'should create an instance of DebCopyApi' do
31
+ expect(@api_instance).to be_instance_of(PulpDebClient::DebCopyApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for copy_content
36
+ # Copy content
37
+ # Trigger an asynchronous task to copy APT contentfrom one repository into another, creating a newrepository version.
38
+ # @param copy
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [AsyncOperationResponse]
41
+ describe 'copy_content test' 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
+ end
@@ -71,7 +71,7 @@ describe 'DistributionsAptApi' do
71
71
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
72
72
  # @option opts [String] :name__startswith Filter results where name starts with value
73
73
  # @option opts [Integer] :offset The initial index from which to return the results.
74
- # @option opts [String] :ordering Which field to use when ordering the results.
74
+ # @option opts [Array<String>] :ordering Ordering
75
75
  # @option opts [String] :pulp_label_select Filter labels by search string
76
76
  # @option opts [String] :fields A list of fields to include in the response.
77
77
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
@@ -64,13 +64,14 @@ describe 'PublicationsAptApi' do
64
64
  # @option opts [String] :content__in Content Unit referenced by HREF
65
65
  # @option opts [Integer] :limit Number of results to return per page.
66
66
  # @option opts [Integer] :offset The initial index from which to return the results.
67
- # @option opts [String] :ordering Which field to use when ordering the results.
67
+ # @option opts [Array<String>] :ordering Ordering
68
68
  # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
69
69
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
70
70
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
71
71
  # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
72
72
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
73
73
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
74
+ # @option opts [String] :repository Repository referenced by HREF
74
75
  # @option opts [String] :repository_version Repository Version referenced by HREF
75
76
  # @option opts [String] :fields A list of fields to include in the response.
76
77
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
@@ -64,13 +64,14 @@ describe 'PublicationsVerbatimApi' do
64
64
  # @option opts [String] :content__in Content Unit referenced by HREF
65
65
  # @option opts [Integer] :limit Number of results to return per page.
66
66
  # @option opts [Integer] :offset The initial index from which to return the results.
67
- # @option opts [String] :ordering Which field to use when ordering the results.
67
+ # @option opts [Array<String>] :ordering Ordering
68
68
  # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
69
69
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
70
70
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
71
71
  # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
72
72
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
73
73
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
74
+ # @option opts [String] :repository Repository referenced by HREF
74
75
  # @option opts [String] :repository_version Repository Version referenced by HREF
75
76
  # @option opts [String] :fields A list of fields to include in the response.
76
77
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
@@ -67,7 +67,7 @@ describe 'RemotesAptApi' do
67
67
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
68
68
  # @option opts [String] :name__startswith Filter results where name starts with value
69
69
  # @option opts [Integer] :offset The initial index from which to return the results.
70
- # @option opts [String] :ordering Which field to use when ordering the results.
70
+ # @option opts [Array<String>] :ordering Ordering
71
71
  # @option opts [String] :pulp_label_select Filter labels by search string
72
72
  # @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
73
73
  # @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
@@ -67,7 +67,7 @@ describe 'RepositoriesAptApi' do
67
67
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
68
68
  # @option opts [String] :name__startswith Filter results where name starts with value
69
69
  # @option opts [Integer] :offset The initial index from which to return the results.
70
- # @option opts [String] :ordering Which field to use when ordering the results.
70
+ # @option opts [Array<String>] :ordering Ordering
71
71
  # @option opts [String] :pulp_label_select Filter labels by search string
72
72
  # @option opts [String] :fields A list of fields to include in the response.
73
73
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
@@ -59,7 +59,7 @@ describe 'RepositoriesAptVersionsApi' do
59
59
  # @option opts [Integer] :number__lte Filter results where number is less than or equal to value
60
60
  # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
61
61
  # @option opts [Integer] :offset The initial index from which to return the results.
62
- # @option opts [String] :ordering Which field to use when ordering the results.
62
+ # @option opts [Array<String>] :ordering Ordering
63
63
  # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
64
64
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
65
65
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
@@ -92,7 +92,7 @@ describe 'RepositoriesAptVersionsApi' do
92
92
  # unit tests for repair
93
93
  # Trigger an asynchronous task to repair a repository version.
94
94
  # @param deb_apt_repository_version_href
95
- # @param repository_version
95
+ # @param repair
96
96
  # @param [Hash] opts the optional parameters
97
97
  # @return [AsyncOperationResponse]
98
98
  describe 'repair test' do
@@ -14,37 +14,37 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for PulpDebClient::ContentSummary
17
+ # Unit tests for PulpDebClient::Copy
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe 'ContentSummary' do
20
+ describe 'Copy' do
21
21
  before do
22
22
  # run before each test
23
- @instance = PulpDebClient::ContentSummary.new
23
+ @instance = PulpDebClient::Copy.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 ContentSummary' do
31
- it 'should create an instance of ContentSummary' do
32
- expect(@instance).to be_instance_of(PulpDebClient::ContentSummary)
30
+ describe 'test an instance of Copy' do
31
+ it 'should create an instance of Copy' do
32
+ expect(@instance).to be_instance_of(PulpDebClient::Copy)
33
33
  end
34
34
  end
35
- describe 'test attribute "added"' do
35
+ describe 'test attribute "config"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "removed"' do
41
+ describe 'test attribute "structured"' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "present"' do
47
+ describe 'test attribute "dependency_solving"' do
48
48
  it 'should work' do
49
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
@@ -56,4 +56,10 @@ describe 'DebBasePackage' do
56
56
  end
57
57
  end
58
58
 
59
+ describe 'test attribute "upload"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
59
65
  end
@@ -56,4 +56,10 @@ describe 'DebGenericContent' do
56
56
  end
57
57
  end
58
58
 
59
+ describe 'test attribute "upload"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
59
65
  end
@@ -14,25 +14,25 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for PulpDebClient::RepositoryVersion
17
+ # Unit tests for PulpDebClient::Repair
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe 'RepositoryVersion' do
20
+ describe 'Repair' do
21
21
  before do
22
22
  # run before each test
23
- @instance = PulpDebClient::RepositoryVersion.new
23
+ @instance = PulpDebClient::Repair.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 RepositoryVersion' do
31
- it 'should create an instance of RepositoryVersion' do
32
- expect(@instance).to be_instance_of(PulpDebClient::RepositoryVersion)
30
+ describe 'test an instance of Repair' do
31
+ it 'should create an instance of Repair' do
32
+ expect(@instance).to be_instance_of(PulpDebClient::Repair)
33
33
  end
34
34
  end
35
- describe 'test attribute "base_version"' do
35
+ describe 'test attribute "verify_checksums"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end