pulp_gem_client 0.2.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +35 -5
  3. data/docs/ContentGemApi.md +3 -1
  4. data/docs/DistributionsGemApi.md +355 -1
  5. data/docs/MyPermissionsResponse.md +17 -0
  6. data/docs/NestedRole.md +21 -0
  7. data/docs/NestedRoleResponse.md +21 -0
  8. data/docs/ObjectRolesResponse.md +17 -0
  9. data/docs/PublicationsGemApi.md +235 -1
  10. data/docs/RemotesGemApi.md +355 -1
  11. data/docs/RepositoriesGemApi.md +355 -1
  12. data/docs/RepositoriesGemVersionsApi.md +3 -1
  13. data/docs/SetLabel.md +19 -0
  14. data/docs/SetLabelResponse.md +19 -0
  15. data/docs/UnsetLabel.md +17 -0
  16. data/docs/UnsetLabelResponse.md +19 -0
  17. data/lib/pulp_gem_client/api/content_gem_api.rb +3 -0
  18. data/lib/pulp_gem_client/api/distributions_gem_api.rb +431 -0
  19. data/lib/pulp_gem_client/api/publications_gem_api.rb +279 -0
  20. data/lib/pulp_gem_client/api/remotes_gem_api.rb +431 -0
  21. data/lib/pulp_gem_client/api/repositories_gem_api.rb +431 -0
  22. data/lib/pulp_gem_client/api/repositories_gem_versions_api.rb +3 -0
  23. data/lib/pulp_gem_client/configuration.rb +2 -2
  24. data/lib/pulp_gem_client/models/my_permissions_response.rb +213 -0
  25. data/lib/pulp_gem_client/models/nested_role.rb +253 -0
  26. data/lib/pulp_gem_client/models/nested_role_response.rb +234 -0
  27. data/lib/pulp_gem_client/models/object_roles_response.rb +213 -0
  28. data/lib/pulp_gem_client/models/set_label.rb +252 -0
  29. data/lib/pulp_gem_client/models/set_label_response.rb +243 -0
  30. data/lib/pulp_gem_client/models/unset_label.rb +242 -0
  31. data/lib/pulp_gem_client/models/unset_label_response.rb +242 -0
  32. data/lib/pulp_gem_client/version.rb +1 -1
  33. data/lib/pulp_gem_client.rb +8 -0
  34. data/spec/api/content_gem_api_spec.rb +1 -0
  35. data/spec/api/distributions_gem_api_spec.rb +85 -0
  36. data/spec/api/publications_gem_api_spec.rb +55 -0
  37. data/spec/api/remotes_gem_api_spec.rb +85 -0
  38. data/spec/api/repositories_gem_api_spec.rb +85 -0
  39. data/spec/api/repositories_gem_versions_api_spec.rb +1 -0
  40. data/spec/configuration_spec.rb +3 -3
  41. data/spec/models/my_permissions_response_spec.rb +41 -0
  42. data/spec/models/nested_role_response_spec.rb +53 -0
  43. data/spec/models/nested_role_spec.rb +53 -0
  44. data/spec/models/object_roles_response_spec.rb +41 -0
  45. data/spec/models/set_label_response_spec.rb +47 -0
  46. data/spec/models/set_label_spec.rb +47 -0
  47. data/spec/models/unset_label_response_spec.rb +47 -0
  48. data/spec/models/unset_label_spec.rb +41 -0
  49. metadata +57 -25
@@ -32,6 +32,19 @@ describe 'PublicationsGemApi' do
32
32
  end
33
33
  end
34
34
 
35
+ # unit tests for add_role
36
+ # Add a role
37
+ # Add a role for this object to users/groups.
38
+ # @param gem_gem_publication_href
39
+ # @param nested_role
40
+ # @param [Hash] opts the optional parameters
41
+ # @return [NestedRoleResponse]
42
+ describe 'add_role test' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
45
+ end
46
+ end
47
+
35
48
  # unit tests for create
36
49
  # Create a gem publication
37
50
  # Trigger an asynchronous task to publish gem content
@@ -73,6 +86,7 @@ describe 'PublicationsGemApi' do
73
86
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
74
87
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
75
88
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
89
+ # @option opts [String] :q
76
90
  # @option opts [String] :repository Repository referenced by HREF
77
91
  # @option opts [String] :repository_version Repository Version referenced by HREF
78
92
  # @option opts [Array<String>] :fields A list of fields to include in the response.
@@ -84,6 +98,34 @@ describe 'PublicationsGemApi' do
84
98
  end
85
99
  end
86
100
 
101
+ # unit tests for list_roles
102
+ # List roles
103
+ # List roles assigned to this object.
104
+ # @param gem_gem_publication_href
105
+ # @param [Hash] opts the optional parameters
106
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
107
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
108
+ # @return [ObjectRolesResponse]
109
+ describe 'list_roles test' do
110
+ it 'should work' do
111
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
112
+ end
113
+ end
114
+
115
+ # unit tests for my_permissions
116
+ # List user permissions
117
+ # List permissions available to the current user on this object.
118
+ # @param gem_gem_publication_href
119
+ # @param [Hash] opts the optional parameters
120
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
121
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
122
+ # @return [MyPermissionsResponse]
123
+ describe 'my_permissions test' do
124
+ it 'should work' do
125
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
126
+ end
127
+ end
128
+
87
129
  # unit tests for read
88
130
  # Inspect a gem publication
89
131
  # A ViewSet for GemPublication.
@@ -98,4 +140,17 @@ describe 'PublicationsGemApi' do
98
140
  end
99
141
  end
100
142
 
143
+ # unit tests for remove_role
144
+ # Remove a role
145
+ # Remove a role for this object from users/groups.
146
+ # @param gem_gem_publication_href
147
+ # @param nested_role
148
+ # @param [Hash] opts the optional parameters
149
+ # @return [NestedRoleResponse]
150
+ describe 'remove_role test' do
151
+ it 'should work' do
152
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
153
+ end
154
+ end
155
+
101
156
  end
@@ -32,6 +32,19 @@ describe 'RemotesGemApi' do
32
32
  end
33
33
  end
34
34
 
35
+ # unit tests for add_role
36
+ # Add a role
37
+ # Add a role for this object to users/groups.
38
+ # @param gem_gem_remote_href
39
+ # @param nested_role
40
+ # @param [Hash] opts the optional parameters
41
+ # @return [NestedRoleResponse]
42
+ describe 'add_role test' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
45
+ end
46
+ end
47
+
35
48
  # unit tests for create
36
49
  # Create a gem remote
37
50
  # A ViewSet for GemRemote.
@@ -64,7 +77,11 @@ describe 'RemotesGemApi' do
64
77
  # @option opts [String] :name Filter results where name matches value
65
78
  # @option opts [String] :name__contains Filter results where name contains value
66
79
  # @option opts [String] :name__icontains Filter results where name contains value
80
+ # @option opts [String] :name__iexact Filter results where name matches value
67
81
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
82
+ # @option opts [String] :name__iregex Filter results where name matches regex value
83
+ # @option opts [String] :name__istartswith Filter results where name starts with value
84
+ # @option opts [String] :name__regex Filter results where name matches regex value
68
85
  # @option opts [String] :name__startswith Filter results where name starts with value
69
86
  # @option opts [Integer] :offset The initial index from which to return the results.
70
87
  # @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)
@@ -77,6 +94,7 @@ describe 'RemotesGemApi' do
77
94
  # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
78
95
  # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
79
96
  # @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
97
+ # @option opts [String] :q
80
98
  # @option opts [Array<String>] :fields A list of fields to include in the response.
81
99
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
82
100
  # @return [PaginatedgemGemRemoteResponseList]
@@ -86,6 +104,34 @@ describe 'RemotesGemApi' do
86
104
  end
87
105
  end
88
106
 
107
+ # unit tests for list_roles
108
+ # List roles
109
+ # List roles assigned to this object.
110
+ # @param gem_gem_remote_href
111
+ # @param [Hash] opts the optional parameters
112
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
113
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
114
+ # @return [ObjectRolesResponse]
115
+ describe 'list_roles test' do
116
+ it 'should work' do
117
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
118
+ end
119
+ end
120
+
121
+ # unit tests for my_permissions
122
+ # List user permissions
123
+ # List permissions available to the current user on this object.
124
+ # @param gem_gem_remote_href
125
+ # @param [Hash] opts the optional parameters
126
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
127
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
128
+ # @return [MyPermissionsResponse]
129
+ describe 'my_permissions test' do
130
+ it 'should work' do
131
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
132
+ end
133
+ end
134
+
89
135
  # unit tests for partial_update
90
136
  # Update a gem remote
91
137
  # Trigger an asynchronous partial update task
@@ -113,6 +159,45 @@ describe 'RemotesGemApi' do
113
159
  end
114
160
  end
115
161
 
162
+ # unit tests for remove_role
163
+ # Remove a role
164
+ # Remove a role for this object from users/groups.
165
+ # @param gem_gem_remote_href
166
+ # @param nested_role
167
+ # @param [Hash] opts the optional parameters
168
+ # @return [NestedRoleResponse]
169
+ describe 'remove_role test' do
170
+ it 'should work' do
171
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
172
+ end
173
+ end
174
+
175
+ # unit tests for set_label
176
+ # Set a label
177
+ # Set a single pulp_label on the object to a specific value or null.
178
+ # @param gem_gem_remote_href
179
+ # @param set_label
180
+ # @param [Hash] opts the optional parameters
181
+ # @return [SetLabelResponse]
182
+ describe 'set_label test' do
183
+ it 'should work' do
184
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
185
+ end
186
+ end
187
+
188
+ # unit tests for unset_label
189
+ # Unset a label
190
+ # Unset a single pulp_label on the object.
191
+ # @param gem_gem_remote_href
192
+ # @param unset_label
193
+ # @param [Hash] opts the optional parameters
194
+ # @return [UnsetLabelResponse]
195
+ describe 'unset_label test' do
196
+ it 'should work' do
197
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
198
+ end
199
+ end
200
+
116
201
  # unit tests for update
117
202
  # Update a gem remote
118
203
  # Trigger an asynchronous update task
@@ -32,6 +32,19 @@ describe 'RepositoriesGemApi' do
32
32
  end
33
33
  end
34
34
 
35
+ # unit tests for add_role
36
+ # Add a role
37
+ # Add a role for this object to users/groups.
38
+ # @param gem_gem_repository_href
39
+ # @param nested_role
40
+ # @param [Hash] opts the optional parameters
41
+ # @return [NestedRoleResponse]
42
+ describe 'add_role test' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
45
+ end
46
+ end
47
+
35
48
  # unit tests for create
36
49
  # Create a gem repository
37
50
  # A ViewSet for GemRepository.
@@ -65,13 +78,18 @@ describe 'RepositoriesGemApi' do
65
78
  # @option opts [String] :name Filter results where name matches value
66
79
  # @option opts [String] :name__contains Filter results where name contains value
67
80
  # @option opts [String] :name__icontains Filter results where name contains value
81
+ # @option opts [String] :name__iexact Filter results where name matches value
68
82
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
83
+ # @option opts [String] :name__iregex Filter results where name matches regex value
84
+ # @option opts [String] :name__istartswith Filter results where name starts with value
85
+ # @option opts [String] :name__regex Filter results where name matches regex value
69
86
  # @option opts [String] :name__startswith Filter results where name starts with value
70
87
  # @option opts [Integer] :offset The initial index from which to return the results.
71
88
  # @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)
72
89
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
73
90
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
74
91
  # @option opts [String] :pulp_label_select Filter labels by search string
92
+ # @option opts [String] :q
75
93
  # @option opts [String] :remote Foreign Key referenced by HREF
76
94
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
77
95
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
@@ -91,6 +109,20 @@ describe 'RepositoriesGemApi' do
91
109
  end
92
110
  end
93
111
 
112
+ # unit tests for list_roles
113
+ # List roles
114
+ # List roles assigned to this object.
115
+ # @param gem_gem_repository_href
116
+ # @param [Hash] opts the optional parameters
117
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
118
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
119
+ # @return [ObjectRolesResponse]
120
+ describe 'list_roles test' do
121
+ it 'should work' do
122
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
123
+ end
124
+ end
125
+
94
126
  # unit tests for modify
95
127
  # Modify Repository Content
96
128
  # Trigger an asynchronous task to create a new repository version.
@@ -104,6 +136,20 @@ describe 'RepositoriesGemApi' do
104
136
  end
105
137
  end
106
138
 
139
+ # unit tests for my_permissions
140
+ # List user permissions
141
+ # List permissions available to the current user on this object.
142
+ # @param gem_gem_repository_href
143
+ # @param [Hash] opts the optional parameters
144
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
145
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
146
+ # @return [MyPermissionsResponse]
147
+ describe 'my_permissions test' do
148
+ it 'should work' do
149
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
150
+ end
151
+ end
152
+
107
153
  # unit tests for partial_update
108
154
  # Update a gem repository
109
155
  # Trigger an asynchronous partial update task
@@ -131,6 +177,32 @@ describe 'RepositoriesGemApi' do
131
177
  end
132
178
  end
133
179
 
180
+ # unit tests for remove_role
181
+ # Remove a role
182
+ # Remove a role for this object from users/groups.
183
+ # @param gem_gem_repository_href
184
+ # @param nested_role
185
+ # @param [Hash] opts the optional parameters
186
+ # @return [NestedRoleResponse]
187
+ describe 'remove_role test' do
188
+ it 'should work' do
189
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
190
+ end
191
+ end
192
+
193
+ # unit tests for set_label
194
+ # Set a label
195
+ # Set a single pulp_label on the object to a specific value or null.
196
+ # @param gem_gem_repository_href
197
+ # @param set_label
198
+ # @param [Hash] opts the optional parameters
199
+ # @return [SetLabelResponse]
200
+ describe 'set_label test' do
201
+ it 'should work' do
202
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
203
+ end
204
+ end
205
+
134
206
  # unit tests for sync
135
207
  # Sync from a remote
136
208
  # Trigger an asynchronous task to sync gem content.
@@ -144,6 +216,19 @@ describe 'RepositoriesGemApi' do
144
216
  end
145
217
  end
146
218
 
219
+ # unit tests for unset_label
220
+ # Unset a label
221
+ # Unset a single pulp_label on the object.
222
+ # @param gem_gem_repository_href
223
+ # @param unset_label
224
+ # @param [Hash] opts the optional parameters
225
+ # @return [UnsetLabelResponse]
226
+ describe 'unset_label test' do
227
+ it 'should work' do
228
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
229
+ end
230
+ end
231
+
147
232
  # unit tests for update
148
233
  # Update a gem repository
149
234
  # Trigger an asynchronous update task
@@ -67,6 +67,7 @@ describe 'RepositoriesGemVersionsApi' do
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
69
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
70
+ # @option opts [String] :q
70
71
  # @option opts [Array<String>] :fields A list of fields to include in the response.
71
72
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
72
73
  # @return [PaginatedRepositoryVersionResponseList]
@@ -18,7 +18,7 @@ describe PulpGemClient::Configuration do
18
18
  before(:each) do
19
19
  # uncomment below to setup host and base_path
20
20
  # require 'URI'
21
- # uri = URI.parse("https://pulp")
21
+ # uri = URI.parse("http://pulp")
22
22
  # PulpGemClient.configure do |c|
23
23
  # c.host = uri.host
24
24
  # c.base_path = uri.path
@@ -28,14 +28,14 @@ describe PulpGemClient::Configuration do
28
28
  describe '#base_url' do
29
29
  it 'should have the default value' do
30
30
  # uncomment below to test default value of the base path
31
- # expect(config.base_url).to eq("https://pulp")
31
+ # expect(config.base_url).to eq("http://pulp")
32
32
  end
33
33
 
34
34
  it 'should remove trailing slashes' do
35
35
  [nil, '', '/', '//'].each do |base_path|
36
36
  config.base_path = base_path
37
37
  # uncomment below to test trailing slashes
38
- # expect(config.base_url).to eq("https://pulp")
38
+ # expect(config.base_url).to eq("http://pulp")
39
39
  end
40
40
  end
41
41
  end
@@ -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 PulpGemClient::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 = PulpGemClient::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(PulpGemClient::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 PulpGemClient::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 = PulpGemClient::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(PulpGemClient::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
@@ -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 PulpGemClient::NestedRole
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'NestedRole' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpGemClient::NestedRole.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of NestedRole' do
31
+ it 'should create an instance of NestedRole' do
32
+ expect(@instance).to be_instance_of(PulpGemClient::NestedRole)
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
@@ -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 PulpGemClient::ObjectRolesResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'ObjectRolesResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpGemClient::ObjectRolesResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of ObjectRolesResponse' do
31
+ it 'should create an instance of ObjectRolesResponse' do
32
+ expect(@instance).to be_instance_of(PulpGemClient::ObjectRolesResponse)
33
+ end
34
+ end
35
+ describe 'test attribute "roles"' 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,47 @@
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 PulpGemClient::SetLabelResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'SetLabelResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpGemClient::SetLabelResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of SetLabelResponse' do
31
+ it 'should create an instance of SetLabelResponse' do
32
+ expect(@instance).to be_instance_of(PulpGemClient::SetLabelResponse)
33
+ end
34
+ end
35
+ describe 'test attribute "key"' 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 "value"' 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
+ end
@@ -0,0 +1,47 @@
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 PulpGemClient::SetLabel
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'SetLabel' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpGemClient::SetLabel.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of SetLabel' do
31
+ it 'should create an instance of SetLabel' do
32
+ expect(@instance).to be_instance_of(PulpGemClient::SetLabel)
33
+ end
34
+ end
35
+ describe 'test attribute "key"' 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 "value"' 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
+ end