pulp_rpm_client 3.18.20 → 3.19.0.dev1669778102

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 (104) 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 -10
  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/PatchedrpmRpmDistribution.md +1 -1
  21. data/docs/PatchedrpmRpmRemote.md +2 -2
  22. data/docs/PatchedrpmRpmRepository.md +4 -4
  23. data/docs/PatchedrpmUlnRemote.md +2 -2
  24. data/docs/PublicationsRpmApi.md +230 -6
  25. data/docs/RemotesRpmApi.md +230 -6
  26. data/docs/RemotesUlnApi.md +230 -6
  27. data/docs/RepositoriesRpmApi.md +230 -22
  28. data/docs/RepositoriesRpmVersionsApi.md +2 -4
  29. data/docs/RepositoryAddRemoveContent.md +2 -2
  30. data/docs/RpmRepositorySyncURL.md +1 -1
  31. data/docs/RpmRpmDistribution.md +1 -1
  32. data/docs/RpmRpmDistributionResponse.md +1 -1
  33. data/docs/RpmRpmPublication.md +2 -2
  34. data/docs/RpmRpmPublicationResponse.md +2 -2
  35. data/docs/RpmRpmRemote.md +2 -2
  36. data/docs/RpmRpmRemoteResponse.md +2 -2
  37. data/docs/RpmRpmRepository.md +4 -4
  38. data/docs/RpmRpmRepositoryResponse.md +4 -4
  39. data/docs/RpmUlnRemote.md +2 -2
  40. data/docs/RpmUlnRemoteResponse.md +2 -2
  41. data/lib/pulp_rpm_client/api/acs_rpm_api.rb +270 -8
  42. data/lib/pulp_rpm_client/api/content_advisories_api.rb +2 -8
  43. data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +2 -8
  44. data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +2 -8
  45. data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +2 -8
  46. data/lib/pulp_rpm_client/api/content_modulemds_api.rb +2 -8
  47. data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +2 -8
  48. data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +2 -8
  49. data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +2 -8
  50. data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +2 -8
  51. data/lib/pulp_rpm_client/api/content_packages_api.rb +4 -10
  52. data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +2 -8
  53. data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +271 -15
  54. data/lib/pulp_rpm_client/api/publications_rpm_api.rb +270 -8
  55. data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +271 -9
  56. data/lib/pulp_rpm_client/api/remotes_uln_api.rb +271 -9
  57. data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +271 -33
  58. data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +2 -5
  59. data/lib/pulp_rpm_client/models/my_permissions_response.rb +213 -0
  60. data/lib/pulp_rpm_client/models/nested_role.rb +234 -0
  61. data/lib/pulp_rpm_client/models/nested_role_response.rb +234 -0
  62. data/lib/pulp_rpm_client/models/object_roles_response.rb +213 -0
  63. data/lib/pulp_rpm_client/models/patchedrpm_rpm_distribution.rb +2 -4
  64. data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +3 -5
  65. data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +5 -7
  66. data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +3 -5
  67. data/lib/pulp_rpm_client/models/repository_add_remove_content.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_distribution.rb +2 -4
  70. data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +2 -4
  71. data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +2 -2
  72. data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +2 -2
  73. data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +3 -5
  74. data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +3 -5
  75. data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +5 -7
  76. data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +5 -7
  77. data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +3 -5
  78. data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +3 -5
  79. data/lib/pulp_rpm_client/models/skip_types_enum.rb +0 -1
  80. data/lib/pulp_rpm_client/version.rb +1 -1
  81. data/lib/pulp_rpm_client.rb +4 -0
  82. data/spec/api/acs_rpm_api_spec.rb +51 -3
  83. data/spec/api/content_advisories_api_spec.rb +1 -3
  84. data/spec/api/content_distribution_trees_api_spec.rb +1 -3
  85. data/spec/api/content_modulemd_defaults_api_spec.rb +1 -3
  86. data/spec/api/content_modulemd_obsoletes_api_spec.rb +1 -3
  87. data/spec/api/content_modulemds_api_spec.rb +1 -3
  88. data/spec/api/content_packagecategories_api_spec.rb +1 -3
  89. data/spec/api/content_packageenvironments_api_spec.rb +1 -3
  90. data/spec/api/content_packagegroups_api_spec.rb +1 -3
  91. data/spec/api/content_packagelangpacks_api_spec.rb +1 -3
  92. data/spec/api/content_packages_api_spec.rb +2 -4
  93. data/spec/api/content_repo_metadata_files_api_spec.rb +1 -3
  94. data/spec/api/distributions_rpm_api_spec.rb +51 -5
  95. data/spec/api/publications_rpm_api_spec.rb +51 -3
  96. data/spec/api/remotes_rpm_api_spec.rb +51 -3
  97. data/spec/api/remotes_uln_api_spec.rb +51 -3
  98. data/spec/api/repositories_rpm_api_spec.rb +51 -11
  99. data/spec/api/repositories_rpm_versions_api_spec.rb +1 -2
  100. data/spec/models/my_permissions_response_spec.rb +41 -0
  101. data/spec/models/nested_role_response_spec.rb +53 -0
  102. data/spec/models/nested_role_spec.rb +53 -0
  103. data/spec/models/object_roles_response_spec.rb +41 -0
  104. metadata +92 -76
@@ -90,9 +90,7 @@ module PulpRpmClient
90
90
  # @option opts [String] :name Filter results where name matches value
91
91
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
92
92
  # @option opts [Integer] :offset The initial index from which to return the results.
93
- # @option opts [Array<String>] :ordering 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;stream&#x60; - Stream * &#x60;-stream&#x60; - Stream (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;context&#x60; - Context * &#x60;-context&#x60; - Context (descending) * &#x60;arch&#x60; - Arch * &#x60;-arch&#x60; - Arch (descending) * &#x60;static_context&#x60; - Static context * &#x60;-static_context&#x60; - Static context (descending) * &#x60;dependencies&#x60; - Dependencies * &#x60;-dependencies&#x60; - Dependencies (descending) * &#x60;artifacts&#x60; - Artifacts * &#x60;-artifacts&#x60; - Artifacts (descending) * &#x60;profiles&#x60; - Profiles * &#x60;-profiles&#x60; - Profiles (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;snippet&#x60; - Snippet * &#x60;-snippet&#x60; - Snippet (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
94
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
95
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
93
+ # @option opts [Array<String>] :ordering Ordering
96
94
  # @option opts [String] :repository_version Repository Version referenced by HREF
97
95
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
98
96
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -114,9 +112,7 @@ module PulpRpmClient
114
112
  # @option opts [String] :name Filter results where name matches value
115
113
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
116
114
  # @option opts [Integer] :offset The initial index from which to return the results.
117
- # @option opts [Array<String>] :ordering 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;stream&#x60; - Stream * &#x60;-stream&#x60; - Stream (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;context&#x60; - Context * &#x60;-context&#x60; - Context (descending) * &#x60;arch&#x60; - Arch * &#x60;-arch&#x60; - Arch (descending) * &#x60;static_context&#x60; - Static context * &#x60;-static_context&#x60; - Static context (descending) * &#x60;dependencies&#x60; - Dependencies * &#x60;-dependencies&#x60; - Dependencies (descending) * &#x60;artifacts&#x60; - Artifacts * &#x60;-artifacts&#x60; - Artifacts (descending) * &#x60;profiles&#x60; - Profiles * &#x60;-profiles&#x60; - Profiles (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;snippet&#x60; - Snippet * &#x60;-snippet&#x60; - Snippet (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
118
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
119
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
115
+ # @option opts [Array<String>] :ordering Ordering
120
116
  # @option opts [String] :repository_version Repository Version referenced by HREF
121
117
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
122
118
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -144,8 +140,6 @@ module PulpRpmClient
144
140
  query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
145
141
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
146
142
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
147
- query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
148
- query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
149
143
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
150
144
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
151
145
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
@@ -24,9 +24,7 @@ module PulpRpmClient
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @option opts [Integer] :limit Number of results to return per page.
26
26
  # @option opts [Integer] :offset The initial index from which to return the results.
27
- # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
28
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
29
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
27
+ # @option opts [Array<String>] :ordering Ordering
30
28
  # @option opts [String] :repository_version Repository Version referenced by HREF
31
29
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
32
30
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -43,9 +41,7 @@ module PulpRpmClient
43
41
  # @param [Hash] opts the optional parameters
44
42
  # @option opts [Integer] :limit Number of results to return per page.
45
43
  # @option opts [Integer] :offset The initial index from which to return the results.
46
- # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
47
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
48
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
44
+ # @option opts [Array<String>] :ordering Ordering
49
45
  # @option opts [String] :repository_version Repository Version referenced by HREF
50
46
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
51
47
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -68,8 +64,6 @@ module PulpRpmClient
68
64
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
69
65
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
70
66
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
71
- query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
72
- query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
73
67
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
74
68
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
75
69
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
@@ -24,9 +24,7 @@ module PulpRpmClient
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @option opts [Integer] :limit Number of results to return per page.
26
26
  # @option opts [Integer] :offset The initial index from which to return the results.
27
- # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
28
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
29
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
27
+ # @option opts [Array<String>] :ordering Ordering
30
28
  # @option opts [String] :repository_version Repository Version referenced by HREF
31
29
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
32
30
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -43,9 +41,7 @@ module PulpRpmClient
43
41
  # @param [Hash] opts the optional parameters
44
42
  # @option opts [Integer] :limit Number of results to return per page.
45
43
  # @option opts [Integer] :offset The initial index from which to return the results.
46
- # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
47
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
48
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
44
+ # @option opts [Array<String>] :ordering Ordering
49
45
  # @option opts [String] :repository_version Repository Version referenced by HREF
50
46
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
51
47
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -68,8 +64,6 @@ module PulpRpmClient
68
64
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
69
65
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
70
66
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
71
- query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
72
- query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
73
67
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
74
68
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
75
69
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
@@ -24,9 +24,7 @@ module PulpRpmClient
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @option opts [Integer] :limit Number of results to return per page.
26
26
  # @option opts [Integer] :offset The initial index from which to return the results.
27
- # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
28
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
29
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
27
+ # @option opts [Array<String>] :ordering Ordering
30
28
  # @option opts [String] :repository_version Repository Version referenced by HREF
31
29
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
32
30
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -43,9 +41,7 @@ module PulpRpmClient
43
41
  # @param [Hash] opts the optional parameters
44
42
  # @option opts [Integer] :limit Number of results to return per page.
45
43
  # @option opts [Integer] :offset The initial index from which to return the results.
46
- # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
47
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
48
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
44
+ # @option opts [Array<String>] :ordering Ordering
49
45
  # @option opts [String] :repository_version Repository Version referenced by HREF
50
46
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
51
47
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -68,8 +64,6 @@ module PulpRpmClient
68
64
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
69
65
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
70
66
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
71
- query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
72
- query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
73
67
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
74
68
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
75
69
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
@@ -24,9 +24,7 @@ module PulpRpmClient
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @option opts [Integer] :limit Number of results to return per page.
26
26
  # @option opts [Integer] :offset The initial index from which to return the results.
27
- # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
28
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
29
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
27
+ # @option opts [Array<String>] :ordering Ordering
30
28
  # @option opts [String] :repository_version Repository Version referenced by HREF
31
29
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
32
30
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -43,9 +41,7 @@ module PulpRpmClient
43
41
  # @param [Hash] opts the optional parameters
44
42
  # @option opts [Integer] :limit Number of results to return per page.
45
43
  # @option opts [Integer] :offset The initial index from which to return the results.
46
- # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
47
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
48
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
44
+ # @option opts [Array<String>] :ordering Ordering
49
45
  # @option opts [String] :repository_version Repository Version referenced by HREF
50
46
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
51
47
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -68,8 +64,6 @@ module PulpRpmClient
68
64
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
69
65
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
70
66
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
71
- query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
72
- query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
73
67
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
74
68
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
75
69
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
@@ -102,7 +102,7 @@ module PulpRpmClient
102
102
  # @option opts [String] :arch Filter results where arch matches value
103
103
  # @option opts [Array<String>] :arch__in Filter results where arch is in a comma-separated list of values
104
104
  # @option opts [String] :arch__ne Filter results where arch not equal to value
105
- # @option opts [String] :checksum_type 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
105
+ # @option opts [String] :checksum_type Filter results where checksum_type matches value
106
106
  # @option opts [Array<String>] :checksum_type__in Filter results where checksum_type is in a comma-separated list of values
107
107
  # @option opts [String] :checksum_type__ne Filter results where checksum_type not equal to value
108
108
  # @option opts [String] :epoch Filter results where epoch matches value
@@ -113,11 +113,9 @@ module PulpRpmClient
113
113
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
114
114
  # @option opts [String] :name__ne Filter results where name not equal to value
115
115
  # @option opts [Integer] :offset The initial index from which to return the results.
116
- # @option opts [Array<String>] :ordering 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)
116
+ # @option opts [Array<String>] :ordering Ordering
117
117
  # @option opts [String] :pkg_id Filter results where pkgId matches value
118
118
  # @option opts [Array<String>] :pkg_id__in Filter results where pkgId is in a comma-separated list of values
119
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
120
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
121
119
  # @option opts [String] :release Filter results where release matches value
122
120
  # @option opts [Array<String>] :release__in Filter results where release is in a comma-separated list of values
123
121
  # @option opts [String] :release__ne Filter results where release not equal to value
@@ -142,7 +140,7 @@ module PulpRpmClient
142
140
  # @option opts [String] :arch Filter results where arch matches value
143
141
  # @option opts [Array<String>] :arch__in Filter results where arch is in a comma-separated list of values
144
142
  # @option opts [String] :arch__ne Filter results where arch not equal to value
145
- # @option opts [String] :checksum_type 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
143
+ # @option opts [String] :checksum_type Filter results where checksum_type matches value
146
144
  # @option opts [Array<String>] :checksum_type__in Filter results where checksum_type is in a comma-separated list of values
147
145
  # @option opts [String] :checksum_type__ne Filter results where checksum_type not equal to value
148
146
  # @option opts [String] :epoch Filter results where epoch matches value
@@ -153,11 +151,9 @@ module PulpRpmClient
153
151
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
154
152
  # @option opts [String] :name__ne Filter results where name not equal to value
155
153
  # @option opts [Integer] :offset The initial index from which to return the results.
156
- # @option opts [Array<String>] :ordering 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)
154
+ # @option opts [Array<String>] :ordering Ordering
157
155
  # @option opts [String] :pkg_id Filter results where pkgId matches value
158
156
  # @option opts [Array<String>] :pkg_id__in Filter results where pkgId is in a comma-separated list of values
159
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
160
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
161
157
  # @option opts [String] :release Filter results where release matches value
162
158
  # @option opts [Array<String>] :release__in Filter results where release is in a comma-separated list of values
163
159
  # @option opts [String] :release__ne Filter results where release not equal to value
@@ -205,8 +201,6 @@ module PulpRpmClient
205
201
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
206
202
  query_params[:'pkgId'] = opts[:'pkg_id'] if !opts[:'pkg_id'].nil?
207
203
  query_params[:'pkgId__in'] = @api_client.build_collection_param(opts[:'pkg_id__in'], :csv) if !opts[:'pkg_id__in'].nil?
208
- query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
209
- query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
210
204
  query_params[:'release'] = opts[:'release'] if !opts[:'release'].nil?
211
205
  query_params[:'release__in'] = @api_client.build_collection_param(opts[:'release__in'], :csv) if !opts[:'release__in'].nil?
212
206
  query_params[:'release__ne'] = opts[:'release__ne'] if !opts[:'release__ne'].nil?
@@ -24,9 +24,7 @@ module PulpRpmClient
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @option opts [Integer] :limit Number of results to return per page.
26
26
  # @option opts [Integer] :offset The initial index from which to return the results.
27
- # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
28
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
29
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
27
+ # @option opts [Array<String>] :ordering Ordering
30
28
  # @option opts [String] :repository_version Repository Version referenced by HREF
31
29
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
32
30
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -43,9 +41,7 @@ module PulpRpmClient
43
41
  # @param [Hash] opts the optional parameters
44
42
  # @option opts [Integer] :limit Number of results to return per page.
45
43
  # @option opts [Integer] :offset The initial index from which to return the results.
46
- # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
47
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
48
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
44
+ # @option opts [Array<String>] :ordering Ordering
49
45
  # @option opts [String] :repository_version Repository Version referenced by HREF
50
46
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
51
47
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -68,8 +64,6 @@ module PulpRpmClient
68
64
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
69
65
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
70
66
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
71
- query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
72
- query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
73
67
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
74
68
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
75
69
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
@@ -19,6 +19,74 @@ module PulpRpmClient
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
+ # Add a role for this object to users/groups.
23
+ # @param rpm_rpm_distribution_href [String]
24
+ # @param nested_role [NestedRole]
25
+ # @param [Hash] opts the optional parameters
26
+ # @return [NestedRoleResponse]
27
+ def add_role(rpm_rpm_distribution_href, nested_role, opts = {})
28
+ data, _status_code, _headers = add_role_with_http_info(rpm_rpm_distribution_href, nested_role, opts)
29
+ data
30
+ end
31
+
32
+ # Add a role for this object to users/groups.
33
+ # @param rpm_rpm_distribution_href [String]
34
+ # @param nested_role [NestedRole]
35
+ # @param [Hash] opts the optional parameters
36
+ # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
37
+ def add_role_with_http_info(rpm_rpm_distribution_href, nested_role, opts = {})
38
+ if @api_client.config.debugging
39
+ @api_client.config.logger.debug 'Calling API: DistributionsRpmApi.add_role ...'
40
+ end
41
+ # verify the required parameter 'rpm_rpm_distribution_href' is set
42
+ if @api_client.config.client_side_validation && rpm_rpm_distribution_href.nil?
43
+ fail ArgumentError, "Missing the required parameter 'rpm_rpm_distribution_href' when calling DistributionsRpmApi.add_role"
44
+ end
45
+ # verify the required parameter 'nested_role' is set
46
+ if @api_client.config.client_side_validation && nested_role.nil?
47
+ fail ArgumentError, "Missing the required parameter 'nested_role' when calling DistributionsRpmApi.add_role"
48
+ end
49
+ # resource path
50
+ local_var_path = '{rpm_rpm_distribution_href}add_role/'.sub('{' + 'rpm_rpm_distribution_href' + '}', CGI.escape(rpm_rpm_distribution_href.to_s).gsub('%2F', '/'))
51
+
52
+ # query parameters
53
+ query_params = opts[:query_params] || {}
54
+
55
+ # header parameters
56
+ header_params = opts[:header_params] || {}
57
+ # HTTP header 'Accept' (if needed)
58
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
59
+ # HTTP header 'Content-Type'
60
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
61
+
62
+ # form parameters
63
+ form_params = opts[:form_params] || {}
64
+
65
+ # http body (model)
66
+ post_body = opts[:body] || @api_client.object_to_http_body(nested_role)
67
+
68
+ # return_type
69
+ return_type = opts[:return_type] || 'NestedRoleResponse'
70
+
71
+ # auth_names
72
+ auth_names = opts[:auth_names] || ['basicAuth']
73
+
74
+ new_options = opts.merge(
75
+ :header_params => header_params,
76
+ :query_params => query_params,
77
+ :form_params => form_params,
78
+ :body => post_body,
79
+ :auth_names => auth_names,
80
+ :return_type => return_type
81
+ )
82
+
83
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
84
+ if @api_client.config.debugging
85
+ @api_client.config.logger.debug "API called: DistributionsRpmApi#add_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
86
+ end
87
+ return data, status_code, headers
88
+ end
89
+
22
90
  # Create a rpm distribution
23
91
  # Trigger an asynchronous create task
24
92
  # @param rpm_rpm_distribution [RpmRpmDistribution]
@@ -159,12 +227,8 @@ module PulpRpmClient
159
227
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
160
228
  # @option opts [String] :name__startswith Filter results where name starts with value
161
229
  # @option opts [Integer] :offset The initial index from which to return the results.
162
- # @option opts [Array<String>] :ordering 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)
163
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
164
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
230
+ # @option opts [Array<String>] :ordering Ordering
165
231
  # @option opts [String] :pulp_label_select Filter labels by search string
166
- # @option opts [String] :repository Filter results where repository matches value
167
- # @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
168
232
  # @option opts [String] :with_content Filter distributions based on the content served by them
169
233
  # @option opts [Array<String>] :fields A list of fields to include in the response.
170
234
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
@@ -188,12 +252,8 @@ module PulpRpmClient
188
252
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
189
253
  # @option opts [String] :name__startswith Filter results where name starts with value
190
254
  # @option opts [Integer] :offset The initial index from which to return the results.
191
- # @option opts [Array<String>] :ordering 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)
192
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
193
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
255
+ # @option opts [Array<String>] :ordering Ordering
194
256
  # @option opts [String] :pulp_label_select Filter labels by search string
195
- # @option opts [String] :repository Filter results where repository matches value
196
- # @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
197
257
  # @option opts [String] :with_content Filter distributions based on the content served by them
198
258
  # @option opts [Array<String>] :fields A list of fields to include in the response.
199
259
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
@@ -202,7 +262,7 @@ module PulpRpmClient
202
262
  if @api_client.config.debugging
203
263
  @api_client.config.logger.debug 'Calling API: DistributionsRpmApi.list ...'
204
264
  end
205
- allowable_values = ["-base_path", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "base_path", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type"]
265
+ allowable_values = ["-base_path", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "base_path", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type"]
206
266
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
207
267
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
208
268
  end
@@ -223,11 +283,7 @@ module PulpRpmClient
223
283
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
224
284
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
225
285
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
226
- query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
227
- query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
228
286
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
229
- query_params[:'repository'] = opts[:'repository'] if !opts[:'repository'].nil?
230
- query_params[:'repository__in'] = @api_client.build_collection_param(opts[:'repository__in'], :csv) if !opts[:'repository__in'].nil?
231
287
  query_params[:'with_content'] = opts[:'with_content'] if !opts[:'with_content'].nil?
232
288
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
233
289
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
@@ -265,6 +321,138 @@ module PulpRpmClient
265
321
  return data, status_code, headers
266
322
  end
267
323
 
324
+ # List roles assigned to this object.
325
+ # @param rpm_rpm_distribution_href [String]
326
+ # @param [Hash] opts the optional parameters
327
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
328
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
329
+ # @return [ObjectRolesResponse]
330
+ def list_roles(rpm_rpm_distribution_href, opts = {})
331
+ data, _status_code, _headers = list_roles_with_http_info(rpm_rpm_distribution_href, opts)
332
+ data
333
+ end
334
+
335
+ # List roles assigned to this object.
336
+ # @param rpm_rpm_distribution_href [String]
337
+ # @param [Hash] opts the optional parameters
338
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
339
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
340
+ # @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
341
+ def list_roles_with_http_info(rpm_rpm_distribution_href, opts = {})
342
+ if @api_client.config.debugging
343
+ @api_client.config.logger.debug 'Calling API: DistributionsRpmApi.list_roles ...'
344
+ end
345
+ # verify the required parameter 'rpm_rpm_distribution_href' is set
346
+ if @api_client.config.client_side_validation && rpm_rpm_distribution_href.nil?
347
+ fail ArgumentError, "Missing the required parameter 'rpm_rpm_distribution_href' when calling DistributionsRpmApi.list_roles"
348
+ end
349
+ # resource path
350
+ local_var_path = '{rpm_rpm_distribution_href}list_roles/'.sub('{' + 'rpm_rpm_distribution_href' + '}', CGI.escape(rpm_rpm_distribution_href.to_s).gsub('%2F', '/'))
351
+
352
+ # query parameters
353
+ query_params = opts[:query_params] || {}
354
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
355
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
356
+
357
+ # header parameters
358
+ header_params = opts[:header_params] || {}
359
+ # HTTP header 'Accept' (if needed)
360
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
361
+
362
+ # form parameters
363
+ form_params = opts[:form_params] || {}
364
+
365
+ # http body (model)
366
+ post_body = opts[:body]
367
+
368
+ # return_type
369
+ return_type = opts[:return_type] || 'ObjectRolesResponse'
370
+
371
+ # auth_names
372
+ auth_names = opts[:auth_names] || ['basicAuth']
373
+
374
+ new_options = opts.merge(
375
+ :header_params => header_params,
376
+ :query_params => query_params,
377
+ :form_params => form_params,
378
+ :body => post_body,
379
+ :auth_names => auth_names,
380
+ :return_type => return_type
381
+ )
382
+
383
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
384
+ if @api_client.config.debugging
385
+ @api_client.config.logger.debug "API called: DistributionsRpmApi#list_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
386
+ end
387
+ return data, status_code, headers
388
+ end
389
+
390
+ # List permissions available to the current user on this object.
391
+ # @param rpm_rpm_distribution_href [String]
392
+ # @param [Hash] opts the optional parameters
393
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
394
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
395
+ # @return [MyPermissionsResponse]
396
+ def my_permissions(rpm_rpm_distribution_href, opts = {})
397
+ data, _status_code, _headers = my_permissions_with_http_info(rpm_rpm_distribution_href, opts)
398
+ data
399
+ end
400
+
401
+ # List permissions available to the current user on this object.
402
+ # @param rpm_rpm_distribution_href [String]
403
+ # @param [Hash] opts the optional parameters
404
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
405
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
406
+ # @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
407
+ def my_permissions_with_http_info(rpm_rpm_distribution_href, opts = {})
408
+ if @api_client.config.debugging
409
+ @api_client.config.logger.debug 'Calling API: DistributionsRpmApi.my_permissions ...'
410
+ end
411
+ # verify the required parameter 'rpm_rpm_distribution_href' is set
412
+ if @api_client.config.client_side_validation && rpm_rpm_distribution_href.nil?
413
+ fail ArgumentError, "Missing the required parameter 'rpm_rpm_distribution_href' when calling DistributionsRpmApi.my_permissions"
414
+ end
415
+ # resource path
416
+ local_var_path = '{rpm_rpm_distribution_href}my_permissions/'.sub('{' + 'rpm_rpm_distribution_href' + '}', CGI.escape(rpm_rpm_distribution_href.to_s).gsub('%2F', '/'))
417
+
418
+ # query parameters
419
+ query_params = opts[:query_params] || {}
420
+ query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
421
+ query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
422
+
423
+ # header parameters
424
+ header_params = opts[:header_params] || {}
425
+ # HTTP header 'Accept' (if needed)
426
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
427
+
428
+ # form parameters
429
+ form_params = opts[:form_params] || {}
430
+
431
+ # http body (model)
432
+ post_body = opts[:body]
433
+
434
+ # return_type
435
+ return_type = opts[:return_type] || 'MyPermissionsResponse'
436
+
437
+ # auth_names
438
+ auth_names = opts[:auth_names] || ['basicAuth']
439
+
440
+ new_options = opts.merge(
441
+ :header_params => header_params,
442
+ :query_params => query_params,
443
+ :form_params => form_params,
444
+ :body => post_body,
445
+ :auth_names => auth_names,
446
+ :return_type => return_type
447
+ )
448
+
449
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
450
+ if @api_client.config.debugging
451
+ @api_client.config.logger.debug "API called: DistributionsRpmApi#my_permissions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
452
+ end
453
+ return data, status_code, headers
454
+ end
455
+
268
456
  # Update a rpm distribution
269
457
  # Trigger an asynchronous partial update task
270
458
  # @param rpm_rpm_distribution_href [String]
@@ -403,6 +591,74 @@ module PulpRpmClient
403
591
  return data, status_code, headers
404
592
  end
405
593
 
594
+ # Remove a role for this object from users/groups.
595
+ # @param rpm_rpm_distribution_href [String]
596
+ # @param nested_role [NestedRole]
597
+ # @param [Hash] opts the optional parameters
598
+ # @return [NestedRoleResponse]
599
+ def remove_role(rpm_rpm_distribution_href, nested_role, opts = {})
600
+ data, _status_code, _headers = remove_role_with_http_info(rpm_rpm_distribution_href, nested_role, opts)
601
+ data
602
+ end
603
+
604
+ # Remove a role for this object from users/groups.
605
+ # @param rpm_rpm_distribution_href [String]
606
+ # @param nested_role [NestedRole]
607
+ # @param [Hash] opts the optional parameters
608
+ # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
609
+ def remove_role_with_http_info(rpm_rpm_distribution_href, nested_role, opts = {})
610
+ if @api_client.config.debugging
611
+ @api_client.config.logger.debug 'Calling API: DistributionsRpmApi.remove_role ...'
612
+ end
613
+ # verify the required parameter 'rpm_rpm_distribution_href' is set
614
+ if @api_client.config.client_side_validation && rpm_rpm_distribution_href.nil?
615
+ fail ArgumentError, "Missing the required parameter 'rpm_rpm_distribution_href' when calling DistributionsRpmApi.remove_role"
616
+ end
617
+ # verify the required parameter 'nested_role' is set
618
+ if @api_client.config.client_side_validation && nested_role.nil?
619
+ fail ArgumentError, "Missing the required parameter 'nested_role' when calling DistributionsRpmApi.remove_role"
620
+ end
621
+ # resource path
622
+ local_var_path = '{rpm_rpm_distribution_href}remove_role/'.sub('{' + 'rpm_rpm_distribution_href' + '}', CGI.escape(rpm_rpm_distribution_href.to_s).gsub('%2F', '/'))
623
+
624
+ # query parameters
625
+ query_params = opts[:query_params] || {}
626
+
627
+ # header parameters
628
+ header_params = opts[:header_params] || {}
629
+ # HTTP header 'Accept' (if needed)
630
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
631
+ # HTTP header 'Content-Type'
632
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
633
+
634
+ # form parameters
635
+ form_params = opts[:form_params] || {}
636
+
637
+ # http body (model)
638
+ post_body = opts[:body] || @api_client.object_to_http_body(nested_role)
639
+
640
+ # return_type
641
+ return_type = opts[:return_type] || 'NestedRoleResponse'
642
+
643
+ # auth_names
644
+ auth_names = opts[:auth_names] || ['basicAuth']
645
+
646
+ new_options = opts.merge(
647
+ :header_params => header_params,
648
+ :query_params => query_params,
649
+ :form_params => form_params,
650
+ :body => post_body,
651
+ :auth_names => auth_names,
652
+ :return_type => return_type
653
+ )
654
+
655
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
656
+ if @api_client.config.debugging
657
+ @api_client.config.logger.debug "API called: DistributionsRpmApi#remove_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
658
+ end
659
+ return data, status_code, headers
660
+ end
661
+
406
662
  # Update a rpm distribution
407
663
  # Trigger an asynchronous update task
408
664
  # @param rpm_rpm_distribution_href [String]