pulp_python_client 3.11.4 → 3.12.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 (48) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +31 -11
  3. data/docs/ContentPackagesApi.md +13 -13
  4. data/docs/DistributionsPypiApi.md +233 -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/PackageMetadataResponse.md +3 -3
  10. data/docs/PublicationsPypiApi.md +233 -1
  11. data/docs/PypiApi.md +8 -2
  12. data/docs/PypiLegacyApi.md +1 -1
  13. data/docs/PypiMetadataApi.md +8 -2
  14. data/docs/PypiSimpleApi.md +1 -1
  15. data/docs/PythonPythonPackageContent.md +6 -6
  16. data/docs/PythonPythonPackageContentResponse.md +6 -6
  17. data/docs/RemotesPythonApi.md +233 -1
  18. data/docs/RepositoriesPythonApi.md +233 -1
  19. data/docs/RepositoriesPythonVersionsApi.md +1 -1
  20. data/lib/pulp_python_client/api/content_packages_api.rb +12 -12
  21. data/lib/pulp_python_client/api/distributions_pypi_api.rb +276 -0
  22. data/lib/pulp_python_client/api/publications_pypi_api.rb +276 -0
  23. data/lib/pulp_python_client/api/pypi_api.rb +1 -1
  24. data/lib/pulp_python_client/api/pypi_metadata_api.rb +1 -1
  25. data/lib/pulp_python_client/api/remotes_python_api.rb +276 -0
  26. data/lib/pulp_python_client/api/repositories_python_api.rb +276 -0
  27. data/lib/pulp_python_client/configuration.rb +2 -2
  28. data/lib/pulp_python_client/models/my_permissions_response.rb +213 -0
  29. data/lib/pulp_python_client/models/nested_role.rb +253 -0
  30. data/lib/pulp_python_client/models/nested_role_response.rb +234 -0
  31. data/lib/pulp_python_client/models/object_roles_response.rb +213 -0
  32. data/lib/pulp_python_client/models/package_metadata_response.rb +3 -3
  33. data/lib/pulp_python_client/models/package_upload_task_response.rb +2 -10
  34. data/lib/pulp_python_client/models/python_python_package_content.rb +6 -6
  35. data/lib/pulp_python_client/models/python_python_package_content_response.rb +6 -6
  36. data/lib/pulp_python_client/version.rb +1 -1
  37. data/lib/pulp_python_client.rb +4 -0
  38. data/spec/api/content_packages_api_spec.rb +6 -6
  39. data/spec/api/distributions_pypi_api_spec.rb +54 -0
  40. data/spec/api/publications_pypi_api_spec.rb +54 -0
  41. data/spec/api/remotes_python_api_spec.rb +54 -0
  42. data/spec/api/repositories_python_api_spec.rb +54 -0
  43. data/spec/configuration_spec.rb +3 -3
  44. data/spec/models/my_permissions_response_spec.rb +41 -0
  45. data/spec/models/nested_role_response_spec.rb +53 -0
  46. data/spec/models/nested_role_spec.rb +53 -0
  47. data/spec/models/object_roles_response_spec.rb +41 -0
  48. metadata +68 -52
@@ -42,6 +42,8 @@ module PulpPythonClient
42
42
  # List of attributes with nullable: true
43
43
  def self.openapi_nullable
44
44
  Set.new([
45
+ :'session',
46
+ :'task_start_time'
45
47
  ])
46
48
  end
47
49
 
@@ -77,27 +79,17 @@ module PulpPythonClient
77
79
  # @return Array for valid properties with the reasons
78
80
  def list_invalid_properties
79
81
  invalid_properties = Array.new
80
- if @session.nil?
81
- invalid_properties.push('invalid value for "session", session cannot be nil.')
82
- end
83
-
84
82
  if @task.nil?
85
83
  invalid_properties.push('invalid value for "task", task cannot be nil.')
86
84
  end
87
85
 
88
- if @task_start_time.nil?
89
- invalid_properties.push('invalid value for "task_start_time", task_start_time cannot be nil.')
90
- end
91
-
92
86
  invalid_properties
93
87
  end
94
88
 
95
89
  # Check to see if the all the properties in the model are valid
96
90
  # @return true if the model is valid
97
91
  def valid?
98
- return false if @session.nil?
99
92
  return false if @task.nil?
100
- return false if @task_start_time.nil?
101
93
  true
102
94
  end
103
95
 
@@ -151,14 +151,14 @@ module PulpPythonClient
151
151
  :'license' => :'String',
152
152
  :'requires_python' => :'String',
153
153
  :'project_url' => :'String',
154
- :'project_urls' => :'Object',
154
+ :'project_urls' => :'AnyType',
155
155
  :'platform' => :'String',
156
156
  :'supported_platform' => :'String',
157
- :'requires_dist' => :'Object',
158
- :'provides_dist' => :'Object',
159
- :'obsoletes_dist' => :'Object',
160
- :'requires_external' => :'Object',
161
- :'classifiers' => :'Object'
157
+ :'requires_dist' => :'AnyType',
158
+ :'provides_dist' => :'AnyType',
159
+ :'obsoletes_dist' => :'AnyType',
160
+ :'requires_external' => :'AnyType',
161
+ :'classifiers' => :'AnyType'
162
162
  }
163
163
  end
164
164
 
@@ -170,14 +170,14 @@ module PulpPythonClient
170
170
  :'license' => :'String',
171
171
  :'requires_python' => :'String',
172
172
  :'project_url' => :'String',
173
- :'project_urls' => :'Object',
173
+ :'project_urls' => :'AnyType',
174
174
  :'platform' => :'String',
175
175
  :'supported_platform' => :'String',
176
- :'requires_dist' => :'Object',
177
- :'provides_dist' => :'Object',
178
- :'obsoletes_dist' => :'Object',
179
- :'requires_external' => :'Object',
180
- :'classifiers' => :'Object'
176
+ :'requires_dist' => :'AnyType',
177
+ :'provides_dist' => :'AnyType',
178
+ :'obsoletes_dist' => :'AnyType',
179
+ :'requires_external' => :'AnyType',
180
+ :'classifiers' => :'AnyType'
181
181
  }
182
182
  end
183
183
 
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpPythonClient
14
- VERSION = '3.11.4'
14
+ VERSION = '3.12.0'
15
15
  end
@@ -20,6 +20,10 @@ require 'pulp_python_client/configuration'
20
20
  require 'pulp_python_client/models/async_operation_response'
21
21
  require 'pulp_python_client/models/content_summary_response'
22
22
  require 'pulp_python_client/models/exclude_platforms_enum'
23
+ require 'pulp_python_client/models/my_permissions_response'
24
+ require 'pulp_python_client/models/nested_role'
25
+ require 'pulp_python_client/models/nested_role_response'
26
+ require 'pulp_python_client/models/object_roles_response'
23
27
  require 'pulp_python_client/models/package_metadata_response'
24
28
  require 'pulp_python_client/models/package_types_enum'
25
29
  require 'pulp_python_client/models/package_upload'
@@ -55,14 +55,14 @@ describe 'ContentPackagesApi' do
55
55
  # @option opts [String] :license Text indicating the license covering the distribution
56
56
  # @option opts [String] :requires_python The Python version(s) that the distribution is guaranteed to be compatible with.
57
57
  # @option opts [String] :project_url A browsable URL for the project and a label for it, separated by a comma.
58
- # @option opts [Object] :project_urls A dictionary of labels and URLs for the project.
58
+ # @option opts [AnyType] :project_urls A dictionary of labels and URLs for the project.
59
59
  # @option opts [String] :platform A comma-separated list of platform specifications, summarizing the operating systems supported by the package.
60
60
  # @option opts [String] :supported_platform Field to specify the OS and CPU for which the binary package was compiled.
61
- # @option opts [Object] :requires_dist A JSON list containing names of some other distutils project required by this distribution.
62
- # @option opts [Object] :provides_dist A JSON list containing names of a Distutils project which is contained within this distribution.
63
- # @option opts [Object] :obsoletes_dist A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
64
- # @option opts [Object] :requires_external A JSON list containing some dependency in the system that the distribution is to be used.
65
- # @option opts [Object] :classifiers A JSON list containing classification values for a Python package.
61
+ # @option opts [AnyType] :requires_dist A JSON list containing names of some other distutils project required by this distribution.
62
+ # @option opts [AnyType] :provides_dist A JSON list containing names of a Distutils project which is contained within this distribution.
63
+ # @option opts [AnyType] :obsoletes_dist A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
64
+ # @option opts [AnyType] :requires_external A JSON list containing some dependency in the system that the distribution is to be used.
65
+ # @option opts [AnyType] :classifiers A JSON list containing classification values for a Python package.
66
66
  # @return [AsyncOperationResponse]
67
67
  describe 'create test' do
68
68
  it 'should work' do
@@ -32,6 +32,19 @@ describe 'DistributionsPypiApi' 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 python_python_distribution_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 python distribution
37
50
  # Trigger an asynchronous create task
@@ -92,6 +105,34 @@ describe 'DistributionsPypiApi' do
92
105
  end
93
106
  end
94
107
 
108
+ # unit tests for list_roles
109
+ # List roles
110
+ # List roles assigned to this object.
111
+ # @param python_python_distribution_href
112
+ # @param [Hash] opts the optional parameters
113
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
114
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
115
+ # @return [ObjectRolesResponse]
116
+ describe 'list_roles test' do
117
+ it 'should work' do
118
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
119
+ end
120
+ end
121
+
122
+ # unit tests for my_permissions
123
+ # List user permissions
124
+ # List permissions available to the current user on this object.
125
+ # @param python_python_distribution_href
126
+ # @param [Hash] opts the optional parameters
127
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
128
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
129
+ # @return [MyPermissionsResponse]
130
+ describe 'my_permissions test' do
131
+ it 'should work' do
132
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
133
+ end
134
+ end
135
+
95
136
  # unit tests for partial_update
96
137
  # Update a python distribution
97
138
  # Trigger an asynchronous partial update task
@@ -119,6 +160,19 @@ describe 'DistributionsPypiApi' do
119
160
  end
120
161
  end
121
162
 
163
+ # unit tests for remove_role
164
+ # Remove a role
165
+ # Remove a role for this object from users/groups.
166
+ # @param python_python_distribution_href
167
+ # @param nested_role
168
+ # @param [Hash] opts the optional parameters
169
+ # @return [NestedRoleResponse]
170
+ describe 'remove_role test' do
171
+ it 'should work' do
172
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
173
+ end
174
+ end
175
+
122
176
  # unit tests for set_label
123
177
  # Set a label
124
178
  # Set a single pulp_label on the object to a specific value or null.
@@ -32,6 +32,19 @@ describe 'PublicationsPypiApi' 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 python_python_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 python publication
37
50
  # Dispatches a publish task, which generates metadata that will be used by pip.
@@ -85,6 +98,34 @@ describe 'PublicationsPypiApi' do
85
98
  end
86
99
  end
87
100
 
101
+ # unit tests for list_roles
102
+ # List roles
103
+ # List roles assigned to this object.
104
+ # @param python_python_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 python_python_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
+
88
129
  # unit tests for read
89
130
  # Inspect a python publication
90
131
  # Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
@@ -99,4 +140,17 @@ describe 'PublicationsPypiApi' do
99
140
  end
100
141
  end
101
142
 
143
+ # unit tests for remove_role
144
+ # Remove a role
145
+ # Remove a role for this object from users/groups.
146
+ # @param python_python_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
+
102
156
  end
@@ -32,6 +32,19 @@ describe 'RemotesPythonApi' 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 python_python_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 python remote
37
50
  # Python Remotes are representations of an external repository of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to &#x60;sync&#x60; from upstream repositories, and contains sync settings.
@@ -105,6 +118,34 @@ describe 'RemotesPythonApi' do
105
118
  end
106
119
  end
107
120
 
121
+ # unit tests for list_roles
122
+ # List roles
123
+ # List roles assigned to this object.
124
+ # @param python_python_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 [ObjectRolesResponse]
129
+ describe 'list_roles 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
+
135
+ # unit tests for my_permissions
136
+ # List user permissions
137
+ # List permissions available to the current user on this object.
138
+ # @param python_python_remote_href
139
+ # @param [Hash] opts the optional parameters
140
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
141
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
142
+ # @return [MyPermissionsResponse]
143
+ describe 'my_permissions 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
+
108
149
  # unit tests for partial_update
109
150
  # Update a python remote
110
151
  # Trigger an asynchronous partial update task
@@ -132,6 +173,19 @@ describe 'RemotesPythonApi' do
132
173
  end
133
174
  end
134
175
 
176
+ # unit tests for remove_role
177
+ # Remove a role
178
+ # Remove a role for this object from users/groups.
179
+ # @param python_python_remote_href
180
+ # @param nested_role
181
+ # @param [Hash] opts the optional parameters
182
+ # @return [NestedRoleResponse]
183
+ describe 'remove_role test' do
184
+ it 'should work' do
185
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
186
+ end
187
+ end
188
+
135
189
  # unit tests for set_label
136
190
  # Set a label
137
191
  # Set a single pulp_label on the object to a specific value or null.
@@ -32,6 +32,19 @@ describe 'RepositoriesPythonApi' 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 python_python_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 python repository
37
50
  # PythonRepository represents a single Python repository, to which content can be synced, added, or removed.
@@ -96,6 +109,20 @@ describe 'RepositoriesPythonApi' do
96
109
  end
97
110
  end
98
111
 
112
+ # unit tests for list_roles
113
+ # List roles
114
+ # List roles assigned to this object.
115
+ # @param python_python_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
+
99
126
  # unit tests for modify
100
127
  # Modify Repository Content
101
128
  # Trigger an asynchronous task to create a new repository version.
@@ -109,6 +136,20 @@ describe 'RepositoriesPythonApi' do
109
136
  end
110
137
  end
111
138
 
139
+ # unit tests for my_permissions
140
+ # List user permissions
141
+ # List permissions available to the current user on this object.
142
+ # @param python_python_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
+
112
153
  # unit tests for partial_update
113
154
  # Update a python repository
114
155
  # Trigger an asynchronous partial update task
@@ -136,6 +177,19 @@ describe 'RepositoriesPythonApi' do
136
177
  end
137
178
  end
138
179
 
180
+ # unit tests for remove_role
181
+ # Remove a role
182
+ # Remove a role for this object from users/groups.
183
+ # @param python_python_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
+
139
193
  # unit tests for set_label
140
194
  # Set a label
141
195
  # Set a single pulp_label on the object to a specific value or null.
@@ -18,7 +18,7 @@ describe PulpPythonClient::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("http://localhost:24817")
21
+ # uri = URI.parse("http://pulp")
22
22
  # PulpPythonClient.configure do |c|
23
23
  # c.host = uri.host
24
24
  # c.base_path = uri.path
@@ -28,14 +28,14 @@ describe PulpPythonClient::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("http://localhost:24817")
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("http://localhost:24817")
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 PulpPythonClient::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 = PulpPythonClient::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(PulpPythonClient::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 PulpPythonClient::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 = PulpPythonClient::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(PulpPythonClient::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 PulpPythonClient::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 = PulpPythonClient::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(PulpPythonClient::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 PulpPythonClient::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 = PulpPythonClient::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(PulpPythonClient::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