pulp_file_client 1.6.0.dev01611632407 → 1.6.0.dev01612409526
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pulp_file_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/DistributionsFileApi.md +2 -0
- data/docs/FileFileDistribution.md +2 -0
- data/docs/FileFileDistributionResponse.md +2 -0
- data/docs/FileFileRemote.md +5 -1
- data/docs/FileFileRemoteResponse.md +5 -1
- data/docs/FileFileRepository.md +3 -1
- data/docs/FileFileRepositoryResponse.md +2 -0
- data/docs/PatchedfileFileDistribution.md +2 -0
- data/docs/PatchedfileFileRemote.md +5 -1
- data/docs/PatchedfileFileRepository.md +3 -1
- data/docs/RemotesFileApi.md +2 -0
- data/docs/RepositoriesFileApi.md +2 -0
- data/lib/pulp_file_client/api/distributions_file_api.rb +3 -0
- data/lib/pulp_file_client/api/remotes_file_api.rb +3 -0
- data/lib/pulp_file_client/api/repositories_file_api.rb +3 -0
- data/lib/pulp_file_client/models/file_file_distribution.rb +10 -1
- data/lib/pulp_file_client/models/file_file_distribution_response.rb +10 -1
- data/lib/pulp_file_client/models/file_file_remote.rb +25 -5
- data/lib/pulp_file_client/models/file_file_remote_response.rb +25 -5
- data/lib/pulp_file_client/models/file_file_repository.rb +10 -1
- data/lib/pulp_file_client/models/file_file_repository_response.rb +10 -1
- data/lib/pulp_file_client/models/patchedfile_file_distribution.rb +10 -1
- data/lib/pulp_file_client/models/patchedfile_file_remote.rb +25 -5
- data/lib/pulp_file_client/models/patchedfile_file_repository.rb +10 -1
- data/lib/pulp_file_client/version.rb +1 -1
- data/spec/api/distributions_file_api_spec.rb +1 -0
- data/spec/api/remotes_file_api_spec.rb +1 -0
- data/spec/api/repositories_file_api_spec.rb +1 -0
- data/spec/models/file_file_distribution_response_spec.rb +6 -0
- data/spec/models/file_file_distribution_spec.rb +6 -0
- data/spec/models/file_file_remote_response_spec.rb +12 -0
- data/spec/models/file_file_remote_spec.rb +12 -0
- data/spec/models/file_file_repository_response_spec.rb +6 -0
- data/spec/models/file_file_repository_spec.rb +6 -0
- data/spec/models/patchedfile_file_distribution_spec.rb +6 -0
- data/spec/models/patchedfile_file_remote_spec.rb +12 -0
- data/spec/models/patchedfile_file_repository_spec.rb +6 -0
- metadata +31 -31
@@ -15,6 +15,8 @@ require 'date'
|
|
15
15
|
module PulpFileClient
|
16
16
|
# Serializer for File Repositories.
|
17
17
|
class PatchedfileFileRepository
|
18
|
+
attr_accessor :pulp_labels
|
19
|
+
|
18
20
|
# A unique name for this repository.
|
19
21
|
attr_accessor :name
|
20
22
|
|
@@ -26,6 +28,7 @@ module PulpFileClient
|
|
26
28
|
# Attribute mapping from ruby-style variable name to JSON key.
|
27
29
|
def self.attribute_map
|
28
30
|
{
|
31
|
+
:'pulp_labels' => :'pulp_labels',
|
29
32
|
:'name' => :'name',
|
30
33
|
:'description' => :'description',
|
31
34
|
:'remote' => :'remote'
|
@@ -35,6 +38,7 @@ module PulpFileClient
|
|
35
38
|
# Attribute type mapping.
|
36
39
|
def self.openapi_types
|
37
40
|
{
|
41
|
+
:'pulp_labels' => :'Object',
|
38
42
|
:'name' => :'String',
|
39
43
|
:'description' => :'String',
|
40
44
|
:'remote' => :'String'
|
@@ -64,6 +68,10 @@ module PulpFileClient
|
|
64
68
|
h[k.to_sym] = v
|
65
69
|
}
|
66
70
|
|
71
|
+
if attributes.key?(:'pulp_labels')
|
72
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
73
|
+
end
|
74
|
+
|
67
75
|
if attributes.key?(:'name')
|
68
76
|
self.name = attributes[:'name']
|
69
77
|
end
|
@@ -95,6 +103,7 @@ module PulpFileClient
|
|
95
103
|
def ==(o)
|
96
104
|
return true if self.equal?(o)
|
97
105
|
self.class == o.class &&
|
106
|
+
pulp_labels == o.pulp_labels &&
|
98
107
|
name == o.name &&
|
99
108
|
description == o.description &&
|
100
109
|
remote == o.remote
|
@@ -109,7 +118,7 @@ module PulpFileClient
|
|
109
118
|
# Calculates hash code according to all attributes.
|
110
119
|
# @return [Integer] Hash code
|
111
120
|
def hash
|
112
|
-
[name, description, remote].hash
|
121
|
+
[pulp_labels, name, description, remote].hash
|
113
122
|
end
|
114
123
|
|
115
124
|
# Builds the object from hash
|
@@ -72,6 +72,7 @@ describe 'DistributionsFileApi' do
|
|
72
72
|
# @option opts [String] :name__startswith name__startswith
|
73
73
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
74
74
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
75
|
+
# @option opts [String] :pulp_label_select pulp_label_select
|
75
76
|
# @option opts [String] :fields A list of fields to include in the response.
|
76
77
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
77
78
|
# @return [PaginatedfileFileDistributionResponseList]
|
@@ -68,6 +68,7 @@ describe 'RemotesFileApi' do
|
|
68
68
|
# @option opts [String] :name__startswith name__startswith
|
69
69
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
70
70
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
71
|
+
# @option opts [String] :pulp_label_select pulp_label_select
|
71
72
|
# @option opts [String] :pulp_last_updated pulp_last_updated
|
72
73
|
# @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
|
73
74
|
# @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
|
@@ -68,6 +68,7 @@ describe 'RepositoriesFileApi' do
|
|
68
68
|
# @option opts [String] :name__startswith name__startswith
|
69
69
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
70
70
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
71
|
+
# @option opts [String] :pulp_label_select pulp_label_select
|
71
72
|
# @option opts [String] :fields A list of fields to include in the response.
|
72
73
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
73
74
|
# @return [PaginatedfileFileRepositoryResponseList]
|
@@ -62,6 +62,12 @@ describe 'FileFileDistributionResponse' do
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
+
describe 'test attribute "pulp_labels"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
65
71
|
describe 'test attribute "name"' do
|
66
72
|
it 'should work' do
|
67
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -44,6 +44,12 @@ describe 'FileFileDistribution' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "pulp_labels"' 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
|
+
|
47
53
|
describe 'test attribute "name"' do
|
48
54
|
it 'should work' do
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -98,6 +98,12 @@ describe 'FileFileRemoteResponse' do
|
|
98
98
|
end
|
99
99
|
end
|
100
100
|
|
101
|
+
describe 'test attribute "pulp_labels"' do
|
102
|
+
it 'should work' do
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
101
107
|
describe 'test attribute "pulp_last_updated"' do
|
102
108
|
it 'should work' do
|
103
109
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -140,4 +146,10 @@ describe 'FileFileRemoteResponse' do
|
|
140
146
|
end
|
141
147
|
end
|
142
148
|
|
149
|
+
describe 'test attribute "rate_limit"' do
|
150
|
+
it 'should work' do
|
151
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
152
|
+
end
|
153
|
+
end
|
154
|
+
|
143
155
|
end
|
@@ -86,6 +86,12 @@ describe 'FileFileRemote' do
|
|
86
86
|
end
|
87
87
|
end
|
88
88
|
|
89
|
+
describe 'test attribute "pulp_labels"' do
|
90
|
+
it 'should work' do
|
91
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
89
95
|
describe 'test attribute "download_concurrency"' do
|
90
96
|
it 'should work' do
|
91
97
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -122,4 +128,10 @@ describe 'FileFileRemote' do
|
|
122
128
|
end
|
123
129
|
end
|
124
130
|
|
131
|
+
describe 'test attribute "rate_limit"' do
|
132
|
+
it 'should work' do
|
133
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
134
|
+
end
|
135
|
+
end
|
136
|
+
|
125
137
|
end
|
@@ -50,6 +50,12 @@ describe 'FileFileRepositoryResponse' do
|
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
+
describe 'test attribute "pulp_labels"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
53
59
|
describe 'test attribute "latest_version_href"' do
|
54
60
|
it 'should work' do
|
55
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -32,6 +32,12 @@ describe 'FileFileRepository' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpFileClient::FileFileRepository)
|
33
33
|
end
|
34
34
|
end
|
35
|
+
describe 'test attribute "pulp_labels"' 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
|
+
|
35
41
|
describe 'test attribute "name"' do
|
36
42
|
it 'should work' do
|
37
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -44,6 +44,12 @@ describe 'PatchedfileFileDistribution' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "pulp_labels"' 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
|
+
|
47
53
|
describe 'test attribute "name"' do
|
48
54
|
it 'should work' do
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -86,6 +86,12 @@ describe 'PatchedfileFileRemote' do
|
|
86
86
|
end
|
87
87
|
end
|
88
88
|
|
89
|
+
describe 'test attribute "pulp_labels"' do
|
90
|
+
it 'should work' do
|
91
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
89
95
|
describe 'test attribute "download_concurrency"' do
|
90
96
|
it 'should work' do
|
91
97
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -122,4 +128,10 @@ describe 'PatchedfileFileRemote' do
|
|
122
128
|
end
|
123
129
|
end
|
124
130
|
|
131
|
+
describe 'test attribute "rate_limit"' do
|
132
|
+
it 'should work' do
|
133
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
134
|
+
end
|
135
|
+
end
|
136
|
+
|
125
137
|
end
|
@@ -32,6 +32,12 @@ describe 'PatchedfileFileRepository' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpFileClient::PatchedfileFileRepository)
|
33
33
|
end
|
34
34
|
end
|
35
|
+
describe 'test attribute "pulp_labels"' 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
|
+
|
35
41
|
describe 'test attribute "name"' do
|
36
42
|
it 'should work' do
|
37
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
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.6.0.
|
4
|
+
version: 1.6.0.dev01612409526
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -234,48 +234,48 @@ signing_key:
|
|
234
234
|
specification_version: 4
|
235
235
|
summary: Pulp 3 API Ruby Gem
|
236
236
|
test_files:
|
237
|
-
- spec/api/
|
238
|
-
- spec/api/publications_file_api_spec.rb
|
237
|
+
- spec/api/repositories_file_api_spec.rb
|
239
238
|
- spec/api/remotes_file_api_spec.rb
|
239
|
+
- spec/api/exporters_file_exports_api_spec.rb
|
240
240
|
- spec/api/repositories_file_versions_api_spec.rb
|
241
241
|
- spec/api/content_files_api_spec.rb
|
242
|
+
- spec/api/publications_file_api_spec.rb
|
242
243
|
- spec/api/distributions_file_api_spec.rb
|
243
244
|
- spec/api/exporters_filesystem_api_spec.rb
|
244
|
-
- spec/api/repositories_file_api_spec.rb
|
245
245
|
- spec/api_client_spec.rb
|
246
246
|
- spec/configuration_spec.rb
|
247
|
-
- spec/models/
|
248
|
-
- spec/models/
|
249
|
-
- spec/models/
|
250
|
-
- spec/models/file_file_distribution_spec.rb
|
251
|
-
- spec/models/paginatedfile_file_filesystem_exporter_response_list_spec.rb
|
252
|
-
- spec/models/paginatedfile_file_publication_response_list_spec.rb
|
253
|
-
- spec/models/paginatedfile_file_content_response_list_spec.rb
|
254
|
-
- spec/models/file_file_content_spec.rb
|
247
|
+
- spec/models/repository_sync_url_spec.rb
|
248
|
+
- spec/models/policy_enum_spec.rb
|
249
|
+
- spec/models/patchedfile_file_repository_spec.rb
|
255
250
|
- spec/models/file_file_publication_spec.rb
|
256
|
-
- spec/models/repository_version_spec.rb
|
257
|
-
- spec/models/file_file_repository_response_spec.rb
|
258
|
-
- spec/models/content_summary_response_spec.rb
|
259
|
-
- spec/models/paginated_export_response_list_spec.rb
|
260
|
-
- spec/models/export_response_spec.rb
|
261
251
|
- spec/models/paginatedfile_file_remote_response_list_spec.rb
|
262
|
-
- spec/models/file_file_publication_response_spec.rb
|
263
|
-
- spec/models/file_file_remote_spec.rb
|
264
|
-
- spec/models/file_file_distribution_response_spec.rb
|
265
|
-
- spec/models/file_file_filesystem_exporter_response_spec.rb
|
266
|
-
- spec/models/repository_version_response_spec.rb
|
267
252
|
- spec/models/file_file_repository_spec.rb
|
268
|
-
- spec/models/
|
269
|
-
- spec/models/
|
270
|
-
- spec/models/
|
271
|
-
- spec/models/file_file_filesystem_exporter_spec.rb
|
253
|
+
- spec/models/file_file_remote_response_spec.rb
|
254
|
+
- spec/models/paginatedfile_file_distribution_response_list_spec.rb
|
255
|
+
- spec/models/file_file_filesystem_exporter_response_spec.rb
|
272
256
|
- spec/models/patchedfile_file_distribution_spec.rb
|
257
|
+
- spec/models/repository_version_response_spec.rb
|
258
|
+
- spec/models/paginated_export_response_list_spec.rb
|
259
|
+
- spec/models/file_file_remote_spec.rb
|
273
260
|
- spec/models/async_operation_response_spec.rb
|
274
|
-
- spec/models/
|
275
|
-
- spec/models/paginatedfile_file_repository_response_list_spec.rb
|
276
|
-
- spec/models/paginatedfile_file_distribution_response_list_spec.rb
|
261
|
+
- spec/models/patchedfile_file_filesystem_exporter_spec.rb
|
277
262
|
- spec/models/publication_export_spec.rb
|
278
|
-
- spec/models/
|
263
|
+
- spec/models/content_summary_response_spec.rb
|
264
|
+
- spec/models/paginatedfile_file_filesystem_exporter_response_list_spec.rb
|
279
265
|
- spec/models/repository_add_remove_content_spec.rb
|
266
|
+
- spec/models/patchedfile_file_remote_spec.rb
|
267
|
+
- spec/models/paginatedfile_file_repository_response_list_spec.rb
|
268
|
+
- spec/models/file_file_distribution_spec.rb
|
269
|
+
- spec/models/file_file_distribution_response_spec.rb
|
280
270
|
- spec/models/paginated_repository_version_response_list_spec.rb
|
271
|
+
- spec/models/file_file_content_response_spec.rb
|
272
|
+
- spec/models/paginatedfile_file_content_response_list_spec.rb
|
273
|
+
- spec/models/content_summary_spec.rb
|
274
|
+
- spec/models/export_response_spec.rb
|
275
|
+
- spec/models/repository_version_spec.rb
|
276
|
+
- spec/models/file_file_filesystem_exporter_spec.rb
|
277
|
+
- spec/models/file_file_publication_response_spec.rb
|
278
|
+
- spec/models/file_file_repository_response_spec.rb
|
279
|
+
- spec/models/file_file_content_spec.rb
|
280
|
+
- spec/models/paginatedfile_file_publication_response_list_spec.rb
|
281
281
|
- spec/spec_helper.rb
|