pulp_deb_client 3.7.0 → 3.8.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.
- checksums.yaml +4 -4
- data/README.md +27 -16
- data/docs/AcsDebApi.md +886 -0
- data/docs/DebAptAlternateContentSource.md +24 -0
- data/docs/DebAptAlternateContentSourceResponse.md +32 -0
- data/docs/DebAptRepository.md +2 -0
- data/docs/DebAptRepositoryResponse.md +2 -0
- data/docs/DistributionsAptApi.md +10 -10
- data/docs/PaginateddebAptAlternateContentSourceResponseList.md +24 -0
- data/docs/PatcheddebAptAlternateContentSource.md +24 -0
- data/docs/PatcheddebAptRepository.md +2 -0
- data/docs/RemotesAptApi.md +10 -10
- data/docs/RepositoriesAptApi.md +10 -10
- data/docs/TaskGroupOperationResponse.md +18 -0
- data/lib/pulp_deb_client/api/acs_deb_api.rb +865 -0
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +10 -10
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +10 -10
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +10 -10
- data/lib/pulp_deb_client/models/deb_apt_alternate_content_source.rb +282 -0
- data/lib/pulp_deb_client/models/deb_apt_alternate_content_source_response.rb +302 -0
- data/lib/pulp_deb_client/models/deb_apt_repository.rb +13 -1
- data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +13 -1
- data/lib/pulp_deb_client/models/paginateddeb_apt_alternate_content_source_response_list.rb +257 -0
- data/lib/pulp_deb_client/models/patcheddeb_apt_alternate_content_source.rb +268 -0
- data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +13 -1
- data/lib/pulp_deb_client/models/task_group_operation_response.rb +223 -0
- data/lib/pulp_deb_client/version.rb +1 -1
- data/lib/pulp_deb_client.rb +6 -0
- data/spec/api/acs_deb_api_spec.rb +204 -0
- data/spec/api/distributions_apt_api_spec.rb +4 -4
- data/spec/api/remotes_apt_api_spec.rb +4 -4
- data/spec/api/repositories_apt_api_spec.rb +4 -4
- data/spec/models/deb_apt_alternate_content_source_response_spec.rb +78 -0
- data/spec/models/deb_apt_alternate_content_source_spec.rb +54 -0
- data/spec/models/deb_apt_repository_response_spec.rb +6 -0
- data/spec/models/deb_apt_repository_spec.rb +6 -0
- data/spec/models/paginateddeb_apt_alternate_content_source_response_list_spec.rb +54 -0
- data/spec/models/patcheddeb_apt_alternate_content_source_spec.rb +54 -0
- data/spec/models/patcheddeb_apt_repository_spec.rb +6 -0
- data/spec/models/task_group_operation_response_spec.rb +36 -0
- metadata +97 -73
|
@@ -0,0 +1,204 @@
|
|
|
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
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for PulpDebClient::AcsDebApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'AcsDebApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = PulpDebClient::AcsDebApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of AcsDebApi' do
|
|
30
|
+
it 'should create an instance of AcsDebApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(PulpDebClient::AcsDebApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for add_role
|
|
36
|
+
# Add a role
|
|
37
|
+
# Add a role for this object to users/groups.
|
|
38
|
+
# @param deb_apt_alternate_content_source_href
|
|
39
|
+
# @param nested_role
|
|
40
|
+
# @param [Hash] opts the optional parameters
|
|
41
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
42
|
+
# @return [NestedRoleResponse]
|
|
43
|
+
describe 'add_role test' do
|
|
44
|
+
it 'should work' do
|
|
45
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
# unit tests for create
|
|
50
|
+
# Create an apt alternate content source
|
|
51
|
+
# ViewSet for ACS.
|
|
52
|
+
# @param deb_apt_alternate_content_source
|
|
53
|
+
# @param [Hash] opts the optional parameters
|
|
54
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
55
|
+
# @return [DebAptAlternateContentSourceResponse]
|
|
56
|
+
describe 'create test' do
|
|
57
|
+
it 'should work' do
|
|
58
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
# unit tests for delete
|
|
63
|
+
# Delete an apt alternate content source
|
|
64
|
+
# Trigger an asynchronous delete ACS task
|
|
65
|
+
# @param deb_apt_alternate_content_source_href
|
|
66
|
+
# @param [Hash] opts the optional parameters
|
|
67
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
68
|
+
# @return [AsyncOperationResponse]
|
|
69
|
+
describe 'delete test' do
|
|
70
|
+
it 'should work' do
|
|
71
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
# unit tests for list
|
|
76
|
+
# List apt alternate content sources
|
|
77
|
+
# ViewSet for ACS.
|
|
78
|
+
# @param [Hash] opts the optional parameters
|
|
79
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
80
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
|
81
|
+
# @option opts [String] :name Filter results where name matches value
|
|
82
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
|
83
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
|
84
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
|
85
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
86
|
+
# @option opts [String] :name__iregex Filter results where name matches regex value
|
|
87
|
+
# @option opts [String] :name__istartswith Filter results where name starts with value
|
|
88
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
|
89
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
90
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
91
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `last_refreshed` - Last refreshed * `-last_refreshed` - Last refreshed (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
92
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
93
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
94
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
95
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
96
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
97
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
98
|
+
# @return [PaginateddebAptAlternateContentSourceResponseList]
|
|
99
|
+
describe 'list test' do
|
|
100
|
+
it 'should work' do
|
|
101
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
102
|
+
end
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
# unit tests for list_roles
|
|
106
|
+
# List roles
|
|
107
|
+
# List roles assigned to this object.
|
|
108
|
+
# @param deb_apt_alternate_content_source_href
|
|
109
|
+
# @param [Hash] opts the optional parameters
|
|
110
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
111
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
112
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
113
|
+
# @return [ObjectRolesResponse]
|
|
114
|
+
describe 'list_roles test' do
|
|
115
|
+
it 'should work' do
|
|
116
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
117
|
+
end
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
# unit tests for my_permissions
|
|
121
|
+
# List user permissions
|
|
122
|
+
# List permissions available to the current user on this object.
|
|
123
|
+
# @param deb_apt_alternate_content_source_href
|
|
124
|
+
# @param [Hash] opts the optional parameters
|
|
125
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
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://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
132
|
+
end
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
# unit tests for partial_update
|
|
136
|
+
# Update an apt alternate content source
|
|
137
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
138
|
+
# @param deb_apt_alternate_content_source_href
|
|
139
|
+
# @param patcheddeb_apt_alternate_content_source
|
|
140
|
+
# @param [Hash] opts the optional parameters
|
|
141
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
142
|
+
# @return [DebAptAlternateContentSourceResponse]
|
|
143
|
+
describe 'partial_update test' do
|
|
144
|
+
it 'should work' do
|
|
145
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
146
|
+
end
|
|
147
|
+
end
|
|
148
|
+
|
|
149
|
+
# unit tests for read
|
|
150
|
+
# Inspect an apt alternate content source
|
|
151
|
+
# ViewSet for ACS.
|
|
152
|
+
# @param deb_apt_alternate_content_source_href
|
|
153
|
+
# @param [Hash] opts the optional parameters
|
|
154
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
155
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
156
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
157
|
+
# @return [DebAptAlternateContentSourceResponse]
|
|
158
|
+
describe 'read test' do
|
|
159
|
+
it 'should work' do
|
|
160
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
161
|
+
end
|
|
162
|
+
end
|
|
163
|
+
|
|
164
|
+
# unit tests for refresh
|
|
165
|
+
# Trigger an asynchronous task to create Alternate Content Source content.
|
|
166
|
+
# @param deb_apt_alternate_content_source_href
|
|
167
|
+
# @param [Hash] opts the optional parameters
|
|
168
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
169
|
+
# @return [TaskGroupOperationResponse]
|
|
170
|
+
describe 'refresh test' do
|
|
171
|
+
it 'should work' do
|
|
172
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
173
|
+
end
|
|
174
|
+
end
|
|
175
|
+
|
|
176
|
+
# unit tests for remove_role
|
|
177
|
+
# Remove a role
|
|
178
|
+
# Remove a role for this object from users/groups.
|
|
179
|
+
# @param deb_apt_alternate_content_source_href
|
|
180
|
+
# @param nested_role
|
|
181
|
+
# @param [Hash] opts the optional parameters
|
|
182
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
183
|
+
# @return [NestedRoleResponse]
|
|
184
|
+
describe 'remove_role test' do
|
|
185
|
+
it 'should work' do
|
|
186
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
187
|
+
end
|
|
188
|
+
end
|
|
189
|
+
|
|
190
|
+
# unit tests for update
|
|
191
|
+
# Update an apt alternate content source
|
|
192
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
193
|
+
# @param deb_apt_alternate_content_source_href
|
|
194
|
+
# @param deb_apt_alternate_content_source
|
|
195
|
+
# @param [Hash] opts the optional parameters
|
|
196
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
197
|
+
# @return [DebAptAlternateContentSourceResponse]
|
|
198
|
+
describe 'update test' do
|
|
199
|
+
it 'should work' do
|
|
200
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
201
|
+
end
|
|
202
|
+
end
|
|
203
|
+
|
|
204
|
+
end
|
|
@@ -143,12 +143,12 @@ describe 'DistributionsAptApi' do
|
|
|
143
143
|
|
|
144
144
|
# unit tests for partial_update
|
|
145
145
|
# Update an apt distribution
|
|
146
|
-
#
|
|
146
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
147
147
|
# @param deb_apt_distribution_href
|
|
148
148
|
# @param patcheddeb_apt_distribution
|
|
149
149
|
# @param [Hash] opts the optional parameters
|
|
150
150
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
151
|
-
# @return [
|
|
151
|
+
# @return [DebAptDistributionResponse]
|
|
152
152
|
describe 'partial_update test' do
|
|
153
153
|
it 'should work' do
|
|
154
154
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -214,12 +214,12 @@ describe 'DistributionsAptApi' do
|
|
|
214
214
|
|
|
215
215
|
# unit tests for update
|
|
216
216
|
# Update an apt distribution
|
|
217
|
-
#
|
|
217
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
218
218
|
# @param deb_apt_distribution_href
|
|
219
219
|
# @param deb_apt_distribution
|
|
220
220
|
# @param [Hash] opts the optional parameters
|
|
221
221
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
222
|
-
# @return [
|
|
222
|
+
# @return [DebAptDistributionResponse]
|
|
223
223
|
describe 'update test' do
|
|
224
224
|
it 'should work' do
|
|
225
225
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -142,12 +142,12 @@ describe 'RemotesAptApi' do
|
|
|
142
142
|
|
|
143
143
|
# unit tests for partial_update
|
|
144
144
|
# Update an apt remote
|
|
145
|
-
#
|
|
145
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
146
146
|
# @param deb_apt_remote_href
|
|
147
147
|
# @param patcheddeb_apt_remote
|
|
148
148
|
# @param [Hash] opts the optional parameters
|
|
149
149
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
150
|
-
# @return [
|
|
150
|
+
# @return [DebAptRemoteResponse]
|
|
151
151
|
describe 'partial_update test' do
|
|
152
152
|
it 'should work' do
|
|
153
153
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -213,12 +213,12 @@ describe 'RemotesAptApi' do
|
|
|
213
213
|
|
|
214
214
|
# unit tests for update
|
|
215
215
|
# Update an apt remote
|
|
216
|
-
#
|
|
216
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
217
217
|
# @param deb_apt_remote_href
|
|
218
218
|
# @param deb_apt_remote
|
|
219
219
|
# @param [Hash] opts the optional parameters
|
|
220
220
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
221
|
-
# @return [
|
|
221
|
+
# @return [DebAptRemoteResponse]
|
|
222
222
|
describe 'update test' do
|
|
223
223
|
it 'should work' do
|
|
224
224
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -160,12 +160,12 @@ describe 'RepositoriesAptApi' do
|
|
|
160
160
|
|
|
161
161
|
# unit tests for partial_update
|
|
162
162
|
# Update an apt repository
|
|
163
|
-
#
|
|
163
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
164
164
|
# @param deb_apt_repository_href
|
|
165
165
|
# @param patcheddeb_apt_repository
|
|
166
166
|
# @param [Hash] opts the optional parameters
|
|
167
167
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
168
|
-
# @return [
|
|
168
|
+
# @return [DebAptRepositoryResponse]
|
|
169
169
|
describe 'partial_update test' do
|
|
170
170
|
it 'should work' do
|
|
171
171
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -245,12 +245,12 @@ describe 'RepositoriesAptApi' do
|
|
|
245
245
|
|
|
246
246
|
# unit tests for update
|
|
247
247
|
# Update an apt repository
|
|
248
|
-
#
|
|
248
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
249
249
|
# @param deb_apt_repository_href
|
|
250
250
|
# @param deb_apt_repository
|
|
251
251
|
# @param [Hash] opts the optional parameters
|
|
252
252
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
253
|
-
# @return [
|
|
253
|
+
# @return [DebAptRepositoryResponse]
|
|
254
254
|
describe 'update test' do
|
|
255
255
|
it 'should work' do
|
|
256
256
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -0,0 +1,78 @@
|
|
|
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
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpDebClient::DebAptAlternateContentSourceResponse
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe PulpDebClient::DebAptAlternateContentSourceResponse do
|
|
21
|
+
let(:instance) { PulpDebClient::DebAptAlternateContentSourceResponse.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of DebAptAlternateContentSourceResponse' do
|
|
24
|
+
it 'should create an instance of DebAptAlternateContentSourceResponse' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(PulpDebClient::DebAptAlternateContentSourceResponse)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "pulp_href"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "prn"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "pulp_created"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "pulp_last_updated"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "name"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe 'test attribute "last_refreshed"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
describe 'test attribute "paths"' do
|
|
67
|
+
it 'should work' do
|
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
describe 'test attribute "remote"' do
|
|
73
|
+
it 'should work' do
|
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
end
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpDebClient::DebAptAlternateContentSource
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe PulpDebClient::DebAptAlternateContentSource do
|
|
21
|
+
let(:instance) { PulpDebClient::DebAptAlternateContentSource.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of DebAptAlternateContentSource' do
|
|
24
|
+
it 'should create an instance of DebAptAlternateContentSource' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(PulpDebClient::DebAptAlternateContentSource)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "name"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "last_refreshed"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "paths"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "remote"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
end
|
|
@@ -93,6 +93,12 @@ describe PulpDebClient::DebAptRepositoryResponse do
|
|
|
93
93
|
end
|
|
94
94
|
end
|
|
95
95
|
|
|
96
|
+
describe 'test attribute "autopublish"' do
|
|
97
|
+
it 'should work' do
|
|
98
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
|
|
96
102
|
describe 'test attribute "publish_upstream_release_fields"' do
|
|
97
103
|
it 'should work' do
|
|
98
104
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -57,6 +57,12 @@ describe PulpDebClient::DebAptRepository do
|
|
|
57
57
|
end
|
|
58
58
|
end
|
|
59
59
|
|
|
60
|
+
describe 'test attribute "autopublish"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
60
66
|
describe 'test attribute "publish_upstream_release_fields"' do
|
|
61
67
|
it 'should work' do
|
|
62
68
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpDebClient::PaginateddebAptAlternateContentSourceResponseList
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe PulpDebClient::PaginateddebAptAlternateContentSourceResponseList do
|
|
21
|
+
let(:instance) { PulpDebClient::PaginateddebAptAlternateContentSourceResponseList.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of PaginateddebAptAlternateContentSourceResponseList' do
|
|
24
|
+
it 'should create an instance of PaginateddebAptAlternateContentSourceResponseList' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(PulpDebClient::PaginateddebAptAlternateContentSourceResponseList)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "count"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "_next"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "previous"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "results"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
end
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpDebClient::PatcheddebAptAlternateContentSource
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe PulpDebClient::PatcheddebAptAlternateContentSource do
|
|
21
|
+
let(:instance) { PulpDebClient::PatcheddebAptAlternateContentSource.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of PatcheddebAptAlternateContentSource' do
|
|
24
|
+
it 'should create an instance of PatcheddebAptAlternateContentSource' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(PulpDebClient::PatcheddebAptAlternateContentSource)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "name"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "last_refreshed"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "paths"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "remote"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
end
|
|
@@ -57,6 +57,12 @@ describe PulpDebClient::PatcheddebAptRepository do
|
|
|
57
57
|
end
|
|
58
58
|
end
|
|
59
59
|
|
|
60
|
+
describe 'test attribute "autopublish"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
60
66
|
describe 'test attribute "publish_upstream_release_fields"' do
|
|
61
67
|
it 'should work' do
|
|
62
68
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpDebClient::TaskGroupOperationResponse
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe PulpDebClient::TaskGroupOperationResponse do
|
|
21
|
+
let(:instance) { PulpDebClient::TaskGroupOperationResponse.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of TaskGroupOperationResponse' do
|
|
24
|
+
it 'should create an instance of TaskGroupOperationResponse' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(PulpDebClient::TaskGroupOperationResponse)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "task_group"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
end
|