pulpcore_client 3.43.3 → 3.44.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ArtifactDistributionResponse.md +12 -12
- data/docs/VersionResponse.md +2 -0
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +55 -55
- data/lib/pulpcore_client/models/version_response.rb +16 -1
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/models/artifact_distribution_response_spec.rb +7 -7
- data/spec/models/version_response_spec.rb +6 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72a48039fbc768a3893fd96a86c49b382fa14dcfb642645930f6b0dfe6acd5b6
|
4
|
+
data.tar.gz: fe79cbb09cd20ffa3885d6a1322462efea0fc7420aff9823f8c836823f893c95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad3d9ee03c218e79ec7bd152ccb97e53959d50598765c2b5bf058876e3b7180902c331ace6504fba0563020e996156ed165efcb545be403b15f45a28476e8e77
|
7
|
+
data.tar.gz: 2e9c199b36fbfa3076568919f9e4227959d2e884d0fee2573e7a1022839b1b11b3871fa52cfeee9d288edb16b1997ff4b9b5d0338fb9a99f3d2af08683dc517c
|
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.44.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.44.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.44.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.44.0'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -4,28 +4,28 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
8
|
-
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
9
|
-
**content_guard** | **String** | An optional content-guard. | [optional]
|
10
|
-
**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\") |
|
11
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
12
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
13
|
-
**
|
8
|
+
**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\") |
|
14
9
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
10
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
11
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
12
|
+
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
13
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
14
|
+
**content_guard** | **String** | An optional content-guard. | [optional]
|
15
15
|
|
16
16
|
## Code Sample
|
17
17
|
|
18
18
|
```ruby
|
19
19
|
require 'PulpcoreClient'
|
20
20
|
|
21
|
-
instance = PulpcoreClient::ArtifactDistributionResponse.new(
|
22
|
-
base_url: null,
|
23
|
-
content_guard: null,
|
21
|
+
instance = PulpcoreClient::ArtifactDistributionResponse.new(pulp_href: null,
|
24
22
|
base_path: null,
|
25
|
-
|
26
|
-
pulp_href: null,
|
23
|
+
pulp_labels: null,
|
27
24
|
hidden: null,
|
28
|
-
|
25
|
+
pulp_created: null,
|
26
|
+
base_url: null,
|
27
|
+
name: null,
|
28
|
+
content_guard: null)
|
29
29
|
```
|
30
30
|
|
31
31
|
|
data/docs/VersionResponse.md
CHANGED
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**component** | **String** | Name of a versioned component of Pulp |
|
8
8
|
**version** | **String** | Version of the component (e.g. 3.0.0) |
|
9
9
|
**package** | **String** | Python package name providing the component |
|
10
|
+
**_module** | **String** | Python module name of the component |
|
10
11
|
**domain_compatible** | **Boolean** | Domain feature compatibility of component |
|
11
12
|
|
12
13
|
## Code Sample
|
@@ -17,6 +18,7 @@ require 'PulpcoreClient'
|
|
17
18
|
instance = PulpcoreClient::VersionResponse.new(component: null,
|
18
19
|
version: null,
|
19
20
|
package: null,
|
21
|
+
_module: null,
|
20
22
|
domain_compatible: null)
|
21
23
|
```
|
22
24
|
|
@@ -15,60 +15,60 @@ require 'date'
|
|
15
15
|
module PulpcoreClient
|
16
16
|
# A serializer for ArtifactDistribution.
|
17
17
|
class ArtifactDistributionResponse
|
18
|
-
|
19
|
-
attr_accessor :name
|
20
|
-
|
21
|
-
# The URL for accessing the publication as defined by this distribution.
|
22
|
-
attr_accessor :base_url
|
23
|
-
|
24
|
-
# An optional content-guard.
|
25
|
-
attr_accessor :content_guard
|
18
|
+
attr_accessor :pulp_href
|
26
19
|
|
27
20
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
28
21
|
attr_accessor :base_path
|
29
22
|
|
23
|
+
attr_accessor :pulp_labels
|
24
|
+
|
25
|
+
# Whether this distribution should be shown in the content app.
|
26
|
+
attr_accessor :hidden
|
27
|
+
|
30
28
|
# Timestamp of creation.
|
31
29
|
attr_accessor :pulp_created
|
32
30
|
|
33
|
-
|
31
|
+
# The URL for accessing the publication as defined by this distribution.
|
32
|
+
attr_accessor :base_url
|
34
33
|
|
35
|
-
#
|
36
|
-
attr_accessor :
|
34
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
35
|
+
attr_accessor :name
|
37
36
|
|
38
|
-
|
37
|
+
# An optional content-guard.
|
38
|
+
attr_accessor :content_guard
|
39
39
|
|
40
40
|
# Attribute mapping from ruby-style variable name to JSON key.
|
41
41
|
def self.attribute_map
|
42
42
|
{
|
43
|
-
:'name' => :'name',
|
44
|
-
:'base_url' => :'base_url',
|
45
|
-
:'content_guard' => :'content_guard',
|
46
|
-
:'base_path' => :'base_path',
|
47
|
-
:'pulp_created' => :'pulp_created',
|
48
43
|
:'pulp_href' => :'pulp_href',
|
44
|
+
:'base_path' => :'base_path',
|
45
|
+
:'pulp_labels' => :'pulp_labels',
|
49
46
|
:'hidden' => :'hidden',
|
50
|
-
:'
|
47
|
+
:'pulp_created' => :'pulp_created',
|
48
|
+
:'base_url' => :'base_url',
|
49
|
+
:'name' => :'name',
|
50
|
+
:'content_guard' => :'content_guard'
|
51
51
|
}
|
52
52
|
end
|
53
53
|
|
54
54
|
# Attribute type mapping.
|
55
55
|
def self.openapi_types
|
56
56
|
{
|
57
|
-
:'name' => :'String',
|
58
|
-
:'base_url' => :'String',
|
59
|
-
:'content_guard' => :'String',
|
60
|
-
:'base_path' => :'String',
|
61
|
-
:'pulp_created' => :'DateTime',
|
62
57
|
:'pulp_href' => :'String',
|
58
|
+
:'base_path' => :'String',
|
59
|
+
:'pulp_labels' => :'Hash<String, String>',
|
63
60
|
:'hidden' => :'Boolean',
|
64
|
-
:'
|
61
|
+
:'pulp_created' => :'DateTime',
|
62
|
+
:'base_url' => :'String',
|
63
|
+
:'name' => :'String',
|
64
|
+
:'content_guard' => :'String'
|
65
65
|
}
|
66
66
|
end
|
67
67
|
|
68
68
|
# List of attributes with nullable: true
|
69
69
|
def self.openapi_nullable
|
70
70
|
Set.new([
|
71
|
-
:'content_guard'
|
71
|
+
:'content_guard'
|
72
72
|
])
|
73
73
|
end
|
74
74
|
|
@@ -87,40 +87,40 @@ module PulpcoreClient
|
|
87
87
|
h[k.to_sym] = v
|
88
88
|
}
|
89
89
|
|
90
|
-
if attributes.key?(:'
|
91
|
-
self.
|
90
|
+
if attributes.key?(:'pulp_href')
|
91
|
+
self.pulp_href = attributes[:'pulp_href']
|
92
92
|
end
|
93
93
|
|
94
|
-
if attributes.key?(:'
|
95
|
-
self.
|
94
|
+
if attributes.key?(:'base_path')
|
95
|
+
self.base_path = attributes[:'base_path']
|
96
96
|
end
|
97
97
|
|
98
|
-
if attributes.key?(:'
|
99
|
-
|
98
|
+
if attributes.key?(:'pulp_labels')
|
99
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
100
|
+
self.pulp_labels = value
|
101
|
+
end
|
100
102
|
end
|
101
103
|
|
102
|
-
if attributes.key?(:'
|
103
|
-
self.
|
104
|
+
if attributes.key?(:'hidden')
|
105
|
+
self.hidden = attributes[:'hidden']
|
106
|
+
else
|
107
|
+
self.hidden = false
|
104
108
|
end
|
105
109
|
|
106
110
|
if attributes.key?(:'pulp_created')
|
107
111
|
self.pulp_created = attributes[:'pulp_created']
|
108
112
|
end
|
109
113
|
|
110
|
-
if attributes.key?(:'
|
111
|
-
self.
|
114
|
+
if attributes.key?(:'base_url')
|
115
|
+
self.base_url = attributes[:'base_url']
|
112
116
|
end
|
113
117
|
|
114
|
-
if attributes.key?(:'
|
115
|
-
self.
|
116
|
-
else
|
117
|
-
self.hidden = false
|
118
|
+
if attributes.key?(:'name')
|
119
|
+
self.name = attributes[:'name']
|
118
120
|
end
|
119
121
|
|
120
|
-
if attributes.key?(:'
|
121
|
-
|
122
|
-
self.pulp_labels = value
|
123
|
-
end
|
122
|
+
if attributes.key?(:'content_guard')
|
123
|
+
self.content_guard = attributes[:'content_guard']
|
124
124
|
end
|
125
125
|
end
|
126
126
|
|
@@ -128,22 +128,22 @@ module PulpcoreClient
|
|
128
128
|
# @return Array for valid properties with the reasons
|
129
129
|
def list_invalid_properties
|
130
130
|
invalid_properties = Array.new
|
131
|
-
if @name.nil?
|
132
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
133
|
-
end
|
134
|
-
|
135
131
|
if @base_path.nil?
|
136
132
|
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
137
133
|
end
|
138
134
|
|
135
|
+
if @name.nil?
|
136
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
137
|
+
end
|
138
|
+
|
139
139
|
invalid_properties
|
140
140
|
end
|
141
141
|
|
142
142
|
# Check to see if the all the properties in the model are valid
|
143
143
|
# @return true if the model is valid
|
144
144
|
def valid?
|
145
|
-
return false if @name.nil?
|
146
145
|
return false if @base_path.nil?
|
146
|
+
return false if @name.nil?
|
147
147
|
true
|
148
148
|
end
|
149
149
|
|
@@ -152,14 +152,14 @@ module PulpcoreClient
|
|
152
152
|
def ==(o)
|
153
153
|
return true if self.equal?(o)
|
154
154
|
self.class == o.class &&
|
155
|
-
name == o.name &&
|
156
|
-
base_url == o.base_url &&
|
157
|
-
content_guard == o.content_guard &&
|
158
|
-
base_path == o.base_path &&
|
159
|
-
pulp_created == o.pulp_created &&
|
160
155
|
pulp_href == o.pulp_href &&
|
156
|
+
base_path == o.base_path &&
|
157
|
+
pulp_labels == o.pulp_labels &&
|
161
158
|
hidden == o.hidden &&
|
162
|
-
|
159
|
+
pulp_created == o.pulp_created &&
|
160
|
+
base_url == o.base_url &&
|
161
|
+
name == o.name &&
|
162
|
+
content_guard == o.content_guard
|
163
163
|
end
|
164
164
|
|
165
165
|
# @see the `==` method
|
@@ -171,7 +171,7 @@ module PulpcoreClient
|
|
171
171
|
# Calculates hash code according to all attributes.
|
172
172
|
# @return [Integer] Hash code
|
173
173
|
def hash
|
174
|
-
[
|
174
|
+
[pulp_href, base_path, pulp_labels, hidden, pulp_created, base_url, name, content_guard].hash
|
175
175
|
end
|
176
176
|
|
177
177
|
# Builds the object from hash
|
@@ -24,6 +24,9 @@ module PulpcoreClient
|
|
24
24
|
# Python package name providing the component
|
25
25
|
attr_accessor :package
|
26
26
|
|
27
|
+
# Python module name of the component
|
28
|
+
attr_accessor :_module
|
29
|
+
|
27
30
|
# Domain feature compatibility of component
|
28
31
|
attr_accessor :domain_compatible
|
29
32
|
|
@@ -33,6 +36,7 @@ module PulpcoreClient
|
|
33
36
|
:'component' => :'component',
|
34
37
|
:'version' => :'version',
|
35
38
|
:'package' => :'package',
|
39
|
+
:'_module' => :'module',
|
36
40
|
:'domain_compatible' => :'domain_compatible'
|
37
41
|
}
|
38
42
|
end
|
@@ -43,6 +47,7 @@ module PulpcoreClient
|
|
43
47
|
:'component' => :'String',
|
44
48
|
:'version' => :'String',
|
45
49
|
:'package' => :'String',
|
50
|
+
:'_module' => :'String',
|
46
51
|
:'domain_compatible' => :'Boolean'
|
47
52
|
}
|
48
53
|
end
|
@@ -80,6 +85,10 @@ module PulpcoreClient
|
|
80
85
|
self.package = attributes[:'package']
|
81
86
|
end
|
82
87
|
|
88
|
+
if attributes.key?(:'_module')
|
89
|
+
self._module = attributes[:'_module']
|
90
|
+
end
|
91
|
+
|
83
92
|
if attributes.key?(:'domain_compatible')
|
84
93
|
self.domain_compatible = attributes[:'domain_compatible']
|
85
94
|
end
|
@@ -101,6 +110,10 @@ module PulpcoreClient
|
|
101
110
|
invalid_properties.push('invalid value for "package", package cannot be nil.')
|
102
111
|
end
|
103
112
|
|
113
|
+
if @_module.nil?
|
114
|
+
invalid_properties.push('invalid value for "_module", _module cannot be nil.')
|
115
|
+
end
|
116
|
+
|
104
117
|
if @domain_compatible.nil?
|
105
118
|
invalid_properties.push('invalid value for "domain_compatible", domain_compatible cannot be nil.')
|
106
119
|
end
|
@@ -114,6 +127,7 @@ module PulpcoreClient
|
|
114
127
|
return false if @component.nil?
|
115
128
|
return false if @version.nil?
|
116
129
|
return false if @package.nil?
|
130
|
+
return false if @_module.nil?
|
117
131
|
return false if @domain_compatible.nil?
|
118
132
|
true
|
119
133
|
end
|
@@ -126,6 +140,7 @@ module PulpcoreClient
|
|
126
140
|
component == o.component &&
|
127
141
|
version == o.version &&
|
128
142
|
package == o.package &&
|
143
|
+
_module == o._module &&
|
129
144
|
domain_compatible == o.domain_compatible
|
130
145
|
end
|
131
146
|
|
@@ -138,7 +153,7 @@ module PulpcoreClient
|
|
138
153
|
# Calculates hash code according to all attributes.
|
139
154
|
# @return [Integer] Hash code
|
140
155
|
def hash
|
141
|
-
[component, version, package, domain_compatible].hash
|
156
|
+
[component, version, package, _module, domain_compatible].hash
|
142
157
|
end
|
143
158
|
|
144
159
|
# Builds the object from hash
|
@@ -32,25 +32,25 @@ 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_href"' 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 "base_path"' 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 "pulp_labels"' 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 "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
|
@@ -62,19 +62,19 @@ describe 'ArtifactDistributionResponse' do
|
|
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 "name"' 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 "content_guard"' 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
|
@@ -50,6 +50,12 @@ describe 'VersionResponse' do
|
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
+
describe 'test attribute "_module"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
53
59
|
describe 'test attribute "domain_compatible"' do
|
54
60
|
it 'should work' do
|
55
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|