pulp_deb_client 2.0.0b4 → 2.2.0b1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (141) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +31 -11
  3. data/docs/{ContentInstallerFileIndexApi.md → ContentInstallerFileIndicesApi.md} +12 -12
  4. data/docs/{ContentPackageIndexApi.md → ContentPackageIndicesApi.md} +12 -12
  5. data/docs/ContentPackageReleaseComponentsApi.md +194 -0
  6. data/docs/ContentReleaseArchitecturesApi.md +194 -0
  7. data/docs/ContentReleaseComponentsApi.md +194 -0
  8. data/docs/ContentReleaseFilesApi.md +2 -2
  9. data/docs/ContentReleasesApi.md +196 -0
  10. data/docs/DebDebRemote.md +6 -4
  11. data/docs/DebPackageReleaseComponent.md +23 -0
  12. data/docs/DebRelease.md +25 -0
  13. data/docs/DebReleaseArchitecture.md +23 -0
  14. data/docs/DebReleaseComponent.md +23 -0
  15. data/docs/DistributionsAptApi.md +2 -2
  16. data/docs/InlineResponse20010.md +1 -1
  17. data/docs/InlineResponse20011.md +23 -0
  18. data/docs/InlineResponse20012.md +23 -0
  19. data/docs/InlineResponse20013.md +23 -0
  20. data/docs/InlineResponse20014.md +23 -0
  21. data/docs/InlineResponse2004.md +1 -1
  22. data/docs/InlineResponse2005.md +1 -1
  23. data/docs/InlineResponse2006.md +1 -1
  24. data/docs/InlineResponse2007.md +1 -1
  25. data/docs/InlineResponse2008.md +1 -1
  26. data/docs/InlineResponse2009.md +1 -1
  27. data/docs/PublicationsAptApi.md +16 -2
  28. data/docs/PublicationsVerbatimApi.md +16 -2
  29. data/docs/RemotesAptApi.md +2 -2
  30. data/docs/RepositoriesAptApi.md +5 -4
  31. data/docs/RepositoriesDebVersionsApi.md +2 -2
  32. data/lib/pulp_deb_client/api/content_generic_contents_api.rb +1 -1
  33. data/lib/pulp_deb_client/api/{content_installer_file_index_api.rb → content_installer_file_indices_api.rb} +14 -14
  34. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +1 -1
  35. data/lib/pulp_deb_client/api/{content_package_index_api.rb → content_package_indices_api.rb} +14 -14
  36. data/lib/pulp_deb_client/api/content_package_release_components_api.rb +237 -0
  37. data/lib/pulp_deb_client/api/content_packages_api.rb +1 -1
  38. data/lib/pulp_deb_client/api/content_release_architectures_api.rb +237 -0
  39. data/lib/pulp_deb_client/api/content_release_components_api.rb +237 -0
  40. data/lib/pulp_deb_client/api/content_release_files_api.rb +4 -4
  41. data/lib/pulp_deb_client/api/content_releases_api.rb +240 -0
  42. data/lib/pulp_deb_client/api/distributions_apt_api.rb +4 -4
  43. data/lib/pulp_deb_client/api/publications_apt_api.rb +25 -4
  44. data/lib/pulp_deb_client/api/publications_verbatim_api.rb +25 -4
  45. data/lib/pulp_deb_client/api/remotes_apt_api.rb +4 -4
  46. data/lib/pulp_deb_client/api/repositories_apt_api.rb +6 -4
  47. data/lib/pulp_deb_client/api/repositories_deb_versions_api.rb +4 -4
  48. data/lib/pulp_deb_client/api_client.rb +1 -1
  49. data/lib/pulp_deb_client/api_error.rb +1 -1
  50. data/lib/pulp_deb_client/configuration.rb +1 -1
  51. data/lib/pulp_deb_client/models/async_operation_response.rb +1 -1
  52. data/lib/pulp_deb_client/models/content_summary.rb +1 -1
  53. data/lib/pulp_deb_client/models/deb_base_package.rb +1 -1
  54. data/lib/pulp_deb_client/models/deb_deb_distribution.rb +1 -1
  55. data/lib/pulp_deb_client/models/deb_deb_publication.rb +1 -1
  56. data/lib/pulp_deb_client/models/deb_deb_remote.rb +33 -8
  57. data/lib/pulp_deb_client/models/deb_deb_repository.rb +1 -1
  58. data/lib/pulp_deb_client/models/deb_generic_content.rb +1 -1
  59. data/lib/pulp_deb_client/models/deb_installer_file_index.rb +1 -1
  60. data/lib/pulp_deb_client/models/deb_package_index.rb +1 -1
  61. data/lib/pulp_deb_client/models/deb_package_release_component.rb +246 -0
  62. data/lib/pulp_deb_client/models/deb_release.rb +315 -0
  63. data/lib/pulp_deb_client/models/deb_release_architecture.rb +265 -0
  64. data/lib/pulp_deb_client/models/deb_release_component.rb +265 -0
  65. data/lib/pulp_deb_client/models/deb_release_file.rb +1 -1
  66. data/lib/pulp_deb_client/models/deb_verbatim_publication.rb +1 -1
  67. data/lib/pulp_deb_client/models/inline_response200.rb +1 -1
  68. data/lib/pulp_deb_client/models/inline_response2001.rb +1 -1
  69. data/lib/pulp_deb_client/models/inline_response20010.rb +2 -2
  70. data/lib/pulp_deb_client/models/inline_response20011.rb +247 -0
  71. data/lib/pulp_deb_client/models/inline_response20012.rb +247 -0
  72. data/lib/pulp_deb_client/models/inline_response20013.rb +247 -0
  73. data/lib/pulp_deb_client/models/inline_response20014.rb +247 -0
  74. data/lib/pulp_deb_client/models/inline_response2002.rb +1 -1
  75. data/lib/pulp_deb_client/models/inline_response2003.rb +1 -1
  76. data/lib/pulp_deb_client/models/inline_response2004.rb +2 -2
  77. data/lib/pulp_deb_client/models/inline_response2005.rb +2 -2
  78. data/lib/pulp_deb_client/models/inline_response2006.rb +2 -2
  79. data/lib/pulp_deb_client/models/inline_response2007.rb +2 -2
  80. data/lib/pulp_deb_client/models/inline_response2008.rb +2 -2
  81. data/lib/pulp_deb_client/models/inline_response2009.rb +2 -2
  82. data/lib/pulp_deb_client/models/repository_add_remove_content.rb +1 -1
  83. data/lib/pulp_deb_client/models/repository_sync_url.rb +1 -1
  84. data/lib/pulp_deb_client/models/repository_version.rb +1 -1
  85. data/lib/pulp_deb_client/version.rb +2 -2
  86. data/lib/pulp_deb_client.rb +15 -3
  87. data/pulp_deb_client.gemspec +1 -1
  88. data/spec/api/content_generic_contents_api_spec.rb +1 -1
  89. data/spec/api/{content_installer_file_index_api_spec.rb → content_installer_file_indices_api_spec.rb} +8 -8
  90. data/spec/api/content_installer_packages_api_spec.rb +1 -1
  91. data/spec/api/{content_package_index_api_spec.rb → content_package_indices_api_spec.rb} +8 -8
  92. data/spec/api/content_package_release_components_api_spec.rb +81 -0
  93. data/spec/api/content_packages_api_spec.rb +1 -1
  94. data/spec/api/content_release_architectures_api_spec.rb +81 -0
  95. data/spec/api/content_release_components_api_spec.rb +81 -0
  96. data/spec/api/content_release_files_api_spec.rb +2 -2
  97. data/spec/api/content_releases_api_spec.rb +82 -0
  98. data/spec/api/distributions_apt_api_spec.rb +2 -2
  99. data/spec/api/publications_apt_api_spec.rb +9 -2
  100. data/spec/api/publications_verbatim_api_spec.rb +9 -2
  101. data/spec/api/remotes_apt_api_spec.rb +2 -2
  102. data/spec/api/repositories_apt_api_spec.rb +3 -2
  103. data/spec/api/repositories_deb_versions_api_spec.rb +2 -2
  104. data/spec/api_client_spec.rb +1 -1
  105. data/spec/configuration_spec.rb +1 -1
  106. data/spec/models/async_operation_response_spec.rb +1 -1
  107. data/spec/models/content_summary_spec.rb +1 -1
  108. data/spec/models/deb_base_package_spec.rb +1 -1
  109. data/spec/models/deb_deb_distribution_spec.rb +1 -1
  110. data/spec/models/deb_deb_publication_spec.rb +1 -1
  111. data/spec/models/deb_deb_remote_spec.rb +7 -1
  112. data/spec/models/deb_deb_repository_spec.rb +1 -1
  113. data/spec/models/deb_generic_content_spec.rb +1 -1
  114. data/spec/models/deb_installer_file_index_spec.rb +1 -1
  115. data/spec/models/deb_package_index_spec.rb +1 -1
  116. data/spec/models/deb_package_release_component_spec.rb +59 -0
  117. data/spec/models/deb_release_architecture_spec.rb +59 -0
  118. data/spec/models/deb_release_component_spec.rb +59 -0
  119. data/spec/models/deb_release_file_spec.rb +1 -1
  120. data/spec/models/deb_release_spec.rb +65 -0
  121. data/spec/models/deb_verbatim_publication_spec.rb +1 -1
  122. data/spec/models/inline_response20010_spec.rb +1 -1
  123. data/spec/models/inline_response20011_spec.rb +59 -0
  124. data/spec/models/inline_response20012_spec.rb +59 -0
  125. data/spec/models/inline_response20013_spec.rb +59 -0
  126. data/spec/models/inline_response20014_spec.rb +59 -0
  127. data/spec/models/inline_response2001_spec.rb +1 -1
  128. data/spec/models/inline_response2002_spec.rb +1 -1
  129. data/spec/models/inline_response2003_spec.rb +1 -1
  130. data/spec/models/inline_response2004_spec.rb +1 -1
  131. data/spec/models/inline_response2005_spec.rb +1 -1
  132. data/spec/models/inline_response2006_spec.rb +1 -1
  133. data/spec/models/inline_response2007_spec.rb +1 -1
  134. data/spec/models/inline_response2008_spec.rb +1 -1
  135. data/spec/models/inline_response2009_spec.rb +1 -1
  136. data/spec/models/inline_response200_spec.rb +1 -1
  137. data/spec/models/repository_add_remove_content_spec.rb +1 -1
  138. data/spec/models/repository_sync_url_spec.rb +1 -1
  139. data/spec/models/repository_version_spec.rb +1 -1
  140. data/spec/spec_helper.rb +1 -1
  141. metadata +79 -31
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -147,11 +147,18 @@ module PulpDebClient
147
147
  # A ViewSet for VerbatimPublication.
148
148
  # @param [Hash] opts the optional parameters
149
149
  # @option opts [String] :ordering Which field to use when ordering the results.
150
+ # @option opts [String] :repository_version Repository Version referenced by HREF
151
+ # @option opts [String] :pulp_created__lt Filter results where pulp_created is less than value
152
+ # @option opts [String] :pulp_created__lte Filter results where pulp_created is less than or equal to value
153
+ # @option opts [String] :pulp_created__gt Filter results where pulp_created is greater than value
154
+ # @option opts [String] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
155
+ # @option opts [String] :pulp_created__range Filter results where pulp_created is between two comma separated values
156
+ # @option opts [String] :pulp_created ISO 8601 formatted dates are supported
150
157
  # @option opts [Integer] :limit Number of results to return per page.
151
158
  # @option opts [Integer] :offset The initial index from which to return the results.
152
159
  # @option opts [String] :fields A list of fields to include in the response.
153
160
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
154
- # @return [InlineResponse2007]
161
+ # @return [InlineResponse20011]
155
162
  def list(opts = {})
156
163
  data, _status_code, _headers = list_with_http_info(opts)
157
164
  data
@@ -161,11 +168,18 @@ module PulpDebClient
161
168
  # A ViewSet for VerbatimPublication.
162
169
  # @param [Hash] opts the optional parameters
163
170
  # @option opts [String] :ordering Which field to use when ordering the results.
171
+ # @option opts [String] :repository_version Repository Version referenced by HREF
172
+ # @option opts [String] :pulp_created__lt Filter results where pulp_created is less than value
173
+ # @option opts [String] :pulp_created__lte Filter results where pulp_created is less than or equal to value
174
+ # @option opts [String] :pulp_created__gt Filter results where pulp_created is greater than value
175
+ # @option opts [String] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
176
+ # @option opts [String] :pulp_created__range Filter results where pulp_created is between two comma separated values
177
+ # @option opts [String] :pulp_created ISO 8601 formatted dates are supported
164
178
  # @option opts [Integer] :limit Number of results to return per page.
165
179
  # @option opts [Integer] :offset The initial index from which to return the results.
166
180
  # @option opts [String] :fields A list of fields to include in the response.
167
181
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
168
- # @return [Array<(InlineResponse2007, Integer, Hash)>] InlineResponse2007 data, response status code and response headers
182
+ # @return [Array<(InlineResponse20011, Integer, Hash)>] InlineResponse20011 data, response status code and response headers
169
183
  def list_with_http_info(opts = {})
170
184
  if @api_client.config.debugging
171
185
  @api_client.config.logger.debug 'Calling API: PublicationsVerbatimApi.list ...'
@@ -176,6 +190,13 @@ module PulpDebClient
176
190
  # query parameters
177
191
  query_params = opts[:query_params] || {}
178
192
  query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
193
+ query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
194
+ query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
195
+ query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
196
+ query_params[:'pulp_created__gt'] = opts[:'pulp_created__gt'] if !opts[:'pulp_created__gt'].nil?
197
+ query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
198
+ query_params[:'pulp_created__range'] = opts[:'pulp_created__range'] if !opts[:'pulp_created__range'].nil?
199
+ query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
179
200
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
180
201
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
181
202
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
@@ -193,7 +214,7 @@ module PulpDebClient
193
214
  post_body = opts[:body]
194
215
 
195
216
  # return_type
196
- return_type = opts[:return_type] || 'InlineResponse2007'
217
+ return_type = opts[:return_type] || 'InlineResponse20011'
197
218
 
198
219
  # auth_names
199
220
  auth_names = opts[:auth_names] || ['Basic']
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -160,7 +160,7 @@ module PulpDebClient
160
160
  # @option opts [Integer] :offset The initial index from which to return the results.
161
161
  # @option opts [String] :fields A list of fields to include in the response.
162
162
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
163
- # @return [InlineResponse2008]
163
+ # @return [InlineResponse20012]
164
164
  def list(opts = {})
165
165
  data, _status_code, _headers = list_with_http_info(opts)
166
166
  data
@@ -181,7 +181,7 @@ module PulpDebClient
181
181
  # @option opts [Integer] :offset The initial index from which to return the results.
182
182
  # @option opts [String] :fields A list of fields to include in the response.
183
183
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
184
- # @return [Array<(InlineResponse2008, Integer, Hash)>] InlineResponse2008 data, response status code and response headers
184
+ # @return [Array<(InlineResponse20012, Integer, Hash)>] InlineResponse20012 data, response status code and response headers
185
185
  def list_with_http_info(opts = {})
186
186
  if @api_client.config.debugging
187
187
  @api_client.config.logger.debug 'Calling API: RemotesAptApi.list ...'
@@ -216,7 +216,7 @@ module PulpDebClient
216
216
  post_body = opts[:body]
217
217
 
218
218
  # return_type
219
- return_type = opts[:return_type] || 'InlineResponse2008'
219
+ return_type = opts[:return_type] || 'InlineResponse20012'
220
220
 
221
221
  # auth_names
222
222
  auth_names = opts[:auth_names] || ['Basic']
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -154,7 +154,7 @@ module PulpDebClient
154
154
  # @option opts [Integer] :offset The initial index from which to return the results.
155
155
  # @option opts [String] :fields A list of fields to include in the response.
156
156
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
157
- # @return [InlineResponse2009]
157
+ # @return [InlineResponse20013]
158
158
  def list(opts = {})
159
159
  data, _status_code, _headers = list_with_http_info(opts)
160
160
  data
@@ -169,7 +169,7 @@ module PulpDebClient
169
169
  # @option opts [Integer] :offset The initial index from which to return the results.
170
170
  # @option opts [String] :fields A list of fields to include in the response.
171
171
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
172
- # @return [Array<(InlineResponse2009, Integer, Hash)>] InlineResponse2009 data, response status code and response headers
172
+ # @return [Array<(InlineResponse20013, Integer, Hash)>] InlineResponse20013 data, response status code and response headers
173
173
  def list_with_http_info(opts = {})
174
174
  if @api_client.config.debugging
175
175
  @api_client.config.logger.debug 'Calling API: RepositoriesAptApi.list ...'
@@ -198,7 +198,7 @@ module PulpDebClient
198
198
  post_body = opts[:body]
199
199
 
200
200
  # return_type
201
- return_type = opts[:return_type] || 'InlineResponse2009'
201
+ return_type = opts[:return_type] || 'InlineResponse20013'
202
202
 
203
203
  # auth_names
204
204
  auth_names = opts[:auth_names] || ['Basic']
@@ -219,6 +219,7 @@ module PulpDebClient
219
219
  return data, status_code, headers
220
220
  end
221
221
 
222
+ # Modify Repository Content
222
223
  # Trigger an asynchronous task to create a new repository version.
223
224
  # @param deb_repository_href [String] URI of Deb Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
224
225
  # @param data [RepositoryAddRemoveContent]
@@ -229,6 +230,7 @@ module PulpDebClient
229
230
  data
230
231
  end
231
232
 
233
+ # Modify Repository Content
232
234
  # Trigger an asynchronous task to create a new repository version.
233
235
  # @param deb_repository_href [String] URI of Deb Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
234
236
  # @param data [RepositoryAddRemoveContent]
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -103,7 +103,7 @@ module PulpDebClient
103
103
  # @option opts [Integer] :offset The initial index from which to return the results.
104
104
  # @option opts [String] :fields A list of fields to include in the response.
105
105
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
106
- # @return [InlineResponse20010]
106
+ # @return [InlineResponse20014]
107
107
  def list(deb_repository_href, opts = {})
108
108
  data, _status_code, _headers = list_with_http_info(deb_repository_href, opts)
109
109
  data
@@ -131,7 +131,7 @@ module PulpDebClient
131
131
  # @option opts [Integer] :offset The initial index from which to return the results.
132
132
  # @option opts [String] :fields A list of fields to include in the response.
133
133
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
134
- # @return [Array<(InlineResponse20010, Integer, Hash)>] InlineResponse20010 data, response status code and response headers
134
+ # @return [Array<(InlineResponse20014, Integer, Hash)>] InlineResponse20014 data, response status code and response headers
135
135
  def list_with_http_info(deb_repository_href, opts = {})
136
136
  if @api_client.config.debugging
137
137
  @api_client.config.logger.debug 'Calling API: RepositoriesDebVersionsApi.list ...'
@@ -176,7 +176,7 @@ module PulpDebClient
176
176
  post_body = opts[:body]
177
177
 
178
178
  # return_type
179
- return_type = opts[:return_type] || 'InlineResponse20010'
179
+ return_type = opts[:return_type] || 'InlineResponse20014'
180
180
 
181
181
  # auth_names
182
182
  auth_names = opts[:auth_names] || ['Basic']
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -25,13 +25,13 @@ module PulpDebClient
25
25
  # The URL of an external content source.
26
26
  attr_accessor :url
27
27
 
28
- # A string containing the PEM encoded CA certificate used to validate the server certificate presented by the remote server. All new line characters must be escaped. Returns SHA256 sum on GET.
28
+ # A string containing the PEM encoded CA certificate used to validate the server certificate presented by the remote server. All new line characters must be escaped. Returns SHA256 checksum of the certificate file on GET.
29
29
  attr_accessor :ca_cert
30
30
 
31
- # A string containing the PEM encoded client certificate used for authentication. All new line characters must be escaped. Returns SHA256 sum on GET.
31
+ # A string containing the PEM encoded client certificate used for authentication. All new line characters must be escaped. Returns SHA256 checksum of the certificate file on GET.
32
32
  attr_accessor :client_cert
33
33
 
34
- # A PEM encoded private key used for authentication. Returns SHA256 sum on GET.
34
+ # A PEM encoded private key used for authentication. Returns SHA256 checksum of the certificate file on GET.
35
35
  attr_accessor :client_key
36
36
 
37
37
  # If True, TLS peer validation must be performed.
@@ -67,6 +67,9 @@ module PulpDebClient
67
67
  # Sync installer files
68
68
  attr_accessor :sync_installer
69
69
 
70
+ # Gpg public key to verify origin releases against
71
+ attr_accessor :gpgkey
72
+
70
73
  class EnumAttributeValidator
71
74
  attr_reader :datatype
72
75
  attr_reader :allowable_values
@@ -109,7 +112,8 @@ module PulpDebClient
109
112
  :'architectures' => :'architectures',
110
113
  :'sync_sources' => :'sync_sources',
111
114
  :'sync_udebs' => :'sync_udebs',
112
- :'sync_installer' => :'sync_installer'
115
+ :'sync_installer' => :'sync_installer',
116
+ :'gpgkey' => :'gpgkey'
113
117
  }
114
118
  end
115
119
 
@@ -133,7 +137,8 @@ module PulpDebClient
133
137
  :'architectures' => :'String',
134
138
  :'sync_sources' => :'Boolean',
135
139
  :'sync_udebs' => :'Boolean',
136
- :'sync_installer' => :'Boolean'
140
+ :'sync_installer' => :'Boolean',
141
+ :'gpgkey' => :'String'
137
142
  }
138
143
  end
139
144
 
@@ -235,6 +240,10 @@ module PulpDebClient
235
240
  if attributes.key?(:'sync_installer')
236
241
  self.sync_installer = attributes[:'sync_installer']
237
242
  end
243
+
244
+ if attributes.key?(:'gpgkey')
245
+ self.gpgkey = attributes[:'gpgkey']
246
+ end
238
247
  end
239
248
 
240
249
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -293,6 +302,10 @@ module PulpDebClient
293
302
  invalid_properties.push('invalid value for "architectures", the character length must be great than or equal to 1.')
294
303
  end
295
304
 
305
+ if !@gpgkey.nil? && @gpgkey.to_s.length < 1
306
+ invalid_properties.push('invalid value for "gpgkey", the character length must be great than or equal to 1.')
307
+ end
308
+
296
309
  invalid_properties
297
310
  end
298
311
 
@@ -314,6 +327,7 @@ module PulpDebClient
314
327
  return false if @distributions.to_s.length < 1
315
328
  return false if !@components.nil? && @components.to_s.length < 1
316
329
  return false if !@architectures.nil? && @architectures.to_s.length < 1
330
+ return false if !@gpgkey.nil? && @gpgkey.to_s.length < 1
317
331
  true
318
332
  end
319
333
 
@@ -439,6 +453,16 @@ module PulpDebClient
439
453
  @architectures = architectures
440
454
  end
441
455
 
456
+ # Custom attribute writer method with validation
457
+ # @param [Object] gpgkey Value to be assigned
458
+ def gpgkey=(gpgkey)
459
+ if !gpgkey.nil? && gpgkey.to_s.length < 1
460
+ fail ArgumentError, 'invalid value for "gpgkey", the character length must be great than or equal to 1.'
461
+ end
462
+
463
+ @gpgkey = gpgkey
464
+ end
465
+
442
466
  # Checks equality by comparing each attribute.
443
467
  # @param [Object] Object to be compared
444
468
  def ==(o)
@@ -461,7 +485,8 @@ module PulpDebClient
461
485
  architectures == o.architectures &&
462
486
  sync_sources == o.sync_sources &&
463
487
  sync_udebs == o.sync_udebs &&
464
- sync_installer == o.sync_installer
488
+ sync_installer == o.sync_installer &&
489
+ gpgkey == o.gpgkey
465
490
  end
466
491
 
467
492
  # @see the `==` method
@@ -473,7 +498,7 @@ module PulpDebClient
473
498
  # Calculates hash code according to all attributes.
474
499
  # @return [Integer] Hash code
475
500
  def hash
476
- [pulp_href, pulp_created, name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, pulp_last_updated, download_concurrency, policy, distributions, components, architectures, sync_sources, sync_udebs, sync_installer].hash
501
+ [pulp_href, pulp_created, name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, pulp_last_updated, download_concurrency, policy, distributions, components, architectures, sync_sources, sync_udebs, sync_installer, gpgkey].hash
477
502
  end
478
503
 
479
504
  # Builds the object from hash
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2
10
10
 
11
11
  =end
12
12