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
@@ -38,9 +38,7 @@ describe 'ContentPackagelangpacksApi' do
38
38
  # @param [Hash] opts the optional parameters
39
39
  # @option opts [Integer] :limit Number of results to return per page.
40
40
  # @option opts [Integer] :offset The initial index from which to return the results.
41
- # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
42
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
43
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
41
+ # @option opts [Array<String>] :ordering Ordering
44
42
  # @option opts [String] :repository_version Repository Version referenced by HREF
45
43
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
46
44
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -55,7 +55,7 @@ describe 'ContentPackagesApi' do
55
55
  # @option opts [String] :arch Filter results where arch matches value
56
56
  # @option opts [Array<String>] :arch__in Filter results where arch is in a comma-separated list of values
57
57
  # @option opts [String] :arch__ne Filter results where arch not equal to value
58
- # @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
58
+ # @option opts [String] :checksum_type Filter results where checksum_type matches value
59
59
  # @option opts [Array<String>] :checksum_type__in Filter results where checksum_type is in a comma-separated list of values
60
60
  # @option opts [String] :checksum_type__ne Filter results where checksum_type not equal to value
61
61
  # @option opts [String] :epoch Filter results where epoch matches value
@@ -66,11 +66,9 @@ describe 'ContentPackagesApi' do
66
66
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
67
67
  # @option opts [String] :name__ne Filter results where name not equal to value
68
68
  # @option opts [Integer] :offset The initial index from which to return the results.
69
- # @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)
69
+ # @option opts [Array<String>] :ordering Ordering
70
70
  # @option opts [String] :pkg_id Filter results where pkgId matches value
71
71
  # @option opts [Array<String>] :pkg_id__in Filter results where pkgId is in a comma-separated list of values
72
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
73
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
74
72
  # @option opts [String] :release Filter results where release matches value
75
73
  # @option opts [Array<String>] :release__in Filter results where release is in a comma-separated list of values
76
74
  # @option opts [String] :release__ne Filter results where release not equal to value
@@ -38,9 +38,7 @@ describe 'ContentRepoMetadataFilesApi' do
38
38
  # @param [Hash] opts the optional parameters
39
39
  # @option opts [Integer] :limit Number of results to return per page.
40
40
  # @option opts [Integer] :offset The initial index from which to return the results.
41
- # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
42
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
43
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
41
+ # @option opts [Array<String>] :ordering Ordering
44
42
  # @option opts [String] :repository_version Repository Version referenced by HREF
45
43
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
46
44
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -32,6 +32,18 @@ describe 'DistributionsRpmApi' do
32
32
  end
33
33
  end
34
34
 
35
+ # unit tests for add_role
36
+ # Add a role for this object to users/groups.
37
+ # @param rpm_rpm_distribution_href
38
+ # @param nested_role
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [NestedRoleResponse]
41
+ describe 'add_role test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
35
47
  # unit tests for create
36
48
  # Create a rpm distribution
37
49
  # Trigger an asynchronous create task
@@ -71,12 +83,8 @@ describe 'DistributionsRpmApi' do
71
83
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
72
84
  # @option opts [String] :name__startswith Filter results where name starts with value
73
85
  # @option opts [Integer] :offset The initial index from which to return the results.
74
- # @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)
75
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
76
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
86
+ # @option opts [Array<String>] :ordering Ordering
77
87
  # @option opts [String] :pulp_label_select Filter labels by search string
78
- # @option opts [String] :repository Filter results where repository matches value
79
- # @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
80
88
  # @option opts [String] :with_content Filter distributions based on the content served by them
81
89
  # @option opts [Array<String>] :fields A list of fields to include in the response.
82
90
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
@@ -87,6 +95,32 @@ describe 'DistributionsRpmApi' do
87
95
  end
88
96
  end
89
97
 
98
+ # unit tests for list_roles
99
+ # List roles assigned to this object.
100
+ # @param rpm_rpm_distribution_href
101
+ # @param [Hash] opts the optional parameters
102
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
103
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
104
+ # @return [ObjectRolesResponse]
105
+ describe 'list_roles test' do
106
+ it 'should work' do
107
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
108
+ end
109
+ end
110
+
111
+ # unit tests for my_permissions
112
+ # List permissions available to the current user on this object.
113
+ # @param rpm_rpm_distribution_href
114
+ # @param [Hash] opts the optional parameters
115
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
116
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
117
+ # @return [MyPermissionsResponse]
118
+ describe 'my_permissions test' do
119
+ it 'should work' do
120
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
121
+ end
122
+ end
123
+
90
124
  # unit tests for partial_update
91
125
  # Update a rpm distribution
92
126
  # Trigger an asynchronous partial update task
@@ -114,6 +148,18 @@ describe 'DistributionsRpmApi' do
114
148
  end
115
149
  end
116
150
 
151
+ # unit tests for remove_role
152
+ # Remove a role for this object from users/groups.
153
+ # @param rpm_rpm_distribution_href
154
+ # @param nested_role
155
+ # @param [Hash] opts the optional parameters
156
+ # @return [NestedRoleResponse]
157
+ describe 'remove_role test' do
158
+ it 'should work' do
159
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
160
+ end
161
+ end
162
+
117
163
  # unit tests for update
118
164
  # Update a rpm distribution
119
165
  # Trigger an asynchronous update task
@@ -32,6 +32,18 @@ describe 'PublicationsRpmApi' do
32
32
  end
33
33
  end
34
34
 
35
+ # unit tests for add_role
36
+ # Add a role for this object to users/groups.
37
+ # @param rpm_rpm_publication_href
38
+ # @param nested_role
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [NestedRoleResponse]
41
+ describe 'add_role test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
35
47
  # unit tests for create
36
48
  # Create a rpm publication
37
49
  # Trigger an asynchronous task to create a new RPM content publication.
@@ -64,15 +76,13 @@ describe 'PublicationsRpmApi' do
64
76
  # @option opts [String] :content__in Content Unit referenced by HREF
65
77
  # @option opts [Integer] :limit Number of results to return per page.
66
78
  # @option opts [Integer] :offset The initial index from which to return the results.
67
- # @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;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;pass_through&#x60; - Pass through * &#x60;-pass_through&#x60; - Pass through (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
79
+ # @option opts [Array<String>] :ordering Ordering
68
80
  # @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
69
81
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
70
82
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
71
83
  # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
72
84
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
73
85
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
74
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
75
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
76
86
  # @option opts [String] :repository Repository referenced by HREF
77
87
  # @option opts [String] :repository_version Repository Version referenced by HREF
78
88
  # @option opts [Array<String>] :fields A list of fields to include in the response.
@@ -84,6 +94,32 @@ describe 'PublicationsRpmApi' do
84
94
  end
85
95
  end
86
96
 
97
+ # unit tests for list_roles
98
+ # List roles assigned to this object.
99
+ # @param rpm_rpm_publication_href
100
+ # @param [Hash] opts the optional parameters
101
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
102
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
103
+ # @return [ObjectRolesResponse]
104
+ describe 'list_roles test' do
105
+ it 'should work' do
106
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
107
+ end
108
+ end
109
+
110
+ # unit tests for my_permissions
111
+ # List permissions available to the current user on this object.
112
+ # @param rpm_rpm_publication_href
113
+ # @param [Hash] opts the optional parameters
114
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
115
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
116
+ # @return [MyPermissionsResponse]
117
+ describe 'my_permissions test' do
118
+ it 'should work' do
119
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
120
+ end
121
+ end
122
+
87
123
  # unit tests for read
88
124
  # Inspect a rpm publication
89
125
  # ViewSet for Rpm Publications.
@@ -98,4 +134,16 @@ describe 'PublicationsRpmApi' do
98
134
  end
99
135
  end
100
136
 
137
+ # unit tests for remove_role
138
+ # Remove a role for this object from users/groups.
139
+ # @param rpm_rpm_publication_href
140
+ # @param nested_role
141
+ # @param [Hash] opts the optional parameters
142
+ # @return [NestedRoleResponse]
143
+ describe 'remove_role test' do
144
+ it 'should work' do
145
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
146
+ end
147
+ end
148
+
101
149
  end
@@ -32,6 +32,18 @@ describe 'RemotesRpmApi' do
32
32
  end
33
33
  end
34
34
 
35
+ # unit tests for add_role
36
+ # Add a role for this object to users/groups.
37
+ # @param rpm_rpm_remote_href
38
+ # @param nested_role
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [NestedRoleResponse]
41
+ describe 'add_role test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
35
47
  # unit tests for create
36
48
  # Create a rpm remote
37
49
  # A ViewSet for RpmRemote.
@@ -67,9 +79,7 @@ describe 'RemotesRpmApi' do
67
79
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
68
80
  # @option opts [String] :name__startswith Filter results where name starts with value
69
81
  # @option opts [Integer] :offset The initial index from which to return the results.
70
- # @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;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;ca_cert&#x60; - Ca cert * &#x60;-ca_cert&#x60; - Ca cert (descending) * &#x60;client_cert&#x60; - Client cert * &#x60;-client_cert&#x60; - Client cert (descending) * &#x60;client_key&#x60; - Client key * &#x60;-client_key&#x60; - Client key (descending) * &#x60;tls_validation&#x60; - Tls validation * &#x60;-tls_validation&#x60; - Tls validation (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;proxy_url&#x60; - Proxy url * &#x60;-proxy_url&#x60; - Proxy url (descending) * &#x60;proxy_username&#x60; - Proxy username * &#x60;-proxy_username&#x60; - Proxy username (descending) * &#x60;proxy_password&#x60; - Proxy password * &#x60;-proxy_password&#x60; - Proxy password (descending) * &#x60;download_concurrency&#x60; - Download concurrency * &#x60;-download_concurrency&#x60; - Download concurrency (descending) * &#x60;max_retries&#x60; - Max retries * &#x60;-max_retries&#x60; - Max retries (descending) * &#x60;policy&#x60; - Policy * &#x60;-policy&#x60; - Policy (descending) * &#x60;total_timeout&#x60; - Total timeout * &#x60;-total_timeout&#x60; - Total timeout (descending) * &#x60;connect_timeout&#x60; - Connect timeout * &#x60;-connect_timeout&#x60; - Connect timeout (descending) * &#x60;sock_connect_timeout&#x60; - Sock connect timeout * &#x60;-sock_connect_timeout&#x60; - Sock connect timeout (descending) * &#x60;sock_read_timeout&#x60; - Sock read timeout * &#x60;-sock_read_timeout&#x60; - Sock read timeout (descending) * &#x60;headers&#x60; - Headers * &#x60;-headers&#x60; - Headers (descending) * &#x60;rate_limit&#x60; - Rate limit * &#x60;-rate_limit&#x60; - Rate limit (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
71
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
72
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
82
+ # @option opts [Array<String>] :ordering Ordering
73
83
  # @option opts [String] :pulp_label_select Filter labels by search string
74
84
  # @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
75
85
  # @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
@@ -86,6 +96,32 @@ describe 'RemotesRpmApi' do
86
96
  end
87
97
  end
88
98
 
99
+ # unit tests for list_roles
100
+ # List roles assigned to this object.
101
+ # @param rpm_rpm_remote_href
102
+ # @param [Hash] opts the optional parameters
103
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
104
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
105
+ # @return [ObjectRolesResponse]
106
+ describe 'list_roles test' do
107
+ it 'should work' do
108
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
109
+ end
110
+ end
111
+
112
+ # unit tests for my_permissions
113
+ # List permissions available to the current user on this object.
114
+ # @param rpm_rpm_remote_href
115
+ # @param [Hash] opts the optional parameters
116
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
117
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
118
+ # @return [MyPermissionsResponse]
119
+ describe 'my_permissions test' do
120
+ it 'should work' do
121
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
122
+ end
123
+ end
124
+
89
125
  # unit tests for partial_update
90
126
  # Update a rpm remote
91
127
  # Trigger an asynchronous partial update task
@@ -113,6 +149,18 @@ describe 'RemotesRpmApi' do
113
149
  end
114
150
  end
115
151
 
152
+ # unit tests for remove_role
153
+ # Remove a role for this object from users/groups.
154
+ # @param rpm_rpm_remote_href
155
+ # @param nested_role
156
+ # @param [Hash] opts the optional parameters
157
+ # @return [NestedRoleResponse]
158
+ describe 'remove_role test' do
159
+ it 'should work' do
160
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
161
+ end
162
+ end
163
+
116
164
  # unit tests for update
117
165
  # Update a rpm remote
118
166
  # Trigger an asynchronous update task
@@ -32,6 +32,18 @@ describe 'RemotesUlnApi' do
32
32
  end
33
33
  end
34
34
 
35
+ # unit tests for add_role
36
+ # Add a role for this object to users/groups.
37
+ # @param rpm_uln_remote_href
38
+ # @param nested_role
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [NestedRoleResponse]
41
+ describe 'add_role test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
35
47
  # unit tests for create
36
48
  # Create an uln remote
37
49
  # A ViewSet for UlnRemote.
@@ -67,9 +79,7 @@ describe 'RemotesUlnApi' do
67
79
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
68
80
  # @option opts [String] :name__startswith Filter results where name starts with value
69
81
  # @option opts [Integer] :offset The initial index from which to return the results.
70
- # @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;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;ca_cert&#x60; - Ca cert * &#x60;-ca_cert&#x60; - Ca cert (descending) * &#x60;client_cert&#x60; - Client cert * &#x60;-client_cert&#x60; - Client cert (descending) * &#x60;client_key&#x60; - Client key * &#x60;-client_key&#x60; - Client key (descending) * &#x60;tls_validation&#x60; - Tls validation * &#x60;-tls_validation&#x60; - Tls validation (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;proxy_url&#x60; - Proxy url * &#x60;-proxy_url&#x60; - Proxy url (descending) * &#x60;proxy_username&#x60; - Proxy username * &#x60;-proxy_username&#x60; - Proxy username (descending) * &#x60;proxy_password&#x60; - Proxy password * &#x60;-proxy_password&#x60; - Proxy password (descending) * &#x60;download_concurrency&#x60; - Download concurrency * &#x60;-download_concurrency&#x60; - Download concurrency (descending) * &#x60;max_retries&#x60; - Max retries * &#x60;-max_retries&#x60; - Max retries (descending) * &#x60;policy&#x60; - Policy * &#x60;-policy&#x60; - Policy (descending) * &#x60;total_timeout&#x60; - Total timeout * &#x60;-total_timeout&#x60; - Total timeout (descending) * &#x60;connect_timeout&#x60; - Connect timeout * &#x60;-connect_timeout&#x60; - Connect timeout (descending) * &#x60;sock_connect_timeout&#x60; - Sock connect timeout * &#x60;-sock_connect_timeout&#x60; - Sock connect timeout (descending) * &#x60;sock_read_timeout&#x60; - Sock read timeout * &#x60;-sock_read_timeout&#x60; - Sock read timeout (descending) * &#x60;headers&#x60; - Headers * &#x60;-headers&#x60; - Headers (descending) * &#x60;rate_limit&#x60; - Rate limit * &#x60;-rate_limit&#x60; - Rate limit (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
71
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
72
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
82
+ # @option opts [Array<String>] :ordering Ordering
73
83
  # @option opts [String] :pulp_label_select Filter labels by search string
74
84
  # @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
75
85
  # @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
@@ -86,6 +96,32 @@ describe 'RemotesUlnApi' do
86
96
  end
87
97
  end
88
98
 
99
+ # unit tests for list_roles
100
+ # List roles assigned to this object.
101
+ # @param rpm_uln_remote_href
102
+ # @param [Hash] opts the optional parameters
103
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
104
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
105
+ # @return [ObjectRolesResponse]
106
+ describe 'list_roles test' do
107
+ it 'should work' do
108
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
109
+ end
110
+ end
111
+
112
+ # unit tests for my_permissions
113
+ # List permissions available to the current user on this object.
114
+ # @param rpm_uln_remote_href
115
+ # @param [Hash] opts the optional parameters
116
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
117
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
118
+ # @return [MyPermissionsResponse]
119
+ describe 'my_permissions test' do
120
+ it 'should work' do
121
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
122
+ end
123
+ end
124
+
89
125
  # unit tests for partial_update
90
126
  # Update an uln remote
91
127
  # Trigger an asynchronous partial update task
@@ -113,6 +149,18 @@ describe 'RemotesUlnApi' do
113
149
  end
114
150
  end
115
151
 
152
+ # unit tests for remove_role
153
+ # Remove a role for this object from users/groups.
154
+ # @param rpm_uln_remote_href
155
+ # @param nested_role
156
+ # @param [Hash] opts the optional parameters
157
+ # @return [NestedRoleResponse]
158
+ describe 'remove_role test' do
159
+ it 'should work' do
160
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
161
+ end
162
+ end
163
+
116
164
  # unit tests for update
117
165
  # Update an uln remote
118
166
  # Trigger an asynchronous update task
@@ -32,6 +32,18 @@ describe 'RepositoriesRpmApi' do
32
32
  end
33
33
  end
34
34
 
35
+ # unit tests for add_role
36
+ # Add a role for this object to users/groups.
37
+ # @param rpm_rpm_repository_href
38
+ # @param nested_role
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [NestedRoleResponse]
41
+ describe 'add_role test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
35
47
  # unit tests for create
36
48
  # Create a rpm repository
37
49
  # A ViewSet for RpmRepository.
@@ -67,19 +79,9 @@ describe 'RepositoriesRpmApi' do
67
79
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
68
80
  # @option opts [String] :name__startswith Filter results where name starts with value
69
81
  # @option opts [Integer] :offset The initial index from which to return the results.
70
- # @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;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
71
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
72
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
82
+ # @option opts [Array<String>] :ordering Ordering
73
83
  # @option opts [String] :pulp_label_select Filter labels by search string
74
84
  # @option opts [String] :remote Foreign Key referenced by HREF
75
- # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
76
- # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
77
- # @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
78
- # @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
79
- # @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
80
- # @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
81
- # @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
82
- # @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
83
85
  # @option opts [Array<String>] :fields A list of fields to include in the response.
84
86
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
85
87
  # @return [PaginatedrpmRpmRepositoryResponseList]
@@ -89,6 +91,19 @@ describe 'RepositoriesRpmApi' do
89
91
  end
90
92
  end
91
93
 
94
+ # unit tests for list_roles
95
+ # List roles assigned to this object.
96
+ # @param rpm_rpm_repository_href
97
+ # @param [Hash] opts the optional parameters
98
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
99
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
100
+ # @return [ObjectRolesResponse]
101
+ describe 'list_roles test' do
102
+ it 'should work' do
103
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
+ end
105
+ end
106
+
92
107
  # unit tests for modify
93
108
  # Modify Repository Content
94
109
  # Trigger an asynchronous task to create a new repository version.
@@ -102,6 +117,19 @@ describe 'RepositoriesRpmApi' do
102
117
  end
103
118
  end
104
119
 
120
+ # unit tests for my_permissions
121
+ # List permissions available to the current user on this object.
122
+ # @param rpm_rpm_repository_href
123
+ # @param [Hash] opts the optional parameters
124
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
125
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
126
+ # @return [MyPermissionsResponse]
127
+ describe 'my_permissions test' do
128
+ it 'should work' do
129
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
130
+ end
131
+ end
132
+
105
133
  # unit tests for partial_update
106
134
  # Update a rpm repository
107
135
  # Trigger an asynchronous partial update task
@@ -129,6 +157,18 @@ describe 'RepositoriesRpmApi' do
129
157
  end
130
158
  end
131
159
 
160
+ # unit tests for remove_role
161
+ # Remove a role for this object from users/groups.
162
+ # @param rpm_rpm_repository_href
163
+ # @param nested_role
164
+ # @param [Hash] opts the optional parameters
165
+ # @return [NestedRoleResponse]
166
+ describe 'remove_role test' do
167
+ it 'should work' do
168
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
169
+ end
170
+ end
171
+
132
172
  # unit tests for sync
133
173
  # Sync from remote
134
174
  # Trigger an asynchronous task to sync RPM content.
@@ -59,14 +59,13 @@ describe 'RepositoriesRpmVersionsApi' do
59
59
  # @option opts [Integer] :number__lte Filter results where number is less than or equal to value
60
60
  # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
61
61
  # @option opts [Integer] :offset The initial index from which to return the results.
62
- # @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;number&#x60; - Number * &#x60;-number&#x60; - Number (descending) * &#x60;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;info&#x60; - Info * &#x60;-info&#x60; - Info (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
62
+ # @option opts [Array<String>] :ordering Ordering
63
63
  # @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
64
64
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
65
65
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
66
66
  # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
67
67
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
68
68
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
69
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
70
69
  # @option opts [Array<String>] :fields A list of fields to include in the response.
71
70
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
72
71
  # @return [PaginatedRepositoryVersionResponseList]
@@ -0,0 +1,41 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpRpmClient::MyPermissionsResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'MyPermissionsResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpRpmClient::MyPermissionsResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of MyPermissionsResponse' do
31
+ it 'should create an instance of MyPermissionsResponse' do
32
+ expect(@instance).to be_instance_of(PulpRpmClient::MyPermissionsResponse)
33
+ end
34
+ end
35
+ describe 'test attribute "permissions"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ end
@@ -0,0 +1,53 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpRpmClient::NestedRoleResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'NestedRoleResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpRpmClient::NestedRoleResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of NestedRoleResponse' do
31
+ it 'should create an instance of NestedRoleResponse' do
32
+ expect(@instance).to be_instance_of(PulpRpmClient::NestedRoleResponse)
33
+ end
34
+ end
35
+ describe 'test attribute "users"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "groups"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "role"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ end