pulp_deb_client 2.4.0b1 → 2.5.0b1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (140) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +35 -48
  3. data/docs/ContentGenericContentsApi.md +2 -2
  4. data/docs/ContentInstallerFileIndicesApi.md +4 -4
  5. data/docs/ContentInstallerPackagesApi.md +2 -2
  6. data/docs/ContentPackageIndicesApi.md +4 -4
  7. data/docs/ContentPackageReleaseComponentsApi.md +4 -4
  8. data/docs/ContentPackagesApi.md +2 -2
  9. data/docs/ContentReleaseArchitecturesApi.md +4 -4
  10. data/docs/ContentReleaseComponentsApi.md +4 -4
  11. data/docs/ContentReleaseFilesApi.md +4 -4
  12. data/docs/ContentReleasesApi.md +4 -4
  13. data/docs/{DebDebDistribution.md → DebAptDistribution.md} +2 -2
  14. data/docs/{DebDebPublication.md → DebAptPublication.md} +2 -2
  15. data/docs/{DebDebRemote.md → DebAptRemote.md} +2 -2
  16. data/docs/{DebDebRepository.md → DebAptRepository.md} +2 -2
  17. data/docs/{DebBasePackageRead.md → DebBasePackage.md} +2 -2
  18. data/docs/{DebGenericContentRead.md → DebGenericContent.md} +2 -2
  19. data/docs/DistributionsAptApi.md +43 -43
  20. data/docs/InlineResponse200.md +1 -1
  21. data/docs/InlineResponse2001.md +1 -1
  22. data/docs/InlineResponse20010.md +1 -1
  23. data/docs/InlineResponse20011.md +1 -1
  24. data/docs/InlineResponse20012.md +1 -1
  25. data/docs/InlineResponse20013.md +1 -1
  26. data/docs/InlineResponse20014.md +1 -1
  27. data/docs/InlineResponse2002.md +1 -1
  28. data/docs/InlineResponse2003.md +1 -1
  29. data/docs/InlineResponse2004.md +1 -1
  30. data/docs/InlineResponse2005.md +1 -1
  31. data/docs/InlineResponse2006.md +1 -1
  32. data/docs/InlineResponse2007.md +1 -1
  33. data/docs/InlineResponse2008.md +1 -1
  34. data/docs/InlineResponse2009.md +1 -1
  35. data/docs/PublicationsAptApi.md +26 -26
  36. data/docs/PublicationsVerbatimApi.md +2 -2
  37. data/docs/RemotesAptApi.md +46 -46
  38. data/docs/RepositoriesAptApi.md +56 -56
  39. data/docs/RepositoriesDebVersionsApi.md +13 -11
  40. data/lib/pulp_deb_client/api/content_generic_contents_api.rb +3 -3
  41. data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +6 -6
  42. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +3 -3
  43. data/lib/pulp_deb_client/api/content_package_indices_api.rb +6 -6
  44. data/lib/pulp_deb_client/api/content_package_release_components_api.rb +6 -6
  45. data/lib/pulp_deb_client/api/content_packages_api.rb +3 -3
  46. data/lib/pulp_deb_client/api/content_release_architectures_api.rb +6 -6
  47. data/lib/pulp_deb_client/api/content_release_components_api.rb +6 -6
  48. data/lib/pulp_deb_client/api/content_release_files_api.rb +6 -6
  49. data/lib/pulp_deb_client/api/content_releases_api.rb +6 -6
  50. data/lib/pulp_deb_client/api/distributions_apt_api.rb +61 -61
  51. data/lib/pulp_deb_client/api/publications_apt_api.rb +37 -37
  52. data/lib/pulp_deb_client/api/publications_verbatim_api.rb +3 -3
  53. data/lib/pulp_deb_client/api/remotes_apt_api.rb +66 -66
  54. data/lib/pulp_deb_client/api/repositories_apt_api.rb +84 -84
  55. data/lib/pulp_deb_client/api/repositories_deb_versions_api.rb +22 -19
  56. data/lib/pulp_deb_client/models/{deb_deb_distribution.rb → deb_apt_distribution.rb} +3 -3
  57. data/lib/pulp_deb_client/models/{deb_deb_publication.rb → deb_apt_publication.rb} +3 -3
  58. data/lib/pulp_deb_client/models/{deb_deb_remote.rb → deb_apt_remote.rb} +6 -3
  59. data/lib/pulp_deb_client/models/{deb_deb_repository.rb → deb_apt_repository.rb} +3 -3
  60. data/lib/pulp_deb_client/models/{deb_base_package_read.rb → deb_base_package.rb} +3 -3
  61. data/lib/pulp_deb_client/models/{deb_generic_content_read.rb → deb_generic_content.rb} +3 -3
  62. data/lib/pulp_deb_client/models/inline_response200.rb +1 -1
  63. data/lib/pulp_deb_client/models/inline_response2001.rb +1 -1
  64. data/lib/pulp_deb_client/models/inline_response20010.rb +1 -1
  65. data/lib/pulp_deb_client/models/inline_response20011.rb +1 -1
  66. data/lib/pulp_deb_client/models/inline_response20012.rb +1 -1
  67. data/lib/pulp_deb_client/models/inline_response20013.rb +1 -1
  68. data/lib/pulp_deb_client/models/inline_response20014.rb +1 -1
  69. data/lib/pulp_deb_client/models/inline_response2002.rb +1 -1
  70. data/lib/pulp_deb_client/models/inline_response2003.rb +1 -1
  71. data/lib/pulp_deb_client/models/inline_response2004.rb +1 -1
  72. data/lib/pulp_deb_client/models/inline_response2005.rb +1 -1
  73. data/lib/pulp_deb_client/models/inline_response2006.rb +1 -1
  74. data/lib/pulp_deb_client/models/inline_response2007.rb +1 -1
  75. data/lib/pulp_deb_client/models/inline_response2008.rb +1 -1
  76. data/lib/pulp_deb_client/models/inline_response2009.rb +1 -1
  77. data/lib/pulp_deb_client/version.rb +1 -1
  78. data/lib/pulp_deb_client.rb +6 -19
  79. data/spec/api/content_generic_contents_api_spec.rb +1 -1
  80. data/spec/api/content_installer_file_indices_api_spec.rb +2 -2
  81. data/spec/api/content_installer_packages_api_spec.rb +1 -1
  82. data/spec/api/content_package_indices_api_spec.rb +2 -2
  83. data/spec/api/content_package_release_components_api_spec.rb +2 -2
  84. data/spec/api/content_packages_api_spec.rb +1 -1
  85. data/spec/api/content_release_architectures_api_spec.rb +2 -2
  86. data/spec/api/content_release_components_api_spec.rb +2 -2
  87. data/spec/api/content_release_files_api_spec.rb +2 -2
  88. data/spec/api/content_releases_api_spec.rb +2 -2
  89. data/spec/api/distributions_apt_api_spec.rb +13 -13
  90. data/spec/api/publications_apt_api_spec.rb +10 -10
  91. data/spec/api/publications_verbatim_api_spec.rb +1 -1
  92. data/spec/api/remotes_apt_api_spec.rb +15 -15
  93. data/spec/api/repositories_apt_api_spec.rb +17 -17
  94. data/spec/api/repositories_deb_versions_api_spec.rb +6 -5
  95. data/spec/models/{deb_deb_distribution_spec.rb → deb_apt_distribution_spec.rb} +6 -6
  96. data/spec/models/{deb_deb_publication_spec.rb → deb_apt_publication_spec.rb} +6 -6
  97. data/spec/models/{deb_deb_remote_spec.rb → deb_apt_remote_spec.rb} +6 -6
  98. data/spec/models/{deb_deb_repository_spec.rb → deb_apt_repository_spec.rb} +6 -6
  99. data/spec/models/{deb_base_package_read_spec.rb → deb_base_package_spec.rb} +6 -6
  100. data/spec/models/{deb_generic_content_read_spec.rb → deb_generic_content_spec.rb} +6 -6
  101. metadata +26 -78
  102. data/docs/DebDebDistributionRead.md +0 -29
  103. data/docs/DebDebPublicationRead.md +0 -29
  104. data/docs/DebDebRemoteRead.md +0 -57
  105. data/docs/DebDebRepositoryRead.md +0 -27
  106. data/docs/DebInstallerFileIndexRead.md +0 -29
  107. data/docs/DebPackageIndexRead.md +0 -29
  108. data/docs/DebPackageReleaseComponentRead.md +0 -23
  109. data/docs/DebReleaseArchitectureRead.md +0 -23
  110. data/docs/DebReleaseComponentRead.md +0 -23
  111. data/docs/DebReleaseFileRead.md +0 -29
  112. data/docs/DebReleaseRead.md +0 -25
  113. data/docs/DebVerbatimPublicationRead.md +0 -23
  114. data/docs/RepositoryVersionRead.md +0 -25
  115. data/lib/pulp_deb_client/models/deb_deb_distribution_read.rb +0 -331
  116. data/lib/pulp_deb_client/models/deb_deb_publication_read.rb +0 -269
  117. data/lib/pulp_deb_client/models/deb_deb_remote_read.rb +0 -670
  118. data/lib/pulp_deb_client/models/deb_deb_repository_read.rb +0 -294
  119. data/lib/pulp_deb_client/models/deb_installer_file_index_read.rb +0 -341
  120. data/lib/pulp_deb_client/models/deb_package_index_read.rb +0 -341
  121. data/lib/pulp_deb_client/models/deb_package_release_component_read.rb +0 -246
  122. data/lib/pulp_deb_client/models/deb_release_architecture_read.rb +0 -265
  123. data/lib/pulp_deb_client/models/deb_release_component_read.rb +0 -265
  124. data/lib/pulp_deb_client/models/deb_release_file_read.rb +0 -342
  125. data/lib/pulp_deb_client/models/deb_release_read.rb +0 -315
  126. data/lib/pulp_deb_client/models/deb_verbatim_publication_read.rb +0 -235
  127. data/lib/pulp_deb_client/models/repository_version_read.rb +0 -244
  128. data/spec/models/deb_deb_distribution_read_spec.rb +0 -77
  129. data/spec/models/deb_deb_publication_read_spec.rb +0 -77
  130. data/spec/models/deb_deb_remote_read_spec.rb +0 -165
  131. data/spec/models/deb_deb_repository_read_spec.rb +0 -71
  132. data/spec/models/deb_installer_file_index_read_spec.rb +0 -77
  133. data/spec/models/deb_package_index_read_spec.rb +0 -77
  134. data/spec/models/deb_package_release_component_read_spec.rb +0 -59
  135. data/spec/models/deb_release_architecture_read_spec.rb +0 -59
  136. data/spec/models/deb_release_component_read_spec.rb +0 -59
  137. data/spec/models/deb_release_file_read_spec.rb +0 -77
  138. data/spec/models/deb_release_read_spec.rb +0 -65
  139. data/spec/models/deb_verbatim_publication_read_spec.rb +0 -59
  140. data/spec/models/repository_version_read_spec.rb +0 -65
@@ -82,8 +82,8 @@ module PulpDebClient
82
82
  end
83
83
 
84
84
  # List repository versions
85
- # DebRepositoryVersion represents a single deb repository version.
86
- # @param apt_repository_pk [String]
85
+ # AptRepositoryVersion represents a single deb repository version.
86
+ # @param apt_repository_href [String] URI of Apt Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
87
87
  # @param [Hash] opts the optional parameters
88
88
  # @option opts [String] :ordering Which field to use when ordering the results.
89
89
  # @option opts [Float] :number
@@ -97,21 +97,22 @@ module PulpDebClient
97
97
  # @option opts [String] :pulp_created__gt Filter results where pulp_created is greater than value
98
98
  # @option opts [String] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
99
99
  # @option opts [String] :pulp_created__range Filter results where pulp_created is between two comma separated values
100
- # @option opts [String] :content Content Unit referenced by HREF
101
100
  # @option opts [String] :pulp_created ISO 8601 formatted dates are supported
101
+ # @option opts [String] :content Content Unit referenced by HREF
102
+ # @option opts [String] :content__in Content Unit referenced by HREF
102
103
  # @option opts [Integer] :limit Number of results to return per page.
103
104
  # @option opts [Integer] :offset The initial index from which to return the results.
104
105
  # @option opts [String] :fields A list of fields to include in the response.
105
106
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
106
107
  # @return [InlineResponse20014]
107
- def list(apt_repository_pk, opts = {})
108
- data, _status_code, _headers = list_with_http_info(apt_repository_pk, opts)
108
+ def list(apt_repository_href, opts = {})
109
+ data, _status_code, _headers = list_with_http_info(apt_repository_href, opts)
109
110
  data
110
111
  end
111
112
 
112
113
  # List repository versions
113
- # DebRepositoryVersion represents a single deb repository version.
114
- # @param apt_repository_pk [String]
114
+ # AptRepositoryVersion represents a single deb repository version.
115
+ # @param apt_repository_href [String] URI of Apt Repository. e.g.: /pulp/api/v3/repositories/deb/apt/1/
115
116
  # @param [Hash] opts the optional parameters
116
117
  # @option opts [String] :ordering Which field to use when ordering the results.
117
118
  # @option opts [Float] :number
@@ -125,23 +126,24 @@ module PulpDebClient
125
126
  # @option opts [String] :pulp_created__gt Filter results where pulp_created is greater than value
126
127
  # @option opts [String] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
127
128
  # @option opts [String] :pulp_created__range Filter results where pulp_created is between two comma separated values
128
- # @option opts [String] :content Content Unit referenced by HREF
129
129
  # @option opts [String] :pulp_created ISO 8601 formatted dates are supported
130
+ # @option opts [String] :content Content Unit referenced by HREF
131
+ # @option opts [String] :content__in Content Unit referenced by HREF
130
132
  # @option opts [Integer] :limit Number of results to return per page.
131
133
  # @option opts [Integer] :offset The initial index from which to return the results.
132
134
  # @option opts [String] :fields A list of fields to include in the response.
133
135
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
134
136
  # @return [Array<(InlineResponse20014, Integer, Hash)>] InlineResponse20014 data, response status code and response headers
135
- def list_with_http_info(apt_repository_pk, opts = {})
137
+ def list_with_http_info(apt_repository_href, opts = {})
136
138
  if @api_client.config.debugging
137
139
  @api_client.config.logger.debug 'Calling API: RepositoriesDebVersionsApi.list ...'
138
140
  end
139
- # verify the required parameter 'apt_repository_pk' is set
140
- if @api_client.config.client_side_validation && apt_repository_pk.nil?
141
- fail ArgumentError, "Missing the required parameter 'apt_repository_pk' when calling RepositoriesDebVersionsApi.list"
141
+ # verify the required parameter 'apt_repository_href' is set
142
+ if @api_client.config.client_side_validation && apt_repository_href.nil?
143
+ fail ArgumentError, "Missing the required parameter 'apt_repository_href' when calling RepositoriesDebVersionsApi.list"
142
144
  end
143
145
  # resource path
144
- local_var_path = '/pulp/api/v3/repositories/deb/apt/{apt_repository_pk}/versions/'.sub('{' + 'apt_repository_pk' + '}', CGI.escape(apt_repository_pk.to_s).gsub('%2F', '/'))
146
+ local_var_path = '{apt_repository_href}versions/'.sub('{' + 'apt_repository_href' + '}', CGI.escape(apt_repository_href.to_s).gsub('%2F', '/'))
145
147
 
146
148
  # query parameters
147
149
  query_params = opts[:query_params] || {}
@@ -157,8 +159,9 @@ module PulpDebClient
157
159
  query_params[:'pulp_created__gt'] = opts[:'pulp_created__gt'] if !opts[:'pulp_created__gt'].nil?
158
160
  query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
159
161
  query_params[:'pulp_created__range'] = opts[:'pulp_created__range'] if !opts[:'pulp_created__range'].nil?
160
- query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
161
162
  query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
163
+ query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
164
+ query_params[:'content__in'] = opts[:'content__in'] if !opts[:'content__in'].nil?
162
165
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
163
166
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
164
167
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
@@ -198,24 +201,24 @@ module PulpDebClient
198
201
  end
199
202
 
200
203
  # Inspect a repository version
201
- # DebRepositoryVersion represents a single deb repository version.
204
+ # AptRepositoryVersion represents a single deb repository version.
202
205
  # @param apt_repository_version_href [String] URI of Repository Version. e.g.: /pulp/api/v3/repositories/deb/apt/1/versions/1/
203
206
  # @param [Hash] opts the optional parameters
204
207
  # @option opts [String] :fields A list of fields to include in the response.
205
208
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
206
- # @return [RepositoryVersionRead]
209
+ # @return [RepositoryVersion]
207
210
  def read(apt_repository_version_href, opts = {})
208
211
  data, _status_code, _headers = read_with_http_info(apt_repository_version_href, opts)
209
212
  data
210
213
  end
211
214
 
212
215
  # Inspect a repository version
213
- # DebRepositoryVersion represents a single deb repository version.
216
+ # AptRepositoryVersion represents a single deb repository version.
214
217
  # @param apt_repository_version_href [String] URI of Repository Version. e.g.: /pulp/api/v3/repositories/deb/apt/1/versions/1/
215
218
  # @param [Hash] opts the optional parameters
216
219
  # @option opts [String] :fields A list of fields to include in the response.
217
220
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
218
- # @return [Array<(RepositoryVersionRead, Integer, Hash)>] RepositoryVersionRead data, response status code and response headers
221
+ # @return [Array<(RepositoryVersion, Integer, Hash)>] RepositoryVersion data, response status code and response headers
219
222
  def read_with_http_info(apt_repository_version_href, opts = {})
220
223
  if @api_client.config.debugging
221
224
  @api_client.config.logger.debug 'Calling API: RepositoriesDebVersionsApi.read ...'
@@ -244,7 +247,7 @@ module PulpDebClient
244
247
  post_body = opts[:body]
245
248
 
246
249
  # return_type
247
- return_type = opts[:return_type] || 'RepositoryVersionRead'
250
+ return_type = opts[:return_type] || 'RepositoryVersion'
248
251
 
249
252
  # auth_names
250
253
  auth_names = opts[:auth_names] || ['Basic']
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module PulpDebClient
16
- class DebDebDistribution
16
+ class DebAptDistribution
17
17
  attr_accessor :pulp_href
18
18
 
19
19
  # Timestamp of creation.
@@ -72,13 +72,13 @@ module PulpDebClient
72
72
  # @param [Hash] attributes Model attributes in the form of hash
73
73
  def initialize(attributes = {})
74
74
  if (!attributes.is_a?(Hash))
75
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::DebDebDistribution` initialize method"
75
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::DebAptDistribution` initialize method"
76
76
  end
77
77
 
78
78
  # check to see if the attribute exists and convert string to symbol for hash key
79
79
  attributes = attributes.each_with_object({}) { |(k, v), h|
80
80
  if (!self.class.attribute_map.key?(k.to_sym))
81
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::DebDebDistribution`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
81
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::DebAptDistribution`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
82
82
  end
83
83
  h[k.to_sym] = v
84
84
  }
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module PulpDebClient
16
- class DebDebPublication
16
+ class DebAptPublication
17
17
  attr_accessor :pulp_href
18
18
 
19
19
  # Timestamp of creation.
@@ -69,13 +69,13 @@ module PulpDebClient
69
69
  # @param [Hash] attributes Model attributes in the form of hash
70
70
  def initialize(attributes = {})
71
71
  if (!attributes.is_a?(Hash))
72
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::DebDebPublication` initialize method"
72
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::DebAptPublication` initialize method"
73
73
  end
74
74
 
75
75
  # check to see if the attribute exists and convert string to symbol for hash key
76
76
  attributes = attributes.each_with_object({}) { |(k, v), h|
77
77
  if (!self.class.attribute_map.key?(k.to_sym))
78
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::DebDebPublication`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
78
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::DebAptPublication`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
79
79
  end
80
80
  h[k.to_sym] = v
81
81
  }
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module PulpDebClient
16
- class DebDebRemote
16
+ class DebAptRemote
17
17
  attr_accessor :pulp_href
18
18
 
19
19
  # Timestamp of creation.
@@ -161,6 +161,9 @@ module PulpDebClient
161
161
  :'proxy_url',
162
162
  :'username',
163
163
  :'password',
164
+ :'components',
165
+ :'architectures',
166
+ :'gpgkey'
164
167
  ])
165
168
  end
166
169
 
@@ -168,13 +171,13 @@ module PulpDebClient
168
171
  # @param [Hash] attributes Model attributes in the form of hash
169
172
  def initialize(attributes = {})
170
173
  if (!attributes.is_a?(Hash))
171
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::DebDebRemote` initialize method"
174
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::DebAptRemote` initialize method"
172
175
  end
173
176
 
174
177
  # check to see if the attribute exists and convert string to symbol for hash key
175
178
  attributes = attributes.each_with_object({}) { |(k, v), h|
176
179
  if (!self.class.attribute_map.key?(k.to_sym))
177
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::DebDebRemote`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
180
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::DebAptRemote`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
178
181
  end
179
182
  h[k.to_sym] = v
180
183
  }
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module PulpDebClient
16
- class DebDebRepository
16
+ class DebAptRepository
17
17
  attr_accessor :pulp_href
18
18
 
19
19
  # Timestamp of creation.
@@ -64,13 +64,13 @@ module PulpDebClient
64
64
  # @param [Hash] attributes Model attributes in the form of hash
65
65
  def initialize(attributes = {})
66
66
  if (!attributes.is_a?(Hash))
67
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::DebDebRepository` initialize method"
67
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::DebAptRepository` initialize method"
68
68
  end
69
69
 
70
70
  # check to see if the attribute exists and convert string to symbol for hash key
71
71
  attributes = attributes.each_with_object({}) { |(k, v), h|
72
72
  if (!self.class.attribute_map.key?(k.to_sym))
73
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::DebDebRepository`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
73
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::DebAptRepository`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
74
74
  end
75
75
  h[k.to_sym] = v
76
76
  }
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module PulpDebClient
16
- class DebBasePackageRead
16
+ class DebBasePackage
17
17
  attr_accessor :pulp_href
18
18
 
19
19
  # Timestamp of creation.
@@ -201,13 +201,13 @@ module PulpDebClient
201
201
  # @param [Hash] attributes Model attributes in the form of hash
202
202
  def initialize(attributes = {})
203
203
  if (!attributes.is_a?(Hash))
204
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::DebBasePackageRead` initialize method"
204
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::DebBasePackage` initialize method"
205
205
  end
206
206
 
207
207
  # check to see if the attribute exists and convert string to symbol for hash key
208
208
  attributes = attributes.each_with_object({}) { |(k, v), h|
209
209
  if (!self.class.attribute_map.key?(k.to_sym))
210
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::DebBasePackageRead`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
210
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::DebBasePackage`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
211
211
  end
212
212
  h[k.to_sym] = v
213
213
  }
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module PulpDebClient
16
- class DebGenericContentRead
16
+ class DebGenericContent
17
17
  attr_accessor :pulp_href
18
18
 
19
19
  # Timestamp of creation.
@@ -85,13 +85,13 @@ module PulpDebClient
85
85
  # @param [Hash] attributes Model attributes in the form of hash
86
86
  def initialize(attributes = {})
87
87
  if (!attributes.is_a?(Hash))
88
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::DebGenericContentRead` initialize method"
88
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpDebClient::DebGenericContent` initialize method"
89
89
  end
90
90
 
91
91
  # check to see if the attribute exists and convert string to symbol for hash key
92
92
  attributes = attributes.each_with_object({}) { |(k, v), h|
93
93
  if (!self.class.attribute_map.key?(k.to_sym))
94
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::DebGenericContentRead`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
94
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpDebClient::DebGenericContent`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
95
95
  end
96
96
  h[k.to_sym] = v
97
97
  }
@@ -38,7 +38,7 @@ module PulpDebClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<DebGenericContentRead>'
41
+ :'results' => :'Array<DebGenericContent>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpDebClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<DebInstallerFileIndexRead>'
41
+ :'results' => :'Array<DebInstallerFileIndex>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpDebClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<DebDebPublicationRead>'
41
+ :'results' => :'Array<DebAptPublication>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpDebClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<DebVerbatimPublicationRead>'
41
+ :'results' => :'Array<DebVerbatimPublication>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpDebClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<DebDebRemoteRead>'
41
+ :'results' => :'Array<DebAptRemote>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpDebClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<DebDebRepositoryRead>'
41
+ :'results' => :'Array<DebAptRepository>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpDebClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<RepositoryVersionRead>'
41
+ :'results' => :'Array<RepositoryVersion>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpDebClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<DebBasePackageRead>'
41
+ :'results' => :'Array<DebBasePackage>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpDebClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<DebPackageIndexRead>'
41
+ :'results' => :'Array<DebPackageIndex>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpDebClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<DebPackageReleaseComponentRead>'
41
+ :'results' => :'Array<DebPackageReleaseComponent>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpDebClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<DebReleaseArchitectureRead>'
41
+ :'results' => :'Array<DebReleaseArchitecture>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpDebClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<DebReleaseComponentRead>'
41
+ :'results' => :'Array<DebReleaseComponent>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpDebClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<DebReleaseFileRead>'
41
+ :'results' => :'Array<DebReleaseFile>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpDebClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<DebReleaseRead>'
41
+ :'results' => :'Array<DebRelease>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpDebClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<DebDebDistributionRead>'
41
+ :'results' => :'Array<DebAptDistribution>'
42
42
  }
43
43
  end
44
44
 
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.2.3
11
11
  =end
12
12
 
13
13
  module PulpDebClient
14
- VERSION = '2.4.0b1'
14
+ VERSION = '2.5.0b1'
15
15
  end
@@ -19,32 +19,20 @@ require 'pulp_deb_client/configuration'
19
19
  # Models
20
20
  require 'pulp_deb_client/models/async_operation_response'
21
21
  require 'pulp_deb_client/models/content_summary'
22
- require 'pulp_deb_client/models/deb_base_package_read'
23
- require 'pulp_deb_client/models/deb_deb_distribution'
24
- require 'pulp_deb_client/models/deb_deb_distribution_read'
25
- require 'pulp_deb_client/models/deb_deb_publication'
26
- require 'pulp_deb_client/models/deb_deb_publication_read'
27
- require 'pulp_deb_client/models/deb_deb_remote'
28
- require 'pulp_deb_client/models/deb_deb_remote_read'
29
- require 'pulp_deb_client/models/deb_deb_repository'
30
- require 'pulp_deb_client/models/deb_deb_repository_read'
31
- require 'pulp_deb_client/models/deb_generic_content_read'
22
+ require 'pulp_deb_client/models/deb_apt_distribution'
23
+ require 'pulp_deb_client/models/deb_apt_publication'
24
+ require 'pulp_deb_client/models/deb_apt_remote'
25
+ require 'pulp_deb_client/models/deb_apt_repository'
26
+ require 'pulp_deb_client/models/deb_base_package'
27
+ require 'pulp_deb_client/models/deb_generic_content'
32
28
  require 'pulp_deb_client/models/deb_installer_file_index'
33
- require 'pulp_deb_client/models/deb_installer_file_index_read'
34
29
  require 'pulp_deb_client/models/deb_package_index'
35
- require 'pulp_deb_client/models/deb_package_index_read'
36
30
  require 'pulp_deb_client/models/deb_package_release_component'
37
- require 'pulp_deb_client/models/deb_package_release_component_read'
38
31
  require 'pulp_deb_client/models/deb_release'
39
32
  require 'pulp_deb_client/models/deb_release_architecture'
40
- require 'pulp_deb_client/models/deb_release_architecture_read'
41
33
  require 'pulp_deb_client/models/deb_release_component'
42
- require 'pulp_deb_client/models/deb_release_component_read'
43
34
  require 'pulp_deb_client/models/deb_release_file'
44
- require 'pulp_deb_client/models/deb_release_file_read'
45
- require 'pulp_deb_client/models/deb_release_read'
46
35
  require 'pulp_deb_client/models/deb_verbatim_publication'
47
- require 'pulp_deb_client/models/deb_verbatim_publication_read'
48
36
  require 'pulp_deb_client/models/inline_response200'
49
37
  require 'pulp_deb_client/models/inline_response2001'
50
38
  require 'pulp_deb_client/models/inline_response20010'
@@ -63,7 +51,6 @@ require 'pulp_deb_client/models/inline_response2009'
63
51
  require 'pulp_deb_client/models/repository_add_remove_content'
64
52
  require 'pulp_deb_client/models/repository_sync_url'
65
53
  require 'pulp_deb_client/models/repository_version'
66
- require 'pulp_deb_client/models/repository_version_read'
67
54
 
68
55
  # APIs
69
56
  require 'pulp_deb_client/api/content_generic_contents_api'
@@ -75,7 +75,7 @@ describe 'ContentGenericContentsApi' do
75
75
  # @param [Hash] opts the optional parameters
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.
78
- # @return [DebGenericContentRead]
78
+ # @return [DebGenericContent]
79
79
  describe 'read test' do
80
80
  it 'should work' do
81
81
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -37,7 +37,7 @@ describe 'ContentInstallerFileIndicesApi' do
37
37
  # A ViewSet for InstallerFileIndex.
38
38
  # @param data
39
39
  # @param [Hash] opts the optional parameters
40
- # @return [DebInstallerFileIndexRead]
40
+ # @return [DebInstallerFileIndex]
41
41
  describe 'create test' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -74,7 +74,7 @@ describe 'ContentInstallerFileIndicesApi' do
74
74
  # @param [Hash] opts the optional parameters
75
75
  # @option opts [String] :fields A list of fields to include in the response.
76
76
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
77
- # @return [DebInstallerFileIndexRead]
77
+ # @return [DebInstallerFileIndex]
78
78
  describe 'read test' do
79
79
  it 'should work' do
80
80
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -90,7 +90,7 @@ describe 'ContentInstallerPackagesApi' do
90
90
  # @param [Hash] opts the optional parameters
91
91
  # @option opts [String] :fields A list of fields to include in the response.
92
92
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
93
- # @return [DebBasePackageRead]
93
+ # @return [DebBasePackage]
94
94
  describe 'read test' do
95
95
  it 'should work' do
96
96
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -37,7 +37,7 @@ describe 'ContentPackageIndicesApi' do
37
37
  # A ViewSet for PackageIndex.
38
38
  # @param data
39
39
  # @param [Hash] opts the optional parameters
40
- # @return [DebPackageIndexRead]
40
+ # @return [DebPackageIndex]
41
41
  describe 'create test' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -74,7 +74,7 @@ describe 'ContentPackageIndicesApi' do
74
74
  # @param [Hash] opts the optional parameters
75
75
  # @option opts [String] :fields A list of fields to include in the response.
76
76
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
77
- # @return [DebPackageIndexRead]
77
+ # @return [DebPackageIndex]
78
78
  describe 'read test' do
79
79
  it 'should work' do
80
80
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -37,7 +37,7 @@ describe 'ContentPackageReleaseComponentsApi' do
37
37
  # A ViewSet for PackageReleaseComponent.
38
38
  # @param data
39
39
  # @param [Hash] opts the optional parameters
40
- # @return [DebPackageReleaseComponentRead]
40
+ # @return [DebPackageReleaseComponent]
41
41
  describe 'create test' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -72,7 +72,7 @@ describe 'ContentPackageReleaseComponentsApi' do
72
72
  # @param [Hash] opts the optional parameters
73
73
  # @option opts [String] :fields A list of fields to include in the response.
74
74
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
75
- # @return [DebPackageReleaseComponentRead]
75
+ # @return [DebPackageReleaseComponent]
76
76
  describe 'read test' do
77
77
  it 'should work' do
78
78
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -91,7 +91,7 @@ describe 'ContentPackagesApi' do
91
91
  # @param [Hash] opts the optional parameters
92
92
  # @option opts [String] :fields A list of fields to include in the response.
93
93
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
94
- # @return [DebBasePackageRead]
94
+ # @return [DebBasePackage]
95
95
  describe 'read test' do
96
96
  it 'should work' do
97
97
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -37,7 +37,7 @@ describe 'ContentReleaseArchitecturesApi' do
37
37
  # A ViewSet for ReleaseArchitecture.
38
38
  # @param data
39
39
  # @param [Hash] opts the optional parameters
40
- # @return [DebReleaseArchitectureRead]
40
+ # @return [DebReleaseArchitecture]
41
41
  describe 'create test' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -72,7 +72,7 @@ describe 'ContentReleaseArchitecturesApi' do
72
72
  # @param [Hash] opts the optional parameters
73
73
  # @option opts [String] :fields A list of fields to include in the response.
74
74
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
75
- # @return [DebReleaseArchitectureRead]
75
+ # @return [DebReleaseArchitecture]
76
76
  describe 'read test' do
77
77
  it 'should work' do
78
78
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -37,7 +37,7 @@ describe 'ContentReleaseComponentsApi' do
37
37
  # A ViewSet for ReleaseComponent.
38
38
  # @param data
39
39
  # @param [Hash] opts the optional parameters
40
- # @return [DebReleaseComponentRead]
40
+ # @return [DebReleaseComponent]
41
41
  describe 'create test' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -72,7 +72,7 @@ describe 'ContentReleaseComponentsApi' do
72
72
  # @param [Hash] opts the optional parameters
73
73
  # @option opts [String] :fields A list of fields to include in the response.
74
74
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
75
- # @return [DebReleaseComponentRead]
75
+ # @return [DebReleaseComponent]
76
76
  describe 'read test' do
77
77
  it 'should work' do
78
78
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers