pulp_rpm_client 3.19.0.dev1662960501 → 3.19.0.dev1663046434

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.

Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +36 -8
  3. data/docs/AcsRpmApi.md +228 -0
  4. data/docs/DistributionsRpmApi.md +228 -0
  5. data/docs/MyPermissionsResponse.md +17 -0
  6. data/docs/NestedRole.md +21 -0
  7. data/docs/NestedRoleResponse.md +21 -0
  8. data/docs/ObjectRolesResponse.md +17 -0
  9. data/docs/PublicationsRpmApi.md +228 -0
  10. data/docs/RemotesRpmApi.md +228 -0
  11. data/docs/RemotesUlnApi.md +228 -0
  12. data/docs/RepositoriesRpmApi.md +228 -0
  13. data/lib/pulp_rpm_client/api/acs_rpm_api.rb +268 -0
  14. data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +268 -0
  15. data/lib/pulp_rpm_client/api/publications_rpm_api.rb +268 -0
  16. data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +268 -0
  17. data/lib/pulp_rpm_client/api/remotes_uln_api.rb +268 -0
  18. data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +268 -0
  19. data/lib/pulp_rpm_client/models/my_permissions_response.rb +213 -0
  20. data/lib/pulp_rpm_client/models/nested_role.rb +234 -0
  21. data/lib/pulp_rpm_client/models/nested_role_response.rb +234 -0
  22. data/lib/pulp_rpm_client/models/object_roles_response.rb +213 -0
  23. data/lib/pulp_rpm_client/version.rb +1 -1
  24. data/lib/pulp_rpm_client.rb +4 -0
  25. data/spec/api/acs_rpm_api_spec.rb +50 -0
  26. data/spec/api/distributions_rpm_api_spec.rb +50 -0
  27. data/spec/api/publications_rpm_api_spec.rb +50 -0
  28. data/spec/api/remotes_rpm_api_spec.rb +50 -0
  29. data/spec/api/remotes_uln_api_spec.rb +50 -0
  30. data/spec/api/repositories_rpm_api_spec.rb +50 -0
  31. data/spec/models/my_permissions_response_spec.rb +41 -0
  32. data/spec/models/nested_role_response_spec.rb +53 -0
  33. data/spec/models/nested_role_spec.rb +53 -0
  34. data/spec/models/object_roles_response_spec.rb +41 -0
  35. metadata +18 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b2feb86d99c33451b827730e5654cadde564967f8739c5fd726ec336beab300a
4
- data.tar.gz: 92255c0205933b79d5521fa206dcc7443ad185daf7a8b836490c03f1aca086dd
3
+ metadata.gz: c7b93f95b02b099a568f491584a105d4229a066e9d0744d2b822a37d1a94415b
4
+ data.tar.gz: 30f9cdfa080f1eeb80f7773166178b962b2466e3eaf304cfa9e2454c608bd3d9
5
5
  SHA512:
6
- metadata.gz: 4c85312eb883cd2b16d96bfca1199ce2bdc90d174df3e0d44336ad4d50e4374590cb971021f7e69165200fd922c68a87150505d42b9f075a46cf16965c556dd8
7
- data.tar.gz: 33084c7bebf27ace5b236534dca2796ed2c3e801cf286ca455a50bd663f08776128bf88e5a45609f8f5154e3dd8575e775b4cf934606cb92aff0c71ff768d2eb
6
+ metadata.gz: 392fb44233f9a3d083b47cda32f730b220842e10edf9812a11266933a85e30ec8777ede42797a1563fc7837c043eef5a562dbff7a6f3b5615e6ae45e051b6d9e
7
+ data.tar.gz: 73470d95c16d2522ff9dcaf19fb92887ae593b9f17e9af5960b29e02c8332f556ea9bd31afc3b04cdde2afa6fb1d1157828dca25d4c5b8063498cb5dd3c85b27
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.19.0.dev1662960501
10
+ - Package version: 3.19.0.dev1663046434
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.19.0.dev1662960501.gem
27
+ gem install ./pulp_rpm_client-3.19.0.dev1663046434.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_rpm_client-3.19.0.dev1662960501.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_rpm_client-3.19.0.dev1663046434.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.19.0.dev1662960501'
36
+ gem 'pulp_rpm_client', '~> 3.19.0.dev1663046434'
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
- rpm_rpm_alternate_content_source = PulpRpmClient::RpmRpmAlternateContentSource.new # RpmRpmAlternateContentSource |
68
+ rpm_rpm_alternate_content_source_href = 'rpm_rpm_alternate_content_source_href_example' # String |
69
+ nested_role = PulpRpmClient::NestedRole.new # NestedRole |
69
70
 
70
71
  begin
71
- #Create a rpm alternate content source
72
- result = api_instance.create(rpm_rpm_alternate_content_source)
72
+ result = api_instance.add_role(rpm_rpm_alternate_content_source_href, nested_role)
73
73
  p result
74
74
  rescue PulpRpmClient::ApiError => e
75
- puts "Exception when calling AcsRpmApi->create: #{e}"
75
+ puts "Exception when calling AcsRpmApi->add_role: #{e}"
76
76
  end
77
77
 
78
78
  ```
@@ -83,12 +83,16 @@ 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/ |
86
87
  *PulpRpmClient::AcsRpmApi* | [**create**](docs/AcsRpmApi.md#create) | **POST** /pulp/api/v3/acs/rpm/rpm/ | Create a rpm alternate content source
87
88
  *PulpRpmClient::AcsRpmApi* | [**delete**](docs/AcsRpmApi.md#delete) | **DELETE** {rpm_rpm_alternate_content_source_href} | Delete a rpm alternate content source
88
89
  *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/ |
89
92
  *PulpRpmClient::AcsRpmApi* | [**partial_update**](docs/AcsRpmApi.md#partial_update) | **PATCH** {rpm_rpm_alternate_content_source_href} | Update a rpm alternate content source
90
93
  *PulpRpmClient::AcsRpmApi* | [**read**](docs/AcsRpmApi.md#read) | **GET** {rpm_rpm_alternate_content_source_href} | Inspect a rpm alternate content source
91
94
  *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/ |
92
96
  *PulpRpmClient::AcsRpmApi* | [**update**](docs/AcsRpmApi.md#update) | **PUT** {rpm_rpm_alternate_content_source_href} | Update a rpm alternate content source
93
97
  *PulpRpmClient::ContentAdvisoriesApi* | [**create**](docs/ContentAdvisoriesApi.md#create) | **POST** /pulp/api/v3/content/rpm/advisories/ | Create an update record
94
98
  *PulpRpmClient::ContentAdvisoriesApi* | [**list**](docs/ContentAdvisoriesApi.md#list) | **GET** /pulp/api/v3/content/rpm/advisories/ | List update records
@@ -117,34 +121,54 @@ Class | Method | HTTP request | Description
117
121
  *PulpRpmClient::ContentPackagesApi* | [**read**](docs/ContentPackagesApi.md#read) | **GET** {rpm_package_href} | Inspect a package
118
122
  *PulpRpmClient::ContentRepoMetadataFilesApi* | [**list**](docs/ContentRepoMetadataFilesApi.md#list) | **GET** /pulp/api/v3/content/rpm/repo_metadata_files/ | List repo metadata files
119
123
  *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/ |
120
125
  *PulpRpmClient::DistributionsRpmApi* | [**create**](docs/DistributionsRpmApi.md#create) | **POST** /pulp/api/v3/distributions/rpm/rpm/ | Create a rpm distribution
121
126
  *PulpRpmClient::DistributionsRpmApi* | [**delete**](docs/DistributionsRpmApi.md#delete) | **DELETE** {rpm_rpm_distribution_href} | Delete a rpm distribution
122
127
  *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/ |
123
130
  *PulpRpmClient::DistributionsRpmApi* | [**partial_update**](docs/DistributionsRpmApi.md#partial_update) | **PATCH** {rpm_rpm_distribution_href} | Update a rpm distribution
124
131
  *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/ |
125
133
  *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/ |
126
135
  *PulpRpmClient::PublicationsRpmApi* | [**create**](docs/PublicationsRpmApi.md#create) | **POST** /pulp/api/v3/publications/rpm/rpm/ | Create a rpm publication
127
136
  *PulpRpmClient::PublicationsRpmApi* | [**delete**](docs/PublicationsRpmApi.md#delete) | **DELETE** {rpm_rpm_publication_href} | Delete a rpm publication
128
137
  *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/ |
129
140
  *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/ |
130
143
  *PulpRpmClient::RemotesRpmApi* | [**create**](docs/RemotesRpmApi.md#create) | **POST** /pulp/api/v3/remotes/rpm/rpm/ | Create a rpm remote
131
144
  *PulpRpmClient::RemotesRpmApi* | [**delete**](docs/RemotesRpmApi.md#delete) | **DELETE** {rpm_rpm_remote_href} | Delete a rpm remote
132
145
  *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/ |
133
148
  *PulpRpmClient::RemotesRpmApi* | [**partial_update**](docs/RemotesRpmApi.md#partial_update) | **PATCH** {rpm_rpm_remote_href} | Update a rpm remote
134
149
  *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/ |
135
151
  *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/ |
136
153
  *PulpRpmClient::RemotesUlnApi* | [**create**](docs/RemotesUlnApi.md#create) | **POST** /pulp/api/v3/remotes/rpm/uln/ | Create an uln remote
137
154
  *PulpRpmClient::RemotesUlnApi* | [**delete**](docs/RemotesUlnApi.md#delete) | **DELETE** {rpm_uln_remote_href} | Delete an uln remote
138
155
  *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/ |
139
158
  *PulpRpmClient::RemotesUlnApi* | [**partial_update**](docs/RemotesUlnApi.md#partial_update) | **PATCH** {rpm_uln_remote_href} | Update an uln remote
140
159
  *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/ |
141
161
  *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/ |
142
163
  *PulpRpmClient::RepositoriesRpmApi* | [**create**](docs/RepositoriesRpmApi.md#create) | **POST** /pulp/api/v3/repositories/rpm/rpm/ | Create a rpm repository
143
164
  *PulpRpmClient::RepositoriesRpmApi* | [**delete**](docs/RepositoriesRpmApi.md#delete) | **DELETE** {rpm_rpm_repository_href} | Delete a rpm repository
144
165
  *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/ |
145
167
  *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/ |
146
169
  *PulpRpmClient::RepositoriesRpmApi* | [**partial_update**](docs/RepositoriesRpmApi.md#partial_update) | **PATCH** {rpm_rpm_repository_href} | Update a rpm repository
147
170
  *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/ |
148
172
  *PulpRpmClient::RepositoriesRpmApi* | [**sync**](docs/RepositoriesRpmApi.md#sync) | **POST** {rpm_rpm_repository_href}sync/ | Sync from remote
149
173
  *PulpRpmClient::RepositoriesRpmApi* | [**update**](docs/RepositoriesRpmApi.md#update) | **PUT** {rpm_rpm_repository_href} | Update a rpm repository
150
174
  *PulpRpmClient::RepositoriesRpmVersionsApi* | [**delete**](docs/RepositoriesRpmVersionsApi.md#delete) | **DELETE** {rpm_rpm_repository_version_href} | Delete a repository version
@@ -166,6 +190,10 @@ Class | Method | HTTP request | Description
166
190
  - [PulpRpmClient::Copy](docs/Copy.md)
167
191
  - [PulpRpmClient::ImageResponse](docs/ImageResponse.md)
168
192
  - [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)
169
197
  - [PulpRpmClient::PackageChecksumTypeEnum](docs/PackageChecksumTypeEnum.md)
170
198
  - [PulpRpmClient::PaginatedRepositoryVersionResponseList](docs/PaginatedRepositoryVersionResponseList.md)
171
199
  - [PulpRpmClient::PaginatedrpmDistributionTreeResponseList](docs/PaginatedrpmDistributionTreeResponseList.md)
data/docs/AcsRpmApi.md CHANGED
@@ -4,16 +4,74 @@ 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/ |
7
8
  [**create**](AcsRpmApi.md#create) | **POST** /pulp/api/v3/acs/rpm/rpm/ | Create a rpm alternate content source
8
9
  [**delete**](AcsRpmApi.md#delete) | **DELETE** {rpm_rpm_alternate_content_source_href} | Delete a rpm alternate content source
9
10
  [**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/ |
10
13
  [**partial_update**](AcsRpmApi.md#partial_update) | **PATCH** {rpm_rpm_alternate_content_source_href} | Update a rpm alternate content source
11
14
  [**read**](AcsRpmApi.md#read) | **GET** {rpm_rpm_alternate_content_source_href} | Inspect a rpm alternate content source
12
15
  [**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/ |
13
17
  [**update**](AcsRpmApi.md#update) | **PUT** {rpm_rpm_alternate_content_source_href} | Update a rpm alternate content source
14
18
 
15
19
 
16
20
 
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
+
17
75
  ## create
18
76
 
19
77
  > RpmRpmAlternateContentSourceResponse create(rpm_rpm_alternate_content_source)
@@ -193,6 +251,122 @@ Name | Type | Description | Notes
193
251
  - **Accept**: application/json
194
252
 
195
253
 
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
+
196
370
  ## partial_update
197
371
 
198
372
  > AsyncOperationResponse partial_update(rpm_rpm_alternate_content_source_href, patchedrpm_rpm_alternate_content_source)
@@ -359,6 +533,60 @@ Name | Type | Description | Notes
359
533
  - **Accept**: application/json
360
534
 
361
535
 
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
+
362
590
  ## update
363
591
 
364
592
  > AsyncOperationResponse update(rpm_rpm_alternate_content_source_href, rpm_rpm_alternate_content_source)
@@ -4,15 +4,73 @@ 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/ |
7
8
  [**create**](DistributionsRpmApi.md#create) | **POST** /pulp/api/v3/distributions/rpm/rpm/ | Create a rpm distribution
8
9
  [**delete**](DistributionsRpmApi.md#delete) | **DELETE** {rpm_rpm_distribution_href} | Delete a rpm distribution
9
10
  [**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/ |
10
13
  [**partial_update**](DistributionsRpmApi.md#partial_update) | **PATCH** {rpm_rpm_distribution_href} | Update a rpm distribution
11
14
  [**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/ |
12
16
  [**update**](DistributionsRpmApi.md#update) | **PUT** {rpm_rpm_distribution_href} | Update a rpm distribution
13
17
 
14
18
 
15
19
 
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
+
16
74
  ## create
17
75
 
18
76
  > AsyncOperationResponse create(rpm_rpm_distribution)
@@ -204,6 +262,122 @@ Name | Type | Description | Notes
204
262
  - **Accept**: application/json
205
263
 
206
264
 
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
+
207
381
  ## partial_update
208
382
 
209
383
  > AsyncOperationResponse partial_update(rpm_rpm_distribution_href, patchedrpm_rpm_distribution)
@@ -318,6 +492,60 @@ Name | Type | Description | Notes
318
492
  - **Accept**: application/json
319
493
 
320
494
 
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
+
321
549
  ## update
322
550
 
323
551
  > AsyncOperationResponse update(rpm_rpm_distribution_href, rpm_rpm_distribution)
@@ -0,0 +1,17 @@
1
+ # PulpRpmClient::MyPermissionsResponse
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **permissions** | **Array<String>** | |
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'PulpRpmClient'
13
+
14
+ instance = PulpRpmClient::MyPermissionsResponse.new(permissions: null)
15
+ ```
16
+
17
+