pulp_rpm_client 3.18.20 → 3.19.0.dev1674962017

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 (101) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +36 -8
  3. data/docs/AcsRpmApi.md +230 -6
  4. data/docs/ContentAdvisoriesApi.md +2 -6
  5. data/docs/ContentDistributionTreesApi.md +2 -6
  6. data/docs/ContentModulemdDefaultsApi.md +2 -6
  7. data/docs/ContentModulemdObsoletesApi.md +2 -6
  8. data/docs/ContentModulemdsApi.md +2 -6
  9. data/docs/ContentPackagecategoriesApi.md +2 -6
  10. data/docs/ContentPackageenvironmentsApi.md +2 -6
  11. data/docs/ContentPackagegroupsApi.md +2 -6
  12. data/docs/ContentPackagelangpacksApi.md +2 -6
  13. data/docs/ContentPackagesApi.md +4 -8
  14. data/docs/ContentRepoMetadataFilesApi.md +2 -6
  15. data/docs/DistributionsRpmApi.md +230 -6
  16. data/docs/MyPermissionsResponse.md +17 -0
  17. data/docs/NestedRole.md +21 -0
  18. data/docs/NestedRoleResponse.md +21 -0
  19. data/docs/ObjectRolesResponse.md +17 -0
  20. data/docs/PatchedrpmRpmRemote.md +1 -1
  21. data/docs/PatchedrpmRpmRepository.md +3 -3
  22. data/docs/PatchedrpmUlnRemote.md +1 -1
  23. data/docs/PublicationsRpmApi.md +230 -6
  24. data/docs/RemotesRpmApi.md +230 -6
  25. data/docs/RemotesUlnApi.md +230 -6
  26. data/docs/RepositoriesRpmApi.md +230 -6
  27. data/docs/RepositoriesRpmVersionsApi.md +2 -4
  28. data/docs/RepositoryAddRemoveContent.md +2 -2
  29. data/docs/RpmModulemdObsolete.md +2 -2
  30. data/docs/RpmModulemdObsoleteResponse.md +2 -2
  31. data/docs/RpmRepositorySyncURL.md +1 -1
  32. data/docs/RpmRpmPublication.md +2 -2
  33. data/docs/RpmRpmPublicationResponse.md +2 -2
  34. data/docs/RpmRpmRemote.md +1 -1
  35. data/docs/RpmRpmRemoteResponse.md +1 -1
  36. data/docs/RpmRpmRepository.md +3 -3
  37. data/docs/RpmRpmRepositoryResponse.md +3 -3
  38. data/docs/RpmUlnRemote.md +1 -1
  39. data/docs/RpmUlnRemoteResponse.md +1 -1
  40. data/lib/pulp_rpm_client/api/acs_rpm_api.rb +270 -8
  41. data/lib/pulp_rpm_client/api/content_advisories_api.rb +2 -8
  42. data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +2 -8
  43. data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +2 -8
  44. data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +2 -8
  45. data/lib/pulp_rpm_client/api/content_modulemds_api.rb +2 -8
  46. data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +2 -8
  47. data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +2 -8
  48. data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +2 -8
  49. data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +2 -8
  50. data/lib/pulp_rpm_client/api/content_packages_api.rb +4 -10
  51. data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +2 -8
  52. data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +270 -8
  53. data/lib/pulp_rpm_client/api/publications_rpm_api.rb +270 -8
  54. data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +270 -8
  55. data/lib/pulp_rpm_client/api/remotes_uln_api.rb +270 -8
  56. data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +270 -8
  57. data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +2 -5
  58. data/lib/pulp_rpm_client/models/my_permissions_response.rb +213 -0
  59. data/lib/pulp_rpm_client/models/nested_role.rb +253 -0
  60. data/lib/pulp_rpm_client/models/nested_role_response.rb +234 -0
  61. data/lib/pulp_rpm_client/models/object_roles_response.rb +213 -0
  62. data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +1 -1
  63. data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +3 -3
  64. data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +1 -1
  65. data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +2 -2
  66. data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete.rb +36 -2
  67. data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +2 -2
  68. data/lib/pulp_rpm_client/models/rpm_repository_sync_url.rb +1 -1
  69. data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +2 -2
  70. data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +2 -2
  71. data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +1 -1
  72. data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +1 -1
  73. data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +3 -3
  74. data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +3 -3
  75. data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +1 -1
  76. data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +1 -1
  77. data/lib/pulp_rpm_client/version.rb +1 -1
  78. data/lib/pulp_rpm_client.rb +4 -0
  79. data/spec/api/acs_rpm_api_spec.rb +51 -3
  80. data/spec/api/content_advisories_api_spec.rb +1 -3
  81. data/spec/api/content_distribution_trees_api_spec.rb +1 -3
  82. data/spec/api/content_modulemd_defaults_api_spec.rb +1 -3
  83. data/spec/api/content_modulemd_obsoletes_api_spec.rb +1 -3
  84. data/spec/api/content_modulemds_api_spec.rb +1 -3
  85. data/spec/api/content_packagecategories_api_spec.rb +1 -3
  86. data/spec/api/content_packageenvironments_api_spec.rb +1 -3
  87. data/spec/api/content_packagegroups_api_spec.rb +1 -3
  88. data/spec/api/content_packagelangpacks_api_spec.rb +1 -3
  89. data/spec/api/content_packages_api_spec.rb +2 -4
  90. data/spec/api/content_repo_metadata_files_api_spec.rb +1 -3
  91. data/spec/api/distributions_rpm_api_spec.rb +51 -3
  92. data/spec/api/publications_rpm_api_spec.rb +51 -3
  93. data/spec/api/remotes_rpm_api_spec.rb +51 -3
  94. data/spec/api/remotes_uln_api_spec.rb +51 -3
  95. data/spec/api/repositories_rpm_api_spec.rb +51 -3
  96. data/spec/api/repositories_rpm_versions_api_spec.rb +1 -2
  97. data/spec/models/my_permissions_response_spec.rb +41 -0
  98. data/spec/models/nested_role_response_spec.rb +53 -0
  99. data/spec/models/nested_role_spec.rb +53 -0
  100. data/spec/models/object_roles_response_spec.rb +41 -0
  101. metadata +94 -78
@@ -33,9 +33,7 @@ api_instance = PulpRpmClient::ContentPackagelangpacksApi.new
33
33
  opts = {
34
34
  limit: 56, # Integer | Number of results to return per page.
35
35
  offset: 56, # Integer | The initial index from which to return the results.
36
- ordering: ['ordering_example'], # Array<String> | Ordering * `pk` - Pk * `-pk` - Pk (descending)
37
- pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
38
- pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
36
+ ordering: ['ordering_example'], # Array<String> | Ordering
39
37
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
40
38
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
41
39
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
@@ -59,9 +57,7 @@ Name | Type | Description | Notes
59
57
  ------------- | ------------- | ------------- | -------------
60
58
  **limit** | **Integer**| Number of results to return per page. | [optional]
61
59
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
62
- **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
63
- **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
64
- **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
60
+ **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
65
61
  **repository_version** | **String**| Repository Version referenced by HREF | [optional]
66
62
  **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
67
63
  **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
@@ -98,7 +98,7 @@ opts = {
98
98
  arch: 'arch_example', # String | Filter results where arch matches value
99
99
  arch__in: ['arch__in_example'], # Array<String> | Filter results where arch is in a comma-separated list of values
100
100
  arch__ne: 'arch__ne_example', # String | Filter results where arch not equal to value
101
- checksum_type: 'checksum_type_example', # String | Filter results where checksum_type matches value * `unknown` - unknown * `md5` - md5 * `sha1` - sha1 * `sha1` - sha1 * `sha224` - sha224 * `sha256` - sha256 * `sha384` - sha384 * `sha512` - sha512
101
+ checksum_type: 'checksum_type_example', # String | Filter results where checksum_type matches value
102
102
  checksum_type__in: ['checksum_type__in_example'], # Array<String> | Filter results where checksum_type is in a comma-separated list of values
103
103
  checksum_type__ne: 'checksum_type__ne_example', # String | Filter results where checksum_type not equal to value
104
104
  epoch: 'epoch_example', # String | Filter results where epoch matches value
@@ -109,11 +109,9 @@ opts = {
109
109
  name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
110
110
  name__ne: 'name__ne_example', # String | Filter results where name not equal to value
111
111
  offset: 56, # Integer | The initial index from which to return the results.
112
- ordering: ['ordering_example'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `epoch` - Epoch * `-epoch` - Epoch (descending) * `version` - Version * `-version` - Version (descending) * `release` - Release * `-release` - Release (descending) * `arch` - Arch * `-arch` - Arch (descending) * `evr` - Evr * `-evr` - Evr (descending) * `pkgId` - Pkgid * `-pkgId` - Pkgid (descending) * `checksum_type` - Checksum type * `-checksum_type` - Checksum type (descending) * `summary` - Summary * `-summary` - Summary (descending) * `description` - Description * `-description` - Description (descending) * `url` - Url * `-url` - Url (descending) * `changelogs` - Changelogs * `-changelogs` - Changelogs (descending) * `files` - Files * `-files` - Files (descending) * `requires` - Requires * `-requires` - Requires (descending) * `provides` - Provides * `-provides` - Provides (descending) * `conflicts` - Conflicts * `-conflicts` - Conflicts (descending) * `obsoletes` - Obsoletes * `-obsoletes` - Obsoletes (descending) * `suggests` - Suggests * `-suggests` - Suggests (descending) * `enhances` - Enhances * `-enhances` - Enhances (descending) * `recommends` - Recommends * `-recommends` - Recommends (descending) * `supplements` - Supplements * `-supplements` - Supplements (descending) * `location_base` - Location base * `-location_base` - Location base (descending) * `location_href` - Location href * `-location_href` - Location href (descending) * `rpm_buildhost` - Rpm buildhost * `-rpm_buildhost` - Rpm buildhost (descending) * `rpm_group` - Rpm group * `-rpm_group` - Rpm group (descending) * `rpm_license` - Rpm license * `-rpm_license` - Rpm license (descending) * `rpm_packager` - Rpm packager * `-rpm_packager` - Rpm packager (descending) * `rpm_sourcerpm` - Rpm sourcerpm * `-rpm_sourcerpm` - Rpm sourcerpm (descending) * `rpm_vendor` - Rpm vendor * `-rpm_vendor` - Rpm vendor (descending) * `rpm_header_start` - Rpm header start * `-rpm_header_start` - Rpm header start (descending) * `rpm_header_end` - Rpm header end * `-rpm_header_end` - Rpm header end (descending) * `size_archive` - Size archive * `-size_archive` - Size archive (descending) * `size_installed` - Size installed * `-size_installed` - Size installed (descending) * `size_package` - Size package * `-size_package` - Size package (descending) * `time_build` - Time build * `-time_build` - Time build (descending) * `time_file` - Time file * `-time_file` - Time file (descending) * `is_modular` - Is modular * `-is_modular` - Is modular (descending) * `pk` - Pk * `-pk` - Pk (descending)
112
+ ordering: ['ordering_example'], # Array<String> | Ordering
113
113
  pkg_id: 'pkg_id_example', # String | Filter results where pkgId matches value
114
114
  pkg_id__in: ['pkg_id__in_example'], # Array<String> | Filter results where pkgId is in a comma-separated list of values
115
- pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
116
- pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
117
115
  release: 'release_example', # String | Filter results where release matches value
118
116
  release__in: ['release__in_example'], # Array<String> | Filter results where release is in a comma-separated list of values
119
117
  release__ne: 'release__ne_example', # String | Filter results where release not equal to value
@@ -145,7 +143,7 @@ Name | Type | Description | Notes
145
143
  **arch** | **String**| Filter results where arch matches value | [optional]
146
144
  **arch__in** | [**Array&lt;String&gt;**](String.md)| Filter results where arch is in a comma-separated list of values | [optional]
147
145
  **arch__ne** | **String**| Filter results where arch not equal to value | [optional]
148
- **checksum_type** | **String**| Filter results where checksum_type matches value * &#x60;unknown&#x60; - unknown * &#x60;md5&#x60; - md5 * &#x60;sha1&#x60; - sha1 * &#x60;sha1&#x60; - sha1 * &#x60;sha224&#x60; - sha224 * &#x60;sha256&#x60; - sha256 * &#x60;sha384&#x60; - sha384 * &#x60;sha512&#x60; - sha512 | [optional]
146
+ **checksum_type** | **String**| Filter results where checksum_type matches value | [optional]
149
147
  **checksum_type__in** | [**Array&lt;String&gt;**](String.md)| Filter results where checksum_type is in a comma-separated list of values | [optional]
150
148
  **checksum_type__ne** | **String**| Filter results where checksum_type not equal to value | [optional]
151
149
  **epoch** | **String**| Filter results where epoch matches value | [optional]
@@ -156,11 +154,9 @@ Name | Type | Description | Notes
156
154
  **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
157
155
  **name__ne** | **String**| Filter results where name not equal to value | [optional]
158
156
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
159
- **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;epoch&#x60; - Epoch * &#x60;-epoch&#x60; - Epoch (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;release&#x60; - Release * &#x60;-release&#x60; - Release (descending) * &#x60;arch&#x60; - Arch * &#x60;-arch&#x60; - Arch (descending) * &#x60;evr&#x60; - Evr * &#x60;-evr&#x60; - Evr (descending) * &#x60;pkgId&#x60; - Pkgid * &#x60;-pkgId&#x60; - Pkgid (descending) * &#x60;checksum_type&#x60; - Checksum type * &#x60;-checksum_type&#x60; - Checksum type (descending) * &#x60;summary&#x60; - Summary * &#x60;-summary&#x60; - Summary (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;changelogs&#x60; - Changelogs * &#x60;-changelogs&#x60; - Changelogs (descending) * &#x60;files&#x60; - Files * &#x60;-files&#x60; - Files (descending) * &#x60;requires&#x60; - Requires * &#x60;-requires&#x60; - Requires (descending) * &#x60;provides&#x60; - Provides * &#x60;-provides&#x60; - Provides (descending) * &#x60;conflicts&#x60; - Conflicts * &#x60;-conflicts&#x60; - Conflicts (descending) * &#x60;obsoletes&#x60; - Obsoletes * &#x60;-obsoletes&#x60; - Obsoletes (descending) * &#x60;suggests&#x60; - Suggests * &#x60;-suggests&#x60; - Suggests (descending) * &#x60;enhances&#x60; - Enhances * &#x60;-enhances&#x60; - Enhances (descending) * &#x60;recommends&#x60; - Recommends * &#x60;-recommends&#x60; - Recommends (descending) * &#x60;supplements&#x60; - Supplements * &#x60;-supplements&#x60; - Supplements (descending) * &#x60;location_base&#x60; - Location base * &#x60;-location_base&#x60; - Location base (descending) * &#x60;location_href&#x60; - Location href * &#x60;-location_href&#x60; - Location href (descending) * &#x60;rpm_buildhost&#x60; - Rpm buildhost * &#x60;-rpm_buildhost&#x60; - Rpm buildhost (descending) * &#x60;rpm_group&#x60; - Rpm group * &#x60;-rpm_group&#x60; - Rpm group (descending) * &#x60;rpm_license&#x60; - Rpm license * &#x60;-rpm_license&#x60; - Rpm license (descending) * &#x60;rpm_packager&#x60; - Rpm packager * &#x60;-rpm_packager&#x60; - Rpm packager (descending) * &#x60;rpm_sourcerpm&#x60; - Rpm sourcerpm * &#x60;-rpm_sourcerpm&#x60; - Rpm sourcerpm (descending) * &#x60;rpm_vendor&#x60; - Rpm vendor * &#x60;-rpm_vendor&#x60; - Rpm vendor (descending) * &#x60;rpm_header_start&#x60; - Rpm header start * &#x60;-rpm_header_start&#x60; - Rpm header start (descending) * &#x60;rpm_header_end&#x60; - Rpm header end * &#x60;-rpm_header_end&#x60; - Rpm header end (descending) * &#x60;size_archive&#x60; - Size archive * &#x60;-size_archive&#x60; - Size archive (descending) * &#x60;size_installed&#x60; - Size installed * &#x60;-size_installed&#x60; - Size installed (descending) * &#x60;size_package&#x60; - Size package * &#x60;-size_package&#x60; - Size package (descending) * &#x60;time_build&#x60; - Time build * &#x60;-time_build&#x60; - Time build (descending) * &#x60;time_file&#x60; - Time file * &#x60;-time_file&#x60; - Time file (descending) * &#x60;is_modular&#x60; - Is modular * &#x60;-is_modular&#x60; - Is modular (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
157
+ **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
160
158
  **pkg_id** | **String**| Filter results where pkgId matches value | [optional]
161
159
  **pkg_id__in** | [**Array&lt;String&gt;**](String.md)| Filter results where pkgId is in a comma-separated list of values | [optional]
162
- **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
163
- **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
164
160
  **release** | **String**| Filter results where release matches value | [optional]
165
161
  **release__in** | [**Array&lt;String&gt;**](String.md)| Filter results where release is in a comma-separated list of values | [optional]
166
162
  **release__ne** | **String**| Filter results where release not equal to value | [optional]
@@ -33,9 +33,7 @@ api_instance = PulpRpmClient::ContentRepoMetadataFilesApi.new
33
33
  opts = {
34
34
  limit: 56, # Integer | Number of results to return per page.
35
35
  offset: 56, # Integer | The initial index from which to return the results.
36
- ordering: ['ordering_example'], # Array<String> | Ordering * `pk` - Pk * `-pk` - Pk (descending)
37
- pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
38
- pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
36
+ ordering: ['ordering_example'], # Array<String> | Ordering
39
37
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
40
38
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
41
39
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
@@ -59,9 +57,7 @@ Name | Type | Description | Notes
59
57
  ------------- | ------------- | ------------- | -------------
60
58
  **limit** | **Integer**| Number of results to return per page. | [optional]
61
59
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
62
- **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
63
- **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
64
- **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
60
+ **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
65
61
  **repository_version** | **String**| Repository Version referenced by HREF | [optional]
66
62
  **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
67
63
  **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
@@ -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)
@@ -152,9 +210,7 @@ opts = {
152
210
  name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
153
211
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
154
212
  offset: 56, # Integer | The initial index from which to return the results.
155
- ordering: ['ordering_example'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending)
156
- pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
157
- pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
213
+ ordering: ['ordering_example'], # Array<String> | Ordering
158
214
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
159
215
  repository: 'repository_example', # String | Filter results where repository matches value
160
216
  repository__in: ['repository__in_example'], # Array<String> | Filter results where repository is in a comma-separated list of values
@@ -188,9 +244,7 @@ Name | Type | Description | Notes
188
244
  **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
189
245
  **name__startswith** | **String**| Filter results where name starts with value | [optional]
190
246
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
191
- **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
192
- **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
193
- **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
247
+ **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
194
248
  **pulp_label_select** | **String**| Filter labels by search string | [optional]
195
249
  **repository** | **String**| Filter results where repository matches value | [optional]
196
250
  **repository__in** | [**Array&lt;String&gt;**](String.md)| Filter results where repository is in a comma-separated list of values | [optional]
@@ -212,6 +266,122 @@ Name | Type | Description | Notes
212
266
  - **Accept**: application/json
213
267
 
214
268
 
269
+ ## list_roles
270
+
271
+ > ObjectRolesResponse list_roles(rpm_rpm_distribution_href, opts)
272
+
273
+
274
+
275
+ List roles assigned to this object.
276
+
277
+ ### Example
278
+
279
+ ```ruby
280
+ # load the gem
281
+ require 'pulp_rpm_client'
282
+ # setup authorization
283
+ PulpRpmClient.configure do |config|
284
+ # Configure HTTP basic authorization: basicAuth
285
+ config.username = 'YOUR USERNAME'
286
+ config.password = 'YOUR PASSWORD'
287
+ end
288
+
289
+ api_instance = PulpRpmClient::DistributionsRpmApi.new
290
+ rpm_rpm_distribution_href = 'rpm_rpm_distribution_href_example' # String |
291
+ opts = {
292
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
293
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
294
+ }
295
+
296
+ begin
297
+ result = api_instance.list_roles(rpm_rpm_distribution_href, opts)
298
+ p result
299
+ rescue PulpRpmClient::ApiError => e
300
+ puts "Exception when calling DistributionsRpmApi->list_roles: #{e}"
301
+ end
302
+ ```
303
+
304
+ ### Parameters
305
+
306
+
307
+ Name | Type | Description | Notes
308
+ ------------- | ------------- | ------------- | -------------
309
+ **rpm_rpm_distribution_href** | **String**| |
310
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
311
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
312
+
313
+ ### Return type
314
+
315
+ [**ObjectRolesResponse**](ObjectRolesResponse.md)
316
+
317
+ ### Authorization
318
+
319
+ [basicAuth](../README.md#basicAuth)
320
+
321
+ ### HTTP request headers
322
+
323
+ - **Content-Type**: Not defined
324
+ - **Accept**: application/json
325
+
326
+
327
+ ## my_permissions
328
+
329
+ > MyPermissionsResponse my_permissions(rpm_rpm_distribution_href, opts)
330
+
331
+
332
+
333
+ List permissions available to the current user on this object.
334
+
335
+ ### Example
336
+
337
+ ```ruby
338
+ # load the gem
339
+ require 'pulp_rpm_client'
340
+ # setup authorization
341
+ PulpRpmClient.configure do |config|
342
+ # Configure HTTP basic authorization: basicAuth
343
+ config.username = 'YOUR USERNAME'
344
+ config.password = 'YOUR PASSWORD'
345
+ end
346
+
347
+ api_instance = PulpRpmClient::DistributionsRpmApi.new
348
+ rpm_rpm_distribution_href = 'rpm_rpm_distribution_href_example' # String |
349
+ opts = {
350
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
351
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
352
+ }
353
+
354
+ begin
355
+ result = api_instance.my_permissions(rpm_rpm_distribution_href, opts)
356
+ p result
357
+ rescue PulpRpmClient::ApiError => e
358
+ puts "Exception when calling DistributionsRpmApi->my_permissions: #{e}"
359
+ end
360
+ ```
361
+
362
+ ### Parameters
363
+
364
+
365
+ Name | Type | Description | Notes
366
+ ------------- | ------------- | ------------- | -------------
367
+ **rpm_rpm_distribution_href** | **String**| |
368
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
369
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
370
+
371
+ ### Return type
372
+
373
+ [**MyPermissionsResponse**](MyPermissionsResponse.md)
374
+
375
+ ### Authorization
376
+
377
+ [basicAuth](../README.md#basicAuth)
378
+
379
+ ### HTTP request headers
380
+
381
+ - **Content-Type**: Not defined
382
+ - **Accept**: application/json
383
+
384
+
215
385
  ## partial_update
216
386
 
217
387
  > AsyncOperationResponse partial_update(rpm_rpm_distribution_href, patchedrpm_rpm_distribution)
@@ -326,6 +496,60 @@ Name | Type | Description | Notes
326
496
  - **Accept**: application/json
327
497
 
328
498
 
499
+ ## remove_role
500
+
501
+ > NestedRoleResponse remove_role(rpm_rpm_distribution_href, nested_role)
502
+
503
+
504
+
505
+ Remove a role for this object from users/groups.
506
+
507
+ ### Example
508
+
509
+ ```ruby
510
+ # load the gem
511
+ require 'pulp_rpm_client'
512
+ # setup authorization
513
+ PulpRpmClient.configure do |config|
514
+ # Configure HTTP basic authorization: basicAuth
515
+ config.username = 'YOUR USERNAME'
516
+ config.password = 'YOUR PASSWORD'
517
+ end
518
+
519
+ api_instance = PulpRpmClient::DistributionsRpmApi.new
520
+ rpm_rpm_distribution_href = 'rpm_rpm_distribution_href_example' # String |
521
+ nested_role = PulpRpmClient::NestedRole.new # NestedRole |
522
+
523
+ begin
524
+ result = api_instance.remove_role(rpm_rpm_distribution_href, nested_role)
525
+ p result
526
+ rescue PulpRpmClient::ApiError => e
527
+ puts "Exception when calling DistributionsRpmApi->remove_role: #{e}"
528
+ end
529
+ ```
530
+
531
+ ### Parameters
532
+
533
+
534
+ Name | Type | Description | Notes
535
+ ------------- | ------------- | ------------- | -------------
536
+ **rpm_rpm_distribution_href** | **String**| |
537
+ **nested_role** | [**NestedRole**](NestedRole.md)| |
538
+
539
+ ### Return type
540
+
541
+ [**NestedRoleResponse**](NestedRoleResponse.md)
542
+
543
+ ### Authorization
544
+
545
+ [basicAuth](../README.md#basicAuth)
546
+
547
+ ### HTTP request headers
548
+
549
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
550
+ - **Accept**: application/json
551
+
552
+
329
553
  ## update
330
554
 
331
555
  > 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&lt;String&gt;** | |
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'PulpRpmClient'
13
+
14
+ instance = PulpRpmClient::MyPermissionsResponse.new(permissions: null)
15
+ ```
16
+
17
+
@@ -0,0 +1,21 @@
1
+ # PulpRpmClient::NestedRole
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **users** | **Array&lt;String&gt;** | | [optional]
8
+ **groups** | **Array&lt;String&gt;** | | [optional]
9
+ **role** | **String** | |
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'PulpRpmClient'
15
+
16
+ instance = PulpRpmClient::NestedRole.new(users: null,
17
+ groups: null,
18
+ role: null)
19
+ ```
20
+
21
+
@@ -0,0 +1,21 @@
1
+ # PulpRpmClient::NestedRoleResponse
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **users** | **Array&lt;String&gt;** | | [optional]
8
+ **groups** | **Array&lt;String&gt;** | | [optional]
9
+ **role** | **String** | |
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'PulpRpmClient'
15
+
16
+ instance = PulpRpmClient::NestedRoleResponse.new(users: null,
17
+ groups: null,
18
+ role: null)
19
+ ```
20
+
21
+
@@ -0,0 +1,17 @@
1
+ # PulpRpmClient::ObjectRolesResponse
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **roles** | [**Array&lt;NestedRoleResponse&gt;**](NestedRoleResponse.md) | |
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'PulpRpmClient'
13
+
14
+ instance = PulpRpmClient::ObjectRolesResponse.new(roles: null)
15
+ ```
16
+
17
+
@@ -18,7 +18,7 @@ Name | Type | Description | Notes
18
18
  **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional]
19
19
  **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
20
20
  **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
21
- **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: &#39;immediate&#39;, &#39;on_demand&#39;, and &#39;streamed&#39;. &#39;immediate&#39; is the default. * &#x60;immediate&#x60; - When syncing, download all metadata and content now. * &#x60;on_demand&#x60; - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * &#x60;streamed&#x60; - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional]
21
+ **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: &#39;immediate&#39;, &#39;on_demand&#39;, and &#39;streamed&#39;. &#39;immediate&#39; is the default. | [optional]
22
22
  **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
23
23
  **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
24
24
  **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
@@ -7,13 +7,13 @@ Name | Type | Description | Notes
7
7
  **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional]
8
8
  **name** | **String** | A unique name for this repository. | [optional]
9
9
  **description** | **String** | An optional description. | [optional]
10
- **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
10
+ **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
11
11
  **remote** | **String** | An optional remote to use by default when syncing. | [optional]
12
12
  **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional] [default to false]
13
13
  **metadata_signing_service** | **String** | A reference to an associated signing service. | [optional]
14
14
  **retain_package_versions** | **Integer** | The number of versions of each package to keep in the repository; older versions will be purged. The default is &#39;0&#39;, which will disable this feature and keep all versions of each package. | [optional]
15
- **metadata_checksum_type** | [**MetadataChecksumTypeEnum**](MetadataChecksumTypeEnum.md) | The checksum type for metadata. * &#x60;unknown&#x60; - unknown * &#x60;md5&#x60; - md5 * &#x60;sha1&#x60; - sha1 * &#x60;sha224&#x60; - sha224 * &#x60;sha256&#x60; - sha256 * &#x60;sha384&#x60; - sha384 * &#x60;sha512&#x60; - sha512 | [optional]
16
- **package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The checksum type for packages. * &#x60;unknown&#x60; - unknown * &#x60;md5&#x60; - md5 * &#x60;sha1&#x60; - sha1 * &#x60;sha224&#x60; - sha224 * &#x60;sha256&#x60; - sha256 * &#x60;sha384&#x60; - sha384 * &#x60;sha512&#x60; - sha512 | [optional]
15
+ **metadata_checksum_type** | [**MetadataChecksumTypeEnum**](MetadataChecksumTypeEnum.md) | The checksum type for metadata. | [optional]
16
+ **package_checksum_type** | [**PackageChecksumTypeEnum**](PackageChecksumTypeEnum.md) | The checksum type for packages. | [optional]
17
17
  **gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on packages. | [optional] [default to 0]
18
18
  **repo_gpgcheck** | **Integer** | An option specifying whether a client should perform a GPG signature check on the repodata. | [optional] [default to 0]
19
19
  **sqlite_metadata** | **Boolean** | DEPRECATED: An option specifying whether Pulp should generate SQLite metadata. | [optional] [default to false]
@@ -18,7 +18,7 @@ Name | Type | Description | Notes
18
18
  **pulp_labels** | **Hash&lt;String, String&gt;** | | [optional]
19
19
  **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
20
20
  **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
21
- **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: &#39;immediate&#39;, &#39;on_demand&#39;, and &#39;streamed&#39;. &#39;immediate&#39; is the default. * &#x60;immediate&#x60; - When syncing, download all metadata and content now. * &#x60;on_demand&#x60; - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * &#x60;streamed&#x60; - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional]
21
+ **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: &#39;immediate&#39;, &#39;on_demand&#39;, and &#39;streamed&#39;. &#39;immediate&#39; is the default. | [optional]
22
22
  **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
23
23
  **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
24
24
  **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]