pulp_maven_client 0.1.0b2 → 0.1.0b3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +22 -22
  3. data/docs/{ContentApi.md → ContentArtifactApi.md} +29 -23
  4. data/docs/{DistributionsApi.md → DistributionsMavenApi.md} +47 -41
  5. data/docs/InlineResponse200.md +3 -3
  6. data/docs/InlineResponse2001.md +3 -3
  7. data/docs/InlineResponse2002.md +3 -3
  8. data/docs/MavenRemote.md +3 -5
  9. data/docs/{RemotesApi.md → RemotesMavenApi.md} +47 -41
  10. data/git_push.sh +10 -7
  11. data/lib/pulp_maven_client/api/{content_api.rb → content_artifact_api.rb} +33 -27
  12. data/lib/pulp_maven_client/api/{distributions_api.rb → distributions_maven_api.rb} +56 -50
  13. data/lib/pulp_maven_client/api/{remotes_api.rb → remotes_maven_api.rb} +56 -50
  14. data/lib/pulp_maven_client/api_client.rb +77 -62
  15. data/lib/pulp_maven_client/api_error.rb +1 -1
  16. data/lib/pulp_maven_client/configuration.rb +13 -21
  17. data/lib/pulp_maven_client/models/async_operation_response.rb +1 -1
  18. data/lib/pulp_maven_client/models/inline_response200.rb +11 -11
  19. data/lib/pulp_maven_client/models/inline_response2001.rb +11 -11
  20. data/lib/pulp_maven_client/models/inline_response2002.rb +11 -11
  21. data/lib/pulp_maven_client/models/maven_artifact.rb +1 -1
  22. data/lib/pulp_maven_client/models/maven_distribution.rb +1 -1
  23. data/lib/pulp_maven_client/models/maven_remote.rb +7 -17
  24. data/lib/pulp_maven_client/version.rb +2 -2
  25. data/lib/pulp_maven_client.rb +4 -4
  26. data/pulp_maven_client.gemspec +3 -9
  27. data/spec/api/{content_api_spec.rb → content_artifact_api_spec.rb} +17 -15
  28. data/spec/api/{distributions_api_spec.rb → distributions_maven_api_spec.rb} +23 -21
  29. data/spec/api/{remotes_api_spec.rb → remotes_maven_api_spec.rb} +23 -21
  30. data/spec/api_client_spec.rb +1 -39
  31. data/spec/configuration_spec.rb +1 -1
  32. data/spec/models/async_operation_response_spec.rb +1 -1
  33. data/spec/models/inline_response2001_spec.rb +4 -4
  34. data/spec/models/inline_response2002_spec.rb +4 -4
  35. data/spec/models/inline_response200_spec.rb +4 -4
  36. data/spec/models/maven_artifact_spec.rb +1 -1
  37. data/spec/models/maven_distribution_spec.rb +1 -1
  38. data/spec/models/maven_remote_spec.rb +2 -8
  39. data/spec/spec_helper.rb +1 -1
  40. metadata +18 -145
  41. data/Gemfile.lock +0 -79
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 677996f42cafa0182f8ec2e26687488735d2b2d8224241d555ecd83f3bb2833f
4
- data.tar.gz: 4f35bfcc6388673b9ec9dd9a26744d9876e79936abcb6f61ad686345374bcafe
3
+ metadata.gz: 796e534251821e167625a4392688429349b85d2f58719cdeefd02942b2df3d9e
4
+ data.tar.gz: f0c531908558898a32125698bd06668a8825e3ea1d222266f73e43830c8cdf03
5
5
  SHA512:
6
- metadata.gz: d23bc78850fab1d88d2d3405e6a89b14751bf25e5baa20bb73e23cef3b23ca60adfcce6e399c45e234c3d9eae33fcde3c7557adde4da67e9b050800b2756500d
7
- data.tar.gz: 0ba5fd0135068f9c1e011678a5fb660b4c8b580bbd79b4f2a42b15e124e8877c88c47e6ba6ff25e7dc3a6c52d6cf594eb4af509f498ce96bb0f4e97c293e7928
6
+ metadata.gz: 3693c2910bf0446ff4bb0625c501198357d2b8b760b1820c6634ab861a565360247b0fa60cea81bcd7022c7afcd15860cd3ff2184b00be9c6ba85cbf8c485716
7
+ data.tar.gz: ba88653add2060ccfa99ad3d347c721ab5e73c2383ffa5553342b64be08bbd477508d11423d2baec02af93244742b03e0e85f8bae2b5a42ded832249dbbc1b64
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.0b2
10
+ - Package version: 0.1.0b3
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.0b2.gem
26
+ gem install ./pulp_maven_client-0.1.0b3.gem
27
27
  ```
28
28
 
29
- (for development, run `gem install --dev ./pulp_maven_client-0.1.0b2.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./pulp_maven_client-0.1.0b3.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.0b2'
35
+ gem 'pulp_maven_client', '~> 0.1.0b3'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -63,15 +63,15 @@ PulpMavenClient.configure do |config|
63
63
  config.password = 'YOUR_PASSWORD'
64
64
  end
65
65
 
66
- api_instance = PulpMavenClient::ContentApi.new
66
+ api_instance = PulpMavenClient::ContentArtifactApi.new
67
67
  data = PulpMavenClient::MavenArtifact.new # MavenArtifact |
68
68
 
69
69
  begin
70
70
  #Create a maven artifact
71
- result = api_instance.content_maven_artifact_create(data)
71
+ result = api_instance.create(data)
72
72
  p result
73
73
  rescue PulpMavenClient::ApiError => e
74
- puts "Exception when calling ContentApi->content_maven_artifact_create: #{e}"
74
+ puts "Exception when calling ContentArtifactApi->create: #{e}"
75
75
  end
76
76
 
77
77
  ```
@@ -82,21 +82,21 @@ All URIs are relative to *http://localhost:24817*
82
82
 
83
83
  Class | Method | HTTP request | Description
84
84
  ------------ | ------------- | ------------- | -------------
85
- *PulpMavenClient::ContentApi* | [**content_maven_artifact_create**](docs/ContentApi.md#content_maven_artifact_create) | **POST** /pulp/api/v3/content/maven/artifact/ | Create a maven artifact
86
- *PulpMavenClient::ContentApi* | [**content_maven_artifact_list**](docs/ContentApi.md#content_maven_artifact_list) | **GET** /pulp/api/v3/content/maven/artifact/ | List maven artifacts
87
- *PulpMavenClient::ContentApi* | [**content_maven_artifact_read**](docs/ContentApi.md#content_maven_artifact_read) | **GET** {maven_artifact_href} | Inspect a maven artifact
88
- *PulpMavenClient::DistributionsApi* | [**distributions_maven_maven_create**](docs/DistributionsApi.md#distributions_maven_maven_create) | **POST** /pulp/api/v3/distributions/maven/maven/ | Create a maven distribution
89
- *PulpMavenClient::DistributionsApi* | [**distributions_maven_maven_delete**](docs/DistributionsApi.md#distributions_maven_maven_delete) | **DELETE** {maven_distribution_href} | Delete a maven distribution
90
- *PulpMavenClient::DistributionsApi* | [**distributions_maven_maven_list**](docs/DistributionsApi.md#distributions_maven_maven_list) | **GET** /pulp/api/v3/distributions/maven/maven/ | List maven distributions
91
- *PulpMavenClient::DistributionsApi* | [**distributions_maven_maven_partial_update**](docs/DistributionsApi.md#distributions_maven_maven_partial_update) | **PATCH** {maven_distribution_href} | Partially update a maven distribution
92
- *PulpMavenClient::DistributionsApi* | [**distributions_maven_maven_read**](docs/DistributionsApi.md#distributions_maven_maven_read) | **GET** {maven_distribution_href} | Inspect a maven distribution
93
- *PulpMavenClient::DistributionsApi* | [**distributions_maven_maven_update**](docs/DistributionsApi.md#distributions_maven_maven_update) | **PUT** {maven_distribution_href} | Update a maven distribution
94
- *PulpMavenClient::RemotesApi* | [**remotes_maven_maven_create**](docs/RemotesApi.md#remotes_maven_maven_create) | **POST** /pulp/api/v3/remotes/maven/maven/ | Create a maven remote
95
- *PulpMavenClient::RemotesApi* | [**remotes_maven_maven_delete**](docs/RemotesApi.md#remotes_maven_maven_delete) | **DELETE** {maven_remote_href} | Delete a maven remote
96
- *PulpMavenClient::RemotesApi* | [**remotes_maven_maven_list**](docs/RemotesApi.md#remotes_maven_maven_list) | **GET** /pulp/api/v3/remotes/maven/maven/ | List maven remotes
97
- *PulpMavenClient::RemotesApi* | [**remotes_maven_maven_partial_update**](docs/RemotesApi.md#remotes_maven_maven_partial_update) | **PATCH** {maven_remote_href} | Partially update a maven remote
98
- *PulpMavenClient::RemotesApi* | [**remotes_maven_maven_read**](docs/RemotesApi.md#remotes_maven_maven_read) | **GET** {maven_remote_href} | Inspect a maven remote
99
- *PulpMavenClient::RemotesApi* | [**remotes_maven_maven_update**](docs/RemotesApi.md#remotes_maven_maven_update) | **PUT** {maven_remote_href} | Update a maven remote
85
+ *PulpMavenClient::ContentArtifactApi* | [**create**](docs/ContentArtifactApi.md#create) | **POST** /pulp/api/v3/content/maven/artifact/ | Create a maven artifact
86
+ *PulpMavenClient::ContentArtifactApi* | [**list**](docs/ContentArtifactApi.md#list) | **GET** /pulp/api/v3/content/maven/artifact/ | List maven artifacts
87
+ *PulpMavenClient::ContentArtifactApi* | [**read**](docs/ContentArtifactApi.md#read) | **GET** {maven_artifact_href} | Inspect a maven artifact
88
+ *PulpMavenClient::DistributionsMavenApi* | [**create**](docs/DistributionsMavenApi.md#create) | **POST** /pulp/api/v3/distributions/maven/maven/ | Create a maven distribution
89
+ *PulpMavenClient::DistributionsMavenApi* | [**delete**](docs/DistributionsMavenApi.md#delete) | **DELETE** {maven_distribution_href} | Delete a maven distribution
90
+ *PulpMavenClient::DistributionsMavenApi* | [**list**](docs/DistributionsMavenApi.md#list) | **GET** /pulp/api/v3/distributions/maven/maven/ | List maven distributions
91
+ *PulpMavenClient::DistributionsMavenApi* | [**partial_update**](docs/DistributionsMavenApi.md#partial_update) | **PATCH** {maven_distribution_href} | Partially update a maven distribution
92
+ *PulpMavenClient::DistributionsMavenApi* | [**read**](docs/DistributionsMavenApi.md#read) | **GET** {maven_distribution_href} | Inspect a maven distribution
93
+ *PulpMavenClient::DistributionsMavenApi* | [**update**](docs/DistributionsMavenApi.md#update) | **PUT** {maven_distribution_href} | Update a maven distribution
94
+ *PulpMavenClient::RemotesMavenApi* | [**create**](docs/RemotesMavenApi.md#create) | **POST** /pulp/api/v3/remotes/maven/maven/ | Create a maven remote
95
+ *PulpMavenClient::RemotesMavenApi* | [**delete**](docs/RemotesMavenApi.md#delete) | **DELETE** {maven_remote_href} | Delete a maven remote
96
+ *PulpMavenClient::RemotesMavenApi* | [**list**](docs/RemotesMavenApi.md#list) | **GET** /pulp/api/v3/remotes/maven/maven/ | List maven remotes
97
+ *PulpMavenClient::RemotesMavenApi* | [**partial_update**](docs/RemotesMavenApi.md#partial_update) | **PATCH** {maven_remote_href} | Partially update a maven remote
98
+ *PulpMavenClient::RemotesMavenApi* | [**read**](docs/RemotesMavenApi.md#read) | **GET** {maven_remote_href} | Inspect a maven remote
99
+ *PulpMavenClient::RemotesMavenApi* | [**update**](docs/RemotesMavenApi.md#update) | **PUT** {maven_remote_href} | Update a maven remote
100
100
 
101
101
 
102
102
  ## Documentation for Models
@@ -1,18 +1,18 @@
1
- # PulpMavenClient::ContentApi
1
+ # PulpMavenClient::ContentArtifactApi
2
2
 
3
3
  All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**content_maven_artifact_create**](ContentApi.md#content_maven_artifact_create) | **POST** /pulp/api/v3/content/maven/artifact/ | Create a maven artifact
8
- [**content_maven_artifact_list**](ContentApi.md#content_maven_artifact_list) | **GET** /pulp/api/v3/content/maven/artifact/ | List maven artifacts
9
- [**content_maven_artifact_read**](ContentApi.md#content_maven_artifact_read) | **GET** {maven_artifact_href} | Inspect a maven artifact
7
+ [**create**](ContentArtifactApi.md#create) | **POST** /pulp/api/v3/content/maven/artifact/ | Create a maven artifact
8
+ [**list**](ContentArtifactApi.md#list) | **GET** /pulp/api/v3/content/maven/artifact/ | List maven artifacts
9
+ [**read**](ContentArtifactApi.md#read) | **GET** {maven_artifact_href} | Inspect a maven artifact
10
10
 
11
11
 
12
12
 
13
- ## content_maven_artifact_create
13
+ ## create
14
14
 
15
- > MavenArtifact content_maven_artifact_create(data)
15
+ > MavenArtifact create(data)
16
16
 
17
17
  Create a maven artifact
18
18
 
@@ -30,15 +30,15 @@ PulpMavenClient.configure do |config|
30
30
  config.password = 'YOUR PASSWORD'
31
31
  end
32
32
 
33
- api_instance = PulpMavenClient::ContentApi.new
33
+ api_instance = PulpMavenClient::ContentArtifactApi.new
34
34
  data = PulpMavenClient::MavenArtifact.new # MavenArtifact |
35
35
 
36
36
  begin
37
37
  #Create a maven artifact
38
- result = api_instance.content_maven_artifact_create(data)
38
+ result = api_instance.create(data)
39
39
  p result
40
40
  rescue PulpMavenClient::ApiError => e
41
- puts "Exception when calling ContentApi->content_maven_artifact_create: #{e}"
41
+ puts "Exception when calling ContentArtifactApi->create: #{e}"
42
42
  end
43
43
  ```
44
44
 
@@ -63,9 +63,9 @@ Name | Type | Description | Notes
63
63
  - **Accept**: application/json
64
64
 
65
65
 
66
- ## content_maven_artifact_list
66
+ ## list
67
67
 
68
- > InlineResponse200 content_maven_artifact_list(opts)
68
+ > InlineResponse200 list(opts)
69
69
 
70
70
  List maven artifacts
71
71
 
@@ -83,7 +83,7 @@ PulpMavenClient.configure do |config|
83
83
  config.password = 'YOUR PASSWORD'
84
84
  end
85
85
 
86
- api_instance = PulpMavenClient::ContentApi.new
86
+ api_instance = PulpMavenClient::ContentArtifactApi.new
87
87
  opts = {
88
88
  group_id: 'group_id_example', # String | Filter results where group_id matches value
89
89
  artifact_id: 'artifact_id_example', # String | Filter results where artifact_id matches value
@@ -92,16 +92,17 @@ opts = {
92
92
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
93
93
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
94
94
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
95
- page: 56, # Integer | A page number within the paginated result set.
96
- page_size: 56 # Integer | Number of results to return per page.
95
+ limit: 56, # Integer | Number of results to return per page.
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
98
  }
98
99
 
99
100
  begin
100
101
  #List maven artifacts
101
- result = api_instance.content_maven_artifact_list(opts)
102
+ result = api_instance.list(opts)
102
103
  p result
103
104
  rescue PulpMavenClient::ApiError => e
104
- puts "Exception when calling ContentApi->content_maven_artifact_list: #{e}"
105
+ puts "Exception when calling ContentArtifactApi->list: #{e}"
105
106
  end
106
107
  ```
107
108
 
@@ -117,8 +118,9 @@ Name | Type | Description | Notes
117
118
  **repository_version** | **String**| Repository Version referenced by HREF | [optional]
118
119
  **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
119
120
  **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
120
- **page** | **Integer**| A page number within the paginated result set. | [optional]
121
- **page_size** | **Integer**| Number of results to return per page. | [optional]
121
+ **limit** | **Integer**| Number of results to return per page. | [optional]
122
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
123
+ **fields** | **String**| A list of fields to include in the response. | [optional]
122
124
 
123
125
  ### Return type
124
126
 
@@ -134,9 +136,9 @@ Name | Type | Description | Notes
134
136
  - **Accept**: application/json
135
137
 
136
138
 
137
- ## content_maven_artifact_read
139
+ ## read
138
140
 
139
- > MavenArtifact content_maven_artifact_read(maven_artifact_href)
141
+ > MavenArtifact read(maven_artifact_href, opts)
140
142
 
141
143
  Inspect a maven artifact
142
144
 
@@ -154,15 +156,18 @@ PulpMavenClient.configure do |config|
154
156
  config.password = 'YOUR PASSWORD'
155
157
  end
156
158
 
157
- api_instance = PulpMavenClient::ContentApi.new
159
+ api_instance = PulpMavenClient::ContentArtifactApi.new
158
160
  maven_artifact_href = 'maven_artifact_href_example' # String | URI of Maven Artifact. e.g.: /pulp/api/v3/content/maven/artifact/1/
161
+ opts = {
162
+ fields: 'fields_example' # String | A list of fields to include in the response.
163
+ }
159
164
 
160
165
  begin
161
166
  #Inspect a maven artifact
162
- result = api_instance.content_maven_artifact_read(maven_artifact_href)
167
+ result = api_instance.read(maven_artifact_href, opts)
163
168
  p result
164
169
  rescue PulpMavenClient::ApiError => e
165
- puts "Exception when calling ContentApi->content_maven_artifact_read: #{e}"
170
+ puts "Exception when calling ContentArtifactApi->read: #{e}"
166
171
  end
167
172
  ```
168
173
 
@@ -172,6 +177,7 @@ end
172
177
  Name | Type | Description | Notes
173
178
  ------------- | ------------- | ------------- | -------------
174
179
  **maven_artifact_href** | **String**| URI of Maven Artifact. e.g.: /pulp/api/v3/content/maven/artifact/1/ |
180
+ **fields** | **String**| A list of fields to include in the response. | [optional]
175
181
 
176
182
  ### Return type
177
183
 
@@ -1,21 +1,21 @@
1
- # PulpMavenClient::DistributionsApi
1
+ # PulpMavenClient::DistributionsMavenApi
2
2
 
3
3
  All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**distributions_maven_maven_create**](DistributionsApi.md#distributions_maven_maven_create) | **POST** /pulp/api/v3/distributions/maven/maven/ | Create a maven distribution
8
- [**distributions_maven_maven_delete**](DistributionsApi.md#distributions_maven_maven_delete) | **DELETE** {maven_distribution_href} | Delete a maven distribution
9
- [**distributions_maven_maven_list**](DistributionsApi.md#distributions_maven_maven_list) | **GET** /pulp/api/v3/distributions/maven/maven/ | List maven distributions
10
- [**distributions_maven_maven_partial_update**](DistributionsApi.md#distributions_maven_maven_partial_update) | **PATCH** {maven_distribution_href} | Partially update a maven distribution
11
- [**distributions_maven_maven_read**](DistributionsApi.md#distributions_maven_maven_read) | **GET** {maven_distribution_href} | Inspect a maven distribution
12
- [**distributions_maven_maven_update**](DistributionsApi.md#distributions_maven_maven_update) | **PUT** {maven_distribution_href} | Update a maven distribution
7
+ [**create**](DistributionsMavenApi.md#create) | **POST** /pulp/api/v3/distributions/maven/maven/ | Create a maven distribution
8
+ [**delete**](DistributionsMavenApi.md#delete) | **DELETE** {maven_distribution_href} | Delete a maven distribution
9
+ [**list**](DistributionsMavenApi.md#list) | **GET** /pulp/api/v3/distributions/maven/maven/ | List maven distributions
10
+ [**partial_update**](DistributionsMavenApi.md#partial_update) | **PATCH** {maven_distribution_href} | Partially update a maven distribution
11
+ [**read**](DistributionsMavenApi.md#read) | **GET** {maven_distribution_href} | Inspect a maven distribution
12
+ [**update**](DistributionsMavenApi.md#update) | **PUT** {maven_distribution_href} | Update a maven distribution
13
13
 
14
14
 
15
15
 
16
- ## distributions_maven_maven_create
16
+ ## create
17
17
 
18
- > AsyncOperationResponse distributions_maven_maven_create(data)
18
+ > AsyncOperationResponse create(data)
19
19
 
20
20
  Create a maven distribution
21
21
 
@@ -33,15 +33,15 @@ PulpMavenClient.configure do |config|
33
33
  config.password = 'YOUR PASSWORD'
34
34
  end
35
35
 
36
- api_instance = PulpMavenClient::DistributionsApi.new
36
+ api_instance = PulpMavenClient::DistributionsMavenApi.new
37
37
  data = PulpMavenClient::MavenDistribution.new # MavenDistribution |
38
38
 
39
39
  begin
40
40
  #Create a maven distribution
41
- result = api_instance.distributions_maven_maven_create(data)
41
+ result = api_instance.create(data)
42
42
  p result
43
43
  rescue PulpMavenClient::ApiError => e
44
- puts "Exception when calling DistributionsApi->distributions_maven_maven_create: #{e}"
44
+ puts "Exception when calling DistributionsMavenApi->create: #{e}"
45
45
  end
46
46
  ```
47
47
 
@@ -66,9 +66,9 @@ Name | Type | Description | Notes
66
66
  - **Accept**: application/json
67
67
 
68
68
 
69
- ## distributions_maven_maven_delete
69
+ ## delete
70
70
 
71
- > AsyncOperationResponse distributions_maven_maven_delete(maven_distribution_href)
71
+ > AsyncOperationResponse delete(maven_distribution_href)
72
72
 
73
73
  Delete a maven distribution
74
74
 
@@ -86,15 +86,15 @@ PulpMavenClient.configure do |config|
86
86
  config.password = 'YOUR PASSWORD'
87
87
  end
88
88
 
89
- api_instance = PulpMavenClient::DistributionsApi.new
89
+ api_instance = PulpMavenClient::DistributionsMavenApi.new
90
90
  maven_distribution_href = 'maven_distribution_href_example' # String | URI of Maven Distribution. e.g.: /pulp/api/v3/distributions/maven/maven/1/
91
91
 
92
92
  begin
93
93
  #Delete a maven distribution
94
- result = api_instance.distributions_maven_maven_delete(maven_distribution_href)
94
+ result = api_instance.delete(maven_distribution_href)
95
95
  p result
96
96
  rescue PulpMavenClient::ApiError => e
97
- puts "Exception when calling DistributionsApi->distributions_maven_maven_delete: #{e}"
97
+ puts "Exception when calling DistributionsMavenApi->delete: #{e}"
98
98
  end
99
99
  ```
100
100
 
@@ -119,9 +119,9 @@ Name | Type | Description | Notes
119
119
  - **Accept**: application/json
120
120
 
121
121
 
122
- ## distributions_maven_maven_list
122
+ ## list
123
123
 
124
- > InlineResponse2001 distributions_maven_maven_list(opts)
124
+ > InlineResponse2001 list(opts)
125
125
 
126
126
  List maven distributions
127
127
 
@@ -139,7 +139,7 @@ PulpMavenClient.configure do |config|
139
139
  config.password = 'YOUR PASSWORD'
140
140
  end
141
141
 
142
- api_instance = PulpMavenClient::DistributionsApi.new
142
+ api_instance = PulpMavenClient::DistributionsMavenApi.new
143
143
  opts = {
144
144
  name: 'name_example', # String |
145
145
  name__in: 'name__in_example', # String | Filter results where name is in a comma-separated list of values
@@ -147,16 +147,17 @@ opts = {
147
147
  base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
148
148
  base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
149
149
  base_path__in: 'base_path__in_example', # String | Filter results where base_path is in a comma-separated list of values
150
- page: 56, # Integer | A page number within the paginated result set.
151
- page_size: 56 # Integer | Number of results to return per page.
150
+ limit: 56, # Integer | Number of results to return per page.
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
153
  }
153
154
 
154
155
  begin
155
156
  #List maven distributions
156
- result = api_instance.distributions_maven_maven_list(opts)
157
+ result = api_instance.list(opts)
157
158
  p result
158
159
  rescue PulpMavenClient::ApiError => e
159
- puts "Exception when calling DistributionsApi->distributions_maven_maven_list: #{e}"
160
+ puts "Exception when calling DistributionsMavenApi->list: #{e}"
160
161
  end
161
162
  ```
162
163
 
@@ -171,8 +172,9 @@ Name | Type | Description | Notes
171
172
  **base_path__contains** | **String**| Filter results where base_path contains value | [optional]
172
173
  **base_path__icontains** | **String**| Filter results where base_path contains value | [optional]
173
174
  **base_path__in** | **String**| Filter results where base_path is in a comma-separated list of values | [optional]
174
- **page** | **Integer**| A page number within the paginated result set. | [optional]
175
- **page_size** | **Integer**| Number of results to return per page. | [optional]
175
+ **limit** | **Integer**| Number of results to return per page. | [optional]
176
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
177
+ **fields** | **String**| A list of fields to include in the response. | [optional]
176
178
 
177
179
  ### Return type
178
180
 
@@ -188,9 +190,9 @@ Name | Type | Description | Notes
188
190
  - **Accept**: application/json
189
191
 
190
192
 
191
- ## distributions_maven_maven_partial_update
193
+ ## partial_update
192
194
 
193
- > AsyncOperationResponse distributions_maven_maven_partial_update(maven_distribution_href, data)
195
+ > AsyncOperationResponse partial_update(maven_distribution_href, data)
194
196
 
195
197
  Partially update a maven distribution
196
198
 
@@ -208,16 +210,16 @@ PulpMavenClient.configure do |config|
208
210
  config.password = 'YOUR PASSWORD'
209
211
  end
210
212
 
211
- api_instance = PulpMavenClient::DistributionsApi.new
213
+ api_instance = PulpMavenClient::DistributionsMavenApi.new
212
214
  maven_distribution_href = 'maven_distribution_href_example' # String | URI of Maven Distribution. e.g.: /pulp/api/v3/distributions/maven/maven/1/
213
215
  data = PulpMavenClient::MavenDistribution.new # MavenDistribution |
214
216
 
215
217
  begin
216
218
  #Partially update a maven distribution
217
- result = api_instance.distributions_maven_maven_partial_update(maven_distribution_href, data)
219
+ result = api_instance.partial_update(maven_distribution_href, data)
218
220
  p result
219
221
  rescue PulpMavenClient::ApiError => e
220
- puts "Exception when calling DistributionsApi->distributions_maven_maven_partial_update: #{e}"
222
+ puts "Exception when calling DistributionsMavenApi->partial_update: #{e}"
221
223
  end
222
224
  ```
223
225
 
@@ -243,9 +245,9 @@ Name | Type | Description | Notes
243
245
  - **Accept**: application/json
244
246
 
245
247
 
246
- ## distributions_maven_maven_read
248
+ ## read
247
249
 
248
- > MavenDistribution distributions_maven_maven_read(maven_distribution_href)
250
+ > MavenDistribution read(maven_distribution_href, opts)
249
251
 
250
252
  Inspect a maven distribution
251
253
 
@@ -263,15 +265,18 @@ PulpMavenClient.configure do |config|
263
265
  config.password = 'YOUR PASSWORD'
264
266
  end
265
267
 
266
- api_instance = PulpMavenClient::DistributionsApi.new
268
+ api_instance = PulpMavenClient::DistributionsMavenApi.new
267
269
  maven_distribution_href = 'maven_distribution_href_example' # String | URI of Maven Distribution. e.g.: /pulp/api/v3/distributions/maven/maven/1/
270
+ opts = {
271
+ fields: 'fields_example' # String | A list of fields to include in the response.
272
+ }
268
273
 
269
274
  begin
270
275
  #Inspect a maven distribution
271
- result = api_instance.distributions_maven_maven_read(maven_distribution_href)
276
+ result = api_instance.read(maven_distribution_href, opts)
272
277
  p result
273
278
  rescue PulpMavenClient::ApiError => e
274
- puts "Exception when calling DistributionsApi->distributions_maven_maven_read: #{e}"
279
+ puts "Exception when calling DistributionsMavenApi->read: #{e}"
275
280
  end
276
281
  ```
277
282
 
@@ -281,6 +286,7 @@ end
281
286
  Name | Type | Description | Notes
282
287
  ------------- | ------------- | ------------- | -------------
283
288
  **maven_distribution_href** | **String**| URI of Maven Distribution. e.g.: /pulp/api/v3/distributions/maven/maven/1/ |
289
+ **fields** | **String**| A list of fields to include in the response. | [optional]
284
290
 
285
291
  ### Return type
286
292
 
@@ -296,9 +302,9 @@ Name | Type | Description | Notes
296
302
  - **Accept**: application/json
297
303
 
298
304
 
299
- ## distributions_maven_maven_update
305
+ ## update
300
306
 
301
- > AsyncOperationResponse distributions_maven_maven_update(maven_distribution_href, data)
307
+ > AsyncOperationResponse update(maven_distribution_href, data)
302
308
 
303
309
  Update a maven distribution
304
310
 
@@ -316,16 +322,16 @@ PulpMavenClient.configure do |config|
316
322
  config.password = 'YOUR PASSWORD'
317
323
  end
318
324
 
319
- api_instance = PulpMavenClient::DistributionsApi.new
325
+ api_instance = PulpMavenClient::DistributionsMavenApi.new
320
326
  maven_distribution_href = 'maven_distribution_href_example' # String | URI of Maven Distribution. e.g.: /pulp/api/v3/distributions/maven/maven/1/
321
327
  data = PulpMavenClient::MavenDistribution.new # MavenDistribution |
322
328
 
323
329
  begin
324
330
  #Update a maven distribution
325
- result = api_instance.distributions_maven_maven_update(maven_distribution_href, data)
331
+ result = api_instance.update(maven_distribution_href, data)
326
332
  p result
327
333
  rescue PulpMavenClient::ApiError => e
328
- puts "Exception when calling DistributionsApi->distributions_maven_maven_update: #{e}"
334
+ puts "Exception when calling DistributionsMavenApi->update: #{e}"
329
335
  end
330
336
  ```
331
337
 
@@ -4,9 +4,9 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
+ **count** | **Integer** | |
7
8
  **_next** | **String** | | [optional]
8
9
  **previous** | **String** | | [optional]
9
- **count** | **Integer** | |
10
10
  **results** | [**Array<MavenArtifact>**](MavenArtifact.md) | |
11
11
 
12
12
  ## Code Sample
@@ -14,9 +14,9 @@ Name | Type | Description | Notes
14
14
  ```ruby
15
15
  require 'PulpMavenClient'
16
16
 
17
- instance = PulpMavenClient::InlineResponse200.new(_next: null,
17
+ instance = PulpMavenClient::InlineResponse200.new(count: null,
18
+ _next: null,
18
19
  previous: null,
19
- count: null,
20
20
  results: null)
21
21
  ```
22
22
 
@@ -4,9 +4,9 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
+ **count** | **Integer** | |
7
8
  **_next** | **String** | | [optional]
8
9
  **previous** | **String** | | [optional]
9
- **count** | **Integer** | |
10
10
  **results** | [**Array<MavenDistribution>**](MavenDistribution.md) | |
11
11
 
12
12
  ## Code Sample
@@ -14,9 +14,9 @@ Name | Type | Description | Notes
14
14
  ```ruby
15
15
  require 'PulpMavenClient'
16
16
 
17
- instance = PulpMavenClient::InlineResponse2001.new(_next: null,
17
+ instance = PulpMavenClient::InlineResponse2001.new(count: null,
18
+ _next: null,
18
19
  previous: null,
19
- count: null,
20
20
  results: null)
21
21
  ```
22
22
 
@@ -4,9 +4,9 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
+ **count** | **Integer** | |
7
8
  **_next** | **String** | | [optional]
8
9
  **previous** | **String** | | [optional]
9
- **count** | **Integer** | |
10
10
  **results** | [**Array<MavenRemote>**](MavenRemote.md) | |
11
11
 
12
12
  ## Code Sample
@@ -14,9 +14,9 @@ Name | Type | Description | Notes
14
14
  ```ruby
15
15
  require 'PulpMavenClient'
16
16
 
17
- instance = PulpMavenClient::InlineResponse2002.new(_next: null,
17
+ instance = PulpMavenClient::InlineResponse2002.new(count: null,
18
+ _next: null,
18
19
  previous: null,
19
- count: null,
20
20
  results: null)
21
21
  ```
22
22
 
data/docs/MavenRemote.md CHANGED
@@ -9,9 +9,8 @@ Name | Type | Description | Notes
9
9
  **_type** | **String** | | [optional]
10
10
  **name** | **String** | A unique name for this remote. |
11
11
  **url** | **String** | The URL of an external content source. |
12
- **validate** | **Boolean** | If True, the plugin will validate imported artifacts. | [optional]
13
- **ssl_ca_certificate** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. Returns SHA256 sum on GET. | [optional]
14
- **ssl_client_certificate** | **String** | A PEM encoded client certificate used for authentication. Returns SHA256 sum on GET. | [optional]
12
+ **ssl_ca_certificate** | **String** | 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. | [optional]
13
+ **ssl_client_certificate** | **String** | A string containing the PEM encoded client certificate used for authentication. All new line characters must be escaped. Returns SHA256 sum on GET. | [optional]
15
14
  **ssl_client_key** | **String** | A PEM encoded private key used for authentication. Returns SHA256 sum on GET. | [optional]
16
15
  **ssl_validation** | **Boolean** | If True, SSL peer validation must be performed. | [optional]
17
16
  **proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
@@ -19,7 +18,7 @@ Name | Type | Description | Notes
19
18
  **password** | **String** | The password to be used for authentication when syncing. | [optional]
20
19
  **_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional]
21
20
  **download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
22
- **policy** | **String** | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'cache_only'. 'immediate' is the default. | [optional] [default to 'immediate']
21
+ **policy** | **String** | The policy to use when downloading content. | [optional] [default to 'immediate']
23
22
 
24
23
  ## Code Sample
25
24
 
@@ -31,7 +30,6 @@ instance = PulpMavenClient::MavenRemote.new(_href: null,
31
30
  _type: null,
32
31
  name: null,
33
32
  url: null,
34
- validate: null,
35
33
  ssl_ca_certificate: null,
36
34
  ssl_client_certificate: null,
37
35
  ssl_client_key: null,