pulp_deb_client 2.18.0 → 2.19.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -5
  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/DebAptRemote.md +2 -2
  14. data/docs/DebBasePackage.md +3 -1
  15. data/docs/DebGenericContent.md +3 -1
  16. data/docs/DistributionsAptApi.md +2 -2
  17. data/docs/PatcheddebAptRemote.md +2 -2
  18. data/docs/PublicationsAptApi.md +4 -2
  19. data/docs/PublicationsVerbatimApi.md +4 -2
  20. data/docs/RemotesAptApi.md +2 -2
  21. data/docs/RepositoriesAptApi.md +2 -2
  22. data/docs/RepositoriesAptVersionsApi.md +2 -2
  23. data/lib/pulp_deb_client/api/content_generic_contents_api.rb +10 -3
  24. data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +7 -3
  25. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +10 -3
  26. data/lib/pulp_deb_client/api/content_package_indices_api.rb +7 -3
  27. data/lib/pulp_deb_client/api/content_package_release_components_api.rb +7 -3
  28. data/lib/pulp_deb_client/api/content_packages_api.rb +10 -3
  29. data/lib/pulp_deb_client/api/content_release_architectures_api.rb +7 -3
  30. data/lib/pulp_deb_client/api/content_release_components_api.rb +7 -3
  31. data/lib/pulp_deb_client/api/content_release_files_api.rb +7 -3
  32. data/lib/pulp_deb_client/api/content_releases_api.rb +7 -3
  33. data/lib/pulp_deb_client/api/distributions_apt_api.rb +7 -3
  34. data/lib/pulp_deb_client/api/publications_apt_api.rb +10 -3
  35. data/lib/pulp_deb_client/api/publications_verbatim_api.rb +10 -3
  36. data/lib/pulp_deb_client/api/remotes_apt_api.rb +7 -3
  37. data/lib/pulp_deb_client/api/repositories_apt_api.rb +7 -3
  38. data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +7 -3
  39. data/lib/pulp_deb_client/models/deb_apt_remote.rb +2 -2
  40. data/lib/pulp_deb_client/models/deb_base_package.rb +14 -4
  41. data/lib/pulp_deb_client/models/deb_generic_content.rb +14 -4
  42. data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +2 -2
  43. data/lib/pulp_deb_client/version.rb +1 -1
  44. data/spec/api/content_generic_contents_api_spec.rb +2 -1
  45. data/spec/api/content_installer_file_indices_api_spec.rb +1 -1
  46. data/spec/api/content_installer_packages_api_spec.rb +2 -1
  47. data/spec/api/content_package_indices_api_spec.rb +1 -1
  48. data/spec/api/content_package_release_components_api_spec.rb +1 -1
  49. data/spec/api/content_packages_api_spec.rb +2 -1
  50. data/spec/api/content_release_architectures_api_spec.rb +1 -1
  51. data/spec/api/content_release_components_api_spec.rb +1 -1
  52. data/spec/api/content_release_files_api_spec.rb +1 -1
  53. data/spec/api/content_releases_api_spec.rb +1 -1
  54. data/spec/api/distributions_apt_api_spec.rb +1 -1
  55. data/spec/api/publications_apt_api_spec.rb +2 -1
  56. data/spec/api/publications_verbatim_api_spec.rb +2 -1
  57. data/spec/api/remotes_apt_api_spec.rb +1 -1
  58. data/spec/api/repositories_apt_api_spec.rb +1 -1
  59. data/spec/api/repositories_apt_versions_api_spec.rb +1 -1
  60. data/spec/models/deb_base_package_spec.rb +6 -0
  61. data/spec/models/deb_generic_content_spec.rb +6 -0
  62. metadata +52 -52
@@ -155,7 +155,7 @@ module PulpDebClient
155
155
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
156
156
  # @option opts [String] :name__startswith Filter results where name starts with value
157
157
  # @option opts [Integer] :offset The initial index from which to return the results.
158
- # @option opts [String] :ordering Which field to use when ordering the results.
158
+ # @option opts [Array<String>] :ordering Ordering
159
159
  # @option opts [String] :pulp_label_select Filter labels by search string
160
160
  # @option opts [String] :fields A list of fields to include in the response.
161
161
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
@@ -175,7 +175,7 @@ module PulpDebClient
175
175
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
176
176
  # @option opts [String] :name__startswith Filter results where name starts with value
177
177
  # @option opts [Integer] :offset The initial index from which to return the results.
178
- # @option opts [String] :ordering Which field to use when ordering the results.
178
+ # @option opts [Array<String>] :ordering Ordering
179
179
  # @option opts [String] :pulp_label_select Filter labels by search string
180
180
  # @option opts [String] :fields A list of fields to include in the response.
181
181
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
@@ -184,6 +184,10 @@ module PulpDebClient
184
184
  if @api_client.config.debugging
185
185
  @api_client.config.logger.debug 'Calling API: RepositoriesAptApi.list ...'
186
186
  end
187
+ allowable_values = ["-alternatecontentsourcepath", "-content", "-core_pulp_exporter", "-deb_aptrepository", "-description", "-distributions", "-group_roles", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-pulpimporterrepository", "-remote", "-repositorycontent", "-retain_repo_versions", "-user_hidden", "-user_roles", "-versions", "alternatecontentsourcepath", "content", "core_pulp_exporter", "deb_aptrepository", "description", "distributions", "group_roles", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "pulpimporterrepository", "remote", "repositorycontent", "retain_repo_versions", "user_hidden", "user_roles", "versions"]
188
+ if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
189
+ fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
190
+ end
187
191
  # resource path
188
192
  local_var_path = '/pulp/api/v3/repositories/deb/apt/'
189
193
 
@@ -196,7 +200,7 @@ module PulpDebClient
196
200
  query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
197
201
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
198
202
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
199
- query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
203
+ query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
200
204
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
201
205
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
202
206
  query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
@@ -95,7 +95,7 @@ module PulpDebClient
95
95
  # @option opts [Integer] :number__lte Filter results where number is less than or equal to value
96
96
  # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
97
97
  # @option opts [Integer] :offset The initial index from which to return the results.
98
- # @option opts [String] :ordering Which field to use when ordering the results.
98
+ # @option opts [Array<String>] :ordering Ordering
99
99
  # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
100
100
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
101
101
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
@@ -124,7 +124,7 @@ module PulpDebClient
124
124
  # @option opts [Integer] :number__lte Filter results where number is less than or equal to value
125
125
  # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
126
126
  # @option opts [Integer] :offset The initial index from which to return the results.
127
- # @option opts [String] :ordering Which field to use when ordering the results.
127
+ # @option opts [Array<String>] :ordering Ordering
128
128
  # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
129
129
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
130
130
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
@@ -142,6 +142,10 @@ module PulpDebClient
142
142
  if @api_client.config.client_side_validation && deb_apt_repository_href.nil?
143
143
  fail ArgumentError, "Missing the required parameter 'deb_apt_repository_href' when calling RepositoriesAptVersionsApi.list"
144
144
  end
145
+ allowable_values = ["-added_memberships", "-base_version", "-complete", "-counts", "-distribution", "-group_roles", "-number", "-pk", "-publication", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-removed_memberships", "-repository", "-user_roles", "-versions", "added_memberships", "base_version", "complete", "counts", "distribution", "group_roles", "number", "pk", "publication", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "removed_memberships", "repository", "user_roles", "versions"]
146
+ if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
147
+ fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
148
+ end
145
149
  # resource path
146
150
  local_var_path = '{deb_apt_repository_href}versions/'.sub('{' + 'deb_apt_repository_href' + '}', CGI.escape(deb_apt_repository_href.to_s).gsub('%2F', '/'))
147
151
 
@@ -157,7 +161,7 @@ module PulpDebClient
157
161
  query_params[:'number__lte'] = opts[:'number__lte'] if !opts[:'number__lte'].nil?
158
162
  query_params[:'number__range'] = @api_client.build_collection_param(opts[:'number__range'], :csv) if !opts[:'number__range'].nil?
159
163
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
160
- query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
164
+ query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
161
165
  query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
162
166
  query_params[:'pulp_created__gt'] = opts[:'pulp_created__gt'] if !opts[:'pulp_created__gt'].nil?
163
167
  query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
@@ -39,13 +39,13 @@ module PulpDebClient
39
39
  # The username to authenticte to the proxy.
40
40
  attr_accessor :proxy_username
41
41
 
42
- # The password to authenticte to the proxy.
42
+ # The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed.
43
43
  attr_accessor :proxy_password
44
44
 
45
45
  # The username to be used for authentication when syncing.
46
46
  attr_accessor :username
47
47
 
48
- # The password to be used for authentication when syncing.
48
+ # The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed.
49
49
  attr_accessor :password
50
50
 
51
51
  attr_accessor :pulp_labels
@@ -27,13 +27,17 @@ module PulpDebClient
27
27
  # A URI of a repository the new content unit should be associated with.
28
28
  attr_accessor :repository
29
29
 
30
+ # An uncommitted upload that may be turned into the artifact of the content unit.
31
+ attr_accessor :upload
32
+
30
33
  # Attribute mapping from ruby-style variable name to JSON key.
31
34
  def self.attribute_map
32
35
  {
33
36
  :'artifact' => :'artifact',
34
37
  :'relative_path' => :'relative_path',
35
38
  :'file' => :'file',
36
- :'repository' => :'repository'
39
+ :'repository' => :'repository',
40
+ :'upload' => :'upload'
37
41
  }
38
42
  end
39
43
 
@@ -43,7 +47,8 @@ module PulpDebClient
43
47
  :'artifact' => :'String',
44
48
  :'relative_path' => :'String',
45
49
  :'file' => :'File',
46
- :'repository' => :'String'
50
+ :'repository' => :'String',
51
+ :'upload' => :'String'
47
52
  }
48
53
  end
49
54
 
@@ -83,6 +88,10 @@ module PulpDebClient
83
88
  if attributes.key?(:'repository')
84
89
  self.repository = attributes[:'repository']
85
90
  end
91
+
92
+ if attributes.key?(:'upload')
93
+ self.upload = attributes[:'upload']
94
+ end
86
95
  end
87
96
 
88
97
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -121,7 +130,8 @@ module PulpDebClient
121
130
  artifact == o.artifact &&
122
131
  relative_path == o.relative_path &&
123
132
  file == o.file &&
124
- repository == o.repository
133
+ repository == o.repository &&
134
+ upload == o.upload
125
135
  end
126
136
 
127
137
  # @see the `==` method
@@ -133,7 +143,7 @@ module PulpDebClient
133
143
  # Calculates hash code according to all attributes.
134
144
  # @return [Integer] Hash code
135
145
  def hash
136
- [artifact, relative_path, file, repository].hash
146
+ [artifact, relative_path, file, repository, upload].hash
137
147
  end
138
148
 
139
149
  # Builds the object from hash
@@ -27,13 +27,17 @@ module PulpDebClient
27
27
  # A URI of a repository the new content unit should be associated with.
28
28
  attr_accessor :repository
29
29
 
30
+ # An uncommitted upload that may be turned into the artifact of the content unit.
31
+ attr_accessor :upload
32
+
30
33
  # Attribute mapping from ruby-style variable name to JSON key.
31
34
  def self.attribute_map
32
35
  {
33
36
  :'artifact' => :'artifact',
34
37
  :'relative_path' => :'relative_path',
35
38
  :'file' => :'file',
36
- :'repository' => :'repository'
39
+ :'repository' => :'repository',
40
+ :'upload' => :'upload'
37
41
  }
38
42
  end
39
43
 
@@ -43,7 +47,8 @@ module PulpDebClient
43
47
  :'artifact' => :'String',
44
48
  :'relative_path' => :'String',
45
49
  :'file' => :'File',
46
- :'repository' => :'String'
50
+ :'repository' => :'String',
51
+ :'upload' => :'String'
47
52
  }
48
53
  end
49
54
 
@@ -83,6 +88,10 @@ module PulpDebClient
83
88
  if attributes.key?(:'repository')
84
89
  self.repository = attributes[:'repository']
85
90
  end
91
+
92
+ if attributes.key?(:'upload')
93
+ self.upload = attributes[:'upload']
94
+ end
86
95
  end
87
96
 
88
97
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -130,7 +139,8 @@ module PulpDebClient
130
139
  artifact == o.artifact &&
131
140
  relative_path == o.relative_path &&
132
141
  file == o.file &&
133
- repository == o.repository
142
+ repository == o.repository &&
143
+ upload == o.upload
134
144
  end
135
145
 
136
146
  # @see the `==` method
@@ -142,7 +152,7 @@ module PulpDebClient
142
152
  # Calculates hash code according to all attributes.
143
153
  # @return [Integer] Hash code
144
154
  def hash
145
- [artifact, relative_path, file, repository].hash
155
+ [artifact, relative_path, file, repository, upload].hash
146
156
  end
147
157
 
148
158
  # Builds the object from hash
@@ -39,13 +39,13 @@ module PulpDebClient
39
39
  # The username to authenticte to the proxy.
40
40
  attr_accessor :proxy_username
41
41
 
42
- # The password to authenticte to the proxy.
42
+ # The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed.
43
43
  attr_accessor :proxy_password
44
44
 
45
45
  # The username to be used for authentication when syncing.
46
46
  attr_accessor :username
47
47
 
48
- # The password to be used for authentication when syncing.
48
+ # The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed.
49
49
  attr_accessor :password
50
50
 
51
51
  attr_accessor :pulp_labels
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpDebClient
14
- VERSION = '2.18.0'
14
+ VERSION = '2.19.0'
15
15
  end
@@ -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
@@ -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
@@ -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
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_deb_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.18.0
4
+ version: 2.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-21 00:00:00.000000000 Z
11
+ date: 2022-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -327,77 +327,77 @@ signing_key:
327
327
  specification_version: 4
328
328
  summary: Pulp 3 API Ruby Gem
329
329
  test_files:
330
- - spec/api/content_installer_packages_api_spec.rb
331
- - spec/api/content_release_files_api_spec.rb
330
+ - spec/api/distributions_apt_api_spec.rb
331
+ - spec/api/content_installer_file_indices_api_spec.rb
332
+ - spec/api/publications_apt_api_spec.rb
332
333
  - spec/api/content_releases_api_spec.rb
334
+ - spec/api/remotes_apt_api_spec.rb
333
335
  - spec/api/content_release_components_api_spec.rb
334
- - spec/api/repositories_apt_api_spec.rb
335
- - spec/api/distributions_apt_api_spec.rb
336
- - spec/api/repositories_apt_versions_api_spec.rb
336
+ - spec/api/content_installer_packages_api_spec.rb
337
337
  - spec/api/content_package_indices_api_spec.rb
338
- - spec/api/content_release_architectures_api_spec.rb
339
338
  - spec/api/content_package_release_components_api_spec.rb
339
+ - spec/api/deb_copy_api_spec.rb
340
340
  - spec/api/content_packages_api_spec.rb
341
+ - spec/api/repositories_apt_versions_api_spec.rb
342
+ - spec/api/content_release_files_api_spec.rb
341
343
  - spec/api/publications_verbatim_api_spec.rb
342
- - spec/api/publications_apt_api_spec.rb
343
- - spec/api/remotes_apt_api_spec.rb
344
344
  - spec/api/content_generic_contents_api_spec.rb
345
- - spec/api/deb_copy_api_spec.rb
346
- - spec/api/content_installer_file_indices_api_spec.rb
345
+ - spec/api/content_release_architectures_api_spec.rb
346
+ - spec/api/repositories_apt_api_spec.rb
347
347
  - spec/api_client_spec.rb
348
348
  - spec/configuration_spec.rb
349
- - spec/models/paginateddeb_release_component_response_list_spec.rb
349
+ - spec/models/paginated_repository_version_response_list_spec.rb
350
+ - spec/models/deb_base_package_spec.rb
350
351
  - spec/models/deb_release_architecture_response_spec.rb
351
- - spec/models/deb_base_package_response_spec.rb
352
- - spec/models/deb_apt_distribution_response_spec.rb
353
- - spec/models/deb_apt_distribution_spec.rb
354
- - spec/models/deb_verbatim_publication_response_spec.rb
355
- - spec/models/copy_spec.rb
356
- - spec/models/deb_apt_remote_response_spec.rb
357
- - spec/models/paginateddeb_apt_publication_response_list_spec.rb
358
- - spec/models/deb_generic_content_response_spec.rb
359
- - spec/models/deb_apt_publication_response_spec.rb
360
- - spec/models/patcheddeb_apt_repository_spec.rb
361
352
  - spec/models/deb_verbatim_publication_spec.rb
362
- - spec/models/paginateddeb_apt_remote_response_list_spec.rb
363
- - spec/models/repository_add_remove_content_spec.rb
364
- - spec/models/deb_installer_file_index_spec.rb
365
- - spec/models/repository_sync_url_spec.rb
353
+ - spec/models/deb_apt_remote_response_spec.rb
366
354
  - spec/models/repair_spec.rb
367
- - spec/models/deb_base_package_spec.rb
368
- - spec/models/deb_package_index_spec.rb
369
355
  - spec/models/paginateddeb_apt_repository_response_list_spec.rb
370
- - spec/models/content_summary_response_spec.rb
356
+ - spec/models/deb_package_release_component_spec.rb
357
+ - spec/models/paginateddeb_release_file_response_list_spec.rb
358
+ - spec/models/deb_release_component_response_spec.rb
371
359
  - spec/models/deb_installer_file_index_response_spec.rb
372
- - spec/models/paginateddeb_release_architecture_response_list_spec.rb
373
- - spec/models/paginateddeb_apt_distribution_response_list_spec.rb
374
- - spec/models/deb_release_spec.rb
360
+ - spec/models/paginateddeb_installer_file_index_response_list_spec.rb
361
+ - spec/models/paginateddeb_apt_remote_response_list_spec.rb
362
+ - spec/models/paginateddeb_apt_publication_response_list_spec.rb
363
+ - spec/models/deb_package_index_spec.rb
375
364
  - spec/models/deb_apt_repository_spec.rb
376
- - spec/models/deb_release_component_spec.rb
365
+ - spec/models/paginateddeb_release_architecture_response_list_spec.rb
366
+ - spec/models/deb_base_package_response_spec.rb
367
+ - spec/models/deb_release_response_spec.rb
377
368
  - spec/models/deb_package_release_component_response_spec.rb
378
- - spec/models/async_operation_response_spec.rb
379
- - spec/models/deb_apt_remote_spec.rb
380
- - spec/models/deb_release_architecture_spec.rb
381
- - spec/models/deb_package_release_component_spec.rb
369
+ - spec/models/paginateddeb_release_component_response_list_spec.rb
370
+ - spec/models/content_summary_response_spec.rb
371
+ - spec/models/repository_add_remove_content_spec.rb
382
372
  - spec/models/policy_enum_spec.rb
383
- - spec/models/deb_release_file_spec.rb
384
- - spec/models/paginateddeb_release_file_response_list_spec.rb
373
+ - spec/models/deb_release_spec.rb
374
+ - spec/models/deb_release_architecture_spec.rb
375
+ - spec/models/deb_apt_publication_response_spec.rb
376
+ - spec/models/deb_release_component_spec.rb
377
+ - spec/models/paginateddeb_verbatim_publication_response_list_spec.rb
378
+ - spec/models/patcheddeb_apt_remote_spec.rb
379
+ - spec/models/deb_installer_file_index_spec.rb
385
380
  - spec/models/deb_apt_publication_spec.rb
381
+ - spec/models/deb_generic_content_spec.rb
382
+ - spec/models/deb_apt_remote_spec.rb
383
+ - spec/models/async_operation_response_spec.rb
384
+ - spec/models/repository_sync_url_spec.rb
386
385
  - spec/models/paginateddeb_package_index_response_list_spec.rb
386
+ - spec/models/paginateddeb_apt_distribution_response_list_spec.rb
387
+ - spec/models/paginateddeb_generic_content_response_list_spec.rb
388
+ - spec/models/deb_release_file_response_spec.rb
389
+ - spec/models/deb_package_index_response_spec.rb
390
+ - spec/models/deb_apt_distribution_spec.rb
387
391
  - spec/models/paginateddeb_package_release_component_response_list_spec.rb
388
- - spec/models/paginateddeb_installer_file_index_response_list_spec.rb
389
392
  - spec/models/deb_apt_repository_response_spec.rb
390
- - spec/models/paginated_repository_version_response_list_spec.rb
391
- - spec/models/deb_release_response_spec.rb
393
+ - spec/models/paginateddeb_release_response_list_spec.rb
394
+ - spec/models/deb_generic_content_response_spec.rb
395
+ - spec/models/deb_verbatim_publication_response_spec.rb
396
+ - spec/models/copy_spec.rb
397
+ - spec/models/paginateddeb_base_package_response_list_spec.rb
392
398
  - spec/models/patcheddeb_apt_distribution_spec.rb
393
399
  - spec/models/repository_version_response_spec.rb
394
- - spec/models/patcheddeb_apt_remote_spec.rb
395
- - spec/models/deb_package_index_response_spec.rb
396
- - spec/models/paginateddeb_base_package_response_list_spec.rb
397
- - spec/models/paginateddeb_generic_content_response_list_spec.rb
398
- - spec/models/deb_release_component_response_spec.rb
399
- - spec/models/deb_generic_content_spec.rb
400
- - spec/models/deb_release_file_response_spec.rb
401
- - spec/models/paginateddeb_verbatim_publication_response_list_spec.rb
402
- - spec/models/paginateddeb_release_response_list_spec.rb
400
+ - spec/models/patcheddeb_apt_repository_spec.rb
401
+ - spec/models/deb_release_file_spec.rb
402
+ - spec/models/deb_apt_distribution_response_spec.rb
403
403
  - spec/spec_helper.rb