pulpcore_client 3.63.3 → 3.63.4
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: 80b69ad286b6f605f1ec1ee6c261eb5c54f8369711dd60e4f09f22f6e7764d7c
|
4
|
+
data.tar.gz: 4bc4e5e1d718ff63f8e6bbca1b341f2cd0e1f3c949eb177f6c06a3f6706e59bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c25e819bc43e002e1d9d599541f470332f555f27532506c837ad8474ed5ba4f7e2250b3315d09f19e5093a2e13f9599e23161521524c89ab6c66400c200d0698
|
7
|
+
data.tar.gz: cfae4fa3b16750bf47ad815381a1d305dec9412580423dd90c968775a21e66b4a158111e507ba663feb8dce78dcbae1e07c151609b00ae7f7b4baf518f30c864
|
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.4
|
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.4.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.4.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.4'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -4,16 +4,16 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
7
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
8
|
+
**prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
|
8
9
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
9
|
-
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
10
10
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
11
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\") |
|
12
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
13
|
-
**prn** | **String** | The Pulp Resource Name (PRN). | [optional] [readonly]
|
14
|
-
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
15
|
-
**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
12
|
**pulp_href** | **String** | | [optional] [readonly]
|
13
|
+
**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]
|
14
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
15
|
+
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
16
|
+
**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]
|
17
17
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
18
18
|
|
19
19
|
## Code Sample
|
@@ -21,16 +21,16 @@ Name | Type | Description | Notes
|
|
21
21
|
```ruby
|
22
22
|
require 'PulpcoreClient'
|
23
23
|
|
24
|
-
instance = PulpcoreClient::ArtifactDistributionResponse.new(
|
24
|
+
instance = PulpcoreClient::ArtifactDistributionResponse.new(pulp_labels: null,
|
25
|
+
prn: null,
|
25
26
|
content_guard: null,
|
26
|
-
base_url: null,
|
27
27
|
name: null,
|
28
28
|
base_path: null,
|
29
|
-
pulp_labels: null,
|
30
|
-
prn: null,
|
31
|
-
hidden: null,
|
32
|
-
no_content_change_since: null,
|
33
29
|
pulp_href: null,
|
30
|
+
no_content_change_since: null,
|
31
|
+
hidden: null,
|
32
|
+
base_url: null,
|
33
|
+
pulp_last_updated: null,
|
34
34
|
pulp_created: null)
|
35
35
|
```
|
36
36
|
|
@@ -15,33 +15,33 @@ require 'date'
|
|
15
15
|
module PulpcoreClient
|
16
16
|
# A serializer for ArtifactDistribution.
|
17
17
|
class ArtifactDistributionResponse
|
18
|
-
|
19
|
-
|
18
|
+
attr_accessor :pulp_labels
|
19
|
+
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
20
22
|
|
21
23
|
# An optional content-guard.
|
22
24
|
attr_accessor :content_guard
|
23
25
|
|
24
|
-
# The URL for accessing the publication as defined by this distribution.
|
25
|
-
attr_accessor :base_url
|
26
|
-
|
27
26
|
# A unique name. Ex, `rawhide` and `stable`.
|
28
27
|
attr_accessor :name
|
29
28
|
|
30
29
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
31
30
|
attr_accessor :base_path
|
32
31
|
|
33
|
-
attr_accessor :
|
32
|
+
attr_accessor :pulp_href
|
34
33
|
|
35
|
-
#
|
36
|
-
attr_accessor :
|
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
|
37
36
|
|
38
37
|
# Whether this distribution should be shown in the content app.
|
39
38
|
attr_accessor :hidden
|
40
39
|
|
41
|
-
#
|
42
|
-
attr_accessor :
|
40
|
+
# The URL for accessing the publication as defined by this distribution.
|
41
|
+
attr_accessor :base_url
|
43
42
|
|
44
|
-
|
43
|
+
# 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.
|
44
|
+
attr_accessor :pulp_last_updated
|
45
45
|
|
46
46
|
# Timestamp of creation.
|
47
47
|
attr_accessor :pulp_created
|
@@ -49,16 +49,16 @@ module PulpcoreClient
|
|
49
49
|
# Attribute mapping from ruby-style variable name to JSON key.
|
50
50
|
def self.attribute_map
|
51
51
|
{
|
52
|
-
:'
|
52
|
+
:'pulp_labels' => :'pulp_labels',
|
53
|
+
:'prn' => :'prn',
|
53
54
|
:'content_guard' => :'content_guard',
|
54
|
-
:'base_url' => :'base_url',
|
55
55
|
:'name' => :'name',
|
56
56
|
:'base_path' => :'base_path',
|
57
|
-
:'pulp_labels' => :'pulp_labels',
|
58
|
-
:'prn' => :'prn',
|
59
|
-
:'hidden' => :'hidden',
|
60
|
-
:'no_content_change_since' => :'no_content_change_since',
|
61
57
|
:'pulp_href' => :'pulp_href',
|
58
|
+
:'no_content_change_since' => :'no_content_change_since',
|
59
|
+
:'hidden' => :'hidden',
|
60
|
+
:'base_url' => :'base_url',
|
61
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
62
62
|
:'pulp_created' => :'pulp_created'
|
63
63
|
}
|
64
64
|
end
|
@@ -66,16 +66,16 @@ module PulpcoreClient
|
|
66
66
|
# Attribute type mapping.
|
67
67
|
def self.openapi_types
|
68
68
|
{
|
69
|
-
:'
|
69
|
+
:'pulp_labels' => :'Hash<String, String>',
|
70
|
+
:'prn' => :'String',
|
70
71
|
:'content_guard' => :'String',
|
71
|
-
:'base_url' => :'String',
|
72
72
|
:'name' => :'String',
|
73
73
|
:'base_path' => :'String',
|
74
|
-
:'pulp_labels' => :'Hash<String, String>',
|
75
|
-
:'prn' => :'String',
|
76
|
-
:'hidden' => :'Boolean',
|
77
|
-
:'no_content_change_since' => :'String',
|
78
74
|
:'pulp_href' => :'String',
|
75
|
+
:'no_content_change_since' => :'String',
|
76
|
+
:'hidden' => :'Boolean',
|
77
|
+
:'base_url' => :'String',
|
78
|
+
:'pulp_last_updated' => :'DateTime',
|
79
79
|
:'pulp_created' => :'DateTime'
|
80
80
|
}
|
81
81
|
end
|
@@ -102,16 +102,18 @@ module PulpcoreClient
|
|
102
102
|
h[k.to_sym] = v
|
103
103
|
}
|
104
104
|
|
105
|
-
if attributes.key?(:'
|
106
|
-
|
105
|
+
if attributes.key?(:'pulp_labels')
|
106
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
107
|
+
self.pulp_labels = value
|
108
|
+
end
|
107
109
|
end
|
108
110
|
|
109
|
-
if attributes.key?(:'
|
110
|
-
self.
|
111
|
+
if attributes.key?(:'prn')
|
112
|
+
self.prn = attributes[:'prn']
|
111
113
|
end
|
112
114
|
|
113
|
-
if attributes.key?(:'
|
114
|
-
self.
|
115
|
+
if attributes.key?(:'content_guard')
|
116
|
+
self.content_guard = attributes[:'content_guard']
|
115
117
|
end
|
116
118
|
|
117
119
|
if attributes.key?(:'name')
|
@@ -122,14 +124,12 @@ module PulpcoreClient
|
|
122
124
|
self.base_path = attributes[:'base_path']
|
123
125
|
end
|
124
126
|
|
125
|
-
if attributes.key?(:'
|
126
|
-
|
127
|
-
self.pulp_labels = value
|
128
|
-
end
|
127
|
+
if attributes.key?(:'pulp_href')
|
128
|
+
self.pulp_href = attributes[:'pulp_href']
|
129
129
|
end
|
130
130
|
|
131
|
-
if attributes.key?(:'
|
132
|
-
self.
|
131
|
+
if attributes.key?(:'no_content_change_since')
|
132
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
133
133
|
end
|
134
134
|
|
135
135
|
if attributes.key?(:'hidden')
|
@@ -138,12 +138,12 @@ module PulpcoreClient
|
|
138
138
|
self.hidden = false
|
139
139
|
end
|
140
140
|
|
141
|
-
if attributes.key?(:'
|
142
|
-
self.
|
141
|
+
if attributes.key?(:'base_url')
|
142
|
+
self.base_url = attributes[:'base_url']
|
143
143
|
end
|
144
144
|
|
145
|
-
if attributes.key?(:'
|
146
|
-
self.
|
145
|
+
if attributes.key?(:'pulp_last_updated')
|
146
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
147
147
|
end
|
148
148
|
|
149
149
|
if attributes.key?(:'pulp_created')
|
@@ -179,16 +179,16 @@ module PulpcoreClient
|
|
179
179
|
def ==(o)
|
180
180
|
return true if self.equal?(o)
|
181
181
|
self.class == o.class &&
|
182
|
-
|
182
|
+
pulp_labels == o.pulp_labels &&
|
183
|
+
prn == o.prn &&
|
183
184
|
content_guard == o.content_guard &&
|
184
|
-
base_url == o.base_url &&
|
185
185
|
name == o.name &&
|
186
186
|
base_path == o.base_path &&
|
187
|
-
pulp_labels == o.pulp_labels &&
|
188
|
-
prn == o.prn &&
|
189
|
-
hidden == o.hidden &&
|
190
|
-
no_content_change_since == o.no_content_change_since &&
|
191
187
|
pulp_href == o.pulp_href &&
|
188
|
+
no_content_change_since == o.no_content_change_since &&
|
189
|
+
hidden == o.hidden &&
|
190
|
+
base_url == o.base_url &&
|
191
|
+
pulp_last_updated == o.pulp_last_updated &&
|
192
192
|
pulp_created == o.pulp_created
|
193
193
|
end
|
194
194
|
|
@@ -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
|
+
[pulp_labels, prn, content_guard, name, base_path, pulp_href, no_content_change_since, hidden, base_url, pulp_last_updated, pulp_created].hash
|
205
205
|
end
|
206
206
|
|
207
207
|
# Builds the object from hash
|
@@ -32,19 +32,19 @@ 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 "pulp_labels"' 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 "prn"' 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 "content_guard"' 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
|
@@ -62,13 +62,13 @@ describe 'ArtifactDistributionResponse' do
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
-
describe 'test attribute "
|
65
|
+
describe 'test attribute "pulp_href"' 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 "no_content_change_since"' 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
|
@@ -80,13 +80,13 @@ describe 'ArtifactDistributionResponse' do
|
|
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 "pulp_last_updated"' 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
|
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.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-11-
|
11
|
+
date: 2024-11-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|