pulp_maven_client 0.1.0b3 → 0.1.0b31570221045

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/ContentArtifactApi.md +6 -2
  4. data/docs/DistributionsMavenApi.md +6 -2
  5. data/docs/MavenArtifact.md +4 -4
  6. data/docs/RemotesMavenApi.md +6 -2
  7. data/lib/pulp_maven_client/api/content_artifact_api.rb +7 -1
  8. data/lib/pulp_maven_client/api/distributions_maven_api.rb +7 -1
  9. data/lib/pulp_maven_client/api/remotes_maven_api.rb +7 -1
  10. data/lib/pulp_maven_client/api_client.rb +1 -1
  11. data/lib/pulp_maven_client/api_error.rb +1 -1
  12. data/lib/pulp_maven_client/configuration.rb +1 -1
  13. data/lib/pulp_maven_client/models/async_operation_response.rb +1 -1
  14. data/lib/pulp_maven_client/models/inline_response200.rb +1 -1
  15. data/lib/pulp_maven_client/models/inline_response2001.rb +1 -1
  16. data/lib/pulp_maven_client/models/inline_response2002.rb +1 -1
  17. data/lib/pulp_maven_client/models/maven_artifact.rb +30 -30
  18. data/lib/pulp_maven_client/models/maven_distribution.rb +1 -1
  19. data/lib/pulp_maven_client/models/maven_remote.rb +1 -1
  20. data/lib/pulp_maven_client/version.rb +2 -2
  21. data/lib/pulp_maven_client.rb +1 -1
  22. data/pulp_maven_client.gemspec +1 -1
  23. data/spec/api/content_artifact_api_spec.rb +3 -1
  24. data/spec/api/distributions_maven_api_spec.rb +3 -1
  25. data/spec/api/remotes_maven_api_spec.rb +3 -1
  26. data/spec/api_client_spec.rb +2 -2
  27. data/spec/configuration_spec.rb +1 -1
  28. data/spec/models/async_operation_response_spec.rb +1 -1
  29. data/spec/models/inline_response2001_spec.rb +1 -1
  30. data/spec/models/inline_response2002_spec.rb +1 -1
  31. data/spec/models/inline_response200_spec.rb +1 -1
  32. data/spec/models/maven_artifact_spec.rb +3 -3
  33. data/spec/models/maven_distribution_spec.rb +1 -1
  34. data/spec/models/maven_remote_spec.rb +1 -1
  35. data/spec/spec_helper.rb +1 -1
  36. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 796e534251821e167625a4392688429349b85d2f58719cdeefd02942b2df3d9e
4
- data.tar.gz: f0c531908558898a32125698bd06668a8825e3ea1d222266f73e43830c8cdf03
3
+ metadata.gz: 31132f2c3c09dec7d5eaa7cbc94945350ed468a4c5541e91bbf9b548e4b8de8c
4
+ data.tar.gz: 6a1f3086f0305d081c43d629a3282e0446321e6dab4bb733458df7bd03442d17
5
5
  SHA512:
6
- metadata.gz: 3693c2910bf0446ff4bb0625c501198357d2b8b760b1820c6634ab861a565360247b0fa60cea81bcd7022c7afcd15860cd3ff2184b00be9c6ba85cbf8c485716
7
- data.tar.gz: ba88653add2060ccfa99ad3d347c721ab5e73c2383ffa5553342b64be08bbd477508d11423d2baec02af93244742b03e0e85f8bae2b5a42ded832249dbbc1b64
6
+ metadata.gz: 7840b0ca099e293bad6b22df4cd94da136a3f8021a0bb3302d4ccc64fa9fd67b7dd73aeab8311aee69f54243add404a665bcab01cdd42c53ee0d9f23fecf245e
7
+ data.tar.gz: 6f65741be6e72c79c6f738b416b5391aa5aab166c6235cb3627f47dd2769e381cf7f33a8d14691d2f6e5bbf33c0e1941970abbff4efb1161959a3014b2528ed6
data/README.md CHANGED
@@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 0.1.0b3
10
+ - Package version: 0.1.0b31570221045
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
 
13
13
  ## Installation
@@ -23,16 +23,16 @@ gem build pulp_maven_client.gemspec
23
23
  Then either install the gem locally:
24
24
 
25
25
  ```shell
26
- gem install ./pulp_maven_client-0.1.0b3.gem
26
+ gem install ./pulp_maven_client-0.1.0b31570221045.gem
27
27
  ```
28
28
 
29
- (for development, run `gem install --dev ./pulp_maven_client-0.1.0b3.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./pulp_maven_client-0.1.0b31570221045.gem` to install the development dependencies)
30
30
 
31
31
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
32
 
33
33
  Finally add this to the Gemfile:
34
34
 
35
- gem 'pulp_maven_client', '~> 0.1.0b3'
35
+ gem 'pulp_maven_client', '~> 0.1.0b31570221045'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -94,7 +94,8 @@ opts = {
94
94
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
95
95
  limit: 56, # Integer | Number of results to return per page.
96
96
  offset: 56, # Integer | The initial index from which to return the results.
97
- fields: 'fields_example' # String | A list of fields to include in the response.
97
+ fields: 'fields_example', # String | A list of fields to include in the response.
98
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
98
99
  }
99
100
 
100
101
  begin
@@ -121,6 +122,7 @@ Name | Type | Description | Notes
121
122
  **limit** | **Integer**| Number of results to return per page. | [optional]
122
123
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
123
124
  **fields** | **String**| A list of fields to include in the response. | [optional]
125
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
124
126
 
125
127
  ### Return type
126
128
 
@@ -159,7 +161,8 @@ end
159
161
  api_instance = PulpMavenClient::ContentArtifactApi.new
160
162
  maven_artifact_href = 'maven_artifact_href_example' # String | URI of Maven Artifact. e.g.: /pulp/api/v3/content/maven/artifact/1/
161
163
  opts = {
162
- fields: 'fields_example' # String | A list of fields to include in the response.
164
+ fields: 'fields_example', # String | A list of fields to include in the response.
165
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
163
166
  }
164
167
 
165
168
  begin
@@ -178,6 +181,7 @@ Name | Type | Description | Notes
178
181
  ------------- | ------------- | ------------- | -------------
179
182
  **maven_artifact_href** | **String**| URI of Maven Artifact. e.g.: /pulp/api/v3/content/maven/artifact/1/ |
180
183
  **fields** | **String**| A list of fields to include in the response. | [optional]
184
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
181
185
 
182
186
  ### Return type
183
187
 
@@ -149,7 +149,8 @@ opts = {
149
149
  base_path__in: 'base_path__in_example', # String | Filter results where base_path is in a comma-separated list of values
150
150
  limit: 56, # Integer | Number of results to return per page.
151
151
  offset: 56, # Integer | The initial index from which to return the results.
152
- fields: 'fields_example' # String | A list of fields to include in the response.
152
+ fields: 'fields_example', # String | A list of fields to include in the response.
153
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
153
154
  }
154
155
 
155
156
  begin
@@ -175,6 +176,7 @@ Name | Type | Description | Notes
175
176
  **limit** | **Integer**| Number of results to return per page. | [optional]
176
177
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
177
178
  **fields** | **String**| A list of fields to include in the response. | [optional]
179
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
178
180
 
179
181
  ### Return type
180
182
 
@@ -268,7 +270,8 @@ end
268
270
  api_instance = PulpMavenClient::DistributionsMavenApi.new
269
271
  maven_distribution_href = 'maven_distribution_href_example' # String | URI of Maven Distribution. e.g.: /pulp/api/v3/distributions/maven/maven/1/
270
272
  opts = {
271
- fields: 'fields_example' # String | A list of fields to include in the response.
273
+ fields: 'fields_example', # String | A list of fields to include in the response.
274
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
272
275
  }
273
276
 
274
277
  begin
@@ -287,6 +290,7 @@ Name | Type | Description | Notes
287
290
  ------------- | ------------- | ------------- | -------------
288
291
  **maven_distribution_href** | **String**| URI of Maven Distribution. e.g.: /pulp/api/v3/distributions/maven/maven/1/ |
289
292
  **fields** | **String**| A list of fields to include in the response. | [optional]
293
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
290
294
 
291
295
  ### Return type
292
296
 
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
7
7
  **_href** | **String** | | [optional]
8
8
  **_created** | **DateTime** | Timestamp of creation. | [optional]
9
9
  **_type** | **String** | | [optional]
10
- **_artifact** | **String** | Artifact file representing the physical content |
11
- **_relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
10
+ **artifact** | **String** | Artifact file representing the physical content |
11
+ **relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
12
12
  **group_id** | **String** | Group Id of the artifact's package. | [optional]
13
13
  **artifact_id** | **String** | Artifact Id of the artifact's package. | [optional]
14
14
  **version** | **String** | Version of the artifact's package. | [optional]
@@ -22,8 +22,8 @@ require 'PulpMavenClient'
22
22
  instance = PulpMavenClient::MavenArtifact.new(_href: null,
23
23
  _created: null,
24
24
  _type: null,
25
- _artifact: null,
26
- _relative_path: null,
25
+ artifact: null,
26
+ relative_path: null,
27
27
  group_id: null,
28
28
  artifact_id: null,
29
29
  version: null,
@@ -151,7 +151,8 @@ opts = {
151
151
  _last_updated: '_last_updated_example', # String | ISO 8601 formatted dates are supported
152
152
  limit: 56, # Integer | Number of results to return per page.
153
153
  offset: 56, # Integer | The initial index from which to return the results.
154
- fields: 'fields_example' # String | A list of fields to include in the response.
154
+ fields: 'fields_example', # String | A list of fields to include in the response.
155
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
155
156
  }
156
157
 
157
158
  begin
@@ -179,6 +180,7 @@ Name | Type | Description | Notes
179
180
  **limit** | **Integer**| Number of results to return per page. | [optional]
180
181
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
181
182
  **fields** | **String**| A list of fields to include in the response. | [optional]
183
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
182
184
 
183
185
  ### Return type
184
186
 
@@ -272,7 +274,8 @@ end
272
274
  api_instance = PulpMavenClient::RemotesMavenApi.new
273
275
  maven_remote_href = 'maven_remote_href_example' # String | URI of Maven Remote. e.g.: /pulp/api/v3/remotes/maven/maven/1/
274
276
  opts = {
275
- fields: 'fields_example' # String | A list of fields to include in the response.
277
+ fields: 'fields_example', # String | A list of fields to include in the response.
278
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
276
279
  }
277
280
 
278
281
  begin
@@ -291,6 +294,7 @@ Name | Type | Description | Notes
291
294
  ------------- | ------------- | ------------- | -------------
292
295
  **maven_remote_href** | **String**| URI of Maven Remote. e.g.: /pulp/api/v3/remotes/maven/maven/1/ |
293
296
  **fields** | **String**| A list of fields to include in the response. | [optional]
297
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
294
298
 
295
299
  ### Return type
296
300
 
@@ -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.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -96,6 +96,7 @@ module PulpMavenClient
96
96
  # @option opts [Integer] :limit Number of results to return per page.
97
97
  # @option opts [Integer] :offset The initial index from which to return the results.
98
98
  # @option opts [String] :fields A list of fields to include in the response.
99
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
99
100
  # @return [InlineResponse200]
100
101
  def list(opts = {})
101
102
  data, _status_code, _headers = list_with_http_info(opts)
@@ -115,6 +116,7 @@ module PulpMavenClient
115
116
  # @option opts [Integer] :limit Number of results to return per page.
116
117
  # @option opts [Integer] :offset The initial index from which to return the results.
117
118
  # @option opts [String] :fields A list of fields to include in the response.
119
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
118
120
  # @return [Array<(InlineResponse200, Integer, Hash)>] InlineResponse200 data, response status code and response headers
119
121
  def list_with_http_info(opts = {})
120
122
  if @api_client.config.debugging
@@ -135,6 +137,7 @@ module PulpMavenClient
135
137
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
136
138
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
137
139
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
140
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
138
141
 
139
142
  # header parameters
140
143
  header_params = opts[:header_params] || {}
@@ -174,6 +177,7 @@ module PulpMavenClient
174
177
  # @param maven_artifact_href [String] URI of Maven Artifact. e.g.: /pulp/api/v3/content/maven/artifact/1/
175
178
  # @param [Hash] opts the optional parameters
176
179
  # @option opts [String] :fields A list of fields to include in the response.
180
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
177
181
  # @return [MavenArtifact]
178
182
  def read(maven_artifact_href, opts = {})
179
183
  data, _status_code, _headers = read_with_http_info(maven_artifact_href, opts)
@@ -185,6 +189,7 @@ module PulpMavenClient
185
189
  # @param maven_artifact_href [String] URI of Maven Artifact. e.g.: /pulp/api/v3/content/maven/artifact/1/
186
190
  # @param [Hash] opts the optional parameters
187
191
  # @option opts [String] :fields A list of fields to include in the response.
192
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
188
193
  # @return [Array<(MavenArtifact, Integer, Hash)>] MavenArtifact data, response status code and response headers
189
194
  def read_with_http_info(maven_artifact_href, opts = {})
190
195
  if @api_client.config.debugging
@@ -200,6 +205,7 @@ module PulpMavenClient
200
205
  # query parameters
201
206
  query_params = opts[:query_params] || {}
202
207
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
208
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
203
209
 
204
210
  # header parameters
205
211
  header_params = opts[:header_params] || {}
@@ -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.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -157,6 +157,7 @@ module PulpMavenClient
157
157
  # @option opts [Integer] :limit Number of results to return per page.
158
158
  # @option opts [Integer] :offset The initial index from which to return the results.
159
159
  # @option opts [String] :fields A list of fields to include in the response.
160
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
160
161
  # @return [InlineResponse2001]
161
162
  def list(opts = {})
162
163
  data, _status_code, _headers = list_with_http_info(opts)
@@ -175,6 +176,7 @@ module PulpMavenClient
175
176
  # @option opts [Integer] :limit Number of results to return per page.
176
177
  # @option opts [Integer] :offset The initial index from which to return the results.
177
178
  # @option opts [String] :fields A list of fields to include in the response.
179
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
178
180
  # @return [Array<(InlineResponse2001, Integer, Hash)>] InlineResponse2001 data, response status code and response headers
179
181
  def list_with_http_info(opts = {})
180
182
  if @api_client.config.debugging
@@ -194,6 +196,7 @@ module PulpMavenClient
194
196
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
195
197
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
196
198
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
199
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
197
200
 
198
201
  # header parameters
199
202
  header_params = opts[:header_params] || {}
@@ -303,6 +306,7 @@ module PulpMavenClient
303
306
  # @param maven_distribution_href [String] URI of Maven Distribution. e.g.: /pulp/api/v3/distributions/maven/maven/1/
304
307
  # @param [Hash] opts the optional parameters
305
308
  # @option opts [String] :fields A list of fields to include in the response.
309
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
306
310
  # @return [MavenDistribution]
307
311
  def read(maven_distribution_href, opts = {})
308
312
  data, _status_code, _headers = read_with_http_info(maven_distribution_href, opts)
@@ -314,6 +318,7 @@ module PulpMavenClient
314
318
  # @param maven_distribution_href [String] URI of Maven Distribution. e.g.: /pulp/api/v3/distributions/maven/maven/1/
315
319
  # @param [Hash] opts the optional parameters
316
320
  # @option opts [String] :fields A list of fields to include in the response.
321
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
317
322
  # @return [Array<(MavenDistribution, Integer, Hash)>] MavenDistribution data, response status code and response headers
318
323
  def read_with_http_info(maven_distribution_href, opts = {})
319
324
  if @api_client.config.debugging
@@ -329,6 +334,7 @@ module PulpMavenClient
329
334
  # query parameters
330
335
  query_params = opts[:query_params] || {}
331
336
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
337
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
332
338
 
333
339
  # header parameters
334
340
  header_params = opts[:header_params] || {}
@@ -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.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -159,6 +159,7 @@ module PulpMavenClient
159
159
  # @option opts [Integer] :limit Number of results to return per page.
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
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
162
163
  # @return [InlineResponse2002]
163
164
  def list(opts = {})
164
165
  data, _status_code, _headers = list_with_http_info(opts)
@@ -179,6 +180,7 @@ module PulpMavenClient
179
180
  # @option opts [Integer] :limit Number of results to return per page.
180
181
  # @option opts [Integer] :offset The initial index from which to return the results.
181
182
  # @option opts [String] :fields A list of fields to include in the response.
183
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
182
184
  # @return [Array<(InlineResponse2002, Integer, Hash)>] InlineResponse2002 data, response status code and response headers
183
185
  def list_with_http_info(opts = {})
184
186
  if @api_client.config.debugging
@@ -200,6 +202,7 @@ module PulpMavenClient
200
202
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
201
203
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
202
204
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
205
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
203
206
 
204
207
  # header parameters
205
208
  header_params = opts[:header_params] || {}
@@ -309,6 +312,7 @@ module PulpMavenClient
309
312
  # @param maven_remote_href [String] URI of Maven Remote. e.g.: /pulp/api/v3/remotes/maven/maven/1/
310
313
  # @param [Hash] opts the optional parameters
311
314
  # @option opts [String] :fields A list of fields to include in the response.
315
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
312
316
  # @return [MavenRemote]
313
317
  def read(maven_remote_href, opts = {})
314
318
  data, _status_code, _headers = read_with_http_info(maven_remote_href, opts)
@@ -320,6 +324,7 @@ module PulpMavenClient
320
324
  # @param maven_remote_href [String] URI of Maven Remote. e.g.: /pulp/api/v3/remotes/maven/maven/1/
321
325
  # @param [Hash] opts the optional parameters
322
326
  # @option opts [String] :fields A list of fields to include in the response.
327
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
323
328
  # @return [Array<(MavenRemote, Integer, Hash)>] MavenRemote data, response status code and response headers
324
329
  def read_with_http_info(maven_remote_href, opts = {})
325
330
  if @api_client.config.debugging
@@ -335,6 +340,7 @@ module PulpMavenClient
335
340
  # query parameters
336
341
  query_params = opts[:query_params] || {}
337
342
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
343
+ query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
338
344
 
339
345
  # header parameters
340
346
  header_params = opts[:header_params] || {}
@@ -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.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
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.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
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.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
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.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
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.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
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.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
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.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
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.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -22,10 +22,10 @@ module PulpMavenClient
22
22
  attr_accessor :_type
23
23
 
24
24
  # Artifact file representing the physical content
25
- attr_accessor :_artifact
25
+ attr_accessor :artifact
26
26
 
27
27
  # Path where the artifact is located relative to distributions base_path
28
- attr_accessor :_relative_path
28
+ attr_accessor :relative_path
29
29
 
30
30
  # Group Id of the artifact's package.
31
31
  attr_accessor :group_id
@@ -45,8 +45,8 @@ module PulpMavenClient
45
45
  :'_href' => :'_href',
46
46
  :'_created' => :'_created',
47
47
  :'_type' => :'_type',
48
- :'_artifact' => :'_artifact',
49
- :'_relative_path' => :'_relative_path',
48
+ :'artifact' => :'artifact',
49
+ :'relative_path' => :'relative_path',
50
50
  :'group_id' => :'group_id',
51
51
  :'artifact_id' => :'artifact_id',
52
52
  :'version' => :'version',
@@ -60,8 +60,8 @@ module PulpMavenClient
60
60
  :'_href' => :'String',
61
61
  :'_created' => :'DateTime',
62
62
  :'_type' => :'String',
63
- :'_artifact' => :'String',
64
- :'_relative_path' => :'String',
63
+ :'artifact' => :'String',
64
+ :'relative_path' => :'String',
65
65
  :'group_id' => :'String',
66
66
  :'artifact_id' => :'String',
67
67
  :'version' => :'String',
@@ -96,12 +96,12 @@ module PulpMavenClient
96
96
  self._type = attributes[:'_type']
97
97
  end
98
98
 
99
- if attributes.key?(:'_artifact')
100
- self._artifact = attributes[:'_artifact']
99
+ if attributes.key?(:'artifact')
100
+ self.artifact = attributes[:'artifact']
101
101
  end
102
102
 
103
- if attributes.key?(:'_relative_path')
104
- self._relative_path = attributes[:'_relative_path']
103
+ if attributes.key?(:'relative_path')
104
+ self.relative_path = attributes[:'relative_path']
105
105
  end
106
106
 
107
107
  if attributes.key?(:'group_id')
@@ -129,16 +129,16 @@ module PulpMavenClient
129
129
  invalid_properties.push('invalid value for "_type", the character length must be great than or equal to 1.')
130
130
  end
131
131
 
132
- if @_artifact.nil?
133
- invalid_properties.push('invalid value for "_artifact", _artifact cannot be nil.')
132
+ if @artifact.nil?
133
+ invalid_properties.push('invalid value for "artifact", artifact cannot be nil.')
134
134
  end
135
135
 
136
- if @_relative_path.nil?
137
- invalid_properties.push('invalid value for "_relative_path", _relative_path cannot be nil.')
136
+ if @relative_path.nil?
137
+ invalid_properties.push('invalid value for "relative_path", relative_path cannot be nil.')
138
138
  end
139
139
 
140
- if @_relative_path.to_s.length < 1
141
- invalid_properties.push('invalid value for "_relative_path", the character length must be great than or equal to 1.')
140
+ if @relative_path.to_s.length < 1
141
+ invalid_properties.push('invalid value for "relative_path", the character length must be great than or equal to 1.')
142
142
  end
143
143
 
144
144
  if !@group_id.nil? && @group_id.to_s.length < 1
@@ -164,9 +164,9 @@ module PulpMavenClient
164
164
  # @return true if the model is valid
165
165
  def valid?
166
166
  return false if !@_type.nil? && @_type.to_s.length < 1
167
- return false if @_artifact.nil?
168
- return false if @_relative_path.nil?
169
- return false if @_relative_path.to_s.length < 1
167
+ return false if @artifact.nil?
168
+ return false if @relative_path.nil?
169
+ return false if @relative_path.to_s.length < 1
170
170
  return false if !@group_id.nil? && @group_id.to_s.length < 1
171
171
  return false if !@artifact_id.nil? && @artifact_id.to_s.length < 1
172
172
  return false if !@version.nil? && @version.to_s.length < 1
@@ -185,17 +185,17 @@ module PulpMavenClient
185
185
  end
186
186
 
187
187
  # Custom attribute writer method with validation
188
- # @param [Object] _relative_path Value to be assigned
189
- def _relative_path=(_relative_path)
190
- if _relative_path.nil?
191
- fail ArgumentError, '_relative_path cannot be nil'
188
+ # @param [Object] relative_path Value to be assigned
189
+ def relative_path=(relative_path)
190
+ if relative_path.nil?
191
+ fail ArgumentError, 'relative_path cannot be nil'
192
192
  end
193
193
 
194
- if _relative_path.to_s.length < 1
195
- fail ArgumentError, 'invalid value for "_relative_path", the character length must be great than or equal to 1.'
194
+ if relative_path.to_s.length < 1
195
+ fail ArgumentError, 'invalid value for "relative_path", the character length must be great than or equal to 1.'
196
196
  end
197
197
 
198
- @_relative_path = _relative_path
198
+ @relative_path = relative_path
199
199
  end
200
200
 
201
201
  # Custom attribute writer method with validation
@@ -246,8 +246,8 @@ module PulpMavenClient
246
246
  _href == o._href &&
247
247
  _created == o._created &&
248
248
  _type == o._type &&
249
- _artifact == o._artifact &&
250
- _relative_path == o._relative_path &&
249
+ artifact == o.artifact &&
250
+ relative_path == o.relative_path &&
251
251
  group_id == o.group_id &&
252
252
  artifact_id == o.artifact_id &&
253
253
  version == o.version &&
@@ -263,7 +263,7 @@ module PulpMavenClient
263
263
  # Calculates hash code according to all attributes.
264
264
  # @return [Integer] Hash code
265
265
  def hash
266
- [_href, _created, _type, _artifact, _relative_path, group_id, artifact_id, version, filename].hash
266
+ [_href, _created, _type, artifact, relative_path, group_id, artifact_id, version, filename].hash
267
267
  end
268
268
 
269
269
  # 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.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
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.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,10 +6,10 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
13
13
  module PulpMavenClient
14
- VERSION = '0.1.0b3'
14
+ VERSION = '0.1.0b31570221045'
15
15
  end
@@ -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.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -8,7 +8,7 @@
8
8
  The version of the OpenAPI document: v3
9
9
 
10
10
  Generated by: https://openapi-generator.tech
11
- OpenAPI Generator version: 4.1.3-SNAPSHOT
11
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
12
12
 
13
13
  =end
14
14
 
@@ -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.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -58,6 +58,7 @@ describe 'ContentArtifactApi' do
58
58
  # @option opts [Integer] :limit Number of results to return per page.
59
59
  # @option opts [Integer] :offset The initial index from which to return the results.
60
60
  # @option opts [String] :fields A list of fields to include in the response.
61
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
61
62
  # @return [InlineResponse200]
62
63
  describe 'list test' do
63
64
  it 'should work' do
@@ -71,6 +72,7 @@ describe 'ContentArtifactApi' do
71
72
  # @param maven_artifact_href URI of Maven Artifact. e.g.: /pulp/api/v3/content/maven/artifact/1/
72
73
  # @param [Hash] opts the optional parameters
73
74
  # @option opts [String] :fields A list of fields to include in the response.
75
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
74
76
  # @return [MavenArtifact]
75
77
  describe 'read test' do
76
78
  it 'should work' do
@@ -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.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -69,6 +69,7 @@ describe 'DistributionsMavenApi' do
69
69
  # @option opts [Integer] :limit Number of results to return per page.
70
70
  # @option opts [Integer] :offset The initial index from which to return the results.
71
71
  # @option opts [String] :fields A list of fields to include in the response.
72
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
72
73
  # @return [InlineResponse2001]
73
74
  describe 'list test' do
74
75
  it 'should work' do
@@ -95,6 +96,7 @@ describe 'DistributionsMavenApi' do
95
96
  # @param maven_distribution_href URI of Maven Distribution. e.g.: /pulp/api/v3/distributions/maven/maven/1/
96
97
  # @param [Hash] opts the optional parameters
97
98
  # @option opts [String] :fields A list of fields to include in the response.
99
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
98
100
  # @return [MavenDistribution]
99
101
  describe 'read test' do
100
102
  it 'should work' do
@@ -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.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -71,6 +71,7 @@ describe 'RemotesMavenApi' do
71
71
  # @option opts [Integer] :limit Number of results to return per page.
72
72
  # @option opts [Integer] :offset The initial index from which to return the results.
73
73
  # @option opts [String] :fields A list of fields to include in the response.
74
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
74
75
  # @return [InlineResponse2002]
75
76
  describe 'list test' do
76
77
  it 'should work' do
@@ -97,6 +98,7 @@ describe 'RemotesMavenApi' do
97
98
  # @param maven_remote_href URI of Maven Remote. e.g.: /pulp/api/v3/remotes/maven/maven/1/
98
99
  # @param [Hash] opts the optional parameters
99
100
  # @option opts [String] :fields A list of fields to include in the response.
101
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
100
102
  # @return [MavenRemote]
101
103
  describe 'read test' do
102
104
  it 'should work' do
@@ -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.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -118,7 +118,7 @@ describe PulpMavenClient::ApiClient do
118
118
  end
119
119
 
120
120
  it 'fails for invalid collection format' do
121
- expect(proc { api_client.build_collection_param(param, :INVALID) }).to raise_error(RuntimeError, 'unknown collection format: :INVALID')
121
+ expect{api_client.build_collection_param(param, :INVALID)}.to raise_error(RuntimeError, 'unknown collection format: :INVALID')
122
122
  end
123
123
  end
124
124
 
@@ -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.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
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.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
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.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
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.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
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.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
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.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -50,13 +50,13 @@ describe 'MavenArtifact' do
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "_artifact"' do
53
+ describe 'test attribute "artifact"' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
57
57
  end
58
58
 
59
- describe 'test attribute "_relative_path"' do
59
+ describe 'test attribute "relative_path"' do
60
60
  it 'should work' do
61
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
62
  end
@@ -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.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
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.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
data/spec/spec_helper.rb CHANGED
@@ -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.1.3-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.0-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_maven_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0b3
4
+ version: 0.1.0b31570221045
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-11 00:00:00.000000000 Z
11
+ date: 2019-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday