pulp_file_client 1.14.4 → 1.14.5
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 +36 -25
- data/docs/AcsFileApi.md +23 -9
- data/docs/ContentFilesApi.md +3 -1
- data/docs/DistributionsFileApi.md +135 -9
- data/docs/PublicationsFileApi.md +15 -9
- data/docs/RemotesFileApi.md +135 -9
- data/docs/RepositoriesFileApi.md +135 -9
- data/docs/RepositoriesFileVersionsApi.md +3 -1
- data/docs/SetLabel.md +19 -0
- data/docs/SetLabelResponse.md +19 -0
- data/docs/UnsetLabel.md +17 -0
- data/docs/UnsetLabelResponse.md +19 -0
- data/lib/pulp_file_client/api/acs_file_api.rb +23 -0
- data/lib/pulp_file_client/api/content_files_api.rb +3 -0
- data/lib/pulp_file_client/api/distributions_file_api.rb +163 -0
- data/lib/pulp_file_client/api/publications_file_api.rb +11 -0
- data/lib/pulp_file_client/api/remotes_file_api.rb +163 -0
- data/lib/pulp_file_client/api/repositories_file_api.rb +163 -0
- data/lib/pulp_file_client/api/repositories_file_versions_api.rb +3 -0
- data/lib/pulp_file_client/configuration.rb +2 -2
- data/lib/pulp_file_client/models/set_label.rb +252 -0
- data/lib/pulp_file_client/models/set_label_response.rb +243 -0
- data/lib/pulp_file_client/models/unset_label.rb +242 -0
- data/lib/pulp_file_client/models/unset_label_response.rb +242 -0
- data/lib/pulp_file_client/version.rb +1 -1
- data/lib/pulp_file_client.rb +4 -0
- data/spec/api/acs_file_api_spec.rb +9 -0
- data/spec/api/content_files_api_spec.rb +1 -0
- data/spec/api/distributions_file_api_spec.rb +35 -0
- data/spec/api/publications_file_api_spec.rb +5 -0
- data/spec/api/remotes_file_api_spec.rb +35 -0
- data/spec/api/repositories_file_api_spec.rb +35 -0
- data/spec/api/repositories_file_versions_api_spec.rb +1 -0
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/set_label_response_spec.rb +47 -0
- data/spec/models/set_label_spec.rb +47 -0
- data/spec/models/unset_label_response_spec.rb +47 -0
- data/spec/models/unset_label_spec.rb +41 -0
- metadata +49 -33
@@ -33,6 +33,7 @@ describe 'RemotesFileApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for add_role
|
36
|
+
# Add a role
|
36
37
|
# Add a role for this object to users/groups.
|
37
38
|
# @param file_file_remote_href
|
38
39
|
# @param nested_role
|
@@ -76,7 +77,11 @@ describe 'RemotesFileApi' do
|
|
76
77
|
# @option opts [String] :name Filter results where name matches value
|
77
78
|
# @option opts [String] :name__contains Filter results where name contains value
|
78
79
|
# @option opts [String] :name__icontains Filter results where name contains value
|
80
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
79
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
|
80
85
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
81
86
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
82
87
|
# @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) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -89,6 +94,7 @@ describe 'RemotesFileApi' do
|
|
89
94
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
90
95
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
91
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
|
92
98
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
93
99
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
94
100
|
# @return [PaginatedfileFileRemoteResponseList]
|
@@ -99,6 +105,7 @@ describe 'RemotesFileApi' do
|
|
99
105
|
end
|
100
106
|
|
101
107
|
# unit tests for list_roles
|
108
|
+
# List roles
|
102
109
|
# List roles assigned to this object.
|
103
110
|
# @param file_file_remote_href
|
104
111
|
# @param [Hash] opts the optional parameters
|
@@ -112,6 +119,7 @@ describe 'RemotesFileApi' do
|
|
112
119
|
end
|
113
120
|
|
114
121
|
# unit tests for my_permissions
|
122
|
+
# List user permissions
|
115
123
|
# List permissions available to the current user on this object.
|
116
124
|
# @param file_file_remote_href
|
117
125
|
# @param [Hash] opts the optional parameters
|
@@ -152,6 +160,7 @@ describe 'RemotesFileApi' do
|
|
152
160
|
end
|
153
161
|
|
154
162
|
# unit tests for remove_role
|
163
|
+
# Remove a role
|
155
164
|
# Remove a role for this object from users/groups.
|
156
165
|
# @param file_file_remote_href
|
157
166
|
# @param nested_role
|
@@ -163,6 +172,32 @@ describe 'RemotesFileApi' do
|
|
163
172
|
end
|
164
173
|
end
|
165
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 file_file_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 file_file_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
|
+
|
166
201
|
# unit tests for update
|
167
202
|
# Update a file remote
|
168
203
|
# Trigger an asynchronous update task
|
@@ -33,6 +33,7 @@ describe 'RepositoriesFileApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for add_role
|
36
|
+
# Add a role
|
36
37
|
# Add a role for this object to users/groups.
|
37
38
|
# @param file_file_repository_href
|
38
39
|
# @param nested_role
|
@@ -77,13 +78,18 @@ describe 'RepositoriesFileApi' do
|
|
77
78
|
# @option opts [String] :name Filter results where name matches value
|
78
79
|
# @option opts [String] :name__contains Filter results where name contains value
|
79
80
|
# @option opts [String] :name__icontains Filter results where name contains value
|
81
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
80
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
|
81
86
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
82
87
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
83
88
|
# @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) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
84
89
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
85
90
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
86
91
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
92
|
+
# @option opts [String] :q
|
87
93
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
88
94
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
89
95
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
@@ -104,6 +110,7 @@ describe 'RepositoriesFileApi' do
|
|
104
110
|
end
|
105
111
|
|
106
112
|
# unit tests for list_roles
|
113
|
+
# List roles
|
107
114
|
# List roles assigned to this object.
|
108
115
|
# @param file_file_repository_href
|
109
116
|
# @param [Hash] opts the optional parameters
|
@@ -130,6 +137,7 @@ describe 'RepositoriesFileApi' do
|
|
130
137
|
end
|
131
138
|
|
132
139
|
# unit tests for my_permissions
|
140
|
+
# List user permissions
|
133
141
|
# List permissions available to the current user on this object.
|
134
142
|
# @param file_file_repository_href
|
135
143
|
# @param [Hash] opts the optional parameters
|
@@ -170,6 +178,7 @@ describe 'RepositoriesFileApi' do
|
|
170
178
|
end
|
171
179
|
|
172
180
|
# unit tests for remove_role
|
181
|
+
# Remove a role
|
173
182
|
# Remove a role for this object from users/groups.
|
174
183
|
# @param file_file_repository_href
|
175
184
|
# @param nested_role
|
@@ -181,6 +190,19 @@ describe 'RepositoriesFileApi' do
|
|
181
190
|
end
|
182
191
|
end
|
183
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 file_file_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
|
+
|
184
206
|
# unit tests for sync
|
185
207
|
# Sync from a remote
|
186
208
|
# Trigger an asynchronous task to sync file content.
|
@@ -194,6 +216,19 @@ describe 'RepositoriesFileApi' do
|
|
194
216
|
end
|
195
217
|
end
|
196
218
|
|
219
|
+
# unit tests for unset_label
|
220
|
+
# Unset a label
|
221
|
+
# Unset a single pulp_label on the object.
|
222
|
+
# @param file_file_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
|
+
|
197
232
|
# unit tests for update
|
198
233
|
# Update a file repository
|
199
234
|
# Trigger an asynchronous update task
|
@@ -67,6 +67,7 @@ describe 'RepositoriesFileVersionsApi' 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]
|
data/spec/configuration_spec.rb
CHANGED
@@ -18,7 +18,7 @@ describe PulpFileClient::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("
|
21
|
+
# uri = URI.parse("http://pulp")
|
22
22
|
# PulpFileClient.configure do |c|
|
23
23
|
# c.host = uri.host
|
24
24
|
# c.base_path = uri.path
|
@@ -28,14 +28,14 @@ describe PulpFileClient::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("
|
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("
|
38
|
+
# expect(config.base_url).to eq("http://pulp")
|
39
39
|
end
|
40
40
|
end
|
41
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 PulpFileClient::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 = PulpFileClient::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(PulpFileClient::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 PulpFileClient::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 = PulpFileClient::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(PulpFileClient::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
|
@@ -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 PulpFileClient::UnsetLabelResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'UnsetLabelResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpFileClient::UnsetLabelResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of UnsetLabelResponse' do
|
31
|
+
it 'should create an instance of UnsetLabelResponse' do
|
32
|
+
expect(@instance).to be_instance_of(PulpFileClient::UnsetLabelResponse)
|
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,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 PulpFileClient::UnsetLabel
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'UnsetLabel' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpFileClient::UnsetLabel.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of UnsetLabel' do
|
31
|
+
it 'should create an instance of UnsetLabel' do
|
32
|
+
expect(@instance).to be_instance_of(PulpFileClient::UnsetLabel)
|
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
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_file_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.14.
|
4
|
+
version: 1.14.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -122,7 +122,11 @@ files:
|
|
122
122
|
- docs/RepositoryAddRemoveContent.md
|
123
123
|
- docs/RepositorySyncURL.md
|
124
124
|
- docs/RepositoryVersionResponse.md
|
125
|
+
- docs/SetLabel.md
|
126
|
+
- docs/SetLabelResponse.md
|
125
127
|
- docs/TaskGroupOperationResponse.md
|
128
|
+
- docs/UnsetLabel.md
|
129
|
+
- docs/UnsetLabelResponse.md
|
126
130
|
- lib/pulp_file_client.rb
|
127
131
|
- lib/pulp_file_client/api/acs_file_api.rb
|
128
132
|
- lib/pulp_file_client/api/content_files_api.rb
|
@@ -169,7 +173,11 @@ files:
|
|
169
173
|
- lib/pulp_file_client/models/repository_add_remove_content.rb
|
170
174
|
- lib/pulp_file_client/models/repository_sync_url.rb
|
171
175
|
- lib/pulp_file_client/models/repository_version_response.rb
|
176
|
+
- lib/pulp_file_client/models/set_label.rb
|
177
|
+
- lib/pulp_file_client/models/set_label_response.rb
|
172
178
|
- lib/pulp_file_client/models/task_group_operation_response.rb
|
179
|
+
- lib/pulp_file_client/models/unset_label.rb
|
180
|
+
- lib/pulp_file_client/models/unset_label_response.rb
|
173
181
|
- lib/pulp_file_client/version.rb
|
174
182
|
- pulp_file_client.gemspec
|
175
183
|
- spec/api/acs_file_api_spec.rb
|
@@ -216,7 +224,11 @@ files:
|
|
216
224
|
- spec/models/repository_add_remove_content_spec.rb
|
217
225
|
- spec/models/repository_sync_url_spec.rb
|
218
226
|
- spec/models/repository_version_response_spec.rb
|
227
|
+
- spec/models/set_label_response_spec.rb
|
228
|
+
- spec/models/set_label_spec.rb
|
219
229
|
- spec/models/task_group_operation_response_spec.rb
|
230
|
+
- spec/models/unset_label_response_spec.rb
|
231
|
+
- spec/models/unset_label_spec.rb
|
220
232
|
- spec/spec_helper.rb
|
221
233
|
homepage: https://github.com/pulp/pulp_file
|
222
234
|
licenses:
|
@@ -242,49 +254,53 @@ signing_key:
|
|
242
254
|
specification_version: 4
|
243
255
|
summary: Pulp 3 API Ruby Gem
|
244
256
|
test_files:
|
245
|
-
- spec/api/distributions_file_api_spec.rb
|
246
|
-
- spec/api/content_files_api_spec.rb
|
247
257
|
- spec/api/repositories_file_versions_api_spec.rb
|
258
|
+
- spec/api/publications_file_api_spec.rb
|
248
259
|
- spec/api/repositories_file_api_spec.rb
|
249
|
-
- spec/api/
|
260
|
+
- spec/api/distributions_file_api_spec.rb
|
250
261
|
- spec/api/acs_file_api_spec.rb
|
251
|
-
- spec/api/
|
262
|
+
- spec/api/remotes_file_api_spec.rb
|
263
|
+
- spec/api/content_files_api_spec.rb
|
252
264
|
- spec/api_client_spec.rb
|
253
265
|
- spec/configuration_spec.rb
|
254
|
-
- spec/models/
|
255
|
-
- spec/models/
|
266
|
+
- spec/models/paginatedfile_file_publication_response_list_spec.rb
|
267
|
+
- spec/models/file_file_publication_response_spec.rb
|
268
|
+
- spec/models/file_file_content_response_spec.rb
|
269
|
+
- spec/models/repository_sync_url_spec.rb
|
270
|
+
- spec/models/async_operation_response_spec.rb
|
256
271
|
- spec/models/repair_spec.rb
|
272
|
+
- spec/models/file_file_content_spec.rb
|
273
|
+
- spec/models/unset_label_response_spec.rb
|
274
|
+
- spec/models/file_file_publication_spec.rb
|
275
|
+
- spec/models/my_permissions_response_spec.rb
|
276
|
+
- spec/models/set_label_response_spec.rb
|
257
277
|
- spec/models/repository_add_remove_content_spec.rb
|
258
|
-
- spec/models/
|
259
|
-
- spec/models/policy_enum_spec.rb
|
278
|
+
- spec/models/file_file_distribution_spec.rb
|
260
279
|
- spec/models/object_roles_response_spec.rb
|
261
|
-
- spec/models/
|
262
|
-
- spec/models/
|
263
|
-
- spec/models/
|
264
|
-
- spec/models/nested_role_spec.rb
|
265
|
-
- spec/models/patchedfile_file_distribution_spec.rb
|
266
|
-
- spec/models/my_permissions_response_spec.rb
|
267
|
-
- spec/models/nested_role_response_spec.rb
|
280
|
+
- spec/models/set_label_spec.rb
|
281
|
+
- spec/models/patchedfile_file_repository_spec.rb
|
282
|
+
- spec/models/file_file_alternate_content_source_spec.rb
|
268
283
|
- spec/models/paginated_repository_version_response_list_spec.rb
|
269
|
-
- spec/models/content_summary_response_spec.rb
|
270
|
-
- spec/models/patchedfile_file_alternate_content_source_spec.rb
|
271
|
-
- spec/models/file_file_distribution_spec.rb
|
272
284
|
- spec/models/file_file_alternate_content_source_response_spec.rb
|
273
|
-
- spec/models/file_file_repository_response_spec.rb
|
274
|
-
- spec/models/file_file_repository_spec.rb
|
275
|
-
- spec/models/file_file_remote_spec.rb
|
276
285
|
- spec/models/task_group_operation_response_spec.rb
|
277
|
-
- spec/models/file_file_remote_response_spec.rb
|
278
|
-
- spec/models/file_file_publication_spec.rb
|
279
|
-
- spec/models/file_file_content_response_spec.rb
|
280
|
-
- spec/models/async_operation_response_spec.rb
|
281
|
-
- spec/models/patchedfile_file_remote_spec.rb
|
282
|
-
- spec/models/paginatedfile_file_distribution_response_list_spec.rb
|
283
|
-
- spec/models/patchedfile_file_repository_spec.rb
|
284
|
-
- spec/models/paginatedfile_file_publication_response_list_spec.rb
|
285
|
-
- spec/models/file_file_content_spec.rb
|
286
286
|
- spec/models/paginatedfile_file_content_response_list_spec.rb
|
287
|
+
- spec/models/paginatedfile_file_distribution_response_list_spec.rb
|
287
288
|
- spec/models/file_file_distribution_response_spec.rb
|
288
|
-
- spec/models/
|
289
|
+
- spec/models/file_file_remote_response_spec.rb
|
290
|
+
- spec/models/file_file_repository_spec.rb
|
291
|
+
- spec/models/patchedfile_file_alternate_content_source_spec.rb
|
292
|
+
- spec/models/patchedfile_file_remote_spec.rb
|
293
|
+
- spec/models/patchedfile_file_distribution_spec.rb
|
294
|
+
- spec/models/repository_version_response_spec.rb
|
289
295
|
- spec/models/paginatedfile_file_repository_response_list_spec.rb
|
296
|
+
- spec/models/paginatedfile_file_remote_response_list_spec.rb
|
297
|
+
- spec/models/paginatedfile_file_alternate_content_source_response_list_spec.rb
|
298
|
+
- spec/models/nested_role_spec.rb
|
299
|
+
- spec/models/unset_label_spec.rb
|
300
|
+
- spec/models/content_summary_response_spec.rb
|
301
|
+
- spec/models/file_file_remote_spec.rb
|
302
|
+
- spec/models/file_file_repository_response_spec.rb
|
303
|
+
- spec/models/policy_enum_spec.rb
|
304
|
+
- spec/models/nested_role_response_spec.rb
|
305
|
+
- spec/models/file_file_remote_response_hidden_fields_spec.rb
|
290
306
|
- spec/spec_helper.rb
|