pulpcore_client 3.22.10 → 3.22.11
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: 52dd0786e2832b34d65d24895bc6f735efcf43485429df92078f8348a3da4455
|
4
|
+
data.tar.gz: 361a84ff9c8dac87dead38a09e34aba116eba8b8a6e445e242df64e1f737ed7b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1979c6180aa4475274d5b72a01237f189fc50a05d0685ed3662adb1839ea570937bb70f7fdb6966d5775a1d365a15b2252f7853c5a34caad9f1da305f66fc8d
|
7
|
+
data.tar.gz: 2a2d98f0fb68389a5f57d5b61e14e018a4f6434c9385a0b21b487bc19791970e2dc95373af6023c2698078d0b2e48fb84de311d62f9829e58e10839a699ea785
|
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.11
|
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.11.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.11.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.11'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -4,26 +4,26 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
7
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
10
|
-
**pulp_labels** | **Hash<String, String>** | | [optional]
|
11
8
|
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
12
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\") |
|
13
10
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
11
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
12
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
13
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
14
14
|
|
15
15
|
## Code Sample
|
16
16
|
|
17
17
|
```ruby
|
18
18
|
require 'PulpcoreClient'
|
19
19
|
|
20
|
-
instance = PulpcoreClient::ArtifactDistributionResponse.new(
|
21
|
-
pulp_created: null,
|
22
|
-
content_guard: null,
|
23
|
-
pulp_labels: null,
|
20
|
+
instance = PulpcoreClient::ArtifactDistributionResponse.new(content_guard: null,
|
24
21
|
base_url: null,
|
25
22
|
base_path: null,
|
26
|
-
name: null
|
23
|
+
name: null,
|
24
|
+
pulp_labels: null,
|
25
|
+
pulp_created: null,
|
26
|
+
pulp_href: null)
|
27
27
|
```
|
28
28
|
|
29
29
|
|
@@ -15,16 +15,9 @@ require 'date'
|
|
15
15
|
module PulpcoreClient
|
16
16
|
# A serializer for ArtifactDistribution.
|
17
17
|
class ArtifactDistributionResponse
|
18
|
-
attr_accessor :pulp_href
|
19
|
-
|
20
|
-
# Timestamp of creation.
|
21
|
-
attr_accessor :pulp_created
|
22
|
-
|
23
18
|
# An optional content-guard.
|
24
19
|
attr_accessor :content_guard
|
25
20
|
|
26
|
-
attr_accessor :pulp_labels
|
27
|
-
|
28
21
|
# The URL for accessing the publication as defined by this distribution.
|
29
22
|
attr_accessor :base_url
|
30
23
|
|
@@ -34,29 +27,36 @@ module PulpcoreClient
|
|
34
27
|
# A unique name. Ex, `rawhide` and `stable`.
|
35
28
|
attr_accessor :name
|
36
29
|
|
30
|
+
attr_accessor :pulp_labels
|
31
|
+
|
32
|
+
# Timestamp of creation.
|
33
|
+
attr_accessor :pulp_created
|
34
|
+
|
35
|
+
attr_accessor :pulp_href
|
36
|
+
|
37
37
|
# Attribute mapping from ruby-style variable name to JSON key.
|
38
38
|
def self.attribute_map
|
39
39
|
{
|
40
|
-
:'pulp_href' => :'pulp_href',
|
41
|
-
:'pulp_created' => :'pulp_created',
|
42
40
|
:'content_guard' => :'content_guard',
|
43
|
-
:'pulp_labels' => :'pulp_labels',
|
44
41
|
:'base_url' => :'base_url',
|
45
42
|
:'base_path' => :'base_path',
|
46
|
-
:'name' => :'name'
|
43
|
+
:'name' => :'name',
|
44
|
+
:'pulp_labels' => :'pulp_labels',
|
45
|
+
:'pulp_created' => :'pulp_created',
|
46
|
+
:'pulp_href' => :'pulp_href'
|
47
47
|
}
|
48
48
|
end
|
49
49
|
|
50
50
|
# Attribute type mapping.
|
51
51
|
def self.openapi_types
|
52
52
|
{
|
53
|
-
:'pulp_href' => :'String',
|
54
|
-
:'pulp_created' => :'DateTime',
|
55
53
|
:'content_guard' => :'String',
|
56
|
-
:'pulp_labels' => :'Hash<String, String>',
|
57
54
|
:'base_url' => :'String',
|
58
55
|
:'base_path' => :'String',
|
59
|
-
:'name' => :'String'
|
56
|
+
:'name' => :'String',
|
57
|
+
:'pulp_labels' => :'Hash<String, String>',
|
58
|
+
:'pulp_created' => :'DateTime',
|
59
|
+
:'pulp_href' => :'String'
|
60
60
|
}
|
61
61
|
end
|
62
62
|
|
@@ -82,24 +82,10 @@ module PulpcoreClient
|
|
82
82
|
h[k.to_sym] = v
|
83
83
|
}
|
84
84
|
|
85
|
-
if attributes.key?(:'pulp_href')
|
86
|
-
self.pulp_href = attributes[:'pulp_href']
|
87
|
-
end
|
88
|
-
|
89
|
-
if attributes.key?(:'pulp_created')
|
90
|
-
self.pulp_created = attributes[:'pulp_created']
|
91
|
-
end
|
92
|
-
|
93
85
|
if attributes.key?(:'content_guard')
|
94
86
|
self.content_guard = attributes[:'content_guard']
|
95
87
|
end
|
96
88
|
|
97
|
-
if attributes.key?(:'pulp_labels')
|
98
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
99
|
-
self.pulp_labels = value
|
100
|
-
end
|
101
|
-
end
|
102
|
-
|
103
89
|
if attributes.key?(:'base_url')
|
104
90
|
self.base_url = attributes[:'base_url']
|
105
91
|
end
|
@@ -111,6 +97,20 @@ module PulpcoreClient
|
|
111
97
|
if attributes.key?(:'name')
|
112
98
|
self.name = attributes[:'name']
|
113
99
|
end
|
100
|
+
|
101
|
+
if attributes.key?(:'pulp_labels')
|
102
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
103
|
+
self.pulp_labels = value
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
if attributes.key?(:'pulp_created')
|
108
|
+
self.pulp_created = attributes[:'pulp_created']
|
109
|
+
end
|
110
|
+
|
111
|
+
if attributes.key?(:'pulp_href')
|
112
|
+
self.pulp_href = attributes[:'pulp_href']
|
113
|
+
end
|
114
114
|
end
|
115
115
|
|
116
116
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -141,13 +141,13 @@ module PulpcoreClient
|
|
141
141
|
def ==(o)
|
142
142
|
return true if self.equal?(o)
|
143
143
|
self.class == o.class &&
|
144
|
-
pulp_href == o.pulp_href &&
|
145
|
-
pulp_created == o.pulp_created &&
|
146
144
|
content_guard == o.content_guard &&
|
147
|
-
pulp_labels == o.pulp_labels &&
|
148
145
|
base_url == o.base_url &&
|
149
146
|
base_path == o.base_path &&
|
150
|
-
name == o.name
|
147
|
+
name == o.name &&
|
148
|
+
pulp_labels == o.pulp_labels &&
|
149
|
+
pulp_created == o.pulp_created &&
|
150
|
+
pulp_href == o.pulp_href
|
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
|
-
[
|
162
|
+
[content_guard, base_url, base_path, name, pulp_labels, pulp_created, pulp_href].hash
|
163
163
|
end
|
164
164
|
|
165
165
|
# Builds the object from hash
|
@@ -32,43 +32,43 @@ 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 "content_guard"' 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_url"' 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 "name"' 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_labels"' 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_href"' 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.11
|
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-07-
|
11
|
+
date: 2023-07-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|