pulpcore_client 3.22.1 → 3.22.2
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 +4 -4
- data/README.md +4 -4
- data/docs/ArtifactDistributionResponse.md +7 -7
- data/docs/FilesystemExport.md +3 -1
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +28 -28
- data/lib/pulpcore_client/models/filesystem_export.rb +14 -4
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/models/artifact_distribution_response_spec.rb +5 -5
- data/spec/models/filesystem_export_spec.rb +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7323866a94863ffc783d66bbfbffa8e671e96892b01fd37ef513b950c05f2d79
|
4
|
+
data.tar.gz: 176ff90234440b45fa590e3db67cff753b605127ece6dc34392735fc60d4b9d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51da9aeff99d422ae50193ec673fe2cad1d088f40fd184f78039d859445f59ace3f65a2fac9f2ad1d8847b1ff2011c67397c9796aea642a2c48febd0bff082b6
|
7
|
+
data.tar.gz: d87b84f25d2da941f796972e1b8711b9c3df9c11edf5cbb1502e3a512d4499bcbc42c5541a83f04786881e804388567e6b2c3fb09af21f229113e1fe3412d0d6
|
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.2
|
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.2.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.2.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.2'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -4,12 +4,12 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
7
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\") |
|
8
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
9
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
10
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
11
|
-
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
12
10
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
11
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
12
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
13
13
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
14
14
|
|
15
15
|
## Code Sample
|
@@ -17,12 +17,12 @@ Name | Type | Description | Notes
|
|
17
17
|
```ruby
|
18
18
|
require 'PulpcoreClient'
|
19
19
|
|
20
|
-
instance = PulpcoreClient::ArtifactDistributionResponse.new(
|
21
|
-
|
20
|
+
instance = PulpcoreClient::ArtifactDistributionResponse.new(base_url: null,
|
21
|
+
base_path: null,
|
22
22
|
content_guard: null,
|
23
|
-
pulp_href: null,
|
24
|
-
base_url: null,
|
25
23
|
name: null,
|
24
|
+
pulp_href: null,
|
25
|
+
pulp_created: null,
|
26
26
|
pulp_labels: null)
|
27
27
|
```
|
28
28
|
|
data/docs/FilesystemExport.md
CHANGED
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**task** | **String** | A URI of the task that ran the Export. | [optional]
|
8
8
|
**publication** | **String** | A URI of the publication to be exported. | [optional]
|
9
9
|
**repository_version** | **String** | A URI of the repository version export. | [optional]
|
10
|
+
**start_repository_version** | **String** | The URI of the last-exported-repo-version. | [optional]
|
10
11
|
|
11
12
|
## Code Sample
|
12
13
|
|
@@ -15,7 +16,8 @@ require 'PulpcoreClient'
|
|
15
16
|
|
16
17
|
instance = PulpcoreClient::FilesystemExport.new(task: null,
|
17
18
|
publication: null,
|
18
|
-
repository_version: null
|
19
|
+
repository_version: null,
|
20
|
+
start_repository_version: null)
|
19
21
|
```
|
20
22
|
|
21
23
|
|
@@ -15,34 +15,34 @@ require 'date'
|
|
15
15
|
module PulpcoreClient
|
16
16
|
# A serializer for ArtifactDistribution.
|
17
17
|
class ArtifactDistributionResponse
|
18
|
+
# The URL for accessing the publication as defined by this distribution.
|
19
|
+
attr_accessor :base_url
|
20
|
+
|
18
21
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
19
22
|
attr_accessor :base_path
|
20
23
|
|
21
|
-
# Timestamp of creation.
|
22
|
-
attr_accessor :pulp_created
|
23
|
-
|
24
24
|
# An optional content-guard.
|
25
25
|
attr_accessor :content_guard
|
26
26
|
|
27
|
-
attr_accessor :pulp_href
|
28
|
-
|
29
|
-
# The URL for accessing the publication as defined by this distribution.
|
30
|
-
attr_accessor :base_url
|
31
|
-
|
32
27
|
# A unique name. Ex, `rawhide` and `stable`.
|
33
28
|
attr_accessor :name
|
34
29
|
|
30
|
+
attr_accessor :pulp_href
|
31
|
+
|
32
|
+
# Timestamp of creation.
|
33
|
+
attr_accessor :pulp_created
|
34
|
+
|
35
35
|
attr_accessor :pulp_labels
|
36
36
|
|
37
37
|
# Attribute mapping from ruby-style variable name to JSON key.
|
38
38
|
def self.attribute_map
|
39
39
|
{
|
40
|
+
:'base_url' => :'base_url',
|
40
41
|
:'base_path' => :'base_path',
|
41
|
-
:'pulp_created' => :'pulp_created',
|
42
42
|
:'content_guard' => :'content_guard',
|
43
|
-
:'pulp_href' => :'pulp_href',
|
44
|
-
:'base_url' => :'base_url',
|
45
43
|
:'name' => :'name',
|
44
|
+
:'pulp_href' => :'pulp_href',
|
45
|
+
:'pulp_created' => :'pulp_created',
|
46
46
|
:'pulp_labels' => :'pulp_labels'
|
47
47
|
}
|
48
48
|
end
|
@@ -50,12 +50,12 @@ module PulpcoreClient
|
|
50
50
|
# Attribute type mapping.
|
51
51
|
def self.openapi_types
|
52
52
|
{
|
53
|
+
:'base_url' => :'String',
|
53
54
|
:'base_path' => :'String',
|
54
|
-
:'pulp_created' => :'DateTime',
|
55
55
|
:'content_guard' => :'String',
|
56
|
-
:'pulp_href' => :'String',
|
57
|
-
:'base_url' => :'String',
|
58
56
|
:'name' => :'String',
|
57
|
+
:'pulp_href' => :'String',
|
58
|
+
:'pulp_created' => :'DateTime',
|
59
59
|
:'pulp_labels' => :'Hash<String, String>'
|
60
60
|
}
|
61
61
|
end
|
@@ -82,28 +82,28 @@ module PulpcoreClient
|
|
82
82
|
h[k.to_sym] = v
|
83
83
|
}
|
84
84
|
|
85
|
-
if attributes.key?(:'
|
86
|
-
self.
|
85
|
+
if attributes.key?(:'base_url')
|
86
|
+
self.base_url = attributes[:'base_url']
|
87
87
|
end
|
88
88
|
|
89
|
-
if attributes.key?(:'
|
90
|
-
self.
|
89
|
+
if attributes.key?(:'base_path')
|
90
|
+
self.base_path = attributes[:'base_path']
|
91
91
|
end
|
92
92
|
|
93
93
|
if attributes.key?(:'content_guard')
|
94
94
|
self.content_guard = attributes[:'content_guard']
|
95
95
|
end
|
96
96
|
|
97
|
-
if attributes.key?(:'
|
98
|
-
self.
|
97
|
+
if attributes.key?(:'name')
|
98
|
+
self.name = attributes[:'name']
|
99
99
|
end
|
100
100
|
|
101
|
-
if attributes.key?(:'
|
102
|
-
self.
|
101
|
+
if attributes.key?(:'pulp_href')
|
102
|
+
self.pulp_href = attributes[:'pulp_href']
|
103
103
|
end
|
104
104
|
|
105
|
-
if attributes.key?(:'
|
106
|
-
self.
|
105
|
+
if attributes.key?(:'pulp_created')
|
106
|
+
self.pulp_created = attributes[:'pulp_created']
|
107
107
|
end
|
108
108
|
|
109
109
|
if attributes.key?(:'pulp_labels')
|
@@ -141,12 +141,12 @@ module PulpcoreClient
|
|
141
141
|
def ==(o)
|
142
142
|
return true if self.equal?(o)
|
143
143
|
self.class == o.class &&
|
144
|
+
base_url == o.base_url &&
|
144
145
|
base_path == o.base_path &&
|
145
|
-
pulp_created == o.pulp_created &&
|
146
146
|
content_guard == o.content_guard &&
|
147
|
-
pulp_href == o.pulp_href &&
|
148
|
-
base_url == o.base_url &&
|
149
147
|
name == o.name &&
|
148
|
+
pulp_href == o.pulp_href &&
|
149
|
+
pulp_created == o.pulp_created &&
|
150
150
|
pulp_labels == o.pulp_labels
|
151
151
|
end
|
152
152
|
|
@@ -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
|
+
[base_url, base_path, content_guard, name, pulp_href, pulp_created, pulp_labels].hash
|
163
163
|
end
|
164
164
|
|
165
165
|
# Builds the object from hash
|
@@ -24,12 +24,16 @@ module PulpcoreClient
|
|
24
24
|
# A URI of the repository version export.
|
25
25
|
attr_accessor :repository_version
|
26
26
|
|
27
|
+
# The URI of the last-exported-repo-version.
|
28
|
+
attr_accessor :start_repository_version
|
29
|
+
|
27
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
28
31
|
def self.attribute_map
|
29
32
|
{
|
30
33
|
:'task' => :'task',
|
31
34
|
:'publication' => :'publication',
|
32
|
-
:'repository_version' => :'repository_version'
|
35
|
+
:'repository_version' => :'repository_version',
|
36
|
+
:'start_repository_version' => :'start_repository_version'
|
33
37
|
}
|
34
38
|
end
|
35
39
|
|
@@ -38,7 +42,8 @@ module PulpcoreClient
|
|
38
42
|
{
|
39
43
|
:'task' => :'String',
|
40
44
|
:'publication' => :'String',
|
41
|
-
:'repository_version' => :'String'
|
45
|
+
:'repository_version' => :'String',
|
46
|
+
:'start_repository_version' => :'String'
|
42
47
|
}
|
43
48
|
end
|
44
49
|
|
@@ -75,6 +80,10 @@ module PulpcoreClient
|
|
75
80
|
if attributes.key?(:'repository_version')
|
76
81
|
self.repository_version = attributes[:'repository_version']
|
77
82
|
end
|
83
|
+
|
84
|
+
if attributes.key?(:'start_repository_version')
|
85
|
+
self.start_repository_version = attributes[:'start_repository_version']
|
86
|
+
end
|
78
87
|
end
|
79
88
|
|
80
89
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -97,7 +106,8 @@ module PulpcoreClient
|
|
97
106
|
self.class == o.class &&
|
98
107
|
task == o.task &&
|
99
108
|
publication == o.publication &&
|
100
|
-
repository_version == o.repository_version
|
109
|
+
repository_version == o.repository_version &&
|
110
|
+
start_repository_version == o.start_repository_version
|
101
111
|
end
|
102
112
|
|
103
113
|
# @see the `==` method
|
@@ -109,7 +119,7 @@ module PulpcoreClient
|
|
109
119
|
# Calculates hash code according to all attributes.
|
110
120
|
# @return [Integer] Hash code
|
111
121
|
def hash
|
112
|
-
[task, publication, repository_version].hash
|
122
|
+
[task, publication, repository_version, start_repository_version].hash
|
113
123
|
end
|
114
124
|
|
115
125
|
# Builds the object from hash
|
@@ -32,13 +32,13 @@ 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 "base_url"' 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
|
@@ -50,19 +50,19 @@ describe 'ArtifactDistributionResponse' do
|
|
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_href"' 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
|
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.2
|
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-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|