pulp_file_client 1.5.0 → 1.6.0.post0

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 (46) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/docs/DistributionsFileApi.md +8 -0
  4. data/docs/ExportersFileExportsApi.md +5 -5
  5. data/docs/ExportersFilesystemApi.md +6 -0
  6. data/docs/FileFileDistribution.md +2 -0
  7. data/docs/FileFileDistributionResponse.md +2 -0
  8. data/docs/FileFileRemote.md +5 -1
  9. data/docs/FileFileRemoteResponse.md +5 -1
  10. data/docs/FileFileRepository.md +3 -1
  11. data/docs/FileFileRepositoryResponse.md +2 -0
  12. data/docs/PatchedfileFileDistribution.md +2 -0
  13. data/docs/PatchedfileFileRemote.md +5 -1
  14. data/docs/PatchedfileFileRepository.md +3 -1
  15. data/docs/RemotesFileApi.md +8 -0
  16. data/docs/RepositoriesFileApi.md +8 -0
  17. data/lib/pulp_file_client/api/distributions_file_api.rb +12 -0
  18. data/lib/pulp_file_client/api/exporters_file_exports_api.rb +9 -9
  19. data/lib/pulp_file_client/api/exporters_filesystem_api.rb +9 -0
  20. data/lib/pulp_file_client/api/remotes_file_api.rb +12 -0
  21. data/lib/pulp_file_client/api/repositories_file_api.rb +12 -0
  22. data/lib/pulp_file_client/models/file_file_distribution.rb +10 -1
  23. data/lib/pulp_file_client/models/file_file_distribution_response.rb +10 -1
  24. data/lib/pulp_file_client/models/file_file_remote.rb +25 -5
  25. data/lib/pulp_file_client/models/file_file_remote_response.rb +25 -5
  26. data/lib/pulp_file_client/models/file_file_repository.rb +10 -1
  27. data/lib/pulp_file_client/models/file_file_repository_response.rb +10 -1
  28. data/lib/pulp_file_client/models/patchedfile_file_distribution.rb +10 -1
  29. data/lib/pulp_file_client/models/patchedfile_file_remote.rb +25 -5
  30. data/lib/pulp_file_client/models/patchedfile_file_repository.rb +10 -1
  31. data/lib/pulp_file_client/version.rb +1 -1
  32. data/spec/api/distributions_file_api_spec.rb +4 -0
  33. data/spec/api/exporters_file_exports_api_spec.rb +1 -1
  34. data/spec/api/exporters_filesystem_api_spec.rb +3 -0
  35. data/spec/api/remotes_file_api_spec.rb +4 -0
  36. data/spec/api/repositories_file_api_spec.rb +4 -0
  37. data/spec/models/file_file_distribution_response_spec.rb +6 -0
  38. data/spec/models/file_file_distribution_spec.rb +6 -0
  39. data/spec/models/file_file_remote_response_spec.rb +12 -0
  40. data/spec/models/file_file_remote_spec.rb +12 -0
  41. data/spec/models/file_file_repository_response_spec.rb +6 -0
  42. data/spec/models/file_file_repository_spec.rb +6 -0
  43. data/spec/models/patchedfile_file_distribution_spec.rb +6 -0
  44. data/spec/models/patchedfile_file_remote_spec.rb +12 -0
  45. data/spec/models/patchedfile_file_repository_spec.rb +6 -0
  46. metadata +31 -31
@@ -21,6 +21,8 @@ module PulpFileClient
21
21
  # An optional content-guard.
22
22
  attr_accessor :content_guard
23
23
 
24
+ attr_accessor :pulp_labels
25
+
24
26
  # A unique name. Ex, `rawhide` and `stable`.
25
27
  attr_accessor :name
26
28
 
@@ -32,6 +34,7 @@ module PulpFileClient
32
34
  {
33
35
  :'base_path' => :'base_path',
34
36
  :'content_guard' => :'content_guard',
37
+ :'pulp_labels' => :'pulp_labels',
35
38
  :'name' => :'name',
36
39
  :'publication' => :'publication'
37
40
  }
@@ -42,6 +45,7 @@ module PulpFileClient
42
45
  {
43
46
  :'base_path' => :'String',
44
47
  :'content_guard' => :'String',
48
+ :'pulp_labels' => :'Object',
45
49
  :'name' => :'String',
46
50
  :'publication' => :'String'
47
51
  }
@@ -78,6 +82,10 @@ module PulpFileClient
78
82
  self.content_guard = attributes[:'content_guard']
79
83
  end
80
84
 
85
+ if attributes.key?(:'pulp_labels')
86
+ self.pulp_labels = attributes[:'pulp_labels']
87
+ end
88
+
81
89
  if attributes.key?(:'name')
82
90
  self.name = attributes[:'name']
83
91
  end
@@ -117,6 +125,7 @@ module PulpFileClient
117
125
  self.class == o.class &&
118
126
  base_path == o.base_path &&
119
127
  content_guard == o.content_guard &&
128
+ pulp_labels == o.pulp_labels &&
120
129
  name == o.name &&
121
130
  publication == o.publication
122
131
  end
@@ -130,7 +139,7 @@ module PulpFileClient
130
139
  # Calculates hash code according to all attributes.
131
140
  # @return [Integer] Hash code
132
141
  def hash
133
- [base_path, content_guard, name, publication].hash
142
+ [base_path, content_guard, pulp_labels, name, publication].hash
134
143
  end
135
144
 
136
145
  # Builds the object from hash
@@ -29,6 +29,8 @@ module PulpFileClient
29
29
  # An optional content-guard.
30
30
  attr_accessor :content_guard
31
31
 
32
+ attr_accessor :pulp_labels
33
+
32
34
  # A unique name. Ex, `rawhide` and `stable`.
33
35
  attr_accessor :name
34
36
 
@@ -43,6 +45,7 @@ module PulpFileClient
43
45
  :'base_path' => :'base_path',
44
46
  :'base_url' => :'base_url',
45
47
  :'content_guard' => :'content_guard',
48
+ :'pulp_labels' => :'pulp_labels',
46
49
  :'name' => :'name',
47
50
  :'publication' => :'publication'
48
51
  }
@@ -56,6 +59,7 @@ module PulpFileClient
56
59
  :'base_path' => :'String',
57
60
  :'base_url' => :'String',
58
61
  :'content_guard' => :'String',
62
+ :'pulp_labels' => :'Object',
59
63
  :'name' => :'String',
60
64
  :'publication' => :'String'
61
65
  }
@@ -104,6 +108,10 @@ module PulpFileClient
104
108
  self.content_guard = attributes[:'content_guard']
105
109
  end
106
110
 
111
+ if attributes.key?(:'pulp_labels')
112
+ self.pulp_labels = attributes[:'pulp_labels']
113
+ end
114
+
107
115
  if attributes.key?(:'name')
108
116
  self.name = attributes[:'name']
109
117
  end
@@ -146,6 +154,7 @@ module PulpFileClient
146
154
  base_path == o.base_path &&
147
155
  base_url == o.base_url &&
148
156
  content_guard == o.content_guard &&
157
+ pulp_labels == o.pulp_labels &&
149
158
  name == o.name &&
150
159
  publication == o.publication
151
160
  end
@@ -159,7 +168,7 @@ module PulpFileClient
159
168
  # Calculates hash code according to all attributes.
160
169
  # @return [Integer] Hash code
161
170
  def hash
162
- [pulp_href, pulp_created, base_path, base_url, content_guard, name, publication].hash
171
+ [pulp_href, pulp_created, base_path, base_url, content_guard, pulp_labels, name, publication].hash
163
172
  end
164
173
 
165
174
  # Builds the object from hash
@@ -42,6 +42,8 @@ module PulpFileClient
42
42
  # The password to be used for authentication when syncing.
43
43
  attr_accessor :password
44
44
 
45
+ attr_accessor :pulp_labels
46
+
45
47
  # Total number of simultaneous connections.
46
48
  attr_accessor :download_concurrency
47
49
 
@@ -60,6 +62,9 @@ module PulpFileClient
60
62
  # aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
61
63
  attr_accessor :sock_read_timeout
62
64
 
65
+ # Limits total download rate in requests per second
66
+ attr_accessor :rate_limit
67
+
63
68
  # Attribute mapping from ruby-style variable name to JSON key.
64
69
  def self.attribute_map
65
70
  {
@@ -72,12 +77,14 @@ module PulpFileClient
72
77
  :'proxy_url' => :'proxy_url',
73
78
  :'username' => :'username',
74
79
  :'password' => :'password',
80
+ :'pulp_labels' => :'pulp_labels',
75
81
  :'download_concurrency' => :'download_concurrency',
76
82
  :'policy' => :'policy',
77
83
  :'total_timeout' => :'total_timeout',
78
84
  :'connect_timeout' => :'connect_timeout',
79
85
  :'sock_connect_timeout' => :'sock_connect_timeout',
80
- :'sock_read_timeout' => :'sock_read_timeout'
86
+ :'sock_read_timeout' => :'sock_read_timeout',
87
+ :'rate_limit' => :'rate_limit'
81
88
  }
82
89
  end
83
90
 
@@ -93,12 +100,14 @@ module PulpFileClient
93
100
  :'proxy_url' => :'String',
94
101
  :'username' => :'String',
95
102
  :'password' => :'String',
103
+ :'pulp_labels' => :'Object',
96
104
  :'download_concurrency' => :'Integer',
97
105
  :'policy' => :'PolicyEnum',
98
106
  :'total_timeout' => :'Float',
99
107
  :'connect_timeout' => :'Float',
100
108
  :'sock_connect_timeout' => :'Float',
101
- :'sock_read_timeout' => :'Float'
109
+ :'sock_read_timeout' => :'Float',
110
+ :'rate_limit' => :'Integer'
102
111
  }
103
112
  end
104
113
 
@@ -114,7 +123,8 @@ module PulpFileClient
114
123
  :'total_timeout',
115
124
  :'connect_timeout',
116
125
  :'sock_connect_timeout',
117
- :'sock_read_timeout'
126
+ :'sock_read_timeout',
127
+ :'rate_limit'
118
128
  ])
119
129
  end
120
130
 
@@ -169,6 +179,10 @@ module PulpFileClient
169
179
  self.password = attributes[:'password']
170
180
  end
171
181
 
182
+ if attributes.key?(:'pulp_labels')
183
+ self.pulp_labels = attributes[:'pulp_labels']
184
+ end
185
+
172
186
  if attributes.key?(:'download_concurrency')
173
187
  self.download_concurrency = attributes[:'download_concurrency']
174
188
  end
@@ -192,6 +206,10 @@ module PulpFileClient
192
206
  if attributes.key?(:'sock_read_timeout')
193
207
  self.sock_read_timeout = attributes[:'sock_read_timeout']
194
208
  end
209
+
210
+ if attributes.key?(:'rate_limit')
211
+ self.rate_limit = attributes[:'rate_limit']
212
+ end
195
213
  end
196
214
 
197
215
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -306,12 +324,14 @@ module PulpFileClient
306
324
  proxy_url == o.proxy_url &&
307
325
  username == o.username &&
308
326
  password == o.password &&
327
+ pulp_labels == o.pulp_labels &&
309
328
  download_concurrency == o.download_concurrency &&
310
329
  policy == o.policy &&
311
330
  total_timeout == o.total_timeout &&
312
331
  connect_timeout == o.connect_timeout &&
313
332
  sock_connect_timeout == o.sock_connect_timeout &&
314
- sock_read_timeout == o.sock_read_timeout
333
+ sock_read_timeout == o.sock_read_timeout &&
334
+ rate_limit == o.rate_limit
315
335
  end
316
336
 
317
337
  # @see the `==` method
@@ -323,7 +343,7 @@ module PulpFileClient
323
343
  # Calculates hash code according to all attributes.
324
344
  # @return [Integer] Hash code
325
345
  def hash
326
- [name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout].hash
346
+ [name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, pulp_labels, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, rate_limit].hash
327
347
  end
328
348
 
329
349
  # Builds the object from hash
@@ -47,6 +47,8 @@ module PulpFileClient
47
47
  # The password to be used for authentication when syncing.
48
48
  attr_accessor :password
49
49
 
50
+ attr_accessor :pulp_labels
51
+
50
52
  # Timestamp of the most recent update of the remote.
51
53
  attr_accessor :pulp_last_updated
52
54
 
@@ -68,6 +70,9 @@ module PulpFileClient
68
70
  # aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
69
71
  attr_accessor :sock_read_timeout
70
72
 
73
+ # Limits total download rate in requests per second
74
+ attr_accessor :rate_limit
75
+
71
76
  # Attribute mapping from ruby-style variable name to JSON key.
72
77
  def self.attribute_map
73
78
  {
@@ -82,13 +87,15 @@ module PulpFileClient
82
87
  :'proxy_url' => :'proxy_url',
83
88
  :'username' => :'username',
84
89
  :'password' => :'password',
90
+ :'pulp_labels' => :'pulp_labels',
85
91
  :'pulp_last_updated' => :'pulp_last_updated',
86
92
  :'download_concurrency' => :'download_concurrency',
87
93
  :'policy' => :'policy',
88
94
  :'total_timeout' => :'total_timeout',
89
95
  :'connect_timeout' => :'connect_timeout',
90
96
  :'sock_connect_timeout' => :'sock_connect_timeout',
91
- :'sock_read_timeout' => :'sock_read_timeout'
97
+ :'sock_read_timeout' => :'sock_read_timeout',
98
+ :'rate_limit' => :'rate_limit'
92
99
  }
93
100
  end
94
101
 
@@ -106,13 +113,15 @@ module PulpFileClient
106
113
  :'proxy_url' => :'String',
107
114
  :'username' => :'String',
108
115
  :'password' => :'String',
116
+ :'pulp_labels' => :'Object',
109
117
  :'pulp_last_updated' => :'DateTime',
110
118
  :'download_concurrency' => :'Integer',
111
119
  :'policy' => :'PolicyEnum',
112
120
  :'total_timeout' => :'Float',
113
121
  :'connect_timeout' => :'Float',
114
122
  :'sock_connect_timeout' => :'Float',
115
- :'sock_read_timeout' => :'Float'
123
+ :'sock_read_timeout' => :'Float',
124
+ :'rate_limit' => :'Integer'
116
125
  }
117
126
  end
118
127
 
@@ -128,7 +137,8 @@ module PulpFileClient
128
137
  :'total_timeout',
129
138
  :'connect_timeout',
130
139
  :'sock_connect_timeout',
131
- :'sock_read_timeout'
140
+ :'sock_read_timeout',
141
+ :'rate_limit'
132
142
  ])
133
143
  end
134
144
 
@@ -191,6 +201,10 @@ module PulpFileClient
191
201
  self.password = attributes[:'password']
192
202
  end
193
203
 
204
+ if attributes.key?(:'pulp_labels')
205
+ self.pulp_labels = attributes[:'pulp_labels']
206
+ end
207
+
194
208
  if attributes.key?(:'pulp_last_updated')
195
209
  self.pulp_last_updated = attributes[:'pulp_last_updated']
196
210
  end
@@ -218,6 +232,10 @@ module PulpFileClient
218
232
  if attributes.key?(:'sock_read_timeout')
219
233
  self.sock_read_timeout = attributes[:'sock_read_timeout']
220
234
  end
235
+
236
+ if attributes.key?(:'rate_limit')
237
+ self.rate_limit = attributes[:'rate_limit']
238
+ end
221
239
  end
222
240
 
223
241
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -334,13 +352,15 @@ module PulpFileClient
334
352
  proxy_url == o.proxy_url &&
335
353
  username == o.username &&
336
354
  password == o.password &&
355
+ pulp_labels == o.pulp_labels &&
337
356
  pulp_last_updated == o.pulp_last_updated &&
338
357
  download_concurrency == o.download_concurrency &&
339
358
  policy == o.policy &&
340
359
  total_timeout == o.total_timeout &&
341
360
  connect_timeout == o.connect_timeout &&
342
361
  sock_connect_timeout == o.sock_connect_timeout &&
343
- sock_read_timeout == o.sock_read_timeout
362
+ sock_read_timeout == o.sock_read_timeout &&
363
+ rate_limit == o.rate_limit
344
364
  end
345
365
 
346
366
  # @see the `==` method
@@ -352,7 +372,7 @@ module PulpFileClient
352
372
  # Calculates hash code according to all attributes.
353
373
  # @return [Integer] Hash code
354
374
  def hash
355
- [pulp_href, pulp_created, name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, pulp_last_updated, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout].hash
375
+ [pulp_href, pulp_created, name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, pulp_labels, pulp_last_updated, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, rate_limit].hash
356
376
  end
357
377
 
358
378
  # Builds the object from hash
@@ -15,6 +15,8 @@ require 'date'
15
15
  module PulpFileClient
16
16
  # Serializer for File Repositories.
17
17
  class FileFileRepository
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
@@ -100,6 +108,7 @@ module PulpFileClient
100
108
  def ==(o)
101
109
  return true if self.equal?(o)
102
110
  self.class == o.class &&
111
+ pulp_labels == o.pulp_labels &&
103
112
  name == o.name &&
104
113
  description == o.description &&
105
114
  remote == o.remote
@@ -114,7 +123,7 @@ module PulpFileClient
114
123
  # Calculates hash code according to all attributes.
115
124
  # @return [Integer] Hash code
116
125
  def hash
117
- [name, description, remote].hash
126
+ [pulp_labels, name, description, remote].hash
118
127
  end
119
128
 
120
129
  # Builds the object from hash
@@ -22,6 +22,8 @@ module PulpFileClient
22
22
 
23
23
  attr_accessor :versions_href
24
24
 
25
+ attr_accessor :pulp_labels
26
+
25
27
  attr_accessor :latest_version_href
26
28
 
27
29
  # A unique name for this repository.
@@ -38,6 +40,7 @@ module PulpFileClient
38
40
  :'pulp_href' => :'pulp_href',
39
41
  :'pulp_created' => :'pulp_created',
40
42
  :'versions_href' => :'versions_href',
43
+ :'pulp_labels' => :'pulp_labels',
41
44
  :'latest_version_href' => :'latest_version_href',
42
45
  :'name' => :'name',
43
46
  :'description' => :'description',
@@ -51,6 +54,7 @@ module PulpFileClient
51
54
  :'pulp_href' => :'String',
52
55
  :'pulp_created' => :'DateTime',
53
56
  :'versions_href' => :'String',
57
+ :'pulp_labels' => :'Object',
54
58
  :'latest_version_href' => :'String',
55
59
  :'name' => :'String',
56
60
  :'description' => :'String',
@@ -93,6 +97,10 @@ module PulpFileClient
93
97
  self.versions_href = attributes[:'versions_href']
94
98
  end
95
99
 
100
+ if attributes.key?(:'pulp_labels')
101
+ self.pulp_labels = attributes[:'pulp_labels']
102
+ end
103
+
96
104
  if attributes.key?(:'latest_version_href')
97
105
  self.latest_version_href = attributes[:'latest_version_href']
98
106
  end
@@ -136,6 +144,7 @@ module PulpFileClient
136
144
  pulp_href == o.pulp_href &&
137
145
  pulp_created == o.pulp_created &&
138
146
  versions_href == o.versions_href &&
147
+ pulp_labels == o.pulp_labels &&
139
148
  latest_version_href == o.latest_version_href &&
140
149
  name == o.name &&
141
150
  description == o.description &&
@@ -151,7 +160,7 @@ module PulpFileClient
151
160
  # Calculates hash code according to all attributes.
152
161
  # @return [Integer] Hash code
153
162
  def hash
154
- [pulp_href, pulp_created, versions_href, latest_version_href, name, description, remote].hash
163
+ [pulp_href, pulp_created, versions_href, pulp_labels, latest_version_href, name, description, remote].hash
155
164
  end
156
165
 
157
166
  # Builds the object from hash
@@ -21,6 +21,8 @@ module PulpFileClient
21
21
  # An optional content-guard.
22
22
  attr_accessor :content_guard
23
23
 
24
+ attr_accessor :pulp_labels
25
+
24
26
  # A unique name. Ex, `rawhide` and `stable`.
25
27
  attr_accessor :name
26
28
 
@@ -32,6 +34,7 @@ module PulpFileClient
32
34
  {
33
35
  :'base_path' => :'base_path',
34
36
  :'content_guard' => :'content_guard',
37
+ :'pulp_labels' => :'pulp_labels',
35
38
  :'name' => :'name',
36
39
  :'publication' => :'publication'
37
40
  }
@@ -42,6 +45,7 @@ module PulpFileClient
42
45
  {
43
46
  :'base_path' => :'String',
44
47
  :'content_guard' => :'String',
48
+ :'pulp_labels' => :'Object',
45
49
  :'name' => :'String',
46
50
  :'publication' => :'String'
47
51
  }
@@ -78,6 +82,10 @@ module PulpFileClient
78
82
  self.content_guard = attributes[:'content_guard']
79
83
  end
80
84
 
85
+ if attributes.key?(:'pulp_labels')
86
+ self.pulp_labels = attributes[:'pulp_labels']
87
+ end
88
+
81
89
  if attributes.key?(:'name')
82
90
  self.name = attributes[:'name']
83
91
  end
@@ -107,6 +115,7 @@ module PulpFileClient
107
115
  self.class == o.class &&
108
116
  base_path == o.base_path &&
109
117
  content_guard == o.content_guard &&
118
+ pulp_labels == o.pulp_labels &&
110
119
  name == o.name &&
111
120
  publication == o.publication
112
121
  end
@@ -120,7 +129,7 @@ module PulpFileClient
120
129
  # Calculates hash code according to all attributes.
121
130
  # @return [Integer] Hash code
122
131
  def hash
123
- [base_path, content_guard, name, publication].hash
132
+ [base_path, content_guard, pulp_labels, name, publication].hash
124
133
  end
125
134
 
126
135
  # Builds the object from hash
@@ -42,6 +42,8 @@ module PulpFileClient
42
42
  # The password to be used for authentication when syncing.
43
43
  attr_accessor :password
44
44
 
45
+ attr_accessor :pulp_labels
46
+
45
47
  # Total number of simultaneous connections.
46
48
  attr_accessor :download_concurrency
47
49
 
@@ -60,6 +62,9 @@ module PulpFileClient
60
62
  # aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
61
63
  attr_accessor :sock_read_timeout
62
64
 
65
+ # Limits total download rate in requests per second
66
+ attr_accessor :rate_limit
67
+
63
68
  # Attribute mapping from ruby-style variable name to JSON key.
64
69
  def self.attribute_map
65
70
  {
@@ -72,12 +77,14 @@ module PulpFileClient
72
77
  :'proxy_url' => :'proxy_url',
73
78
  :'username' => :'username',
74
79
  :'password' => :'password',
80
+ :'pulp_labels' => :'pulp_labels',
75
81
  :'download_concurrency' => :'download_concurrency',
76
82
  :'policy' => :'policy',
77
83
  :'total_timeout' => :'total_timeout',
78
84
  :'connect_timeout' => :'connect_timeout',
79
85
  :'sock_connect_timeout' => :'sock_connect_timeout',
80
- :'sock_read_timeout' => :'sock_read_timeout'
86
+ :'sock_read_timeout' => :'sock_read_timeout',
87
+ :'rate_limit' => :'rate_limit'
81
88
  }
82
89
  end
83
90
 
@@ -93,12 +100,14 @@ module PulpFileClient
93
100
  :'proxy_url' => :'String',
94
101
  :'username' => :'String',
95
102
  :'password' => :'String',
103
+ :'pulp_labels' => :'Object',
96
104
  :'download_concurrency' => :'Integer',
97
105
  :'policy' => :'PolicyEnum',
98
106
  :'total_timeout' => :'Float',
99
107
  :'connect_timeout' => :'Float',
100
108
  :'sock_connect_timeout' => :'Float',
101
- :'sock_read_timeout' => :'Float'
109
+ :'sock_read_timeout' => :'Float',
110
+ :'rate_limit' => :'Integer'
102
111
  }
103
112
  end
104
113
 
@@ -114,7 +123,8 @@ module PulpFileClient
114
123
  :'total_timeout',
115
124
  :'connect_timeout',
116
125
  :'sock_connect_timeout',
117
- :'sock_read_timeout'
126
+ :'sock_read_timeout',
127
+ :'rate_limit'
118
128
  ])
119
129
  end
120
130
 
@@ -169,6 +179,10 @@ module PulpFileClient
169
179
  self.password = attributes[:'password']
170
180
  end
171
181
 
182
+ if attributes.key?(:'pulp_labels')
183
+ self.pulp_labels = attributes[:'pulp_labels']
184
+ end
185
+
172
186
  if attributes.key?(:'download_concurrency')
173
187
  self.download_concurrency = attributes[:'download_concurrency']
174
188
  end
@@ -192,6 +206,10 @@ module PulpFileClient
192
206
  if attributes.key?(:'sock_read_timeout')
193
207
  self.sock_read_timeout = attributes[:'sock_read_timeout']
194
208
  end
209
+
210
+ if attributes.key?(:'rate_limit')
211
+ self.rate_limit = attributes[:'rate_limit']
212
+ end
195
213
  end
196
214
 
197
215
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -296,12 +314,14 @@ module PulpFileClient
296
314
  proxy_url == o.proxy_url &&
297
315
  username == o.username &&
298
316
  password == o.password &&
317
+ pulp_labels == o.pulp_labels &&
299
318
  download_concurrency == o.download_concurrency &&
300
319
  policy == o.policy &&
301
320
  total_timeout == o.total_timeout &&
302
321
  connect_timeout == o.connect_timeout &&
303
322
  sock_connect_timeout == o.sock_connect_timeout &&
304
- sock_read_timeout == o.sock_read_timeout
323
+ sock_read_timeout == o.sock_read_timeout &&
324
+ rate_limit == o.rate_limit
305
325
  end
306
326
 
307
327
  # @see the `==` method
@@ -313,7 +333,7 @@ module PulpFileClient
313
333
  # Calculates hash code according to all attributes.
314
334
  # @return [Integer] Hash code
315
335
  def hash
316
- [name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout].hash
336
+ [name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, pulp_labels, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, rate_limit].hash
317
337
  end
318
338
 
319
339
  # Builds the object from hash
@@ -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
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.2.3
11
11
  =end
12
12
 
13
13
  module PulpFileClient
14
- VERSION = '1.5.0'
14
+ VERSION = '1.6.0.post0'
15
15
  end
@@ -66,9 +66,13 @@ describe 'DistributionsFileApi' do
66
66
  # @option opts [String] :base_path__in base_path__in
67
67
  # @option opts [Integer] :limit Number of results to return per page.
68
68
  # @option opts [String] :name name
69
+ # @option opts [String] :name__contains name__contains
70
+ # @option opts [String] :name__icontains name__icontains
69
71
  # @option opts [String] :name__in name__in
72
+ # @option opts [String] :name__startswith name__startswith
70
73
  # @option opts [Integer] :offset The initial index from which to return the results.
71
74
  # @option opts [String] :ordering Which field to use when ordering the results.
75
+ # @option opts [String] :pulp_label_select pulp_label_select
72
76
  # @option opts [String] :fields A list of fields to include in the response.
73
77
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
74
78
  # @return [PaginatedfileFileDistributionResponseList]
@@ -35,7 +35,7 @@ describe 'ExportersFileExportsApi' do
35
35
  # unit tests for create
36
36
  # Create an export
37
37
  # Trigger an asynchronous task to export a file publication.
38
- # @param file_filesystem_export_href
38
+ # @param file_file_filesystem_exporter_href
39
39
  # @param publication_export
40
40
  # @param [Hash] opts the optional parameters
41
41
  # @return [AsyncOperationResponse]
@@ -62,7 +62,10 @@ describe 'ExportersFilesystemApi' do
62
62
  # @param [Hash] opts the optional parameters
63
63
  # @option opts [Integer] :limit Number of results to return per page.
64
64
  # @option opts [String] :name name
65
+ # @option opts [String] :name__contains name__contains
66
+ # @option opts [String] :name__icontains name__icontains
65
67
  # @option opts [String] :name__in name__in
68
+ # @option opts [String] :name__startswith name__startswith
66
69
  # @option opts [Integer] :offset The initial index from which to return the results.
67
70
  # @option opts [String] :ordering Which field to use when ordering the results.
68
71
  # @option opts [String] :fields A list of fields to include in the response.