pulp_rpm_client 3.18.0.dev1662872641 → 3.19.0.dev1662960501
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/README.md +8 -36
- data/docs/AcsRpmApi.md +0 -228
- data/docs/DistributionsRpmApi.md +0 -228
- data/docs/PublicationsRpmApi.md +0 -228
- data/docs/RemotesRpmApi.md +0 -228
- data/docs/RemotesUlnApi.md +0 -228
- data/docs/RepositoriesRpmApi.md +0 -228
- data/lib/pulp_rpm_client/api/acs_rpm_api.rb +0 -268
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +0 -268
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +0 -268
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +0 -268
- data/lib/pulp_rpm_client/api/remotes_uln_api.rb +0 -268
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +0 -268
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/lib/pulp_rpm_client.rb +0 -4
- data/spec/api/acs_rpm_api_spec.rb +0 -50
- data/spec/api/distributions_rpm_api_spec.rb +0 -50
- data/spec/api/publications_rpm_api_spec.rb +0 -50
- data/spec/api/remotes_rpm_api_spec.rb +0 -50
- data/spec/api/remotes_uln_api_spec.rb +0 -50
- data/spec/api/repositories_rpm_api_spec.rb +0 -50
- metadata +2 -18
- data/docs/MyPermissionsResponse.md +0 -17
- data/docs/NestedRole.md +0 -21
- data/docs/NestedRoleResponse.md +0 -21
- data/docs/ObjectRolesResponse.md +0 -17
- data/lib/pulp_rpm_client/models/my_permissions_response.rb +0 -213
- data/lib/pulp_rpm_client/models/nested_role.rb +0 -234
- data/lib/pulp_rpm_client/models/nested_role_response.rb +0 -234
- data/lib/pulp_rpm_client/models/object_roles_response.rb +0 -213
- data/spec/models/my_permissions_response_spec.rb +0 -41
- data/spec/models/nested_role_response_spec.rb +0 -53
- data/spec/models/nested_role_spec.rb +0 -53
- data/spec/models/object_roles_response_spec.rb +0 -41
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2feb86d99c33451b827730e5654cadde564967f8739c5fd726ec336beab300a
|
4
|
+
data.tar.gz: 92255c0205933b79d5521fa206dcc7443ad185daf7a8b836490c03f1aca086dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c85312eb883cd2b16d96bfca1199ce2bdc90d174df3e0d44336ad4d50e4374590cb971021f7e69165200fd922c68a87150505d42b9f075a46cf16965c556dd8
|
7
|
+
data.tar.gz: 33084c7bebf27ace5b236534dca2796ed2c3e801cf286ca455a50bd663f08776128bf88e5a45609f8f5154e3dd8575e775b4cf934606cb92aff0c71ff768d2eb
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
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.
|
10
|
+
- Package version: 3.19.0.dev1662960501
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build pulp_rpm_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_rpm_client-3.
|
27
|
+
gem install ./pulp_rpm_client-3.19.0.dev1662960501.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_rpm_client-3.
|
30
|
+
(for development, run `gem install --dev ./pulp_rpm_client-3.19.0.dev1662960501.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'pulp_rpm_client', '~> 3.
|
36
|
+
gem 'pulp_rpm_client', '~> 3.19.0.dev1662960501'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -65,14 +65,14 @@ PulpRpmClient.configure do |config|
|
|
65
65
|
end
|
66
66
|
|
67
67
|
api_instance = PulpRpmClient::AcsRpmApi.new
|
68
|
-
|
69
|
-
nested_role = PulpRpmClient::NestedRole.new # NestedRole |
|
68
|
+
rpm_rpm_alternate_content_source = PulpRpmClient::RpmRpmAlternateContentSource.new # RpmRpmAlternateContentSource |
|
70
69
|
|
71
70
|
begin
|
72
|
-
|
71
|
+
#Create a rpm alternate content source
|
72
|
+
result = api_instance.create(rpm_rpm_alternate_content_source)
|
73
73
|
p result
|
74
74
|
rescue PulpRpmClient::ApiError => e
|
75
|
-
puts "Exception when calling AcsRpmApi->
|
75
|
+
puts "Exception when calling AcsRpmApi->create: #{e}"
|
76
76
|
end
|
77
77
|
|
78
78
|
```
|
@@ -83,16 +83,12 @@ All URIs are relative to *https://pulp*
|
|
83
83
|
|
84
84
|
Class | Method | HTTP request | Description
|
85
85
|
------------ | ------------- | ------------- | -------------
|
86
|
-
*PulpRpmClient::AcsRpmApi* | [**add_role**](docs/AcsRpmApi.md#add_role) | **POST** {rpm_rpm_alternate_content_source_href}add_role/ |
|
87
86
|
*PulpRpmClient::AcsRpmApi* | [**create**](docs/AcsRpmApi.md#create) | **POST** /pulp/api/v3/acs/rpm/rpm/ | Create a rpm alternate content source
|
88
87
|
*PulpRpmClient::AcsRpmApi* | [**delete**](docs/AcsRpmApi.md#delete) | **DELETE** {rpm_rpm_alternate_content_source_href} | Delete a rpm alternate content source
|
89
88
|
*PulpRpmClient::AcsRpmApi* | [**list**](docs/AcsRpmApi.md#list) | **GET** /pulp/api/v3/acs/rpm/rpm/ | List rpm alternate content sources
|
90
|
-
*PulpRpmClient::AcsRpmApi* | [**list_roles**](docs/AcsRpmApi.md#list_roles) | **GET** {rpm_rpm_alternate_content_source_href}list_roles/ |
|
91
|
-
*PulpRpmClient::AcsRpmApi* | [**my_permissions**](docs/AcsRpmApi.md#my_permissions) | **GET** {rpm_rpm_alternate_content_source_href}my_permissions/ |
|
92
89
|
*PulpRpmClient::AcsRpmApi* | [**partial_update**](docs/AcsRpmApi.md#partial_update) | **PATCH** {rpm_rpm_alternate_content_source_href} | Update a rpm alternate content source
|
93
90
|
*PulpRpmClient::AcsRpmApi* | [**read**](docs/AcsRpmApi.md#read) | **GET** {rpm_rpm_alternate_content_source_href} | Inspect a rpm alternate content source
|
94
91
|
*PulpRpmClient::AcsRpmApi* | [**refresh**](docs/AcsRpmApi.md#refresh) | **POST** {rpm_rpm_alternate_content_source_href}refresh/ |
|
95
|
-
*PulpRpmClient::AcsRpmApi* | [**remove_role**](docs/AcsRpmApi.md#remove_role) | **POST** {rpm_rpm_alternate_content_source_href}remove_role/ |
|
96
92
|
*PulpRpmClient::AcsRpmApi* | [**update**](docs/AcsRpmApi.md#update) | **PUT** {rpm_rpm_alternate_content_source_href} | Update a rpm alternate content source
|
97
93
|
*PulpRpmClient::ContentAdvisoriesApi* | [**create**](docs/ContentAdvisoriesApi.md#create) | **POST** /pulp/api/v3/content/rpm/advisories/ | Create an update record
|
98
94
|
*PulpRpmClient::ContentAdvisoriesApi* | [**list**](docs/ContentAdvisoriesApi.md#list) | **GET** /pulp/api/v3/content/rpm/advisories/ | List update records
|
@@ -121,54 +117,34 @@ Class | Method | HTTP request | Description
|
|
121
117
|
*PulpRpmClient::ContentPackagesApi* | [**read**](docs/ContentPackagesApi.md#read) | **GET** {rpm_package_href} | Inspect a package
|
122
118
|
*PulpRpmClient::ContentRepoMetadataFilesApi* | [**list**](docs/ContentRepoMetadataFilesApi.md#list) | **GET** /pulp/api/v3/content/rpm/repo_metadata_files/ | List repo metadata files
|
123
119
|
*PulpRpmClient::ContentRepoMetadataFilesApi* | [**read**](docs/ContentRepoMetadataFilesApi.md#read) | **GET** {rpm_repo_metadata_file_href} | Inspect a repo metadata file
|
124
|
-
*PulpRpmClient::DistributionsRpmApi* | [**add_role**](docs/DistributionsRpmApi.md#add_role) | **POST** {rpm_rpm_distribution_href}add_role/ |
|
125
120
|
*PulpRpmClient::DistributionsRpmApi* | [**create**](docs/DistributionsRpmApi.md#create) | **POST** /pulp/api/v3/distributions/rpm/rpm/ | Create a rpm distribution
|
126
121
|
*PulpRpmClient::DistributionsRpmApi* | [**delete**](docs/DistributionsRpmApi.md#delete) | **DELETE** {rpm_rpm_distribution_href} | Delete a rpm distribution
|
127
122
|
*PulpRpmClient::DistributionsRpmApi* | [**list**](docs/DistributionsRpmApi.md#list) | **GET** /pulp/api/v3/distributions/rpm/rpm/ | List rpm distributions
|
128
|
-
*PulpRpmClient::DistributionsRpmApi* | [**list_roles**](docs/DistributionsRpmApi.md#list_roles) | **GET** {rpm_rpm_distribution_href}list_roles/ |
|
129
|
-
*PulpRpmClient::DistributionsRpmApi* | [**my_permissions**](docs/DistributionsRpmApi.md#my_permissions) | **GET** {rpm_rpm_distribution_href}my_permissions/ |
|
130
123
|
*PulpRpmClient::DistributionsRpmApi* | [**partial_update**](docs/DistributionsRpmApi.md#partial_update) | **PATCH** {rpm_rpm_distribution_href} | Update a rpm distribution
|
131
124
|
*PulpRpmClient::DistributionsRpmApi* | [**read**](docs/DistributionsRpmApi.md#read) | **GET** {rpm_rpm_distribution_href} | Inspect a rpm distribution
|
132
|
-
*PulpRpmClient::DistributionsRpmApi* | [**remove_role**](docs/DistributionsRpmApi.md#remove_role) | **POST** {rpm_rpm_distribution_href}remove_role/ |
|
133
125
|
*PulpRpmClient::DistributionsRpmApi* | [**update**](docs/DistributionsRpmApi.md#update) | **PUT** {rpm_rpm_distribution_href} | Update a rpm distribution
|
134
|
-
*PulpRpmClient::PublicationsRpmApi* | [**add_role**](docs/PublicationsRpmApi.md#add_role) | **POST** {rpm_rpm_publication_href}add_role/ |
|
135
126
|
*PulpRpmClient::PublicationsRpmApi* | [**create**](docs/PublicationsRpmApi.md#create) | **POST** /pulp/api/v3/publications/rpm/rpm/ | Create a rpm publication
|
136
127
|
*PulpRpmClient::PublicationsRpmApi* | [**delete**](docs/PublicationsRpmApi.md#delete) | **DELETE** {rpm_rpm_publication_href} | Delete a rpm publication
|
137
128
|
*PulpRpmClient::PublicationsRpmApi* | [**list**](docs/PublicationsRpmApi.md#list) | **GET** /pulp/api/v3/publications/rpm/rpm/ | List rpm publications
|
138
|
-
*PulpRpmClient::PublicationsRpmApi* | [**list_roles**](docs/PublicationsRpmApi.md#list_roles) | **GET** {rpm_rpm_publication_href}list_roles/ |
|
139
|
-
*PulpRpmClient::PublicationsRpmApi* | [**my_permissions**](docs/PublicationsRpmApi.md#my_permissions) | **GET** {rpm_rpm_publication_href}my_permissions/ |
|
140
129
|
*PulpRpmClient::PublicationsRpmApi* | [**read**](docs/PublicationsRpmApi.md#read) | **GET** {rpm_rpm_publication_href} | Inspect a rpm publication
|
141
|
-
*PulpRpmClient::PublicationsRpmApi* | [**remove_role**](docs/PublicationsRpmApi.md#remove_role) | **POST** {rpm_rpm_publication_href}remove_role/ |
|
142
|
-
*PulpRpmClient::RemotesRpmApi* | [**add_role**](docs/RemotesRpmApi.md#add_role) | **POST** {rpm_rpm_remote_href}add_role/ |
|
143
130
|
*PulpRpmClient::RemotesRpmApi* | [**create**](docs/RemotesRpmApi.md#create) | **POST** /pulp/api/v3/remotes/rpm/rpm/ | Create a rpm remote
|
144
131
|
*PulpRpmClient::RemotesRpmApi* | [**delete**](docs/RemotesRpmApi.md#delete) | **DELETE** {rpm_rpm_remote_href} | Delete a rpm remote
|
145
132
|
*PulpRpmClient::RemotesRpmApi* | [**list**](docs/RemotesRpmApi.md#list) | **GET** /pulp/api/v3/remotes/rpm/rpm/ | List rpm remotes
|
146
|
-
*PulpRpmClient::RemotesRpmApi* | [**list_roles**](docs/RemotesRpmApi.md#list_roles) | **GET** {rpm_rpm_remote_href}list_roles/ |
|
147
|
-
*PulpRpmClient::RemotesRpmApi* | [**my_permissions**](docs/RemotesRpmApi.md#my_permissions) | **GET** {rpm_rpm_remote_href}my_permissions/ |
|
148
133
|
*PulpRpmClient::RemotesRpmApi* | [**partial_update**](docs/RemotesRpmApi.md#partial_update) | **PATCH** {rpm_rpm_remote_href} | Update a rpm remote
|
149
134
|
*PulpRpmClient::RemotesRpmApi* | [**read**](docs/RemotesRpmApi.md#read) | **GET** {rpm_rpm_remote_href} | Inspect a rpm remote
|
150
|
-
*PulpRpmClient::RemotesRpmApi* | [**remove_role**](docs/RemotesRpmApi.md#remove_role) | **POST** {rpm_rpm_remote_href}remove_role/ |
|
151
135
|
*PulpRpmClient::RemotesRpmApi* | [**update**](docs/RemotesRpmApi.md#update) | **PUT** {rpm_rpm_remote_href} | Update a rpm remote
|
152
|
-
*PulpRpmClient::RemotesUlnApi* | [**add_role**](docs/RemotesUlnApi.md#add_role) | **POST** {rpm_uln_remote_href}add_role/ |
|
153
136
|
*PulpRpmClient::RemotesUlnApi* | [**create**](docs/RemotesUlnApi.md#create) | **POST** /pulp/api/v3/remotes/rpm/uln/ | Create an uln remote
|
154
137
|
*PulpRpmClient::RemotesUlnApi* | [**delete**](docs/RemotesUlnApi.md#delete) | **DELETE** {rpm_uln_remote_href} | Delete an uln remote
|
155
138
|
*PulpRpmClient::RemotesUlnApi* | [**list**](docs/RemotesUlnApi.md#list) | **GET** /pulp/api/v3/remotes/rpm/uln/ | List uln remotes
|
156
|
-
*PulpRpmClient::RemotesUlnApi* | [**list_roles**](docs/RemotesUlnApi.md#list_roles) | **GET** {rpm_uln_remote_href}list_roles/ |
|
157
|
-
*PulpRpmClient::RemotesUlnApi* | [**my_permissions**](docs/RemotesUlnApi.md#my_permissions) | **GET** {rpm_uln_remote_href}my_permissions/ |
|
158
139
|
*PulpRpmClient::RemotesUlnApi* | [**partial_update**](docs/RemotesUlnApi.md#partial_update) | **PATCH** {rpm_uln_remote_href} | Update an uln remote
|
159
140
|
*PulpRpmClient::RemotesUlnApi* | [**read**](docs/RemotesUlnApi.md#read) | **GET** {rpm_uln_remote_href} | Inspect an uln remote
|
160
|
-
*PulpRpmClient::RemotesUlnApi* | [**remove_role**](docs/RemotesUlnApi.md#remove_role) | **POST** {rpm_uln_remote_href}remove_role/ |
|
161
141
|
*PulpRpmClient::RemotesUlnApi* | [**update**](docs/RemotesUlnApi.md#update) | **PUT** {rpm_uln_remote_href} | Update an uln remote
|
162
|
-
*PulpRpmClient::RepositoriesRpmApi* | [**add_role**](docs/RepositoriesRpmApi.md#add_role) | **POST** {rpm_rpm_repository_href}add_role/ |
|
163
142
|
*PulpRpmClient::RepositoriesRpmApi* | [**create**](docs/RepositoriesRpmApi.md#create) | **POST** /pulp/api/v3/repositories/rpm/rpm/ | Create a rpm repository
|
164
143
|
*PulpRpmClient::RepositoriesRpmApi* | [**delete**](docs/RepositoriesRpmApi.md#delete) | **DELETE** {rpm_rpm_repository_href} | Delete a rpm repository
|
165
144
|
*PulpRpmClient::RepositoriesRpmApi* | [**list**](docs/RepositoriesRpmApi.md#list) | **GET** /pulp/api/v3/repositories/rpm/rpm/ | List rpm repositorys
|
166
|
-
*PulpRpmClient::RepositoriesRpmApi* | [**list_roles**](docs/RepositoriesRpmApi.md#list_roles) | **GET** {rpm_rpm_repository_href}list_roles/ |
|
167
145
|
*PulpRpmClient::RepositoriesRpmApi* | [**modify**](docs/RepositoriesRpmApi.md#modify) | **POST** {rpm_rpm_repository_href}modify/ | Modify Repository Content
|
168
|
-
*PulpRpmClient::RepositoriesRpmApi* | [**my_permissions**](docs/RepositoriesRpmApi.md#my_permissions) | **GET** {rpm_rpm_repository_href}my_permissions/ |
|
169
146
|
*PulpRpmClient::RepositoriesRpmApi* | [**partial_update**](docs/RepositoriesRpmApi.md#partial_update) | **PATCH** {rpm_rpm_repository_href} | Update a rpm repository
|
170
147
|
*PulpRpmClient::RepositoriesRpmApi* | [**read**](docs/RepositoriesRpmApi.md#read) | **GET** {rpm_rpm_repository_href} | Inspect a rpm repository
|
171
|
-
*PulpRpmClient::RepositoriesRpmApi* | [**remove_role**](docs/RepositoriesRpmApi.md#remove_role) | **POST** {rpm_rpm_repository_href}remove_role/ |
|
172
148
|
*PulpRpmClient::RepositoriesRpmApi* | [**sync**](docs/RepositoriesRpmApi.md#sync) | **POST** {rpm_rpm_repository_href}sync/ | Sync from remote
|
173
149
|
*PulpRpmClient::RepositoriesRpmApi* | [**update**](docs/RepositoriesRpmApi.md#update) | **PUT** {rpm_rpm_repository_href} | Update a rpm repository
|
174
150
|
*PulpRpmClient::RepositoriesRpmVersionsApi* | [**delete**](docs/RepositoriesRpmVersionsApi.md#delete) | **DELETE** {rpm_rpm_repository_version_href} | Delete a repository version
|
@@ -190,10 +166,6 @@ Class | Method | HTTP request | Description
|
|
190
166
|
- [PulpRpmClient::Copy](docs/Copy.md)
|
191
167
|
- [PulpRpmClient::ImageResponse](docs/ImageResponse.md)
|
192
168
|
- [PulpRpmClient::MetadataChecksumTypeEnum](docs/MetadataChecksumTypeEnum.md)
|
193
|
-
- [PulpRpmClient::MyPermissionsResponse](docs/MyPermissionsResponse.md)
|
194
|
-
- [PulpRpmClient::NestedRole](docs/NestedRole.md)
|
195
|
-
- [PulpRpmClient::NestedRoleResponse](docs/NestedRoleResponse.md)
|
196
|
-
- [PulpRpmClient::ObjectRolesResponse](docs/ObjectRolesResponse.md)
|
197
169
|
- [PulpRpmClient::PackageChecksumTypeEnum](docs/PackageChecksumTypeEnum.md)
|
198
170
|
- [PulpRpmClient::PaginatedRepositoryVersionResponseList](docs/PaginatedRepositoryVersionResponseList.md)
|
199
171
|
- [PulpRpmClient::PaginatedrpmDistributionTreeResponseList](docs/PaginatedrpmDistributionTreeResponseList.md)
|
data/docs/AcsRpmApi.md
CHANGED
@@ -4,74 +4,16 @@ All URIs are relative to *https://pulp*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**add_role**](AcsRpmApi.md#add_role) | **POST** {rpm_rpm_alternate_content_source_href}add_role/ |
|
8
7
|
[**create**](AcsRpmApi.md#create) | **POST** /pulp/api/v3/acs/rpm/rpm/ | Create a rpm alternate content source
|
9
8
|
[**delete**](AcsRpmApi.md#delete) | **DELETE** {rpm_rpm_alternate_content_source_href} | Delete a rpm alternate content source
|
10
9
|
[**list**](AcsRpmApi.md#list) | **GET** /pulp/api/v3/acs/rpm/rpm/ | List rpm alternate content sources
|
11
|
-
[**list_roles**](AcsRpmApi.md#list_roles) | **GET** {rpm_rpm_alternate_content_source_href}list_roles/ |
|
12
|
-
[**my_permissions**](AcsRpmApi.md#my_permissions) | **GET** {rpm_rpm_alternate_content_source_href}my_permissions/ |
|
13
10
|
[**partial_update**](AcsRpmApi.md#partial_update) | **PATCH** {rpm_rpm_alternate_content_source_href} | Update a rpm alternate content source
|
14
11
|
[**read**](AcsRpmApi.md#read) | **GET** {rpm_rpm_alternate_content_source_href} | Inspect a rpm alternate content source
|
15
12
|
[**refresh**](AcsRpmApi.md#refresh) | **POST** {rpm_rpm_alternate_content_source_href}refresh/ |
|
16
|
-
[**remove_role**](AcsRpmApi.md#remove_role) | **POST** {rpm_rpm_alternate_content_source_href}remove_role/ |
|
17
13
|
[**update**](AcsRpmApi.md#update) | **PUT** {rpm_rpm_alternate_content_source_href} | Update a rpm alternate content source
|
18
14
|
|
19
15
|
|
20
16
|
|
21
|
-
## add_role
|
22
|
-
|
23
|
-
> NestedRoleResponse add_role(rpm_rpm_alternate_content_source_href, nested_role)
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
Add a role for this object to users/groups.
|
28
|
-
|
29
|
-
### Example
|
30
|
-
|
31
|
-
```ruby
|
32
|
-
# load the gem
|
33
|
-
require 'pulp_rpm_client'
|
34
|
-
# setup authorization
|
35
|
-
PulpRpmClient.configure do |config|
|
36
|
-
# Configure HTTP basic authorization: basicAuth
|
37
|
-
config.username = 'YOUR USERNAME'
|
38
|
-
config.password = 'YOUR PASSWORD'
|
39
|
-
end
|
40
|
-
|
41
|
-
api_instance = PulpRpmClient::AcsRpmApi.new
|
42
|
-
rpm_rpm_alternate_content_source_href = 'rpm_rpm_alternate_content_source_href_example' # String |
|
43
|
-
nested_role = PulpRpmClient::NestedRole.new # NestedRole |
|
44
|
-
|
45
|
-
begin
|
46
|
-
result = api_instance.add_role(rpm_rpm_alternate_content_source_href, nested_role)
|
47
|
-
p result
|
48
|
-
rescue PulpRpmClient::ApiError => e
|
49
|
-
puts "Exception when calling AcsRpmApi->add_role: #{e}"
|
50
|
-
end
|
51
|
-
```
|
52
|
-
|
53
|
-
### Parameters
|
54
|
-
|
55
|
-
|
56
|
-
Name | Type | Description | Notes
|
57
|
-
------------- | ------------- | ------------- | -------------
|
58
|
-
**rpm_rpm_alternate_content_source_href** | **String**| |
|
59
|
-
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
60
|
-
|
61
|
-
### Return type
|
62
|
-
|
63
|
-
[**NestedRoleResponse**](NestedRoleResponse.md)
|
64
|
-
|
65
|
-
### Authorization
|
66
|
-
|
67
|
-
[basicAuth](../README.md#basicAuth)
|
68
|
-
|
69
|
-
### HTTP request headers
|
70
|
-
|
71
|
-
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
72
|
-
- **Accept**: application/json
|
73
|
-
|
74
|
-
|
75
17
|
## create
|
76
18
|
|
77
19
|
> RpmRpmAlternateContentSourceResponse create(rpm_rpm_alternate_content_source)
|
@@ -251,122 +193,6 @@ Name | Type | Description | Notes
|
|
251
193
|
- **Accept**: application/json
|
252
194
|
|
253
195
|
|
254
|
-
## list_roles
|
255
|
-
|
256
|
-
> ObjectRolesResponse list_roles(rpm_rpm_alternate_content_source_href, opts)
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
List roles assigned to this object.
|
261
|
-
|
262
|
-
### Example
|
263
|
-
|
264
|
-
```ruby
|
265
|
-
# load the gem
|
266
|
-
require 'pulp_rpm_client'
|
267
|
-
# setup authorization
|
268
|
-
PulpRpmClient.configure do |config|
|
269
|
-
# Configure HTTP basic authorization: basicAuth
|
270
|
-
config.username = 'YOUR USERNAME'
|
271
|
-
config.password = 'YOUR PASSWORD'
|
272
|
-
end
|
273
|
-
|
274
|
-
api_instance = PulpRpmClient::AcsRpmApi.new
|
275
|
-
rpm_rpm_alternate_content_source_href = 'rpm_rpm_alternate_content_source_href_example' # String |
|
276
|
-
opts = {
|
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.
|
279
|
-
}
|
280
|
-
|
281
|
-
begin
|
282
|
-
result = api_instance.list_roles(rpm_rpm_alternate_content_source_href, opts)
|
283
|
-
p result
|
284
|
-
rescue PulpRpmClient::ApiError => e
|
285
|
-
puts "Exception when calling AcsRpmApi->list_roles: #{e}"
|
286
|
-
end
|
287
|
-
```
|
288
|
-
|
289
|
-
### Parameters
|
290
|
-
|
291
|
-
|
292
|
-
Name | Type | Description | Notes
|
293
|
-
------------- | ------------- | ------------- | -------------
|
294
|
-
**rpm_rpm_alternate_content_source_href** | **String**| |
|
295
|
-
**fields** | **String**| A list of fields to include in the response. | [optional]
|
296
|
-
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
297
|
-
|
298
|
-
### Return type
|
299
|
-
|
300
|
-
[**ObjectRolesResponse**](ObjectRolesResponse.md)
|
301
|
-
|
302
|
-
### Authorization
|
303
|
-
|
304
|
-
[basicAuth](../README.md#basicAuth)
|
305
|
-
|
306
|
-
### HTTP request headers
|
307
|
-
|
308
|
-
- **Content-Type**: Not defined
|
309
|
-
- **Accept**: application/json
|
310
|
-
|
311
|
-
|
312
|
-
## my_permissions
|
313
|
-
|
314
|
-
> MyPermissionsResponse my_permissions(rpm_rpm_alternate_content_source_href, opts)
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
List permissions available to the current user on this object.
|
319
|
-
|
320
|
-
### Example
|
321
|
-
|
322
|
-
```ruby
|
323
|
-
# load the gem
|
324
|
-
require 'pulp_rpm_client'
|
325
|
-
# setup authorization
|
326
|
-
PulpRpmClient.configure do |config|
|
327
|
-
# Configure HTTP basic authorization: basicAuth
|
328
|
-
config.username = 'YOUR USERNAME'
|
329
|
-
config.password = 'YOUR PASSWORD'
|
330
|
-
end
|
331
|
-
|
332
|
-
api_instance = PulpRpmClient::AcsRpmApi.new
|
333
|
-
rpm_rpm_alternate_content_source_href = 'rpm_rpm_alternate_content_source_href_example' # String |
|
334
|
-
opts = {
|
335
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
336
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
337
|
-
}
|
338
|
-
|
339
|
-
begin
|
340
|
-
result = api_instance.my_permissions(rpm_rpm_alternate_content_source_href, opts)
|
341
|
-
p result
|
342
|
-
rescue PulpRpmClient::ApiError => e
|
343
|
-
puts "Exception when calling AcsRpmApi->my_permissions: #{e}"
|
344
|
-
end
|
345
|
-
```
|
346
|
-
|
347
|
-
### Parameters
|
348
|
-
|
349
|
-
|
350
|
-
Name | Type | Description | Notes
|
351
|
-
------------- | ------------- | ------------- | -------------
|
352
|
-
**rpm_rpm_alternate_content_source_href** | **String**| |
|
353
|
-
**fields** | **String**| A list of fields to include in the response. | [optional]
|
354
|
-
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
355
|
-
|
356
|
-
### Return type
|
357
|
-
|
358
|
-
[**MyPermissionsResponse**](MyPermissionsResponse.md)
|
359
|
-
|
360
|
-
### Authorization
|
361
|
-
|
362
|
-
[basicAuth](../README.md#basicAuth)
|
363
|
-
|
364
|
-
### HTTP request headers
|
365
|
-
|
366
|
-
- **Content-Type**: Not defined
|
367
|
-
- **Accept**: application/json
|
368
|
-
|
369
|
-
|
370
196
|
## partial_update
|
371
197
|
|
372
198
|
> AsyncOperationResponse partial_update(rpm_rpm_alternate_content_source_href, patchedrpm_rpm_alternate_content_source)
|
@@ -533,60 +359,6 @@ Name | Type | Description | Notes
|
|
533
359
|
- **Accept**: application/json
|
534
360
|
|
535
361
|
|
536
|
-
## remove_role
|
537
|
-
|
538
|
-
> NestedRoleResponse remove_role(rpm_rpm_alternate_content_source_href, nested_role)
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
Remove a role for this object from users/groups.
|
543
|
-
|
544
|
-
### Example
|
545
|
-
|
546
|
-
```ruby
|
547
|
-
# load the gem
|
548
|
-
require 'pulp_rpm_client'
|
549
|
-
# setup authorization
|
550
|
-
PulpRpmClient.configure do |config|
|
551
|
-
# Configure HTTP basic authorization: basicAuth
|
552
|
-
config.username = 'YOUR USERNAME'
|
553
|
-
config.password = 'YOUR PASSWORD'
|
554
|
-
end
|
555
|
-
|
556
|
-
api_instance = PulpRpmClient::AcsRpmApi.new
|
557
|
-
rpm_rpm_alternate_content_source_href = 'rpm_rpm_alternate_content_source_href_example' # String |
|
558
|
-
nested_role = PulpRpmClient::NestedRole.new # NestedRole |
|
559
|
-
|
560
|
-
begin
|
561
|
-
result = api_instance.remove_role(rpm_rpm_alternate_content_source_href, nested_role)
|
562
|
-
p result
|
563
|
-
rescue PulpRpmClient::ApiError => e
|
564
|
-
puts "Exception when calling AcsRpmApi->remove_role: #{e}"
|
565
|
-
end
|
566
|
-
```
|
567
|
-
|
568
|
-
### Parameters
|
569
|
-
|
570
|
-
|
571
|
-
Name | Type | Description | Notes
|
572
|
-
------------- | ------------- | ------------- | -------------
|
573
|
-
**rpm_rpm_alternate_content_source_href** | **String**| |
|
574
|
-
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
575
|
-
|
576
|
-
### Return type
|
577
|
-
|
578
|
-
[**NestedRoleResponse**](NestedRoleResponse.md)
|
579
|
-
|
580
|
-
### Authorization
|
581
|
-
|
582
|
-
[basicAuth](../README.md#basicAuth)
|
583
|
-
|
584
|
-
### HTTP request headers
|
585
|
-
|
586
|
-
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
587
|
-
- **Accept**: application/json
|
588
|
-
|
589
|
-
|
590
362
|
## update
|
591
363
|
|
592
364
|
> AsyncOperationResponse update(rpm_rpm_alternate_content_source_href, rpm_rpm_alternate_content_source)
|
data/docs/DistributionsRpmApi.md
CHANGED
@@ -4,73 +4,15 @@ All URIs are relative to *https://pulp*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**add_role**](DistributionsRpmApi.md#add_role) | **POST** {rpm_rpm_distribution_href}add_role/ |
|
8
7
|
[**create**](DistributionsRpmApi.md#create) | **POST** /pulp/api/v3/distributions/rpm/rpm/ | Create a rpm distribution
|
9
8
|
[**delete**](DistributionsRpmApi.md#delete) | **DELETE** {rpm_rpm_distribution_href} | Delete a rpm distribution
|
10
9
|
[**list**](DistributionsRpmApi.md#list) | **GET** /pulp/api/v3/distributions/rpm/rpm/ | List rpm distributions
|
11
|
-
[**list_roles**](DistributionsRpmApi.md#list_roles) | **GET** {rpm_rpm_distribution_href}list_roles/ |
|
12
|
-
[**my_permissions**](DistributionsRpmApi.md#my_permissions) | **GET** {rpm_rpm_distribution_href}my_permissions/ |
|
13
10
|
[**partial_update**](DistributionsRpmApi.md#partial_update) | **PATCH** {rpm_rpm_distribution_href} | Update a rpm distribution
|
14
11
|
[**read**](DistributionsRpmApi.md#read) | **GET** {rpm_rpm_distribution_href} | Inspect a rpm distribution
|
15
|
-
[**remove_role**](DistributionsRpmApi.md#remove_role) | **POST** {rpm_rpm_distribution_href}remove_role/ |
|
16
12
|
[**update**](DistributionsRpmApi.md#update) | **PUT** {rpm_rpm_distribution_href} | Update a rpm distribution
|
17
13
|
|
18
14
|
|
19
15
|
|
20
|
-
## add_role
|
21
|
-
|
22
|
-
> NestedRoleResponse add_role(rpm_rpm_distribution_href, nested_role)
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
Add a role for this object to users/groups.
|
27
|
-
|
28
|
-
### Example
|
29
|
-
|
30
|
-
```ruby
|
31
|
-
# load the gem
|
32
|
-
require 'pulp_rpm_client'
|
33
|
-
# setup authorization
|
34
|
-
PulpRpmClient.configure do |config|
|
35
|
-
# Configure HTTP basic authorization: basicAuth
|
36
|
-
config.username = 'YOUR USERNAME'
|
37
|
-
config.password = 'YOUR PASSWORD'
|
38
|
-
end
|
39
|
-
|
40
|
-
api_instance = PulpRpmClient::DistributionsRpmApi.new
|
41
|
-
rpm_rpm_distribution_href = 'rpm_rpm_distribution_href_example' # String |
|
42
|
-
nested_role = PulpRpmClient::NestedRole.new # NestedRole |
|
43
|
-
|
44
|
-
begin
|
45
|
-
result = api_instance.add_role(rpm_rpm_distribution_href, nested_role)
|
46
|
-
p result
|
47
|
-
rescue PulpRpmClient::ApiError => e
|
48
|
-
puts "Exception when calling DistributionsRpmApi->add_role: #{e}"
|
49
|
-
end
|
50
|
-
```
|
51
|
-
|
52
|
-
### Parameters
|
53
|
-
|
54
|
-
|
55
|
-
Name | Type | Description | Notes
|
56
|
-
------------- | ------------- | ------------- | -------------
|
57
|
-
**rpm_rpm_distribution_href** | **String**| |
|
58
|
-
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
59
|
-
|
60
|
-
### Return type
|
61
|
-
|
62
|
-
[**NestedRoleResponse**](NestedRoleResponse.md)
|
63
|
-
|
64
|
-
### Authorization
|
65
|
-
|
66
|
-
[basicAuth](../README.md#basicAuth)
|
67
|
-
|
68
|
-
### HTTP request headers
|
69
|
-
|
70
|
-
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
71
|
-
- **Accept**: application/json
|
72
|
-
|
73
|
-
|
74
16
|
## create
|
75
17
|
|
76
18
|
> AsyncOperationResponse create(rpm_rpm_distribution)
|
@@ -262,122 +204,6 @@ Name | Type | Description | Notes
|
|
262
204
|
- **Accept**: application/json
|
263
205
|
|
264
206
|
|
265
|
-
## list_roles
|
266
|
-
|
267
|
-
> ObjectRolesResponse list_roles(rpm_rpm_distribution_href, opts)
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
List roles assigned to this object.
|
272
|
-
|
273
|
-
### Example
|
274
|
-
|
275
|
-
```ruby
|
276
|
-
# load the gem
|
277
|
-
require 'pulp_rpm_client'
|
278
|
-
# setup authorization
|
279
|
-
PulpRpmClient.configure do |config|
|
280
|
-
# Configure HTTP basic authorization: basicAuth
|
281
|
-
config.username = 'YOUR USERNAME'
|
282
|
-
config.password = 'YOUR PASSWORD'
|
283
|
-
end
|
284
|
-
|
285
|
-
api_instance = PulpRpmClient::DistributionsRpmApi.new
|
286
|
-
rpm_rpm_distribution_href = 'rpm_rpm_distribution_href_example' # String |
|
287
|
-
opts = {
|
288
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
289
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
290
|
-
}
|
291
|
-
|
292
|
-
begin
|
293
|
-
result = api_instance.list_roles(rpm_rpm_distribution_href, opts)
|
294
|
-
p result
|
295
|
-
rescue PulpRpmClient::ApiError => e
|
296
|
-
puts "Exception when calling DistributionsRpmApi->list_roles: #{e}"
|
297
|
-
end
|
298
|
-
```
|
299
|
-
|
300
|
-
### Parameters
|
301
|
-
|
302
|
-
|
303
|
-
Name | Type | Description | Notes
|
304
|
-
------------- | ------------- | ------------- | -------------
|
305
|
-
**rpm_rpm_distribution_href** | **String**| |
|
306
|
-
**fields** | **String**| A list of fields to include in the response. | [optional]
|
307
|
-
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
308
|
-
|
309
|
-
### Return type
|
310
|
-
|
311
|
-
[**ObjectRolesResponse**](ObjectRolesResponse.md)
|
312
|
-
|
313
|
-
### Authorization
|
314
|
-
|
315
|
-
[basicAuth](../README.md#basicAuth)
|
316
|
-
|
317
|
-
### HTTP request headers
|
318
|
-
|
319
|
-
- **Content-Type**: Not defined
|
320
|
-
- **Accept**: application/json
|
321
|
-
|
322
|
-
|
323
|
-
## my_permissions
|
324
|
-
|
325
|
-
> MyPermissionsResponse my_permissions(rpm_rpm_distribution_href, opts)
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
List permissions available to the current user on this object.
|
330
|
-
|
331
|
-
### Example
|
332
|
-
|
333
|
-
```ruby
|
334
|
-
# load the gem
|
335
|
-
require 'pulp_rpm_client'
|
336
|
-
# setup authorization
|
337
|
-
PulpRpmClient.configure do |config|
|
338
|
-
# Configure HTTP basic authorization: basicAuth
|
339
|
-
config.username = 'YOUR USERNAME'
|
340
|
-
config.password = 'YOUR PASSWORD'
|
341
|
-
end
|
342
|
-
|
343
|
-
api_instance = PulpRpmClient::DistributionsRpmApi.new
|
344
|
-
rpm_rpm_distribution_href = 'rpm_rpm_distribution_href_example' # String |
|
345
|
-
opts = {
|
346
|
-
fields: 'fields_example', # String | A list of fields to include in the response.
|
347
|
-
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
348
|
-
}
|
349
|
-
|
350
|
-
begin
|
351
|
-
result = api_instance.my_permissions(rpm_rpm_distribution_href, opts)
|
352
|
-
p result
|
353
|
-
rescue PulpRpmClient::ApiError => e
|
354
|
-
puts "Exception when calling DistributionsRpmApi->my_permissions: #{e}"
|
355
|
-
end
|
356
|
-
```
|
357
|
-
|
358
|
-
### Parameters
|
359
|
-
|
360
|
-
|
361
|
-
Name | Type | Description | Notes
|
362
|
-
------------- | ------------- | ------------- | -------------
|
363
|
-
**rpm_rpm_distribution_href** | **String**| |
|
364
|
-
**fields** | **String**| A list of fields to include in the response. | [optional]
|
365
|
-
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
366
|
-
|
367
|
-
### Return type
|
368
|
-
|
369
|
-
[**MyPermissionsResponse**](MyPermissionsResponse.md)
|
370
|
-
|
371
|
-
### Authorization
|
372
|
-
|
373
|
-
[basicAuth](../README.md#basicAuth)
|
374
|
-
|
375
|
-
### HTTP request headers
|
376
|
-
|
377
|
-
- **Content-Type**: Not defined
|
378
|
-
- **Accept**: application/json
|
379
|
-
|
380
|
-
|
381
207
|
## partial_update
|
382
208
|
|
383
209
|
> AsyncOperationResponse partial_update(rpm_rpm_distribution_href, patchedrpm_rpm_distribution)
|
@@ -492,60 +318,6 @@ Name | Type | Description | Notes
|
|
492
318
|
- **Accept**: application/json
|
493
319
|
|
494
320
|
|
495
|
-
## remove_role
|
496
|
-
|
497
|
-
> NestedRoleResponse remove_role(rpm_rpm_distribution_href, nested_role)
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
Remove a role for this object from users/groups.
|
502
|
-
|
503
|
-
### Example
|
504
|
-
|
505
|
-
```ruby
|
506
|
-
# load the gem
|
507
|
-
require 'pulp_rpm_client'
|
508
|
-
# setup authorization
|
509
|
-
PulpRpmClient.configure do |config|
|
510
|
-
# Configure HTTP basic authorization: basicAuth
|
511
|
-
config.username = 'YOUR USERNAME'
|
512
|
-
config.password = 'YOUR PASSWORD'
|
513
|
-
end
|
514
|
-
|
515
|
-
api_instance = PulpRpmClient::DistributionsRpmApi.new
|
516
|
-
rpm_rpm_distribution_href = 'rpm_rpm_distribution_href_example' # String |
|
517
|
-
nested_role = PulpRpmClient::NestedRole.new # NestedRole |
|
518
|
-
|
519
|
-
begin
|
520
|
-
result = api_instance.remove_role(rpm_rpm_distribution_href, nested_role)
|
521
|
-
p result
|
522
|
-
rescue PulpRpmClient::ApiError => e
|
523
|
-
puts "Exception when calling DistributionsRpmApi->remove_role: #{e}"
|
524
|
-
end
|
525
|
-
```
|
526
|
-
|
527
|
-
### Parameters
|
528
|
-
|
529
|
-
|
530
|
-
Name | Type | Description | Notes
|
531
|
-
------------- | ------------- | ------------- | -------------
|
532
|
-
**rpm_rpm_distribution_href** | **String**| |
|
533
|
-
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
534
|
-
|
535
|
-
### Return type
|
536
|
-
|
537
|
-
[**NestedRoleResponse**](NestedRoleResponse.md)
|
538
|
-
|
539
|
-
### Authorization
|
540
|
-
|
541
|
-
[basicAuth](../README.md#basicAuth)
|
542
|
-
|
543
|
-
### HTTP request headers
|
544
|
-
|
545
|
-
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
546
|
-
- **Accept**: application/json
|
547
|
-
|
548
|
-
|
549
321
|
## update
|
550
322
|
|
551
323
|
> AsyncOperationResponse update(rpm_rpm_distribution_href, rpm_rpm_distribution)
|