pulp_rpm_client 3.0.0b4.dev0.1561479614 → 3.0.0b4.dev0.1561651989
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pulp_rpm_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +29 -29
- data/docs/ContentAdvisoriesApi.md +15 -15
- data/docs/ContentPackagesApi.md +15 -15
- data/docs/DistributionsRpmApi.md +30 -30
- data/docs/Package.md +5 -5
- data/docs/PublicationsRpmApi.md +20 -20
- data/docs/RemotesRpmApi.md +35 -35
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +17 -17
- data/lib/pulp_rpm_client/api/content_packages_api.rb +17 -17
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +37 -37
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +23 -23
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +44 -44
- data/lib/pulp_rpm_client/models/package.rb +25 -25
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/spec/api/content_advisories_api_spec.rb +6 -6
- data/spec/api/content_packages_api_spec.rb +6 -6
- data/spec/api/distributions_rpm_api_spec.rb +12 -12
- data/spec/api/publications_rpm_api_spec.rb +8 -8
- data/spec/api/remotes_rpm_api_spec.rb +14 -14
- data/spec/models/package_spec.rb +4 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb7c773a3ef4e1506cc8c932a9f760d056639c79a5d8e4825c1b3c6c3d0fcd80
|
4
|
+
data.tar.gz: 2e8ed59d9f835870c32891a19fdf5f029b61178d3de0ac19beb5521bb38f02f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4d32bd49bd9c464bb1227fcec58b2458d47af5b5fec9072768ef43eecde5e2e925346ec4c5aa8ba9039ddf5bde3f21e60690f7c1080ad6de0d5b77639d3579e
|
7
|
+
data.tar.gz: 0df64f6a9dd030277452963f0ca0d377178b3b9747b4403ddd40bc87bbafb06057577af1eb4bb9226d110eab29653c8b0aeb83e6613ebbef8c910b27864d1ed8
|
data/Gemfile.lock
CHANGED
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: 3.0.0b4.dev0.
|
10
|
+
- Package version: 3.0.0b4.dev0.1561651989
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
|
13
13
|
## Installation
|
@@ -23,16 +23,16 @@ gem build pulp_rpm_client.gemspec
|
|
23
23
|
Then either install the gem locally:
|
24
24
|
|
25
25
|
```shell
|
26
|
-
gem install ./pulp_rpm_client-3.0.0b4.dev0.
|
26
|
+
gem install ./pulp_rpm_client-3.0.0b4.dev0.1561651989.gem
|
27
27
|
```
|
28
28
|
|
29
|
-
(for development, run `gem install --dev ./pulp_rpm_client-3.0.0b4.dev0.
|
29
|
+
(for development, run `gem install --dev ./pulp_rpm_client-3.0.0b4.dev0.1561651989.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_rpm_client', '~> 3.0.0b4.dev0.
|
35
|
+
gem 'pulp_rpm_client', '~> 3.0.0b4.dev0.1561651989'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -68,10 +68,10 @@ data = PulpRpmClient::UpdateRecord.new # UpdateRecord |
|
|
68
68
|
|
69
69
|
begin
|
70
70
|
#Create an update record
|
71
|
-
result = api_instance.
|
71
|
+
result = api_instance.create(data)
|
72
72
|
p result
|
73
73
|
rescue PulpRpmClient::ApiError => e
|
74
|
-
puts "Exception when calling ContentAdvisoriesApi->
|
74
|
+
puts "Exception when calling ContentAdvisoriesApi->create: #{e}"
|
75
75
|
end
|
76
76
|
|
77
77
|
```
|
@@ -82,29 +82,29 @@ All URIs are relative to *http://localhost:24817*
|
|
82
82
|
|
83
83
|
Class | Method | HTTP request | Description
|
84
84
|
------------ | ------------- | ------------- | -------------
|
85
|
-
*PulpRpmClient::ContentAdvisoriesApi* | [**
|
86
|
-
*PulpRpmClient::ContentAdvisoriesApi* | [**
|
87
|
-
*PulpRpmClient::ContentAdvisoriesApi* | [**
|
88
|
-
*PulpRpmClient::ContentPackagesApi* | [**
|
89
|
-
*PulpRpmClient::ContentPackagesApi* | [**
|
90
|
-
*PulpRpmClient::ContentPackagesApi* | [**
|
91
|
-
*PulpRpmClient::DistributionsRpmApi* | [**
|
92
|
-
*PulpRpmClient::DistributionsRpmApi* | [**
|
93
|
-
*PulpRpmClient::DistributionsRpmApi* | [**
|
94
|
-
*PulpRpmClient::DistributionsRpmApi* | [**
|
95
|
-
*PulpRpmClient::DistributionsRpmApi* | [**
|
96
|
-
*PulpRpmClient::DistributionsRpmApi* | [**
|
97
|
-
*PulpRpmClient::PublicationsRpmApi* | [**
|
98
|
-
*PulpRpmClient::PublicationsRpmApi* | [**
|
99
|
-
*PulpRpmClient::PublicationsRpmApi* | [**
|
100
|
-
*PulpRpmClient::PublicationsRpmApi* | [**
|
101
|
-
*PulpRpmClient::RemotesRpmApi* | [**
|
102
|
-
*PulpRpmClient::RemotesRpmApi* | [**
|
103
|
-
*PulpRpmClient::RemotesRpmApi* | [**
|
104
|
-
*PulpRpmClient::RemotesRpmApi* | [**
|
105
|
-
*PulpRpmClient::RemotesRpmApi* | [**
|
106
|
-
*PulpRpmClient::RemotesRpmApi* | [**
|
107
|
-
*PulpRpmClient::RemotesRpmApi* | [**
|
85
|
+
*PulpRpmClient::ContentAdvisoriesApi* | [**create**](docs/ContentAdvisoriesApi.md#create) | **POST** /pulp/api/v3/content/rpm/advisories/ | Create an update record
|
86
|
+
*PulpRpmClient::ContentAdvisoriesApi* | [**list**](docs/ContentAdvisoriesApi.md#list) | **GET** /pulp/api/v3/content/rpm/advisories/ | List update records
|
87
|
+
*PulpRpmClient::ContentAdvisoriesApi* | [**read**](docs/ContentAdvisoriesApi.md#read) | **GET** {update_record_href} | Inspect an update record
|
88
|
+
*PulpRpmClient::ContentPackagesApi* | [**create**](docs/ContentPackagesApi.md#create) | **POST** /pulp/api/v3/content/rpm/packages/ | Create a package
|
89
|
+
*PulpRpmClient::ContentPackagesApi* | [**list**](docs/ContentPackagesApi.md#list) | **GET** /pulp/api/v3/content/rpm/packages/ | List packages
|
90
|
+
*PulpRpmClient::ContentPackagesApi* | [**read**](docs/ContentPackagesApi.md#read) | **GET** {package_href} | Inspect a package
|
91
|
+
*PulpRpmClient::DistributionsRpmApi* | [**create**](docs/DistributionsRpmApi.md#create) | **POST** /pulp/api/v3/distributions/rpm/rpm/ | Create a rpm distribution
|
92
|
+
*PulpRpmClient::DistributionsRpmApi* | [**delete**](docs/DistributionsRpmApi.md#delete) | **DELETE** {rpm_distribution_href} | Delete a rpm distribution
|
93
|
+
*PulpRpmClient::DistributionsRpmApi* | [**list**](docs/DistributionsRpmApi.md#list) | **GET** /pulp/api/v3/distributions/rpm/rpm/ | List rpm distributions
|
94
|
+
*PulpRpmClient::DistributionsRpmApi* | [**partial_update**](docs/DistributionsRpmApi.md#partial_update) | **PATCH** {rpm_distribution_href} | Partially update a rpm distribution
|
95
|
+
*PulpRpmClient::DistributionsRpmApi* | [**read**](docs/DistributionsRpmApi.md#read) | **GET** {rpm_distribution_href} | Inspect a rpm distribution
|
96
|
+
*PulpRpmClient::DistributionsRpmApi* | [**update**](docs/DistributionsRpmApi.md#update) | **PUT** {rpm_distribution_href} | Update a rpm distribution
|
97
|
+
*PulpRpmClient::PublicationsRpmApi* | [**create**](docs/PublicationsRpmApi.md#create) | **POST** /pulp/api/v3/publications/rpm/rpm/ | Create a rpm publication
|
98
|
+
*PulpRpmClient::PublicationsRpmApi* | [**delete**](docs/PublicationsRpmApi.md#delete) | **DELETE** {rpm_publication_href} | Delete a rpm publication
|
99
|
+
*PulpRpmClient::PublicationsRpmApi* | [**list**](docs/PublicationsRpmApi.md#list) | **GET** /pulp/api/v3/publications/rpm/rpm/ | List rpm publications
|
100
|
+
*PulpRpmClient::PublicationsRpmApi* | [**read**](docs/PublicationsRpmApi.md#read) | **GET** {rpm_publication_href} | Inspect a rpm publication
|
101
|
+
*PulpRpmClient::RemotesRpmApi* | [**create**](docs/RemotesRpmApi.md#create) | **POST** /pulp/api/v3/remotes/rpm/rpm/ | Create a rpm remote
|
102
|
+
*PulpRpmClient::RemotesRpmApi* | [**delete**](docs/RemotesRpmApi.md#delete) | **DELETE** {rpm_remote_href} | Delete a rpm remote
|
103
|
+
*PulpRpmClient::RemotesRpmApi* | [**list**](docs/RemotesRpmApi.md#list) | **GET** /pulp/api/v3/remotes/rpm/rpm/ | List rpm remotes
|
104
|
+
*PulpRpmClient::RemotesRpmApi* | [**partial_update**](docs/RemotesRpmApi.md#partial_update) | **PATCH** {rpm_remote_href} | Partially update a rpm remote
|
105
|
+
*PulpRpmClient::RemotesRpmApi* | [**read**](docs/RemotesRpmApi.md#read) | **GET** {rpm_remote_href} | Inspect a rpm remote
|
106
|
+
*PulpRpmClient::RemotesRpmApi* | [**sync**](docs/RemotesRpmApi.md#sync) | **POST** {rpm_remote_href}sync/ | Sync from remote
|
107
|
+
*PulpRpmClient::RemotesRpmApi* | [**update**](docs/RemotesRpmApi.md#update) | **PUT** {rpm_remote_href} | Update a rpm remote
|
108
108
|
*PulpRpmClient::RpmCopyApi* | [**copy_content**](docs/RpmCopyApi.md#copy_content) | **POST** /rpm/copy/ | Copy content
|
109
109
|
*PulpRpmClient::RpmUploadApi* | [**upload_rpm_package**](docs/RpmUploadApi.md#upload_rpm_package) | **POST** /rpm/upload/ | Upload a package
|
110
110
|
|
@@ -4,15 +4,15 @@ All URIs are relative to *http://localhost:24817*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**
|
8
|
-
[**
|
9
|
-
[**
|
7
|
+
[**create**](ContentAdvisoriesApi.md#create) | **POST** /pulp/api/v3/content/rpm/advisories/ | Create an update record
|
8
|
+
[**list**](ContentAdvisoriesApi.md#list) | **GET** /pulp/api/v3/content/rpm/advisories/ | List update records
|
9
|
+
[**read**](ContentAdvisoriesApi.md#read) | **GET** {update_record_href} | Inspect an update record
|
10
10
|
|
11
11
|
|
12
12
|
|
13
|
-
##
|
13
|
+
## create
|
14
14
|
|
15
|
-
> UpdateRecord
|
15
|
+
> UpdateRecord create(data)
|
16
16
|
|
17
17
|
Create an update record
|
18
18
|
|
@@ -35,10 +35,10 @@ data = PulpRpmClient::UpdateRecord.new # UpdateRecord |
|
|
35
35
|
|
36
36
|
begin
|
37
37
|
#Create an update record
|
38
|
-
result = api_instance.
|
38
|
+
result = api_instance.create(data)
|
39
39
|
p result
|
40
40
|
rescue PulpRpmClient::ApiError => e
|
41
|
-
puts "Exception when calling ContentAdvisoriesApi->
|
41
|
+
puts "Exception when calling ContentAdvisoriesApi->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
|
-
##
|
66
|
+
## list
|
67
67
|
|
68
|
-
> InlineResponse200
|
68
|
+
> InlineResponse200 list(opts)
|
69
69
|
|
70
70
|
List update records
|
71
71
|
|
@@ -102,10 +102,10 @@ opts = {
|
|
102
102
|
|
103
103
|
begin
|
104
104
|
#List update records
|
105
|
-
result = api_instance.
|
105
|
+
result = api_instance.list(opts)
|
106
106
|
p result
|
107
107
|
rescue PulpRpmClient::ApiError => e
|
108
|
-
puts "Exception when calling ContentAdvisoriesApi->
|
108
|
+
puts "Exception when calling ContentAdvisoriesApi->list: #{e}"
|
109
109
|
end
|
110
110
|
```
|
111
111
|
|
@@ -142,9 +142,9 @@ Name | Type | Description | Notes
|
|
142
142
|
- **Accept**: application/json
|
143
143
|
|
144
144
|
|
145
|
-
##
|
145
|
+
## read
|
146
146
|
|
147
|
-
> UpdateRecord
|
147
|
+
> UpdateRecord read(update_record_href)
|
148
148
|
|
149
149
|
Inspect an update record
|
150
150
|
|
@@ -167,10 +167,10 @@ update_record_href = 'update_record_href_example' # String | URI of Update Recor
|
|
167
167
|
|
168
168
|
begin
|
169
169
|
#Inspect an update record
|
170
|
-
result = api_instance.
|
170
|
+
result = api_instance.read(update_record_href)
|
171
171
|
p result
|
172
172
|
rescue PulpRpmClient::ApiError => e
|
173
|
-
puts "Exception when calling ContentAdvisoriesApi->
|
173
|
+
puts "Exception when calling ContentAdvisoriesApi->read: #{e}"
|
174
174
|
end
|
175
175
|
```
|
176
176
|
|
data/docs/ContentPackagesApi.md
CHANGED
@@ -4,15 +4,15 @@ All URIs are relative to *http://localhost:24817*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**
|
8
|
-
[**
|
9
|
-
[**
|
7
|
+
[**create**](ContentPackagesApi.md#create) | **POST** /pulp/api/v3/content/rpm/packages/ | Create a package
|
8
|
+
[**list**](ContentPackagesApi.md#list) | **GET** /pulp/api/v3/content/rpm/packages/ | List packages
|
9
|
+
[**read**](ContentPackagesApi.md#read) | **GET** {package_href} | Inspect a package
|
10
10
|
|
11
11
|
|
12
12
|
|
13
|
-
##
|
13
|
+
## create
|
14
14
|
|
15
|
-
> Package
|
15
|
+
> Package create(data)
|
16
16
|
|
17
17
|
Create a package
|
18
18
|
|
@@ -35,10 +35,10 @@ data = PulpRpmClient::Package.new # Package |
|
|
35
35
|
|
36
36
|
begin
|
37
37
|
#Create a package
|
38
|
-
result = api_instance.
|
38
|
+
result = api_instance.create(data)
|
39
39
|
p result
|
40
40
|
rescue PulpRpmClient::ApiError => e
|
41
|
-
puts "Exception when calling ContentPackagesApi->
|
41
|
+
puts "Exception when calling ContentPackagesApi->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
|
-
##
|
66
|
+
## list
|
67
67
|
|
68
|
-
> InlineResponse2001
|
68
|
+
> InlineResponse2001 list(opts)
|
69
69
|
|
70
70
|
List packages
|
71
71
|
|
@@ -108,10 +108,10 @@ opts = {
|
|
108
108
|
|
109
109
|
begin
|
110
110
|
#List packages
|
111
|
-
result = api_instance.
|
111
|
+
result = api_instance.list(opts)
|
112
112
|
p result
|
113
113
|
rescue PulpRpmClient::ApiError => e
|
114
|
-
puts "Exception when calling ContentPackagesApi->
|
114
|
+
puts "Exception when calling ContentPackagesApi->list: #{e}"
|
115
115
|
end
|
116
116
|
```
|
117
117
|
|
@@ -154,9 +154,9 @@ Name | Type | Description | Notes
|
|
154
154
|
- **Accept**: application/json
|
155
155
|
|
156
156
|
|
157
|
-
##
|
157
|
+
## read
|
158
158
|
|
159
|
-
> Package
|
159
|
+
> Package read(package_href)
|
160
160
|
|
161
161
|
Inspect a package
|
162
162
|
|
@@ -179,10 +179,10 @@ package_href = 'package_href_example' # String | URI of Package. e.g.: /pulp/api
|
|
179
179
|
|
180
180
|
begin
|
181
181
|
#Inspect a package
|
182
|
-
result = api_instance.
|
182
|
+
result = api_instance.read(package_href)
|
183
183
|
p result
|
184
184
|
rescue PulpRpmClient::ApiError => e
|
185
|
-
puts "Exception when calling ContentPackagesApi->
|
185
|
+
puts "Exception when calling ContentPackagesApi->read: #{e}"
|
186
186
|
end
|
187
187
|
```
|
188
188
|
|
data/docs/DistributionsRpmApi.md
CHANGED
@@ -4,18 +4,18 @@ All URIs are relative to *http://localhost:24817*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**
|
8
|
-
[**
|
9
|
-
[**
|
10
|
-
[**
|
11
|
-
[**
|
12
|
-
[**
|
7
|
+
[**create**](DistributionsRpmApi.md#create) | **POST** /pulp/api/v3/distributions/rpm/rpm/ | Create a rpm distribution
|
8
|
+
[**delete**](DistributionsRpmApi.md#delete) | **DELETE** {rpm_distribution_href} | Delete a rpm distribution
|
9
|
+
[**list**](DistributionsRpmApi.md#list) | **GET** /pulp/api/v3/distributions/rpm/rpm/ | List rpm distributions
|
10
|
+
[**partial_update**](DistributionsRpmApi.md#partial_update) | **PATCH** {rpm_distribution_href} | Partially update a rpm distribution
|
11
|
+
[**read**](DistributionsRpmApi.md#read) | **GET** {rpm_distribution_href} | Inspect a rpm distribution
|
12
|
+
[**update**](DistributionsRpmApi.md#update) | **PUT** {rpm_distribution_href} | Update a rpm distribution
|
13
13
|
|
14
14
|
|
15
15
|
|
16
|
-
##
|
16
|
+
## create
|
17
17
|
|
18
|
-
> AsyncOperationResponse
|
18
|
+
> AsyncOperationResponse create(data)
|
19
19
|
|
20
20
|
Create a rpm distribution
|
21
21
|
|
@@ -38,10 +38,10 @@ data = PulpRpmClient::RpmDistribution.new # RpmDistribution |
|
|
38
38
|
|
39
39
|
begin
|
40
40
|
#Create a rpm distribution
|
41
|
-
result = api_instance.
|
41
|
+
result = api_instance.create(data)
|
42
42
|
p result
|
43
43
|
rescue PulpRpmClient::ApiError => e
|
44
|
-
puts "Exception when calling DistributionsRpmApi->
|
44
|
+
puts "Exception when calling DistributionsRpmApi->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
|
-
##
|
69
|
+
## delete
|
70
70
|
|
71
|
-
> AsyncOperationResponse
|
71
|
+
> AsyncOperationResponse delete(rpm_distribution_href)
|
72
72
|
|
73
73
|
Delete a rpm distribution
|
74
74
|
|
@@ -91,10 +91,10 @@ rpm_distribution_href = 'rpm_distribution_href_example' # String | URI of Rpm Di
|
|
91
91
|
|
92
92
|
begin
|
93
93
|
#Delete a rpm distribution
|
94
|
-
result = api_instance.
|
94
|
+
result = api_instance.delete(rpm_distribution_href)
|
95
95
|
p result
|
96
96
|
rescue PulpRpmClient::ApiError => e
|
97
|
-
puts "Exception when calling DistributionsRpmApi->
|
97
|
+
puts "Exception when calling DistributionsRpmApi->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
|
-
##
|
122
|
+
## list
|
123
123
|
|
124
|
-
> InlineResponse2002
|
124
|
+
> InlineResponse2002 list(opts)
|
125
125
|
|
126
126
|
List rpm distributions
|
127
127
|
|
@@ -153,10 +153,10 @@ opts = {
|
|
153
153
|
|
154
154
|
begin
|
155
155
|
#List rpm distributions
|
156
|
-
result = api_instance.
|
156
|
+
result = api_instance.list(opts)
|
157
157
|
p result
|
158
158
|
rescue PulpRpmClient::ApiError => e
|
159
|
-
puts "Exception when calling DistributionsRpmApi->
|
159
|
+
puts "Exception when calling DistributionsRpmApi->list: #{e}"
|
160
160
|
end
|
161
161
|
```
|
162
162
|
|
@@ -188,9 +188,9 @@ Name | Type | Description | Notes
|
|
188
188
|
- **Accept**: application/json
|
189
189
|
|
190
190
|
|
191
|
-
##
|
191
|
+
## partial_update
|
192
192
|
|
193
|
-
> AsyncOperationResponse
|
193
|
+
> AsyncOperationResponse partial_update(rpm_distribution_href, data)
|
194
194
|
|
195
195
|
Partially update a rpm distribution
|
196
196
|
|
@@ -214,10 +214,10 @@ data = PulpRpmClient::RpmDistribution.new # RpmDistribution |
|
|
214
214
|
|
215
215
|
begin
|
216
216
|
#Partially update a rpm distribution
|
217
|
-
result = api_instance.
|
217
|
+
result = api_instance.partial_update(rpm_distribution_href, data)
|
218
218
|
p result
|
219
219
|
rescue PulpRpmClient::ApiError => e
|
220
|
-
puts "Exception when calling DistributionsRpmApi->
|
220
|
+
puts "Exception when calling DistributionsRpmApi->partial_update: #{e}"
|
221
221
|
end
|
222
222
|
```
|
223
223
|
|
@@ -243,9 +243,9 @@ Name | Type | Description | Notes
|
|
243
243
|
- **Accept**: application/json
|
244
244
|
|
245
245
|
|
246
|
-
##
|
246
|
+
## read
|
247
247
|
|
248
|
-
> RpmDistribution
|
248
|
+
> RpmDistribution read(rpm_distribution_href)
|
249
249
|
|
250
250
|
Inspect a rpm distribution
|
251
251
|
|
@@ -268,10 +268,10 @@ rpm_distribution_href = 'rpm_distribution_href_example' # String | URI of Rpm Di
|
|
268
268
|
|
269
269
|
begin
|
270
270
|
#Inspect a rpm distribution
|
271
|
-
result = api_instance.
|
271
|
+
result = api_instance.read(rpm_distribution_href)
|
272
272
|
p result
|
273
273
|
rescue PulpRpmClient::ApiError => e
|
274
|
-
puts "Exception when calling DistributionsRpmApi->
|
274
|
+
puts "Exception when calling DistributionsRpmApi->read: #{e}"
|
275
275
|
end
|
276
276
|
```
|
277
277
|
|
@@ -296,9 +296,9 @@ Name | Type | Description | Notes
|
|
296
296
|
- **Accept**: application/json
|
297
297
|
|
298
298
|
|
299
|
-
##
|
299
|
+
## update
|
300
300
|
|
301
|
-
> AsyncOperationResponse
|
301
|
+
> AsyncOperationResponse update(rpm_distribution_href, data)
|
302
302
|
|
303
303
|
Update a rpm distribution
|
304
304
|
|
@@ -322,10 +322,10 @@ data = PulpRpmClient::RpmDistribution.new # RpmDistribution |
|
|
322
322
|
|
323
323
|
begin
|
324
324
|
#Update a rpm distribution
|
325
|
-
result = api_instance.
|
325
|
+
result = api_instance.update(rpm_distribution_href, data)
|
326
326
|
p result
|
327
327
|
rescue PulpRpmClient::ApiError => e
|
328
|
-
puts "Exception when calling DistributionsRpmApi->
|
328
|
+
puts "Exception when calling DistributionsRpmApi->update: #{e}"
|
329
329
|
end
|
330
330
|
```
|
331
331
|
|
data/docs/Package.md
CHANGED
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**_artifact** | **String** | Artifact file representing the physical content |
|
8
|
+
**_created** | **DateTime** | Timestamp of creation. | [optional]
|
7
9
|
**_type** | **String** | | [optional]
|
8
10
|
**_href** | **String** | | [optional]
|
9
|
-
**_created** | **DateTime** | Timestamp of creation. | [optional]
|
10
|
-
**_artifact** | **String** | Artifact file representing the physical content |
|
11
11
|
**name** | **String** | Name of the package |
|
12
12
|
**epoch** | **String** | The package's epoch | [optional]
|
13
13
|
**version** | **String** | The version of the package. For example, '2.8.0' |
|
@@ -50,10 +50,10 @@ Name | Type | Description | Notes
|
|
50
50
|
```ruby
|
51
51
|
require 'PulpRpmClient'
|
52
52
|
|
53
|
-
instance = PulpRpmClient::Package.new(
|
54
|
-
_href: null,
|
53
|
+
instance = PulpRpmClient::Package.new(_artifact: null,
|
55
54
|
_created: null,
|
56
|
-
|
55
|
+
_type: null,
|
56
|
+
_href: null,
|
57
57
|
name: null,
|
58
58
|
epoch: null,
|
59
59
|
version: null,
|
data/docs/PublicationsRpmApi.md
CHANGED
@@ -4,16 +4,16 @@ All URIs are relative to *http://localhost:24817*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**
|
8
|
-
[**
|
9
|
-
[**
|
10
|
-
[**
|
7
|
+
[**create**](PublicationsRpmApi.md#create) | **POST** /pulp/api/v3/publications/rpm/rpm/ | Create a rpm publication
|
8
|
+
[**delete**](PublicationsRpmApi.md#delete) | **DELETE** {rpm_publication_href} | Delete a rpm publication
|
9
|
+
[**list**](PublicationsRpmApi.md#list) | **GET** /pulp/api/v3/publications/rpm/rpm/ | List rpm publications
|
10
|
+
[**read**](PublicationsRpmApi.md#read) | **GET** {rpm_publication_href} | Inspect a rpm publication
|
11
11
|
|
12
12
|
|
13
13
|
|
14
|
-
##
|
14
|
+
## create
|
15
15
|
|
16
|
-
> AsyncOperationResponse
|
16
|
+
> AsyncOperationResponse create(data)
|
17
17
|
|
18
18
|
Create a rpm publication
|
19
19
|
|
@@ -36,10 +36,10 @@ data = PulpRpmClient::RpmPublication.new # RpmPublication |
|
|
36
36
|
|
37
37
|
begin
|
38
38
|
#Create a rpm publication
|
39
|
-
result = api_instance.
|
39
|
+
result = api_instance.create(data)
|
40
40
|
p result
|
41
41
|
rescue PulpRpmClient::ApiError => e
|
42
|
-
puts "Exception when calling PublicationsRpmApi->
|
42
|
+
puts "Exception when calling PublicationsRpmApi->create: #{e}"
|
43
43
|
end
|
44
44
|
```
|
45
45
|
|
@@ -64,9 +64,9 @@ Name | Type | Description | Notes
|
|
64
64
|
- **Accept**: application/json
|
65
65
|
|
66
66
|
|
67
|
-
##
|
67
|
+
## delete
|
68
68
|
|
69
|
-
>
|
69
|
+
> delete(rpm_publication_href)
|
70
70
|
|
71
71
|
Delete a rpm publication
|
72
72
|
|
@@ -89,9 +89,9 @@ rpm_publication_href = 'rpm_publication_href_example' # String | URI of Rpm Publ
|
|
89
89
|
|
90
90
|
begin
|
91
91
|
#Delete a rpm publication
|
92
|
-
api_instance.
|
92
|
+
api_instance.delete(rpm_publication_href)
|
93
93
|
rescue PulpRpmClient::ApiError => e
|
94
|
-
puts "Exception when calling PublicationsRpmApi->
|
94
|
+
puts "Exception when calling PublicationsRpmApi->delete: #{e}"
|
95
95
|
end
|
96
96
|
```
|
97
97
|
|
@@ -116,9 +116,9 @@ nil (empty response body)
|
|
116
116
|
- **Accept**: Not defined
|
117
117
|
|
118
118
|
|
119
|
-
##
|
119
|
+
## list
|
120
120
|
|
121
|
-
> InlineResponse2003
|
121
|
+
> InlineResponse2003 list(opts)
|
122
122
|
|
123
123
|
List rpm publications
|
124
124
|
|
@@ -145,10 +145,10 @@ opts = {
|
|
145
145
|
|
146
146
|
begin
|
147
147
|
#List rpm publications
|
148
|
-
result = api_instance.
|
148
|
+
result = api_instance.list(opts)
|
149
149
|
p result
|
150
150
|
rescue PulpRpmClient::ApiError => e
|
151
|
-
puts "Exception when calling PublicationsRpmApi->
|
151
|
+
puts "Exception when calling PublicationsRpmApi->list: #{e}"
|
152
152
|
end
|
153
153
|
```
|
154
154
|
|
@@ -175,9 +175,9 @@ Name | Type | Description | Notes
|
|
175
175
|
- **Accept**: application/json
|
176
176
|
|
177
177
|
|
178
|
-
##
|
178
|
+
## read
|
179
179
|
|
180
|
-
> RpmPublication
|
180
|
+
> RpmPublication read(rpm_publication_href)
|
181
181
|
|
182
182
|
Inspect a rpm publication
|
183
183
|
|
@@ -200,10 +200,10 @@ rpm_publication_href = 'rpm_publication_href_example' # String | URI of Rpm Publ
|
|
200
200
|
|
201
201
|
begin
|
202
202
|
#Inspect a rpm publication
|
203
|
-
result = api_instance.
|
203
|
+
result = api_instance.read(rpm_publication_href)
|
204
204
|
p result
|
205
205
|
rescue PulpRpmClient::ApiError => e
|
206
|
-
puts "Exception when calling PublicationsRpmApi->
|
206
|
+
puts "Exception when calling PublicationsRpmApi->read: #{e}"
|
207
207
|
end
|
208
208
|
```
|
209
209
|
|