pulpcore_client 3.111.2 → 3.112.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 59232b533f67e2fa4a1ce5420123a0ebcbc69a27caa046f08a142383e899a65e
|
|
4
|
+
data.tar.gz: 1ca971fe519dbca4acb2183a4c9c51600f4cf8b8dce4a7a10d655e7685a097db
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7b8336b8132c9b49ca5d87cebe408dbeb3832cb6b5310955647348a58423b7ed25528908e6230f09380aa5c7e70f7ed84b9b77114c77ed3ea7a373354249f88d
|
|
7
|
+
data.tar.gz: 1ebed8c50d3e72bcb0688fff14b00f883855724016197d123e8a02468e8d58a263c00e8546338994b055c9cc3e839e547b1dd36eab11f06a5890e4ff1054cdf0
|
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.
|
|
10
|
+
- Package version: 3.112.0
|
|
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.
|
|
28
|
+
gem install ./pulpcore_client-3.112.0.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulpcore_client-3.
|
|
31
|
+
(for development, run `gem install --dev ./pulpcore_client-3.112.0.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.
|
|
37
|
+
gem 'pulpcore_client', '~> 3.112.0'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -4,19 +4,19 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **content_guard_prn** | **String** | The Pulp Resource Name (PRN) of the associated optional content guard. | [optional][readonly] |
|
|
8
|
-
| **content_guard** | **String** | An optional content-guard. | [optional] |
|
|
9
7
|
| **pulp_href** | **String** | | [optional][readonly] |
|
|
10
|
-
| **
|
|
11
|
-
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
12
|
-
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
|
13
|
-
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
|
14
|
-
| **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] |
|
|
8
|
+
| **content_guard** | **String** | An optional content-guard. | [optional] |
|
|
15
9
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
10
|
+
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
|
16
11
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
|
12
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
13
|
+
| **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] |
|
|
17
14
|
| **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional][readonly] |
|
|
18
|
-
| **
|
|
15
|
+
| **content_guard_prn** | **String** | The Pulp Resource Name (PRN) of the associated optional content guard. | [optional][readonly] |
|
|
19
16
|
| **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] |
|
|
17
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
18
|
+
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
|
19
|
+
| **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\") | |
|
|
20
20
|
|
|
21
21
|
## Example
|
|
22
22
|
|
|
@@ -24,19 +24,19 @@
|
|
|
24
24
|
require 'pulpcore_client'
|
|
25
25
|
|
|
26
26
|
instance = PulpcoreClient::ArtifactDistributionResponse.new(
|
|
27
|
-
content_guard_prn: null,
|
|
28
|
-
content_guard: null,
|
|
29
27
|
pulp_href: null,
|
|
30
|
-
|
|
31
|
-
pulp_created: null,
|
|
32
|
-
hidden: null,
|
|
33
|
-
repository_version: null,
|
|
34
|
-
pulp_last_updated: null,
|
|
28
|
+
content_guard: null,
|
|
35
29
|
pulp_labels: null,
|
|
30
|
+
repository_version: null,
|
|
36
31
|
name: null,
|
|
32
|
+
prn: null,
|
|
33
|
+
pulp_last_updated: null,
|
|
37
34
|
base_url: null,
|
|
38
|
-
|
|
39
|
-
no_content_change_since: null
|
|
35
|
+
content_guard_prn: null,
|
|
36
|
+
no_content_change_since: null,
|
|
37
|
+
pulp_created: null,
|
|
38
|
+
hidden: null,
|
|
39
|
+
base_path: null
|
|
40
40
|
)
|
|
41
41
|
```
|
|
42
42
|
|
|
@@ -16,59 +16,59 @@ require 'time'
|
|
|
16
16
|
module PulpcoreClient
|
|
17
17
|
# A serializer for ArtifactDistribution.
|
|
18
18
|
class ArtifactDistributionResponse
|
|
19
|
-
|
|
20
|
-
attr_accessor :content_guard_prn
|
|
19
|
+
attr_accessor :pulp_href
|
|
21
20
|
|
|
22
21
|
# An optional content-guard.
|
|
23
22
|
attr_accessor :content_guard
|
|
24
23
|
|
|
25
|
-
attr_accessor :
|
|
26
|
-
|
|
27
|
-
# The Pulp Resource Name (PRN).
|
|
28
|
-
attr_accessor :prn
|
|
29
|
-
|
|
30
|
-
# Timestamp of creation.
|
|
31
|
-
attr_accessor :pulp_created
|
|
32
|
-
|
|
33
|
-
# Whether this distribution should be shown in the content app.
|
|
34
|
-
attr_accessor :hidden
|
|
24
|
+
attr_accessor :pulp_labels
|
|
35
25
|
|
|
36
26
|
# RepositoryVersion to be served
|
|
37
27
|
attr_accessor :repository_version
|
|
38
28
|
|
|
39
|
-
# 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.
|
|
40
|
-
attr_accessor :pulp_last_updated
|
|
41
|
-
|
|
42
|
-
attr_accessor :pulp_labels
|
|
43
|
-
|
|
44
29
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
45
30
|
attr_accessor :name
|
|
46
31
|
|
|
32
|
+
# The Pulp Resource Name (PRN).
|
|
33
|
+
attr_accessor :prn
|
|
34
|
+
|
|
35
|
+
# 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.
|
|
36
|
+
attr_accessor :pulp_last_updated
|
|
37
|
+
|
|
47
38
|
# The URL for accessing the publication as defined by this distribution.
|
|
48
39
|
attr_accessor :base_url
|
|
49
40
|
|
|
50
|
-
# The
|
|
51
|
-
attr_accessor :
|
|
41
|
+
# The Pulp Resource Name (PRN) of the associated optional content guard.
|
|
42
|
+
attr_accessor :content_guard_prn
|
|
52
43
|
|
|
53
44
|
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
54
45
|
attr_accessor :no_content_change_since
|
|
55
46
|
|
|
47
|
+
# Timestamp of creation.
|
|
48
|
+
attr_accessor :pulp_created
|
|
49
|
+
|
|
50
|
+
# Whether this distribution should be shown in the content app.
|
|
51
|
+
attr_accessor :hidden
|
|
52
|
+
|
|
53
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
54
|
+
attr_accessor :base_path
|
|
55
|
+
|
|
56
56
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
57
57
|
def self.attribute_map
|
|
58
58
|
{
|
|
59
|
-
:'content_guard_prn' => :'content_guard_prn',
|
|
60
|
-
:'content_guard' => :'content_guard',
|
|
61
59
|
:'pulp_href' => :'pulp_href',
|
|
62
|
-
:'
|
|
63
|
-
:'pulp_created' => :'pulp_created',
|
|
64
|
-
:'hidden' => :'hidden',
|
|
65
|
-
:'repository_version' => :'repository_version',
|
|
66
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
60
|
+
:'content_guard' => :'content_guard',
|
|
67
61
|
:'pulp_labels' => :'pulp_labels',
|
|
62
|
+
:'repository_version' => :'repository_version',
|
|
68
63
|
:'name' => :'name',
|
|
64
|
+
:'prn' => :'prn',
|
|
65
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
69
66
|
:'base_url' => :'base_url',
|
|
70
|
-
:'
|
|
71
|
-
:'no_content_change_since' => :'no_content_change_since'
|
|
67
|
+
:'content_guard_prn' => :'content_guard_prn',
|
|
68
|
+
:'no_content_change_since' => :'no_content_change_since',
|
|
69
|
+
:'pulp_created' => :'pulp_created',
|
|
70
|
+
:'hidden' => :'hidden',
|
|
71
|
+
:'base_path' => :'base_path'
|
|
72
72
|
}
|
|
73
73
|
end
|
|
74
74
|
|
|
@@ -80,19 +80,19 @@ module PulpcoreClient
|
|
|
80
80
|
# Attribute type mapping.
|
|
81
81
|
def self.openapi_types
|
|
82
82
|
{
|
|
83
|
-
:'content_guard_prn' => :'String',
|
|
84
|
-
:'content_guard' => :'String',
|
|
85
83
|
:'pulp_href' => :'String',
|
|
86
|
-
:'
|
|
87
|
-
:'pulp_created' => :'Time',
|
|
88
|
-
:'hidden' => :'Boolean',
|
|
89
|
-
:'repository_version' => :'String',
|
|
90
|
-
:'pulp_last_updated' => :'Time',
|
|
84
|
+
:'content_guard' => :'String',
|
|
91
85
|
:'pulp_labels' => :'Hash<String, String>',
|
|
86
|
+
:'repository_version' => :'String',
|
|
92
87
|
:'name' => :'String',
|
|
88
|
+
:'prn' => :'String',
|
|
89
|
+
:'pulp_last_updated' => :'Time',
|
|
93
90
|
:'base_url' => :'String',
|
|
94
|
-
:'
|
|
95
|
-
:'no_content_change_since' => :'String'
|
|
91
|
+
:'content_guard_prn' => :'String',
|
|
92
|
+
:'no_content_change_since' => :'String',
|
|
93
|
+
:'pulp_created' => :'Time',
|
|
94
|
+
:'hidden' => :'Boolean',
|
|
95
|
+
:'base_path' => :'String'
|
|
96
96
|
}
|
|
97
97
|
end
|
|
98
98
|
|
|
@@ -119,54 +119,58 @@ module PulpcoreClient
|
|
|
119
119
|
h[k.to_sym] = v
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
if attributes.key?(:'
|
|
123
|
-
self.
|
|
122
|
+
if attributes.key?(:'pulp_href')
|
|
123
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
124
124
|
end
|
|
125
125
|
|
|
126
126
|
if attributes.key?(:'content_guard')
|
|
127
127
|
self.content_guard = attributes[:'content_guard']
|
|
128
128
|
end
|
|
129
129
|
|
|
130
|
-
if attributes.key?(:'
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
if attributes.key?(:'prn')
|
|
135
|
-
self.prn = attributes[:'prn']
|
|
130
|
+
if attributes.key?(:'pulp_labels')
|
|
131
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
132
|
+
self.pulp_labels = value
|
|
133
|
+
end
|
|
136
134
|
end
|
|
137
135
|
|
|
138
|
-
if attributes.key?(:'
|
|
139
|
-
self.
|
|
136
|
+
if attributes.key?(:'repository_version')
|
|
137
|
+
self.repository_version = attributes[:'repository_version']
|
|
140
138
|
end
|
|
141
139
|
|
|
142
|
-
if attributes.key?(:'
|
|
143
|
-
self.
|
|
140
|
+
if attributes.key?(:'name')
|
|
141
|
+
self.name = attributes[:'name']
|
|
144
142
|
else
|
|
145
|
-
self.
|
|
143
|
+
self.name = nil
|
|
146
144
|
end
|
|
147
145
|
|
|
148
|
-
if attributes.key?(:'
|
|
149
|
-
self.
|
|
146
|
+
if attributes.key?(:'prn')
|
|
147
|
+
self.prn = attributes[:'prn']
|
|
150
148
|
end
|
|
151
149
|
|
|
152
150
|
if attributes.key?(:'pulp_last_updated')
|
|
153
151
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
154
152
|
end
|
|
155
153
|
|
|
156
|
-
if attributes.key?(:'
|
|
157
|
-
|
|
158
|
-
self.pulp_labels = value
|
|
159
|
-
end
|
|
154
|
+
if attributes.key?(:'base_url')
|
|
155
|
+
self.base_url = attributes[:'base_url']
|
|
160
156
|
end
|
|
161
157
|
|
|
162
|
-
if attributes.key?(:'
|
|
163
|
-
self.
|
|
164
|
-
else
|
|
165
|
-
self.name = nil
|
|
158
|
+
if attributes.key?(:'content_guard_prn')
|
|
159
|
+
self.content_guard_prn = attributes[:'content_guard_prn']
|
|
166
160
|
end
|
|
167
161
|
|
|
168
|
-
if attributes.key?(:'
|
|
169
|
-
self.
|
|
162
|
+
if attributes.key?(:'no_content_change_since')
|
|
163
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
164
|
+
end
|
|
165
|
+
|
|
166
|
+
if attributes.key?(:'pulp_created')
|
|
167
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
168
|
+
end
|
|
169
|
+
|
|
170
|
+
if attributes.key?(:'hidden')
|
|
171
|
+
self.hidden = attributes[:'hidden']
|
|
172
|
+
else
|
|
173
|
+
self.hidden = false
|
|
170
174
|
end
|
|
171
175
|
|
|
172
176
|
if attributes.key?(:'base_path')
|
|
@@ -174,10 +178,6 @@ module PulpcoreClient
|
|
|
174
178
|
else
|
|
175
179
|
self.base_path = nil
|
|
176
180
|
end
|
|
177
|
-
|
|
178
|
-
if attributes.key?(:'no_content_change_since')
|
|
179
|
-
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
180
|
-
end
|
|
181
181
|
end
|
|
182
182
|
|
|
183
183
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -210,19 +210,19 @@ module PulpcoreClient
|
|
|
210
210
|
def ==(o)
|
|
211
211
|
return true if self.equal?(o)
|
|
212
212
|
self.class == o.class &&
|
|
213
|
-
content_guard_prn == o.content_guard_prn &&
|
|
214
|
-
content_guard == o.content_guard &&
|
|
215
213
|
pulp_href == o.pulp_href &&
|
|
216
|
-
|
|
217
|
-
pulp_created == o.pulp_created &&
|
|
218
|
-
hidden == o.hidden &&
|
|
219
|
-
repository_version == o.repository_version &&
|
|
220
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
214
|
+
content_guard == o.content_guard &&
|
|
221
215
|
pulp_labels == o.pulp_labels &&
|
|
216
|
+
repository_version == o.repository_version &&
|
|
222
217
|
name == o.name &&
|
|
218
|
+
prn == o.prn &&
|
|
219
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
223
220
|
base_url == o.base_url &&
|
|
224
|
-
|
|
225
|
-
no_content_change_since == o.no_content_change_since
|
|
221
|
+
content_guard_prn == o.content_guard_prn &&
|
|
222
|
+
no_content_change_since == o.no_content_change_since &&
|
|
223
|
+
pulp_created == o.pulp_created &&
|
|
224
|
+
hidden == o.hidden &&
|
|
225
|
+
base_path == o.base_path
|
|
226
226
|
end
|
|
227
227
|
|
|
228
228
|
# @see the `==` method
|
|
@@ -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
|
-
[
|
|
237
|
+
[pulp_href, content_guard, pulp_labels, repository_version, name, prn, pulp_last_updated, base_url, content_guard_prn, no_content_change_since, pulp_created, hidden, base_path].hash
|
|
238
238
|
end
|
|
239
239
|
|
|
240
240
|
# Builds the object from hash
|
|
@@ -27,7 +27,7 @@ describe PulpcoreClient::ArtifactDistributionResponse do
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
describe 'test attribute "
|
|
30
|
+
describe 'test attribute "pulp_href"' do
|
|
31
31
|
it 'should work' do
|
|
32
32
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
33
|
end
|
|
@@ -39,67 +39,67 @@ describe PulpcoreClient::ArtifactDistributionResponse do
|
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
-
describe 'test attribute "
|
|
42
|
+
describe 'test attribute "pulp_labels"' 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 "repository_version"' 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 "name"' 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 "prn"' 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 "pulp_last_updated"' 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 "base_url"' 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 "content_guard_prn"' 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 "no_content_change_since"' 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 "pulp_created"' 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 "hidden"' 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
|
|
100
100
|
end
|
|
101
101
|
|
|
102
|
-
describe 'test attribute "
|
|
102
|
+
describe 'test attribute "base_path"' do
|
|
103
103
|
it 'should work' do
|
|
104
104
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
105
105
|
end
|