pulp_rpm_client 3.18.0.dev1651381596 → 3.18.0.dev1651723793

Sign up to get free protection for your applications and to get access to all the features.
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 +230 -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 +271 -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 +51 -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: 740e3dc8c5ba34ba7fe6175d1dba88974c92959cbcc725fff2df4187f30765d1
4
- data.tar.gz: 3d9580134c5c7e28764b16fa30be936c9f301d2841a70acb9f68db4ce42915a1
3
+ metadata.gz: f5f6de8350dba9fed91bdf96aeaa53eae4e201ea1134d3b5711881d9ecdcfebf
4
+ data.tar.gz: e1d965eb9dcd515c90907e9297b711232520c9a066ad9544601ee98e044c5076
5
5
  SHA512:
6
- metadata.gz: 7ca3daab75b54631bbf37559fad3c752b3ee60b6608654601a4a7f8b2aa1ef0f50005a83f97271060b6a2d418a9f0b644892be4eecf43f4bbea89f1595933b82
7
- data.tar.gz: a13376d5284ae65d92f7eb2cd6f33b4790aad6e9bfd5b5437ab03c32aa61ea7ad2163405a0809845af1d2cebe4ac9e98c5f8ccd98fd0f4c6ddf5bce59f7f2b17
6
+ metadata.gz: 5697fee41907b625e5b580bc09ac5254d15c5ef93cc1989ee54a150ba6384415d7d50dd70b61a2a65ef755ca1f3da3a95afc0d0d57c665f361c93bd6618afef4
7
+ data.tar.gz: dfcb855a3a81a642f42452219f8c439fea91d1b392f7a139b5fadc8bd0cca4d937546ca0069729aec43c3fd660393675d8ed418c157cdf78e0f8b8ec59f89a0b
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.18.0.dev1651381596
10
+ - Package version: 3.18.0.dev1651723793
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.18.0.dev1651381596.gem
27
+ gem install ./pulp_rpm_client-3.18.0.dev1651723793.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_rpm_client-3.18.0.dev1651381596.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_rpm_client-3.18.0.dev1651723793.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.18.0.dev1651381596'
36
+ gem 'pulp_rpm_client', '~> 3.18.0.dev1651723793'
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
@@ -114,34 +118,54 @@ Class | Method | HTTP request | Description
114
118
  *PulpRpmClient::ContentPackagesApi* | [**read**](docs/ContentPackagesApi.md#read) | **GET** {rpm_package_href} | Inspect a package
115
119
  *PulpRpmClient::ContentRepoMetadataFilesApi* | [**list**](docs/ContentRepoMetadataFilesApi.md#list) | **GET** /pulp/api/v3/content/rpm/repo_metadata_files/ | List repo metadata files
116
120
  *PulpRpmClient::ContentRepoMetadataFilesApi* | [**read**](docs/ContentRepoMetadataFilesApi.md#read) | **GET** {rpm_repo_metadata_file_href} | Inspect a repo metadata file
121
+ *PulpRpmClient::DistributionsRpmApi* | [**add_role**](docs/DistributionsRpmApi.md#add_role) | **POST** {rpm_rpm_distribution_href}add_role/ |
117
122
  *PulpRpmClient::DistributionsRpmApi* | [**create**](docs/DistributionsRpmApi.md#create) | **POST** /pulp/api/v3/distributions/rpm/rpm/ | Create a rpm distribution
118
123
  *PulpRpmClient::DistributionsRpmApi* | [**delete**](docs/DistributionsRpmApi.md#delete) | **DELETE** {rpm_rpm_distribution_href} | Delete a rpm distribution
119
124
  *PulpRpmClient::DistributionsRpmApi* | [**list**](docs/DistributionsRpmApi.md#list) | **GET** /pulp/api/v3/distributions/rpm/rpm/ | List rpm distributions
125
+ *PulpRpmClient::DistributionsRpmApi* | [**list_roles**](docs/DistributionsRpmApi.md#list_roles) | **GET** {rpm_rpm_distribution_href}list_roles/ |
126
+ *PulpRpmClient::DistributionsRpmApi* | [**my_permissions**](docs/DistributionsRpmApi.md#my_permissions) | **GET** {rpm_rpm_distribution_href}my_permissions/ |
120
127
  *PulpRpmClient::DistributionsRpmApi* | [**partial_update**](docs/DistributionsRpmApi.md#partial_update) | **PATCH** {rpm_rpm_distribution_href} | Update a rpm distribution
121
128
  *PulpRpmClient::DistributionsRpmApi* | [**read**](docs/DistributionsRpmApi.md#read) | **GET** {rpm_rpm_distribution_href} | Inspect a rpm distribution
129
+ *PulpRpmClient::DistributionsRpmApi* | [**remove_role**](docs/DistributionsRpmApi.md#remove_role) | **POST** {rpm_rpm_distribution_href}remove_role/ |
122
130
  *PulpRpmClient::DistributionsRpmApi* | [**update**](docs/DistributionsRpmApi.md#update) | **PUT** {rpm_rpm_distribution_href} | Update a rpm distribution
131
+ *PulpRpmClient::PublicationsRpmApi* | [**add_role**](docs/PublicationsRpmApi.md#add_role) | **POST** {rpm_rpm_publication_href}add_role/ |
123
132
  *PulpRpmClient::PublicationsRpmApi* | [**create**](docs/PublicationsRpmApi.md#create) | **POST** /pulp/api/v3/publications/rpm/rpm/ | Create a rpm publication
124
133
  *PulpRpmClient::PublicationsRpmApi* | [**delete**](docs/PublicationsRpmApi.md#delete) | **DELETE** {rpm_rpm_publication_href} | Delete a rpm publication
125
134
  *PulpRpmClient::PublicationsRpmApi* | [**list**](docs/PublicationsRpmApi.md#list) | **GET** /pulp/api/v3/publications/rpm/rpm/ | List rpm publications
135
+ *PulpRpmClient::PublicationsRpmApi* | [**list_roles**](docs/PublicationsRpmApi.md#list_roles) | **GET** {rpm_rpm_publication_href}list_roles/ |
136
+ *PulpRpmClient::PublicationsRpmApi* | [**my_permissions**](docs/PublicationsRpmApi.md#my_permissions) | **GET** {rpm_rpm_publication_href}my_permissions/ |
126
137
  *PulpRpmClient::PublicationsRpmApi* | [**read**](docs/PublicationsRpmApi.md#read) | **GET** {rpm_rpm_publication_href} | Inspect a rpm publication
138
+ *PulpRpmClient::PublicationsRpmApi* | [**remove_role**](docs/PublicationsRpmApi.md#remove_role) | **POST** {rpm_rpm_publication_href}remove_role/ |
139
+ *PulpRpmClient::RemotesRpmApi* | [**add_role**](docs/RemotesRpmApi.md#add_role) | **POST** {rpm_rpm_remote_href}add_role/ |
127
140
  *PulpRpmClient::RemotesRpmApi* | [**create**](docs/RemotesRpmApi.md#create) | **POST** /pulp/api/v3/remotes/rpm/rpm/ | Create a rpm remote
128
141
  *PulpRpmClient::RemotesRpmApi* | [**delete**](docs/RemotesRpmApi.md#delete) | **DELETE** {rpm_rpm_remote_href} | Delete a rpm remote
129
142
  *PulpRpmClient::RemotesRpmApi* | [**list**](docs/RemotesRpmApi.md#list) | **GET** /pulp/api/v3/remotes/rpm/rpm/ | List rpm remotes
143
+ *PulpRpmClient::RemotesRpmApi* | [**list_roles**](docs/RemotesRpmApi.md#list_roles) | **GET** {rpm_rpm_remote_href}list_roles/ |
144
+ *PulpRpmClient::RemotesRpmApi* | [**my_permissions**](docs/RemotesRpmApi.md#my_permissions) | **GET** {rpm_rpm_remote_href}my_permissions/ |
130
145
  *PulpRpmClient::RemotesRpmApi* | [**partial_update**](docs/RemotesRpmApi.md#partial_update) | **PATCH** {rpm_rpm_remote_href} | Update a rpm remote
131
146
  *PulpRpmClient::RemotesRpmApi* | [**read**](docs/RemotesRpmApi.md#read) | **GET** {rpm_rpm_remote_href} | Inspect a rpm remote
147
+ *PulpRpmClient::RemotesRpmApi* | [**remove_role**](docs/RemotesRpmApi.md#remove_role) | **POST** {rpm_rpm_remote_href}remove_role/ |
132
148
  *PulpRpmClient::RemotesRpmApi* | [**update**](docs/RemotesRpmApi.md#update) | **PUT** {rpm_rpm_remote_href} | Update a rpm remote
149
+ *PulpRpmClient::RemotesUlnApi* | [**add_role**](docs/RemotesUlnApi.md#add_role) | **POST** {rpm_uln_remote_href}add_role/ |
133
150
  *PulpRpmClient::RemotesUlnApi* | [**create**](docs/RemotesUlnApi.md#create) | **POST** /pulp/api/v3/remotes/rpm/uln/ | Create an uln remote
134
151
  *PulpRpmClient::RemotesUlnApi* | [**delete**](docs/RemotesUlnApi.md#delete) | **DELETE** {rpm_uln_remote_href} | Delete an uln remote
135
152
  *PulpRpmClient::RemotesUlnApi* | [**list**](docs/RemotesUlnApi.md#list) | **GET** /pulp/api/v3/remotes/rpm/uln/ | List uln remotes
153
+ *PulpRpmClient::RemotesUlnApi* | [**list_roles**](docs/RemotesUlnApi.md#list_roles) | **GET** {rpm_uln_remote_href}list_roles/ |
154
+ *PulpRpmClient::RemotesUlnApi* | [**my_permissions**](docs/RemotesUlnApi.md#my_permissions) | **GET** {rpm_uln_remote_href}my_permissions/ |
136
155
  *PulpRpmClient::RemotesUlnApi* | [**partial_update**](docs/RemotesUlnApi.md#partial_update) | **PATCH** {rpm_uln_remote_href} | Update an uln remote
137
156
  *PulpRpmClient::RemotesUlnApi* | [**read**](docs/RemotesUlnApi.md#read) | **GET** {rpm_uln_remote_href} | Inspect an uln remote
157
+ *PulpRpmClient::RemotesUlnApi* | [**remove_role**](docs/RemotesUlnApi.md#remove_role) | **POST** {rpm_uln_remote_href}remove_role/ |
138
158
  *PulpRpmClient::RemotesUlnApi* | [**update**](docs/RemotesUlnApi.md#update) | **PUT** {rpm_uln_remote_href} | Update an uln remote
159
+ *PulpRpmClient::RepositoriesRpmApi* | [**add_role**](docs/RepositoriesRpmApi.md#add_role) | **POST** {rpm_rpm_repository_href}add_role/ |
139
160
  *PulpRpmClient::RepositoriesRpmApi* | [**create**](docs/RepositoriesRpmApi.md#create) | **POST** /pulp/api/v3/repositories/rpm/rpm/ | Create a rpm repository
140
161
  *PulpRpmClient::RepositoriesRpmApi* | [**delete**](docs/RepositoriesRpmApi.md#delete) | **DELETE** {rpm_rpm_repository_href} | Delete a rpm repository
141
162
  *PulpRpmClient::RepositoriesRpmApi* | [**list**](docs/RepositoriesRpmApi.md#list) | **GET** /pulp/api/v3/repositories/rpm/rpm/ | List rpm repositorys
163
+ *PulpRpmClient::RepositoriesRpmApi* | [**list_roles**](docs/RepositoriesRpmApi.md#list_roles) | **GET** {rpm_rpm_repository_href}list_roles/ |
142
164
  *PulpRpmClient::RepositoriesRpmApi* | [**modify**](docs/RepositoriesRpmApi.md#modify) | **POST** {rpm_rpm_repository_href}modify/ | Modify Repository Content
165
+ *PulpRpmClient::RepositoriesRpmApi* | [**my_permissions**](docs/RepositoriesRpmApi.md#my_permissions) | **GET** {rpm_rpm_repository_href}my_permissions/ |
143
166
  *PulpRpmClient::RepositoriesRpmApi* | [**partial_update**](docs/RepositoriesRpmApi.md#partial_update) | **PATCH** {rpm_rpm_repository_href} | Update a rpm repository
144
167
  *PulpRpmClient::RepositoriesRpmApi* | [**read**](docs/RepositoriesRpmApi.md#read) | **GET** {rpm_rpm_repository_href} | Inspect a rpm repository
168
+ *PulpRpmClient::RepositoriesRpmApi* | [**remove_role**](docs/RepositoriesRpmApi.md#remove_role) | **POST** {rpm_rpm_repository_href}remove_role/ |
145
169
  *PulpRpmClient::RepositoriesRpmApi* | [**sync**](docs/RepositoriesRpmApi.md#sync) | **POST** {rpm_rpm_repository_href}sync/ | Sync from remote
146
170
  *PulpRpmClient::RepositoriesRpmApi* | [**update**](docs/RepositoriesRpmApi.md#update) | **PUT** {rpm_rpm_repository_href} | Update a rpm repository
147
171
  *PulpRpmClient::RepositoriesRpmVersionsApi* | [**delete**](docs/RepositoriesRpmVersionsApi.md#delete) | **DELETE** {rpm_rpm_repository_version_href} | Delete a repository version
@@ -163,6 +187,10 @@ Class | Method | HTTP request | Description
163
187
  - [PulpRpmClient::Copy](docs/Copy.md)
164
188
  - [PulpRpmClient::ImageResponse](docs/ImageResponse.md)
165
189
  - [PulpRpmClient::MetadataChecksumTypeEnum](docs/MetadataChecksumTypeEnum.md)
190
+ - [PulpRpmClient::MyPermissionsResponse](docs/MyPermissionsResponse.md)
191
+ - [PulpRpmClient::NestedRole](docs/NestedRole.md)
192
+ - [PulpRpmClient::NestedRoleResponse](docs/NestedRoleResponse.md)
193
+ - [PulpRpmClient::ObjectRolesResponse](docs/ObjectRolesResponse.md)
166
194
  - [PulpRpmClient::PackageChecksumTypeEnum](docs/PackageChecksumTypeEnum.md)
167
195
  - [PulpRpmClient::PaginatedRepositoryVersionResponseList](docs/PaginatedRepositoryVersionResponseList.md)
168
196
  - [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)
@@ -361,6 +535,60 @@ Name | Type | Description | Notes
361
535
  - **Accept**: application/json
362
536
 
363
537
 
538
+ ## remove_role
539
+
540
+ > NestedRoleResponse remove_role(rpm_rpm_alternate_content_source_href, nested_role)
541
+
542
+
543
+
544
+ Remove a role for this object from users/groups.
545
+
546
+ ### Example
547
+
548
+ ```ruby
549
+ # load the gem
550
+ require 'pulp_rpm_client'
551
+ # setup authorization
552
+ PulpRpmClient.configure do |config|
553
+ # Configure HTTP basic authorization: basicAuth
554
+ config.username = 'YOUR USERNAME'
555
+ config.password = 'YOUR PASSWORD'
556
+ end
557
+
558
+ api_instance = PulpRpmClient::AcsRpmApi.new
559
+ rpm_rpm_alternate_content_source_href = 'rpm_rpm_alternate_content_source_href_example' # String |
560
+ nested_role = PulpRpmClient::NestedRole.new # NestedRole |
561
+
562
+ begin
563
+ result = api_instance.remove_role(rpm_rpm_alternate_content_source_href, nested_role)
564
+ p result
565
+ rescue PulpRpmClient::ApiError => e
566
+ puts "Exception when calling AcsRpmApi->remove_role: #{e}"
567
+ end
568
+ ```
569
+
570
+ ### Parameters
571
+
572
+
573
+ Name | Type | Description | Notes
574
+ ------------- | ------------- | ------------- | -------------
575
+ **rpm_rpm_alternate_content_source_href** | **String**| |
576
+ **nested_role** | [**NestedRole**](NestedRole.md)| |
577
+
578
+ ### Return type
579
+
580
+ [**NestedRoleResponse**](NestedRoleResponse.md)
581
+
582
+ ### Authorization
583
+
584
+ [basicAuth](../README.md#basicAuth)
585
+
586
+ ### HTTP request headers
587
+
588
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
589
+ - **Accept**: application/json
590
+
591
+
364
592
  ## update
365
593
 
366
594
  > 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)
@@ -202,6 +260,122 @@ Name | Type | Description | Notes
202
260
  - **Accept**: application/json
203
261
 
204
262
 
263
+ ## list_roles
264
+
265
+ > ObjectRolesResponse list_roles(rpm_rpm_distribution_href, opts)
266
+
267
+
268
+
269
+ List roles assigned to this object.
270
+
271
+ ### Example
272
+
273
+ ```ruby
274
+ # load the gem
275
+ require 'pulp_rpm_client'
276
+ # setup authorization
277
+ PulpRpmClient.configure do |config|
278
+ # Configure HTTP basic authorization: basicAuth
279
+ config.username = 'YOUR USERNAME'
280
+ config.password = 'YOUR PASSWORD'
281
+ end
282
+
283
+ api_instance = PulpRpmClient::DistributionsRpmApi.new
284
+ rpm_rpm_distribution_href = 'rpm_rpm_distribution_href_example' # String |
285
+ opts = {
286
+ fields: 'fields_example', # String | A list of fields to include in the response.
287
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
288
+ }
289
+
290
+ begin
291
+ result = api_instance.list_roles(rpm_rpm_distribution_href, opts)
292
+ p result
293
+ rescue PulpRpmClient::ApiError => e
294
+ puts "Exception when calling DistributionsRpmApi->list_roles: #{e}"
295
+ end
296
+ ```
297
+
298
+ ### Parameters
299
+
300
+
301
+ Name | Type | Description | Notes
302
+ ------------- | ------------- | ------------- | -------------
303
+ **rpm_rpm_distribution_href** | **String**| |
304
+ **fields** | **String**| A list of fields to include in the response. | [optional]
305
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
306
+
307
+ ### Return type
308
+
309
+ [**ObjectRolesResponse**](ObjectRolesResponse.md)
310
+
311
+ ### Authorization
312
+
313
+ [basicAuth](../README.md#basicAuth)
314
+
315
+ ### HTTP request headers
316
+
317
+ - **Content-Type**: Not defined
318
+ - **Accept**: application/json
319
+
320
+
321
+ ## my_permissions
322
+
323
+ > MyPermissionsResponse my_permissions(rpm_rpm_distribution_href, opts)
324
+
325
+
326
+
327
+ List permissions available to the current user on this object.
328
+
329
+ ### Example
330
+
331
+ ```ruby
332
+ # load the gem
333
+ require 'pulp_rpm_client'
334
+ # setup authorization
335
+ PulpRpmClient.configure do |config|
336
+ # Configure HTTP basic authorization: basicAuth
337
+ config.username = 'YOUR USERNAME'
338
+ config.password = 'YOUR PASSWORD'
339
+ end
340
+
341
+ api_instance = PulpRpmClient::DistributionsRpmApi.new
342
+ rpm_rpm_distribution_href = 'rpm_rpm_distribution_href_example' # String |
343
+ opts = {
344
+ fields: 'fields_example', # String | A list of fields to include in the response.
345
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
346
+ }
347
+
348
+ begin
349
+ result = api_instance.my_permissions(rpm_rpm_distribution_href, opts)
350
+ p result
351
+ rescue PulpRpmClient::ApiError => e
352
+ puts "Exception when calling DistributionsRpmApi->my_permissions: #{e}"
353
+ end
354
+ ```
355
+
356
+ ### Parameters
357
+
358
+
359
+ Name | Type | Description | Notes
360
+ ------------- | ------------- | ------------- | -------------
361
+ **rpm_rpm_distribution_href** | **String**| |
362
+ **fields** | **String**| A list of fields to include in the response. | [optional]
363
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
364
+
365
+ ### Return type
366
+
367
+ [**MyPermissionsResponse**](MyPermissionsResponse.md)
368
+
369
+ ### Authorization
370
+
371
+ [basicAuth](../README.md#basicAuth)
372
+
373
+ ### HTTP request headers
374
+
375
+ - **Content-Type**: Not defined
376
+ - **Accept**: application/json
377
+
378
+
205
379
  ## partial_update
206
380
 
207
381
  > AsyncOperationResponse partial_update(rpm_rpm_distribution_href, patchedrpm_rpm_distribution)
@@ -316,6 +490,60 @@ Name | Type | Description | Notes
316
490
  - **Accept**: application/json
317
491
 
318
492
 
493
+ ## remove_role
494
+
495
+ > NestedRoleResponse remove_role(rpm_rpm_distribution_href, nested_role)
496
+
497
+
498
+
499
+ Remove a role for this object from users/groups.
500
+
501
+ ### Example
502
+
503
+ ```ruby
504
+ # load the gem
505
+ require 'pulp_rpm_client'
506
+ # setup authorization
507
+ PulpRpmClient.configure do |config|
508
+ # Configure HTTP basic authorization: basicAuth
509
+ config.username = 'YOUR USERNAME'
510
+ config.password = 'YOUR PASSWORD'
511
+ end
512
+
513
+ api_instance = PulpRpmClient::DistributionsRpmApi.new
514
+ rpm_rpm_distribution_href = 'rpm_rpm_distribution_href_example' # String |
515
+ nested_role = PulpRpmClient::NestedRole.new # NestedRole |
516
+
517
+ begin
518
+ result = api_instance.remove_role(rpm_rpm_distribution_href, nested_role)
519
+ p result
520
+ rescue PulpRpmClient::ApiError => e
521
+ puts "Exception when calling DistributionsRpmApi->remove_role: #{e}"
522
+ end
523
+ ```
524
+
525
+ ### Parameters
526
+
527
+
528
+ Name | Type | Description | Notes
529
+ ------------- | ------------- | ------------- | -------------
530
+ **rpm_rpm_distribution_href** | **String**| |
531
+ **nested_role** | [**NestedRole**](NestedRole.md)| |
532
+
533
+ ### Return type
534
+
535
+ [**NestedRoleResponse**](NestedRoleResponse.md)
536
+
537
+ ### Authorization
538
+
539
+ [basicAuth](../README.md#basicAuth)
540
+
541
+ ### HTTP request headers
542
+
543
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
544
+ - **Accept**: application/json
545
+
546
+
319
547
  ## update
320
548
 
321
549
  > 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
+