pulpcore_client 3.52.0 → 3.53.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: 5bc408077b8d039bf1d74fcffbf643b72f36c1e80c0e0a88b544bef3255ea383
|
4
|
+
data.tar.gz: a1f772db62bae59f67e9c07eab04fac992fe29dea95b731e1238a63d0dae1e02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7727d68bff45f500c6e998817bd78ca717087d36fa5a398341bbf50207e30e00f30f4fa206a56edf900428370685cbb7d49ece556a3cc109117e76bbe0a7cef
|
7
|
+
data.tar.gz: '0946ae81ddb2750d47c539272fead364ce346a42abec51205f0e9a0cc2d592a20b2bab617388d3c87c51b9779228d191b83f9ce74b958dc3d576b36ca083ceef'
|
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.53.0
|
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.
|
27
|
+
gem install ./pulpcore_client-3.53.0.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulpcore_client-3.
|
30
|
+
(for development, run `gem install --dev ./pulpcore_client-3.53.0.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.
|
36
|
+
gem 'pulpcore_client', '~> 3.53.0'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -6,13 +6,13 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
8
8
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
9
|
-
**
|
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\") |
|
10
10
|
**pulp_href** | **String** | | [optional] [readonly]
|
11
|
-
**
|
11
|
+
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
12
12
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
13
13
|
**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
|
-
**
|
14
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
15
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
16
16
|
|
17
17
|
## Code Sample
|
18
18
|
|
@@ -21,13 +21,13 @@ require 'PulpcoreClient'
|
|
21
21
|
|
22
22
|
instance = PulpcoreClient::ArtifactDistributionResponse.new(pulp_created: null,
|
23
23
|
content_guard: null,
|
24
|
-
|
24
|
+
base_path: null,
|
25
25
|
pulp_href: null,
|
26
|
-
|
26
|
+
base_url: null,
|
27
27
|
name: null,
|
28
28
|
pulp_last_updated: null,
|
29
|
-
|
30
|
-
|
29
|
+
pulp_labels: null,
|
30
|
+
hidden: null)
|
31
31
|
```
|
32
32
|
|
33
33
|
|
@@ -21,12 +21,13 @@ module PulpcoreClient
|
|
21
21
|
# An optional content-guard.
|
22
22
|
attr_accessor :content_guard
|
23
23
|
|
24
|
-
|
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\")
|
25
|
+
attr_accessor :base_path
|
25
26
|
|
26
27
|
attr_accessor :pulp_href
|
27
28
|
|
28
|
-
#
|
29
|
-
attr_accessor :
|
29
|
+
# The URL for accessing the publication as defined by this distribution.
|
30
|
+
attr_accessor :base_url
|
30
31
|
|
31
32
|
# A unique name. Ex, `rawhide` and `stable`.
|
32
33
|
attr_accessor :name
|
@@ -34,24 +35,23 @@ module PulpcoreClient
|
|
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.
|
35
36
|
attr_accessor :pulp_last_updated
|
36
37
|
|
37
|
-
|
38
|
-
attr_accessor :base_path
|
38
|
+
attr_accessor :pulp_labels
|
39
39
|
|
40
|
-
#
|
41
|
-
attr_accessor :
|
40
|
+
# Whether this distribution should be shown in the content app.
|
41
|
+
attr_accessor :hidden
|
42
42
|
|
43
43
|
# Attribute mapping from ruby-style variable name to JSON key.
|
44
44
|
def self.attribute_map
|
45
45
|
{
|
46
46
|
:'pulp_created' => :'pulp_created',
|
47
47
|
:'content_guard' => :'content_guard',
|
48
|
-
:'
|
48
|
+
:'base_path' => :'base_path',
|
49
49
|
:'pulp_href' => :'pulp_href',
|
50
|
-
:'
|
50
|
+
:'base_url' => :'base_url',
|
51
51
|
:'name' => :'name',
|
52
52
|
:'pulp_last_updated' => :'pulp_last_updated',
|
53
|
-
:'
|
54
|
-
:'
|
53
|
+
:'pulp_labels' => :'pulp_labels',
|
54
|
+
:'hidden' => :'hidden'
|
55
55
|
}
|
56
56
|
end
|
57
57
|
|
@@ -60,13 +60,13 @@ module PulpcoreClient
|
|
60
60
|
{
|
61
61
|
:'pulp_created' => :'DateTime',
|
62
62
|
:'content_guard' => :'String',
|
63
|
-
:'
|
63
|
+
:'base_path' => :'String',
|
64
64
|
:'pulp_href' => :'String',
|
65
|
-
:'
|
65
|
+
:'base_url' => :'String',
|
66
66
|
:'name' => :'String',
|
67
67
|
:'pulp_last_updated' => :'DateTime',
|
68
|
-
:'
|
69
|
-
:'
|
68
|
+
:'pulp_labels' => :'Hash<String, String>',
|
69
|
+
:'hidden' => :'Boolean'
|
70
70
|
}
|
71
71
|
end
|
72
72
|
|
@@ -100,20 +100,16 @@ module PulpcoreClient
|
|
100
100
|
self.content_guard = attributes[:'content_guard']
|
101
101
|
end
|
102
102
|
|
103
|
-
if attributes.key?(:'
|
104
|
-
|
105
|
-
self.pulp_labels = value
|
106
|
-
end
|
103
|
+
if attributes.key?(:'base_path')
|
104
|
+
self.base_path = attributes[:'base_path']
|
107
105
|
end
|
108
106
|
|
109
107
|
if attributes.key?(:'pulp_href')
|
110
108
|
self.pulp_href = attributes[:'pulp_href']
|
111
109
|
end
|
112
110
|
|
113
|
-
if attributes.key?(:'
|
114
|
-
self.
|
115
|
-
else
|
116
|
-
self.hidden = false
|
111
|
+
if attributes.key?(:'base_url')
|
112
|
+
self.base_url = attributes[:'base_url']
|
117
113
|
end
|
118
114
|
|
119
115
|
if attributes.key?(:'name')
|
@@ -124,12 +120,16 @@ module PulpcoreClient
|
|
124
120
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
125
121
|
end
|
126
122
|
|
127
|
-
if attributes.key?(:'
|
128
|
-
|
123
|
+
if attributes.key?(:'pulp_labels')
|
124
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
125
|
+
self.pulp_labels = value
|
126
|
+
end
|
129
127
|
end
|
130
128
|
|
131
|
-
if attributes.key?(:'
|
132
|
-
self.
|
129
|
+
if attributes.key?(:'hidden')
|
130
|
+
self.hidden = attributes[:'hidden']
|
131
|
+
else
|
132
|
+
self.hidden = false
|
133
133
|
end
|
134
134
|
end
|
135
135
|
|
@@ -137,22 +137,22 @@ module PulpcoreClient
|
|
137
137
|
# @return Array for valid properties with the reasons
|
138
138
|
def list_invalid_properties
|
139
139
|
invalid_properties = Array.new
|
140
|
-
if @name.nil?
|
141
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
142
|
-
end
|
143
|
-
|
144
140
|
if @base_path.nil?
|
145
141
|
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
146
142
|
end
|
147
143
|
|
144
|
+
if @name.nil?
|
145
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
146
|
+
end
|
147
|
+
|
148
148
|
invalid_properties
|
149
149
|
end
|
150
150
|
|
151
151
|
# Check to see if the all the properties in the model are valid
|
152
152
|
# @return true if the model is valid
|
153
153
|
def valid?
|
154
|
-
return false if @name.nil?
|
155
154
|
return false if @base_path.nil?
|
155
|
+
return false if @name.nil?
|
156
156
|
true
|
157
157
|
end
|
158
158
|
|
@@ -163,13 +163,13 @@ module PulpcoreClient
|
|
163
163
|
self.class == o.class &&
|
164
164
|
pulp_created == o.pulp_created &&
|
165
165
|
content_guard == o.content_guard &&
|
166
|
-
|
166
|
+
base_path == o.base_path &&
|
167
167
|
pulp_href == o.pulp_href &&
|
168
|
-
|
168
|
+
base_url == o.base_url &&
|
169
169
|
name == o.name &&
|
170
170
|
pulp_last_updated == o.pulp_last_updated &&
|
171
|
-
|
172
|
-
|
171
|
+
pulp_labels == o.pulp_labels &&
|
172
|
+
hidden == o.hidden
|
173
173
|
end
|
174
174
|
|
175
175
|
# @see the `==` method
|
@@ -181,7 +181,7 @@ module PulpcoreClient
|
|
181
181
|
# Calculates hash code according to all attributes.
|
182
182
|
# @return [Integer] Hash code
|
183
183
|
def hash
|
184
|
-
[pulp_created, content_guard,
|
184
|
+
[pulp_created, content_guard, base_path, pulp_href, base_url, name, pulp_last_updated, pulp_labels, hidden].hash
|
185
185
|
end
|
186
186
|
|
187
187
|
# Builds the object from hash
|
@@ -44,7 +44,7 @@ describe 'ArtifactDistributionResponse' do
|
|
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
|
@@ -56,7 +56,7 @@ describe 'ArtifactDistributionResponse' do
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
describe 'test attribute "
|
59
|
+
describe 'test attribute "base_url"' 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
|
@@ -74,13 +74,13 @@ describe 'ArtifactDistributionResponse' do
|
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
-
describe 'test attribute "
|
77
|
+
describe 'test attribute "pulp_labels"' 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 "hidden"' 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
|
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.
|
4
|
+
version: 3.53.0
|
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-04-
|
11
|
+
date: 2024-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|