pulpcore_client 3.118.6 → 3.118.7
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 +4 -4
- data/docs/ArtifactDistributionResponse.md +12 -12
- data/docs/Purge.md +1 -1
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +54 -54
- data/lib/pulpcore_client/models/purge.rb +1 -1
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/models/artifact_distribution_response_spec.rb +11 -11
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5d291c5552df3d12b0a81ca8591f9cd6aba5713bebbc6d86c4e1538651230cf9
|
|
4
|
+
data.tar.gz: 1cc479287c3c24d105e5e0d4cc1d9a1e5af352ea6efbb54aa9ed08d27c9f097a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4a54853858a084ac29524fa2135dcb788566a580008acf11be4e9bac893a28bd45fa5da326d10ddc4b5de4562839b573d8b60b88fc0c5b2a55d17490bb576230
|
|
7
|
+
data.tar.gz: 0e6af2972481624e179667e07afb736c4e4ddb2af9dcad8e2948b3f09bfc6479394ae955908aa431935cdfad2c2ff70133f8f3325004be4ff0cb97ecb69f19bd
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
9
|
- API version: v3
|
|
10
|
-
- Package version: 3.118.
|
|
10
|
+
- Package version: 3.118.7
|
|
11
11
|
- Generator version: 7.10.0
|
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
13
13
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
@@ -25,16 +25,16 @@ gem build pulpcore_client.gemspec
|
|
|
25
25
|
Then either install the gem locally:
|
|
26
26
|
|
|
27
27
|
```shell
|
|
28
|
-
gem install ./pulpcore_client-3.118.
|
|
28
|
+
gem install ./pulpcore_client-3.118.7.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulpcore_client-3.118.
|
|
31
|
+
(for development, run `gem install --dev ./pulpcore_client-3.118.7.gem` to install the development dependencies)
|
|
32
32
|
|
|
33
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
34
34
|
|
|
35
35
|
Finally add this to the Gemfile:
|
|
36
36
|
|
|
37
|
-
gem 'pulpcore_client', '~> 3.118.
|
|
37
|
+
gem 'pulpcore_client', '~> 3.118.7'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -5,17 +5,17 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | |
|
|
8
|
-
| **
|
|
8
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
|
9
|
+
| **no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional][readonly] |
|
|
10
|
+
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
|
9
11
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
10
12
|
| **content_guard** | **String** | An optional content-guard. | [optional] |
|
|
13
|
+
| **content_guard_prn** | **String** | The Pulp Resource Name (PRN) of the associated optional content guard. | [optional][readonly] |
|
|
11
14
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
|
12
|
-
| **no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional][readonly] |
|
|
13
15
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
14
|
-
| **
|
|
15
|
-
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
|
16
|
-
| **pulp_href** | **String** | | [optional][readonly] |
|
|
17
|
-
| **content_guard_prn** | **String** | The Pulp Resource Name (PRN) of the associated optional content guard. | [optional][readonly] |
|
|
16
|
+
| **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional][readonly] |
|
|
18
17
|
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
|
18
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
19
19
|
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
|
20
20
|
|
|
21
21
|
## Example
|
|
@@ -25,17 +25,17 @@ require 'pulpcore_client'
|
|
|
25
25
|
|
|
26
26
|
instance = PulpcoreClient::ArtifactDistributionResponse.new(
|
|
27
27
|
base_path: null,
|
|
28
|
-
|
|
28
|
+
pulp_href: null,
|
|
29
|
+
no_content_change_since: null,
|
|
30
|
+
pulp_last_updated: null,
|
|
29
31
|
pulp_created: null,
|
|
30
32
|
content_guard: null,
|
|
33
|
+
content_guard_prn: null,
|
|
31
34
|
name: null,
|
|
32
|
-
no_content_change_since: null,
|
|
33
35
|
pulp_labels: null,
|
|
34
|
-
|
|
35
|
-
pulp_last_updated: null,
|
|
36
|
-
pulp_href: null,
|
|
37
|
-
content_guard_prn: null,
|
|
36
|
+
base_url: null,
|
|
38
37
|
repository_version: null,
|
|
38
|
+
prn: null,
|
|
39
39
|
hidden: null
|
|
40
40
|
)
|
|
41
41
|
```
|
data/docs/Purge.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **finished_before** | **Time** | Purge tasks completed earlier than this timestamp. Format '%Y-%m-%d[T%H:%M:%S]' | [optional][default to '2026-10-
|
|
7
|
+
| **finished_before** | **Time** | Purge tasks completed earlier than this timestamp. Format '%Y-%m-%d[T%H:%M:%S]' | [optional][default to '2026-10-10'] |
|
|
8
8
|
| **states** | [**Array<StatesEnum>**](StatesEnum.md) | List of task-states to be purged. Only 'final' states are allowed. | [optional] |
|
|
9
9
|
|
|
10
10
|
## Example
|
|
@@ -19,8 +19,13 @@ module PulpcoreClient
|
|
|
19
19
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
20
20
|
attr_accessor :base_path
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
attr_accessor :pulp_href
|
|
23
|
+
|
|
24
|
+
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
25
|
+
attr_accessor :no_content_change_since
|
|
26
|
+
|
|
27
|
+
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
|
28
|
+
attr_accessor :pulp_last_updated
|
|
24
29
|
|
|
25
30
|
# Timestamp of creation.
|
|
26
31
|
attr_accessor :pulp_created
|
|
@@ -28,28 +33,23 @@ module PulpcoreClient
|
|
|
28
33
|
# An optional content-guard.
|
|
29
34
|
attr_accessor :content_guard
|
|
30
35
|
|
|
36
|
+
# The Pulp Resource Name (PRN) of the associated optional content guard.
|
|
37
|
+
attr_accessor :content_guard_prn
|
|
38
|
+
|
|
31
39
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
32
40
|
attr_accessor :name
|
|
33
41
|
|
|
34
|
-
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
35
|
-
attr_accessor :no_content_change_since
|
|
36
|
-
|
|
37
42
|
attr_accessor :pulp_labels
|
|
38
43
|
|
|
39
|
-
# The
|
|
40
|
-
attr_accessor :
|
|
41
|
-
|
|
42
|
-
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
|
43
|
-
attr_accessor :pulp_last_updated
|
|
44
|
-
|
|
45
|
-
attr_accessor :pulp_href
|
|
46
|
-
|
|
47
|
-
# The Pulp Resource Name (PRN) of the associated optional content guard.
|
|
48
|
-
attr_accessor :content_guard_prn
|
|
44
|
+
# The URL for accessing the publication as defined by this distribution.
|
|
45
|
+
attr_accessor :base_url
|
|
49
46
|
|
|
50
47
|
# RepositoryVersion to be served
|
|
51
48
|
attr_accessor :repository_version
|
|
52
49
|
|
|
50
|
+
# The Pulp Resource Name (PRN).
|
|
51
|
+
attr_accessor :prn
|
|
52
|
+
|
|
53
53
|
# Whether this distribution should be shown in the content app.
|
|
54
54
|
attr_accessor :hidden
|
|
55
55
|
|
|
@@ -57,17 +57,17 @@ module PulpcoreClient
|
|
|
57
57
|
def self.attribute_map
|
|
58
58
|
{
|
|
59
59
|
:'base_path' => :'base_path',
|
|
60
|
-
:'
|
|
60
|
+
:'pulp_href' => :'pulp_href',
|
|
61
|
+
:'no_content_change_since' => :'no_content_change_since',
|
|
62
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
61
63
|
:'pulp_created' => :'pulp_created',
|
|
62
64
|
:'content_guard' => :'content_guard',
|
|
65
|
+
:'content_guard_prn' => :'content_guard_prn',
|
|
63
66
|
:'name' => :'name',
|
|
64
|
-
:'no_content_change_since' => :'no_content_change_since',
|
|
65
67
|
:'pulp_labels' => :'pulp_labels',
|
|
66
|
-
:'
|
|
67
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
68
|
-
:'pulp_href' => :'pulp_href',
|
|
69
|
-
:'content_guard_prn' => :'content_guard_prn',
|
|
68
|
+
:'base_url' => :'base_url',
|
|
70
69
|
:'repository_version' => :'repository_version',
|
|
70
|
+
:'prn' => :'prn',
|
|
71
71
|
:'hidden' => :'hidden'
|
|
72
72
|
}
|
|
73
73
|
end
|
|
@@ -81,17 +81,17 @@ module PulpcoreClient
|
|
|
81
81
|
def self.openapi_types
|
|
82
82
|
{
|
|
83
83
|
:'base_path' => :'String',
|
|
84
|
-
:'
|
|
84
|
+
:'pulp_href' => :'String',
|
|
85
|
+
:'no_content_change_since' => :'String',
|
|
86
|
+
:'pulp_last_updated' => :'Time',
|
|
85
87
|
:'pulp_created' => :'Time',
|
|
86
88
|
:'content_guard' => :'String',
|
|
89
|
+
:'content_guard_prn' => :'String',
|
|
87
90
|
:'name' => :'String',
|
|
88
|
-
:'no_content_change_since' => :'String',
|
|
89
91
|
:'pulp_labels' => :'Hash<String, String>',
|
|
90
|
-
:'
|
|
91
|
-
:'pulp_last_updated' => :'Time',
|
|
92
|
-
:'pulp_href' => :'String',
|
|
93
|
-
:'content_guard_prn' => :'String',
|
|
92
|
+
:'base_url' => :'String',
|
|
94
93
|
:'repository_version' => :'String',
|
|
94
|
+
:'prn' => :'String',
|
|
95
95
|
:'hidden' => :'Boolean'
|
|
96
96
|
}
|
|
97
97
|
end
|
|
@@ -125,8 +125,16 @@ module PulpcoreClient
|
|
|
125
125
|
self.base_path = nil
|
|
126
126
|
end
|
|
127
127
|
|
|
128
|
-
if attributes.key?(:'
|
|
129
|
-
self.
|
|
128
|
+
if attributes.key?(:'pulp_href')
|
|
129
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
if attributes.key?(:'no_content_change_since')
|
|
133
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
if attributes.key?(:'pulp_last_updated')
|
|
137
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
130
138
|
end
|
|
131
139
|
|
|
132
140
|
if attributes.key?(:'pulp_created')
|
|
@@ -137,42 +145,34 @@ module PulpcoreClient
|
|
|
137
145
|
self.content_guard = attributes[:'content_guard']
|
|
138
146
|
end
|
|
139
147
|
|
|
148
|
+
if attributes.key?(:'content_guard_prn')
|
|
149
|
+
self.content_guard_prn = attributes[:'content_guard_prn']
|
|
150
|
+
end
|
|
151
|
+
|
|
140
152
|
if attributes.key?(:'name')
|
|
141
153
|
self.name = attributes[:'name']
|
|
142
154
|
else
|
|
143
155
|
self.name = nil
|
|
144
156
|
end
|
|
145
157
|
|
|
146
|
-
if attributes.key?(:'no_content_change_since')
|
|
147
|
-
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
148
|
-
end
|
|
149
|
-
|
|
150
158
|
if attributes.key?(:'pulp_labels')
|
|
151
159
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
152
160
|
self.pulp_labels = value
|
|
153
161
|
end
|
|
154
162
|
end
|
|
155
163
|
|
|
156
|
-
if attributes.key?(:'
|
|
157
|
-
self.
|
|
158
|
-
end
|
|
159
|
-
|
|
160
|
-
if attributes.key?(:'pulp_last_updated')
|
|
161
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
162
|
-
end
|
|
163
|
-
|
|
164
|
-
if attributes.key?(:'pulp_href')
|
|
165
|
-
self.pulp_href = attributes[:'pulp_href']
|
|
166
|
-
end
|
|
167
|
-
|
|
168
|
-
if attributes.key?(:'content_guard_prn')
|
|
169
|
-
self.content_guard_prn = attributes[:'content_guard_prn']
|
|
164
|
+
if attributes.key?(:'base_url')
|
|
165
|
+
self.base_url = attributes[:'base_url']
|
|
170
166
|
end
|
|
171
167
|
|
|
172
168
|
if attributes.key?(:'repository_version')
|
|
173
169
|
self.repository_version = attributes[:'repository_version']
|
|
174
170
|
end
|
|
175
171
|
|
|
172
|
+
if attributes.key?(:'prn')
|
|
173
|
+
self.prn = attributes[:'prn']
|
|
174
|
+
end
|
|
175
|
+
|
|
176
176
|
if attributes.key?(:'hidden')
|
|
177
177
|
self.hidden = attributes[:'hidden']
|
|
178
178
|
else
|
|
@@ -211,17 +211,17 @@ module PulpcoreClient
|
|
|
211
211
|
return true if self.equal?(o)
|
|
212
212
|
self.class == o.class &&
|
|
213
213
|
base_path == o.base_path &&
|
|
214
|
-
|
|
214
|
+
pulp_href == o.pulp_href &&
|
|
215
|
+
no_content_change_since == o.no_content_change_since &&
|
|
216
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
215
217
|
pulp_created == o.pulp_created &&
|
|
216
218
|
content_guard == o.content_guard &&
|
|
219
|
+
content_guard_prn == o.content_guard_prn &&
|
|
217
220
|
name == o.name &&
|
|
218
|
-
no_content_change_since == o.no_content_change_since &&
|
|
219
221
|
pulp_labels == o.pulp_labels &&
|
|
220
|
-
|
|
221
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
222
|
-
pulp_href == o.pulp_href &&
|
|
223
|
-
content_guard_prn == o.content_guard_prn &&
|
|
222
|
+
base_url == o.base_url &&
|
|
224
223
|
repository_version == o.repository_version &&
|
|
224
|
+
prn == o.prn &&
|
|
225
225
|
hidden == o.hidden
|
|
226
226
|
end
|
|
227
227
|
|
|
@@ -234,7 +234,7 @@ module PulpcoreClient
|
|
|
234
234
|
# Calculates hash code according to all attributes.
|
|
235
235
|
# @return [Integer] Hash code
|
|
236
236
|
def hash
|
|
237
|
-
[base_path,
|
|
237
|
+
[base_path, pulp_href, no_content_change_since, pulp_last_updated, pulp_created, content_guard, content_guard_prn, name, pulp_labels, base_url, repository_version, prn, hidden].hash
|
|
238
238
|
end
|
|
239
239
|
|
|
240
240
|
# Builds the object from hash
|
|
@@ -33,67 +33,67 @@ describe PulpcoreClient::ArtifactDistributionResponse do
|
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
-
describe 'test attribute "
|
|
36
|
+
describe 'test attribute "pulp_href"' do
|
|
37
37
|
it 'should work' do
|
|
38
38
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
-
describe 'test attribute "
|
|
42
|
+
describe 'test attribute "no_content_change_since"' do
|
|
43
43
|
it 'should work' do
|
|
44
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
45
|
end
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
-
describe 'test attribute "
|
|
48
|
+
describe 'test attribute "pulp_last_updated"' do
|
|
49
49
|
it 'should work' do
|
|
50
50
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
51
|
end
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
-
describe 'test attribute "
|
|
54
|
+
describe 'test attribute "pulp_created"' do
|
|
55
55
|
it 'should work' do
|
|
56
56
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
57
|
end
|
|
58
58
|
end
|
|
59
59
|
|
|
60
|
-
describe 'test attribute "
|
|
60
|
+
describe 'test attribute "content_guard"' do
|
|
61
61
|
it 'should work' do
|
|
62
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
63
|
end
|
|
64
64
|
end
|
|
65
65
|
|
|
66
|
-
describe 'test attribute "
|
|
66
|
+
describe 'test attribute "content_guard_prn"' do
|
|
67
67
|
it 'should work' do
|
|
68
68
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
69
|
end
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
-
describe 'test attribute "
|
|
72
|
+
describe 'test attribute "name"' do
|
|
73
73
|
it 'should work' do
|
|
74
74
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
75
|
end
|
|
76
76
|
end
|
|
77
77
|
|
|
78
|
-
describe 'test attribute "
|
|
78
|
+
describe 'test attribute "pulp_labels"' do
|
|
79
79
|
it 'should work' do
|
|
80
80
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
81
|
end
|
|
82
82
|
end
|
|
83
83
|
|
|
84
|
-
describe 'test attribute "
|
|
84
|
+
describe 'test attribute "base_url"' do
|
|
85
85
|
it 'should work' do
|
|
86
86
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
87
87
|
end
|
|
88
88
|
end
|
|
89
89
|
|
|
90
|
-
describe 'test attribute "
|
|
90
|
+
describe 'test attribute "repository_version"' do
|
|
91
91
|
it 'should work' do
|
|
92
92
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
93
93
|
end
|
|
94
94
|
end
|
|
95
95
|
|
|
96
|
-
describe 'test attribute "
|
|
96
|
+
describe 'test attribute "prn"' do
|
|
97
97
|
it 'should work' do
|
|
98
98
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
99
99
|
end
|