pulpcore_client 3.63.27 → 3.63.28
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: 4eca46c67fa539d84293b807b0f7410473438ffc44e998aba0488aabc72d5c87
|
|
4
|
+
data.tar.gz: 0e6802a19ad2a5e4518a7470fc24d8348d23320ab3e7a320ff19a614240c6d4b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 36b876fb30122970613b8d49c657d4db74019d3d65b48c2bf12474947be310b6b96d5f84cd091fb55fa8531ff2958ef2b8d0114b206b540f9a5277766d1ed766
|
|
7
|
+
data.tar.gz: aac2a482830332c915ff30590e98058c519f590ce11a7fc737a35a63c9c0643ebb558fd4ffde26a498dc289e64b3211a27ab1bb8d6926063b7624cdc3adc2213
|
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.28
|
|
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.28.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.28.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.28'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -4,34 +4,34 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
|
|
8
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
7
9
|
**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
|
-
**
|
|
10
|
+
**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]
|
|
9
11
|
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
12
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
10
13
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
11
|
-
**
|
|
12
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
13
|
-
**content_guard** | **String** | An optional content-guard. | [optional]
|
|
14
|
+
**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]
|
|
14
15
|
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
|
15
|
-
**
|
|
16
|
-
**
|
|
17
|
-
**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]
|
|
16
|
+
**content_guard** | **String** | An optional content-guard. | [optional]
|
|
17
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
|
18
18
|
|
|
19
19
|
## Code Sample
|
|
20
20
|
|
|
21
21
|
```ruby
|
|
22
22
|
require 'PulpcoreClient'
|
|
23
23
|
|
|
24
|
-
instance = PulpcoreClient::ArtifactDistributionResponse.new(
|
|
25
|
-
|
|
24
|
+
instance = PulpcoreClient::ArtifactDistributionResponse.new(prn: null,
|
|
25
|
+
name: null,
|
|
26
|
+
base_path: null,
|
|
27
|
+
no_content_change_since: null,
|
|
26
28
|
hidden: null,
|
|
29
|
+
pulp_created: null,
|
|
27
30
|
pulp_labels: null,
|
|
28
|
-
|
|
29
|
-
name: null,
|
|
30
|
-
content_guard: null,
|
|
31
|
+
pulp_last_updated: null,
|
|
31
32
|
base_url: null,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
no_content_change_since: null)
|
|
33
|
+
content_guard: null,
|
|
34
|
+
pulp_href: null)
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
|
|
@@ -15,68 +15,68 @@ require 'date'
|
|
|
15
15
|
module PulpcoreClient
|
|
16
16
|
# A serializer for ArtifactDistribution.
|
|
17
17
|
class ArtifactDistributionResponse
|
|
18
|
+
# The Pulp Resource Name (PRN).
|
|
19
|
+
attr_accessor :prn
|
|
20
|
+
|
|
21
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
22
|
+
attr_accessor :name
|
|
23
|
+
|
|
18
24
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
19
25
|
attr_accessor :base_path
|
|
20
26
|
|
|
21
|
-
# Timestamp
|
|
22
|
-
attr_accessor :
|
|
27
|
+
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
28
|
+
attr_accessor :no_content_change_since
|
|
23
29
|
|
|
24
30
|
# Whether this distribution should be shown in the content app.
|
|
25
31
|
attr_accessor :hidden
|
|
26
32
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
attr_accessor :pulp_href
|
|
33
|
+
# Timestamp of creation.
|
|
34
|
+
attr_accessor :pulp_created
|
|
30
35
|
|
|
31
|
-
|
|
32
|
-
attr_accessor :name
|
|
36
|
+
attr_accessor :pulp_labels
|
|
33
37
|
|
|
34
|
-
#
|
|
35
|
-
attr_accessor :
|
|
38
|
+
# 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.
|
|
39
|
+
attr_accessor :pulp_last_updated
|
|
36
40
|
|
|
37
41
|
# The URL for accessing the publication as defined by this distribution.
|
|
38
42
|
attr_accessor :base_url
|
|
39
43
|
|
|
40
|
-
#
|
|
41
|
-
attr_accessor :
|
|
42
|
-
|
|
43
|
-
# Timestamp of creation.
|
|
44
|
-
attr_accessor :pulp_created
|
|
44
|
+
# An optional content-guard.
|
|
45
|
+
attr_accessor :content_guard
|
|
45
46
|
|
|
46
|
-
|
|
47
|
-
attr_accessor :no_content_change_since
|
|
47
|
+
attr_accessor :pulp_href
|
|
48
48
|
|
|
49
49
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
50
50
|
def self.attribute_map
|
|
51
51
|
{
|
|
52
|
+
:'prn' => :'prn',
|
|
53
|
+
:'name' => :'name',
|
|
52
54
|
:'base_path' => :'base_path',
|
|
53
|
-
:'
|
|
55
|
+
:'no_content_change_since' => :'no_content_change_since',
|
|
54
56
|
:'hidden' => :'hidden',
|
|
57
|
+
:'pulp_created' => :'pulp_created',
|
|
55
58
|
:'pulp_labels' => :'pulp_labels',
|
|
56
|
-
:'
|
|
57
|
-
:'name' => :'name',
|
|
58
|
-
:'content_guard' => :'content_guard',
|
|
59
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
59
60
|
:'base_url' => :'base_url',
|
|
60
|
-
:'
|
|
61
|
-
:'
|
|
62
|
-
:'no_content_change_since' => :'no_content_change_since'
|
|
61
|
+
:'content_guard' => :'content_guard',
|
|
62
|
+
:'pulp_href' => :'pulp_href'
|
|
63
63
|
}
|
|
64
64
|
end
|
|
65
65
|
|
|
66
66
|
# Attribute type mapping.
|
|
67
67
|
def self.openapi_types
|
|
68
68
|
{
|
|
69
|
+
:'prn' => :'String',
|
|
70
|
+
:'name' => :'String',
|
|
69
71
|
:'base_path' => :'String',
|
|
70
|
-
:'
|
|
72
|
+
:'no_content_change_since' => :'String',
|
|
71
73
|
:'hidden' => :'Boolean',
|
|
74
|
+
:'pulp_created' => :'DateTime',
|
|
72
75
|
:'pulp_labels' => :'Hash<String, String>',
|
|
73
|
-
:'
|
|
74
|
-
:'name' => :'String',
|
|
75
|
-
:'content_guard' => :'String',
|
|
76
|
+
:'pulp_last_updated' => :'DateTime',
|
|
76
77
|
:'base_url' => :'String',
|
|
77
|
-
:'
|
|
78
|
-
:'
|
|
79
|
-
:'no_content_change_since' => :'String'
|
|
78
|
+
:'content_guard' => :'String',
|
|
79
|
+
:'pulp_href' => :'String'
|
|
80
80
|
}
|
|
81
81
|
end
|
|
82
82
|
|
|
@@ -102,12 +102,20 @@ module PulpcoreClient
|
|
|
102
102
|
h[k.to_sym] = v
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
+
if attributes.key?(:'prn')
|
|
106
|
+
self.prn = attributes[:'prn']
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
if attributes.key?(:'name')
|
|
110
|
+
self.name = attributes[:'name']
|
|
111
|
+
end
|
|
112
|
+
|
|
105
113
|
if attributes.key?(:'base_path')
|
|
106
114
|
self.base_path = attributes[:'base_path']
|
|
107
115
|
end
|
|
108
116
|
|
|
109
|
-
if attributes.key?(:'
|
|
110
|
-
self.
|
|
117
|
+
if attributes.key?(:'no_content_change_since')
|
|
118
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
111
119
|
end
|
|
112
120
|
|
|
113
121
|
if attributes.key?(:'hidden')
|
|
@@ -116,38 +124,30 @@ module PulpcoreClient
|
|
|
116
124
|
self.hidden = false
|
|
117
125
|
end
|
|
118
126
|
|
|
127
|
+
if attributes.key?(:'pulp_created')
|
|
128
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
129
|
+
end
|
|
130
|
+
|
|
119
131
|
if attributes.key?(:'pulp_labels')
|
|
120
132
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
121
133
|
self.pulp_labels = value
|
|
122
134
|
end
|
|
123
135
|
end
|
|
124
136
|
|
|
125
|
-
if attributes.key?(:'
|
|
126
|
-
self.
|
|
127
|
-
end
|
|
128
|
-
|
|
129
|
-
if attributes.key?(:'name')
|
|
130
|
-
self.name = attributes[:'name']
|
|
131
|
-
end
|
|
132
|
-
|
|
133
|
-
if attributes.key?(:'content_guard')
|
|
134
|
-
self.content_guard = attributes[:'content_guard']
|
|
137
|
+
if attributes.key?(:'pulp_last_updated')
|
|
138
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
135
139
|
end
|
|
136
140
|
|
|
137
141
|
if attributes.key?(:'base_url')
|
|
138
142
|
self.base_url = attributes[:'base_url']
|
|
139
143
|
end
|
|
140
144
|
|
|
141
|
-
if attributes.key?(:'
|
|
142
|
-
self.
|
|
143
|
-
end
|
|
144
|
-
|
|
145
|
-
if attributes.key?(:'pulp_created')
|
|
146
|
-
self.pulp_created = attributes[:'pulp_created']
|
|
145
|
+
if attributes.key?(:'content_guard')
|
|
146
|
+
self.content_guard = attributes[:'content_guard']
|
|
147
147
|
end
|
|
148
148
|
|
|
149
|
-
if attributes.key?(:'
|
|
150
|
-
self.
|
|
149
|
+
if attributes.key?(:'pulp_href')
|
|
150
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
151
151
|
end
|
|
152
152
|
end
|
|
153
153
|
|
|
@@ -155,22 +155,22 @@ module PulpcoreClient
|
|
|
155
155
|
# @return Array for valid properties with the reasons
|
|
156
156
|
def list_invalid_properties
|
|
157
157
|
invalid_properties = Array.new
|
|
158
|
-
if @base_path.nil?
|
|
159
|
-
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
|
160
|
-
end
|
|
161
|
-
|
|
162
158
|
if @name.nil?
|
|
163
159
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
164
160
|
end
|
|
165
161
|
|
|
162
|
+
if @base_path.nil?
|
|
163
|
+
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
|
164
|
+
end
|
|
165
|
+
|
|
166
166
|
invalid_properties
|
|
167
167
|
end
|
|
168
168
|
|
|
169
169
|
# Check to see if the all the properties in the model are valid
|
|
170
170
|
# @return true if the model is valid
|
|
171
171
|
def valid?
|
|
172
|
-
return false if @base_path.nil?
|
|
173
172
|
return false if @name.nil?
|
|
173
|
+
return false if @base_path.nil?
|
|
174
174
|
true
|
|
175
175
|
end
|
|
176
176
|
|
|
@@ -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
|
+
prn == o.prn &&
|
|
183
|
+
name == o.name &&
|
|
182
184
|
base_path == o.base_path &&
|
|
183
|
-
|
|
185
|
+
no_content_change_since == o.no_content_change_since &&
|
|
184
186
|
hidden == o.hidden &&
|
|
187
|
+
pulp_created == o.pulp_created &&
|
|
185
188
|
pulp_labels == o.pulp_labels &&
|
|
186
|
-
|
|
187
|
-
name == o.name &&
|
|
188
|
-
content_guard == o.content_guard &&
|
|
189
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
189
190
|
base_url == o.base_url &&
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
no_content_change_since == o.no_content_change_since
|
|
191
|
+
content_guard == o.content_guard &&
|
|
192
|
+
pulp_href == o.pulp_href
|
|
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
|
+
[prn, name, base_path, no_content_change_since, hidden, pulp_created, pulp_labels, pulp_last_updated, base_url, content_guard, pulp_href].hash
|
|
205
205
|
end
|
|
206
206
|
|
|
207
207
|
# Builds the object from hash
|
|
@@ -32,67 +32,67 @@ 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 "prn"' 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
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
describe 'test attribute "
|
|
41
|
+
describe 'test attribute "name"' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
describe 'test attribute "
|
|
47
|
+
describe 'test attribute "base_path"' do
|
|
48
48
|
it 'should work' do
|
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
-
describe 'test attribute "
|
|
53
|
+
describe 'test attribute "no_content_change_since"' 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 "hidden"' 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 "pulp_created"' 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_labels"' 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 "pulp_last_updated"' 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 "base_url"' 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 "pulp_href"' 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.28
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-12-
|
|
11
|
+
date: 2025-12-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|