pulpcore_client 3.22.10 → 3.22.12
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: 934ce8649d464aac40df3bf58d07be16b5d4b7f2b6eb01e268b6b9fdaca5a539
|
4
|
+
data.tar.gz: ca4154b23c20fb9651a2f78e0a791badf3ad879aabe513cf4a75020b5e7765f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9e1c4a0be4191e8af2d2c8c10159dd10ac61c189a991bafe9d05a057ec73a58f0a1ae95159b16d990e85ad21c63a9dd83b3c6f9dc4c284beb62c45b355b7626
|
7
|
+
data.tar.gz: c5ac587edc9b7d12b6b4cd7ee78bd1f103993c22e7831bc1a79a33a347d0e520bcf848f3c9dd696b04193958c0b33fe1eaec6066bba39a965f3c4d372a0e73a1
|
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.22.
|
10
|
+
- Package version: 3.22.12
|
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.22.
|
27
|
+
gem install ./pulpcore_client-3.22.12.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulpcore_client-3.22.
|
30
|
+
(for development, run `gem install --dev ./pulpcore_client-3.22.12.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.22.
|
36
|
+
gem 'pulpcore_client', '~> 3.22.12'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -5,12 +5,12 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
-
**content_guard** | **String** | An optional content-guard. | [optional]
|
10
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
11
|
-
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
12
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\") |
|
9
|
+
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
10
|
+
**content_guard** | **String** | An optional content-guard. | [optional]
|
11
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
13
12
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
13
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
14
14
|
|
15
15
|
## Code Sample
|
16
16
|
|
@@ -18,12 +18,12 @@ Name | Type | Description | Notes
|
|
18
18
|
require 'PulpcoreClient'
|
19
19
|
|
20
20
|
instance = PulpcoreClient::ArtifactDistributionResponse.new(pulp_href: null,
|
21
|
-
pulp_created: null,
|
22
|
-
content_guard: null,
|
23
|
-
pulp_labels: null,
|
24
|
-
base_url: null,
|
25
21
|
base_path: null,
|
26
|
-
|
22
|
+
base_url: null,
|
23
|
+
content_guard: null,
|
24
|
+
pulp_created: null,
|
25
|
+
name: null,
|
26
|
+
pulp_labels: null)
|
27
27
|
```
|
28
28
|
|
29
29
|
|
@@ -17,33 +17,33 @@ module PulpcoreClient
|
|
17
17
|
class ArtifactDistributionResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
-
#
|
21
|
-
attr_accessor :
|
22
|
-
|
23
|
-
# An optional content-guard.
|
24
|
-
attr_accessor :content_guard
|
25
|
-
|
26
|
-
attr_accessor :pulp_labels
|
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\")
|
21
|
+
attr_accessor :base_path
|
27
22
|
|
28
23
|
# The URL for accessing the publication as defined by this distribution.
|
29
24
|
attr_accessor :base_url
|
30
25
|
|
31
|
-
#
|
32
|
-
attr_accessor :
|
26
|
+
# An optional content-guard.
|
27
|
+
attr_accessor :content_guard
|
28
|
+
|
29
|
+
# Timestamp of creation.
|
30
|
+
attr_accessor :pulp_created
|
33
31
|
|
34
32
|
# A unique name. Ex, `rawhide` and `stable`.
|
35
33
|
attr_accessor :name
|
36
34
|
|
35
|
+
attr_accessor :pulp_labels
|
36
|
+
|
37
37
|
# Attribute mapping from ruby-style variable name to JSON key.
|
38
38
|
def self.attribute_map
|
39
39
|
{
|
40
40
|
:'pulp_href' => :'pulp_href',
|
41
|
-
:'pulp_created' => :'pulp_created',
|
42
|
-
:'content_guard' => :'content_guard',
|
43
|
-
:'pulp_labels' => :'pulp_labels',
|
44
|
-
:'base_url' => :'base_url',
|
45
41
|
:'base_path' => :'base_path',
|
46
|
-
:'
|
42
|
+
:'base_url' => :'base_url',
|
43
|
+
:'content_guard' => :'content_guard',
|
44
|
+
:'pulp_created' => :'pulp_created',
|
45
|
+
:'name' => :'name',
|
46
|
+
:'pulp_labels' => :'pulp_labels'
|
47
47
|
}
|
48
48
|
end
|
49
49
|
|
@@ -51,12 +51,12 @@ module PulpcoreClient
|
|
51
51
|
def self.openapi_types
|
52
52
|
{
|
53
53
|
:'pulp_href' => :'String',
|
54
|
-
:'pulp_created' => :'DateTime',
|
55
|
-
:'content_guard' => :'String',
|
56
|
-
:'pulp_labels' => :'Hash<String, String>',
|
57
|
-
:'base_url' => :'String',
|
58
54
|
:'base_path' => :'String',
|
59
|
-
:'
|
55
|
+
:'base_url' => :'String',
|
56
|
+
:'content_guard' => :'String',
|
57
|
+
:'pulp_created' => :'DateTime',
|
58
|
+
:'name' => :'String',
|
59
|
+
:'pulp_labels' => :'Hash<String, String>'
|
60
60
|
}
|
61
61
|
end
|
62
62
|
|
@@ -86,31 +86,31 @@ module PulpcoreClient
|
|
86
86
|
self.pulp_href = attributes[:'pulp_href']
|
87
87
|
end
|
88
88
|
|
89
|
-
if attributes.key?(:'
|
90
|
-
self.
|
91
|
-
end
|
92
|
-
|
93
|
-
if attributes.key?(:'content_guard')
|
94
|
-
self.content_guard = attributes[:'content_guard']
|
95
|
-
end
|
96
|
-
|
97
|
-
if attributes.key?(:'pulp_labels')
|
98
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
99
|
-
self.pulp_labels = value
|
100
|
-
end
|
89
|
+
if attributes.key?(:'base_path')
|
90
|
+
self.base_path = attributes[:'base_path']
|
101
91
|
end
|
102
92
|
|
103
93
|
if attributes.key?(:'base_url')
|
104
94
|
self.base_url = attributes[:'base_url']
|
105
95
|
end
|
106
96
|
|
107
|
-
if attributes.key?(:'
|
108
|
-
self.
|
97
|
+
if attributes.key?(:'content_guard')
|
98
|
+
self.content_guard = attributes[:'content_guard']
|
99
|
+
end
|
100
|
+
|
101
|
+
if attributes.key?(:'pulp_created')
|
102
|
+
self.pulp_created = attributes[:'pulp_created']
|
109
103
|
end
|
110
104
|
|
111
105
|
if attributes.key?(:'name')
|
112
106
|
self.name = attributes[:'name']
|
113
107
|
end
|
108
|
+
|
109
|
+
if attributes.key?(:'pulp_labels')
|
110
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
111
|
+
self.pulp_labels = value
|
112
|
+
end
|
113
|
+
end
|
114
114
|
end
|
115
115
|
|
116
116
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -142,12 +142,12 @@ module PulpcoreClient
|
|
142
142
|
return true if self.equal?(o)
|
143
143
|
self.class == o.class &&
|
144
144
|
pulp_href == o.pulp_href &&
|
145
|
-
pulp_created == o.pulp_created &&
|
146
|
-
content_guard == o.content_guard &&
|
147
|
-
pulp_labels == o.pulp_labels &&
|
148
|
-
base_url == o.base_url &&
|
149
145
|
base_path == o.base_path &&
|
150
|
-
|
146
|
+
base_url == o.base_url &&
|
147
|
+
content_guard == o.content_guard &&
|
148
|
+
pulp_created == o.pulp_created &&
|
149
|
+
name == o.name &&
|
150
|
+
pulp_labels == o.pulp_labels
|
151
151
|
end
|
152
152
|
|
153
153
|
# @see the `==` method
|
@@ -159,7 +159,7 @@ module PulpcoreClient
|
|
159
159
|
# Calculates hash code according to all attributes.
|
160
160
|
# @return [Integer] Hash code
|
161
161
|
def hash
|
162
|
-
[pulp_href,
|
162
|
+
[pulp_href, base_path, base_url, content_guard, pulp_created, name, pulp_labels].hash
|
163
163
|
end
|
164
164
|
|
165
165
|
# Builds the object from hash
|
@@ -38,37 +38,37 @@ describe 'ArtifactDistributionResponse' do
|
|
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 "base_url"' 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 "content_guard"' 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 "pulp_created"' 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 "name"' 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
|
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.22.
|
4
|
+
version: 3.22.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|