pulpcore_client 3.63.37 → 3.63.39
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: 4ea9c8375732811dd9b859616f2f786a961aa124dd52606391add7288cd31ed0
|
|
4
|
+
data.tar.gz: 8df951c45fe55280c0387c807c1a8cea78996e425f1d16a1fe5575421bdbb8a1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 155c64246808bacb25540632690d7c6443cadc0b4a2d6286505d9a00927ccd4d72cf48eaef5e740594181e5e6684d176312fe76b7b438fbbc8fab61bc6816980
|
|
7
|
+
data.tar.gz: 84e4ee66cdfa30a2c2406b5a20f10b18e0b2bc5262e20ed9f8a1b6fe25eaf718f645c5a38ccb47bcb55d8cf53577bf47a221dea910bc4469fb4c2c06953809af
|
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.63.
|
|
10
|
+
- Package version: 3.63.39
|
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
13
13
|
|
|
@@ -24,16 +24,16 @@ gem build pulpcore_client.gemspec
|
|
|
24
24
|
Then either install the gem locally:
|
|
25
25
|
|
|
26
26
|
```shell
|
|
27
|
-
gem install ./pulpcore_client-3.63.
|
|
27
|
+
gem install ./pulpcore_client-3.63.39.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./pulpcore_client-3.63.
|
|
30
|
+
(for development, run `gem install --dev ./pulpcore_client-3.63.39.gem` to install the development dependencies)
|
|
31
31
|
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
33
33
|
|
|
34
34
|
Finally add this to the Gemfile:
|
|
35
35
|
|
|
36
|
-
gem 'pulpcore_client', '~> 3.63.
|
|
36
|
+
gem 'pulpcore_client', '~> 3.63.39'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -4,34 +4,34 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**
|
|
7
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
9
9
|
**pulp_last_updated** | **DateTime** | 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]
|
|
10
|
-
**
|
|
11
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
12
|
-
**content_guard** | **String** | An optional content-guard. | [optional]
|
|
13
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
14
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
|
10
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
15
11
|
**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\") |
|
|
16
12
|
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
|
17
|
-
**
|
|
13
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
|
14
|
+
**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]
|
|
15
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
16
|
+
**content_guard** | **String** | An optional content-guard. | [optional]
|
|
17
|
+
**prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
|
|
18
18
|
|
|
19
19
|
## Code Sample
|
|
20
20
|
|
|
21
21
|
```ruby
|
|
22
22
|
require 'PulpcoreClient'
|
|
23
23
|
|
|
24
|
-
instance = PulpcoreClient::ArtifactDistributionResponse.new(
|
|
24
|
+
instance = PulpcoreClient::ArtifactDistributionResponse.new(name: null,
|
|
25
25
|
pulp_created: null,
|
|
26
26
|
pulp_last_updated: null,
|
|
27
|
-
|
|
28
|
-
pulp_labels: null,
|
|
29
|
-
content_guard: null,
|
|
30
|
-
name: null,
|
|
31
|
-
pulp_href: null,
|
|
27
|
+
hidden: null,
|
|
32
28
|
base_path: null,
|
|
33
29
|
base_url: null,
|
|
34
|
-
|
|
30
|
+
pulp_href: null,
|
|
31
|
+
no_content_change_since: null,
|
|
32
|
+
pulp_labels: null,
|
|
33
|
+
content_guard: null,
|
|
34
|
+
prn: null)
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
|
|
@@ -15,8 +15,8 @@ require 'date'
|
|
|
15
15
|
module PulpcoreClient
|
|
16
16
|
# A serializer for ArtifactDistribution.
|
|
17
17
|
class ArtifactDistributionResponse
|
|
18
|
-
#
|
|
19
|
-
attr_accessor :
|
|
18
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
19
|
+
attr_accessor :name
|
|
20
20
|
|
|
21
21
|
# Timestamp of creation.
|
|
22
22
|
attr_accessor :pulp_created
|
|
@@ -24,18 +24,8 @@ module PulpcoreClient
|
|
|
24
24
|
# 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.
|
|
25
25
|
attr_accessor :pulp_last_updated
|
|
26
26
|
|
|
27
|
-
#
|
|
28
|
-
attr_accessor :
|
|
29
|
-
|
|
30
|
-
attr_accessor :pulp_labels
|
|
31
|
-
|
|
32
|
-
# An optional content-guard.
|
|
33
|
-
attr_accessor :content_guard
|
|
34
|
-
|
|
35
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
|
36
|
-
attr_accessor :name
|
|
37
|
-
|
|
38
|
-
attr_accessor :pulp_href
|
|
27
|
+
# Whether this distribution should be shown in the content app.
|
|
28
|
+
attr_accessor :hidden
|
|
39
29
|
|
|
40
30
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
41
31
|
attr_accessor :base_path
|
|
@@ -43,40 +33,50 @@ module PulpcoreClient
|
|
|
43
33
|
# The URL for accessing the publication as defined by this distribution.
|
|
44
34
|
attr_accessor :base_url
|
|
45
35
|
|
|
46
|
-
|
|
47
|
-
|
|
36
|
+
attr_accessor :pulp_href
|
|
37
|
+
|
|
38
|
+
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
39
|
+
attr_accessor :no_content_change_since
|
|
40
|
+
|
|
41
|
+
attr_accessor :pulp_labels
|
|
42
|
+
|
|
43
|
+
# An optional content-guard.
|
|
44
|
+
attr_accessor :content_guard
|
|
45
|
+
|
|
46
|
+
# The Pulp Resource Name (PRN).
|
|
47
|
+
attr_accessor :prn
|
|
48
48
|
|
|
49
49
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
50
50
|
def self.attribute_map
|
|
51
51
|
{
|
|
52
|
-
:'
|
|
52
|
+
:'name' => :'name',
|
|
53
53
|
:'pulp_created' => :'pulp_created',
|
|
54
54
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
55
|
-
:'
|
|
56
|
-
:'pulp_labels' => :'pulp_labels',
|
|
57
|
-
:'content_guard' => :'content_guard',
|
|
58
|
-
:'name' => :'name',
|
|
59
|
-
:'pulp_href' => :'pulp_href',
|
|
55
|
+
:'hidden' => :'hidden',
|
|
60
56
|
:'base_path' => :'base_path',
|
|
61
57
|
:'base_url' => :'base_url',
|
|
62
|
-
:'
|
|
58
|
+
:'pulp_href' => :'pulp_href',
|
|
59
|
+
:'no_content_change_since' => :'no_content_change_since',
|
|
60
|
+
:'pulp_labels' => :'pulp_labels',
|
|
61
|
+
:'content_guard' => :'content_guard',
|
|
62
|
+
:'prn' => :'prn'
|
|
63
63
|
}
|
|
64
64
|
end
|
|
65
65
|
|
|
66
66
|
# Attribute type mapping.
|
|
67
67
|
def self.openapi_types
|
|
68
68
|
{
|
|
69
|
-
:'
|
|
69
|
+
:'name' => :'String',
|
|
70
70
|
:'pulp_created' => :'DateTime',
|
|
71
71
|
:'pulp_last_updated' => :'DateTime',
|
|
72
|
-
:'
|
|
73
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
74
|
-
:'content_guard' => :'String',
|
|
75
|
-
:'name' => :'String',
|
|
76
|
-
:'pulp_href' => :'String',
|
|
72
|
+
:'hidden' => :'Boolean',
|
|
77
73
|
:'base_path' => :'String',
|
|
78
74
|
:'base_url' => :'String',
|
|
79
|
-
:'
|
|
75
|
+
:'pulp_href' => :'String',
|
|
76
|
+
:'no_content_change_since' => :'String',
|
|
77
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
78
|
+
:'content_guard' => :'String',
|
|
79
|
+
:'prn' => :'String'
|
|
80
80
|
}
|
|
81
81
|
end
|
|
82
82
|
|
|
@@ -102,8 +102,8 @@ module PulpcoreClient
|
|
|
102
102
|
h[k.to_sym] = v
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
if attributes.key?(:'
|
|
106
|
-
self.
|
|
105
|
+
if attributes.key?(:'name')
|
|
106
|
+
self.name = attributes[:'name']
|
|
107
107
|
end
|
|
108
108
|
|
|
109
109
|
if attributes.key?(:'pulp_created')
|
|
@@ -114,40 +114,40 @@ module PulpcoreClient
|
|
|
114
114
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
115
115
|
end
|
|
116
116
|
|
|
117
|
-
if attributes.key?(:'
|
|
118
|
-
self.
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
if attributes.key?(:'pulp_labels')
|
|
122
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
123
|
-
self.pulp_labels = value
|
|
124
|
-
end
|
|
117
|
+
if attributes.key?(:'hidden')
|
|
118
|
+
self.hidden = attributes[:'hidden']
|
|
119
|
+
else
|
|
120
|
+
self.hidden = false
|
|
125
121
|
end
|
|
126
122
|
|
|
127
|
-
if attributes.key?(:'
|
|
128
|
-
self.
|
|
123
|
+
if attributes.key?(:'base_path')
|
|
124
|
+
self.base_path = attributes[:'base_path']
|
|
129
125
|
end
|
|
130
126
|
|
|
131
|
-
if attributes.key?(:'
|
|
132
|
-
self.
|
|
127
|
+
if attributes.key?(:'base_url')
|
|
128
|
+
self.base_url = attributes[:'base_url']
|
|
133
129
|
end
|
|
134
130
|
|
|
135
131
|
if attributes.key?(:'pulp_href')
|
|
136
132
|
self.pulp_href = attributes[:'pulp_href']
|
|
137
133
|
end
|
|
138
134
|
|
|
139
|
-
if attributes.key?(:'
|
|
140
|
-
self.
|
|
135
|
+
if attributes.key?(:'no_content_change_since')
|
|
136
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
141
137
|
end
|
|
142
138
|
|
|
143
|
-
if attributes.key?(:'
|
|
144
|
-
|
|
139
|
+
if attributes.key?(:'pulp_labels')
|
|
140
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
141
|
+
self.pulp_labels = value
|
|
142
|
+
end
|
|
145
143
|
end
|
|
146
144
|
|
|
147
|
-
if attributes.key?(:'
|
|
148
|
-
self.
|
|
149
|
-
|
|
150
|
-
|
|
145
|
+
if attributes.key?(:'content_guard')
|
|
146
|
+
self.content_guard = attributes[:'content_guard']
|
|
147
|
+
end
|
|
148
|
+
|
|
149
|
+
if attributes.key?(:'prn')
|
|
150
|
+
self.prn = attributes[:'prn']
|
|
151
151
|
end
|
|
152
152
|
end
|
|
153
153
|
|
|
@@ -179,17 +179,17 @@ module PulpcoreClient
|
|
|
179
179
|
def ==(o)
|
|
180
180
|
return true if self.equal?(o)
|
|
181
181
|
self.class == o.class &&
|
|
182
|
-
|
|
182
|
+
name == o.name &&
|
|
183
183
|
pulp_created == o.pulp_created &&
|
|
184
184
|
pulp_last_updated == o.pulp_last_updated &&
|
|
185
|
-
|
|
186
|
-
pulp_labels == o.pulp_labels &&
|
|
187
|
-
content_guard == o.content_guard &&
|
|
188
|
-
name == o.name &&
|
|
189
|
-
pulp_href == o.pulp_href &&
|
|
185
|
+
hidden == o.hidden &&
|
|
190
186
|
base_path == o.base_path &&
|
|
191
187
|
base_url == o.base_url &&
|
|
192
|
-
|
|
188
|
+
pulp_href == o.pulp_href &&
|
|
189
|
+
no_content_change_since == o.no_content_change_since &&
|
|
190
|
+
pulp_labels == o.pulp_labels &&
|
|
191
|
+
content_guard == o.content_guard &&
|
|
192
|
+
prn == o.prn
|
|
193
193
|
end
|
|
194
194
|
|
|
195
195
|
# @see the `==` method
|
|
@@ -201,7 +201,7 @@ module PulpcoreClient
|
|
|
201
201
|
# Calculates hash code according to all attributes.
|
|
202
202
|
# @return [Integer] Hash code
|
|
203
203
|
def hash
|
|
204
|
-
[
|
|
204
|
+
[name, pulp_created, pulp_last_updated, hidden, base_path, base_url, pulp_href, no_content_change_since, pulp_labels, content_guard, prn].hash
|
|
205
205
|
end
|
|
206
206
|
|
|
207
207
|
# Builds the object from hash
|
|
@@ -32,7 +32,7 @@ describe 'ArtifactDistributionResponse' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpcoreClient::ArtifactDistributionResponse)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "name"' do
|
|
36
36
|
it 'should work' do
|
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
38
|
end
|
|
@@ -50,49 +50,49 @@ describe 'ArtifactDistributionResponse' do
|
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
-
describe 'test attribute "
|
|
53
|
+
describe 'test attribute "hidden"' do
|
|
54
54
|
it 'should work' do
|
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
describe 'test attribute "
|
|
59
|
+
describe 'test attribute "base_path"' do
|
|
60
60
|
it 'should work' do
|
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
62
|
end
|
|
63
63
|
end
|
|
64
64
|
|
|
65
|
-
describe 'test attribute "
|
|
65
|
+
describe 'test attribute "base_url"' do
|
|
66
66
|
it 'should work' do
|
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
68
68
|
end
|
|
69
69
|
end
|
|
70
70
|
|
|
71
|
-
describe 'test attribute "
|
|
71
|
+
describe 'test attribute "pulp_href"' do
|
|
72
72
|
it 'should work' do
|
|
73
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
74
74
|
end
|
|
75
75
|
end
|
|
76
76
|
|
|
77
|
-
describe 'test attribute "
|
|
77
|
+
describe 'test attribute "no_content_change_since"' do
|
|
78
78
|
it 'should work' do
|
|
79
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
80
80
|
end
|
|
81
81
|
end
|
|
82
82
|
|
|
83
|
-
describe 'test attribute "
|
|
83
|
+
describe 'test attribute "pulp_labels"' do
|
|
84
84
|
it 'should work' do
|
|
85
85
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
86
86
|
end
|
|
87
87
|
end
|
|
88
88
|
|
|
89
|
-
describe 'test attribute "
|
|
89
|
+
describe 'test attribute "content_guard"' do
|
|
90
90
|
it 'should work' do
|
|
91
91
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
92
92
|
end
|
|
93
93
|
end
|
|
94
94
|
|
|
95
|
-
describe 'test attribute "
|
|
95
|
+
describe 'test attribute "prn"' do
|
|
96
96
|
it 'should work' do
|
|
97
97
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
98
98
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pulpcore_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.63.
|
|
4
|
+
version: 3.63.39
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-05-
|
|
11
|
+
date: 2026-05-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|