pulpcore_client 3.6.5 → 3.7.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 +4 -4
- data/README.md +4 -4
- data/docs/PulpExportResponse.md +3 -1
- data/docs/WorkerResponse.md +3 -3
- data/lib/pulpcore_client/models/pulp_export_response.rb +14 -4
- data/lib/pulpcore_client/models/upload_chunk.rb +1 -0
- data/lib/pulpcore_client/models/upload_chunk_response.rb +1 -0
- data/lib/pulpcore_client/models/upload_commit.rb +1 -0
- data/lib/pulpcore_client/models/worker_response.rb +10 -10
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/models/pulp_export_response_spec.rb +6 -0
- data/spec/models/worker_response_spec.rb +2 -2
- 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: 7abda594f078eee9a21ad0d166a51db98ca62cada13e62a1f08d0691563a6089
|
4
|
+
data.tar.gz: 55a31e356c5dfa1db0c59d8fe88d3c02fc4314c4aa072238aba6b9066f82cd4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98d005dd0fcf0ed67dbf389df4550f4da394cb90d1803581affaf8a41e58da13e9a98c2cf5016021e9b566603ae9104df06e13e801c364781aaf646e4bfa28e4
|
7
|
+
data.tar.gz: 50dccddffcdd71fc438b3e95e822861e40d4b49527f6afdf0ec9fe31169341a80d27f47a57c94c6eec3ef76f2fd7962b656022d0edae77485a3df1161758798f
|
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.7.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.7.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.7.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.7.0'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
data/docs/PulpExportResponse.md
CHANGED
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
10
10
|
**exported_resources** | **Array<Object>** | Resources that were exported. | [optional] [readonly]
|
11
11
|
**params** | [**Object**](.md) | Any additional parameters that were used to create the export. | [optional] [readonly]
|
12
12
|
**output_file_info** | [**Object**](.md) | Dictionary of filename: sha256hash entries for export-output-file(s) | [optional] [readonly]
|
13
|
+
**toc_info** | [**Object**](.md) | Filename and sha256-checksum of table-of-contents for this export | [optional] [readonly]
|
13
14
|
|
14
15
|
## Code Sample
|
15
16
|
|
@@ -21,7 +22,8 @@ instance = PulpcoreClient::PulpExportResponse.new(pulp_href: null,
|
|
21
22
|
task: null,
|
22
23
|
exported_resources: null,
|
23
24
|
params: null,
|
24
|
-
output_file_info: null
|
25
|
+
output_file_info: null,
|
26
|
+
toc_info: null)
|
25
27
|
```
|
26
28
|
|
27
29
|
|
data/docs/WorkerResponse.md
CHANGED
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
8
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
9
|
**name** | **String** | The name of the worker. | [optional] [readonly]
|
10
10
|
**last_heartbeat** | **DateTime** | Timestamp of the last time the worker talked to the service. | [optional] [readonly]
|
11
11
|
|
@@ -14,8 +14,8 @@ Name | Type | Description | Notes
|
|
14
14
|
```ruby
|
15
15
|
require 'PulpcoreClient'
|
16
16
|
|
17
|
-
instance = PulpcoreClient::WorkerResponse.new(
|
18
|
-
|
17
|
+
instance = PulpcoreClient::WorkerResponse.new(pulp_href: null,
|
18
|
+
pulp_created: null,
|
19
19
|
name: null,
|
20
20
|
last_heartbeat: null)
|
21
21
|
```
|
@@ -32,6 +32,9 @@ module PulpcoreClient
|
|
32
32
|
# Dictionary of filename: sha256hash entries for export-output-file(s)
|
33
33
|
attr_accessor :output_file_info
|
34
34
|
|
35
|
+
# Filename and sha256-checksum of table-of-contents for this export
|
36
|
+
attr_accessor :toc_info
|
37
|
+
|
35
38
|
# Attribute mapping from ruby-style variable name to JSON key.
|
36
39
|
def self.attribute_map
|
37
40
|
{
|
@@ -40,7 +43,8 @@ module PulpcoreClient
|
|
40
43
|
:'task' => :'task',
|
41
44
|
:'exported_resources' => :'exported_resources',
|
42
45
|
:'params' => :'params',
|
43
|
-
:'output_file_info' => :'output_file_info'
|
46
|
+
:'output_file_info' => :'output_file_info',
|
47
|
+
:'toc_info' => :'toc_info'
|
44
48
|
}
|
45
49
|
end
|
46
50
|
|
@@ -52,7 +56,8 @@ module PulpcoreClient
|
|
52
56
|
:'task' => :'String',
|
53
57
|
:'exported_resources' => :'Array<Object>',
|
54
58
|
:'params' => :'Object',
|
55
|
-
:'output_file_info' => :'Object'
|
59
|
+
:'output_file_info' => :'Object',
|
60
|
+
:'toc_info' => :'Object'
|
56
61
|
}
|
57
62
|
end
|
58
63
|
|
@@ -103,6 +108,10 @@ module PulpcoreClient
|
|
103
108
|
if attributes.key?(:'output_file_info')
|
104
109
|
self.output_file_info = attributes[:'output_file_info']
|
105
110
|
end
|
111
|
+
|
112
|
+
if attributes.key?(:'toc_info')
|
113
|
+
self.toc_info = attributes[:'toc_info']
|
114
|
+
end
|
106
115
|
end
|
107
116
|
|
108
117
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -128,7 +137,8 @@ module PulpcoreClient
|
|
128
137
|
task == o.task &&
|
129
138
|
exported_resources == o.exported_resources &&
|
130
139
|
params == o.params &&
|
131
|
-
output_file_info == o.output_file_info
|
140
|
+
output_file_info == o.output_file_info &&
|
141
|
+
toc_info == o.toc_info
|
132
142
|
end
|
133
143
|
|
134
144
|
# @see the `==` method
|
@@ -140,7 +150,7 @@ module PulpcoreClient
|
|
140
150
|
# Calculates hash code according to all attributes.
|
141
151
|
# @return [Integer] Hash code
|
142
152
|
def hash
|
143
|
-
[pulp_href, pulp_created, task, exported_resources, params, output_file_info].hash
|
153
|
+
[pulp_href, pulp_created, task, exported_resources, params, output_file_info, toc_info].hash
|
144
154
|
end
|
145
155
|
|
146
156
|
# Builds the object from hash
|
@@ -15,11 +15,11 @@ require 'date'
|
|
15
15
|
module PulpcoreClient
|
16
16
|
# Base serializer for use with :class:`pulpcore.app.models.Model` This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
17
17
|
class WorkerResponse
|
18
|
+
attr_accessor :pulp_href
|
19
|
+
|
18
20
|
# Timestamp of creation.
|
19
21
|
attr_accessor :pulp_created
|
20
22
|
|
21
|
-
attr_accessor :pulp_href
|
22
|
-
|
23
23
|
# The name of the worker.
|
24
24
|
attr_accessor :name
|
25
25
|
|
@@ -29,8 +29,8 @@ module PulpcoreClient
|
|
29
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
30
30
|
def self.attribute_map
|
31
31
|
{
|
32
|
-
:'pulp_created' => :'pulp_created',
|
33
32
|
:'pulp_href' => :'pulp_href',
|
33
|
+
:'pulp_created' => :'pulp_created',
|
34
34
|
:'name' => :'name',
|
35
35
|
:'last_heartbeat' => :'last_heartbeat'
|
36
36
|
}
|
@@ -39,8 +39,8 @@ module PulpcoreClient
|
|
39
39
|
# Attribute type mapping.
|
40
40
|
def self.openapi_types
|
41
41
|
{
|
42
|
-
:'pulp_created' => :'DateTime',
|
43
42
|
:'pulp_href' => :'String',
|
43
|
+
:'pulp_created' => :'DateTime',
|
44
44
|
:'name' => :'String',
|
45
45
|
:'last_heartbeat' => :'DateTime'
|
46
46
|
}
|
@@ -67,14 +67,14 @@ module PulpcoreClient
|
|
67
67
|
h[k.to_sym] = v
|
68
68
|
}
|
69
69
|
|
70
|
-
if attributes.key?(:'pulp_created')
|
71
|
-
self.pulp_created = attributes[:'pulp_created']
|
72
|
-
end
|
73
|
-
|
74
70
|
if attributes.key?(:'pulp_href')
|
75
71
|
self.pulp_href = attributes[:'pulp_href']
|
76
72
|
end
|
77
73
|
|
74
|
+
if attributes.key?(:'pulp_created')
|
75
|
+
self.pulp_created = attributes[:'pulp_created']
|
76
|
+
end
|
77
|
+
|
78
78
|
if attributes.key?(:'name')
|
79
79
|
self.name = attributes[:'name']
|
80
80
|
end
|
@@ -102,8 +102,8 @@ module PulpcoreClient
|
|
102
102
|
def ==(o)
|
103
103
|
return true if self.equal?(o)
|
104
104
|
self.class == o.class &&
|
105
|
-
pulp_created == o.pulp_created &&
|
106
105
|
pulp_href == o.pulp_href &&
|
106
|
+
pulp_created == o.pulp_created &&
|
107
107
|
name == o.name &&
|
108
108
|
last_heartbeat == o.last_heartbeat
|
109
109
|
end
|
@@ -117,7 +117,7 @@ module PulpcoreClient
|
|
117
117
|
# Calculates hash code according to all attributes.
|
118
118
|
# @return [Integer] Hash code
|
119
119
|
def hash
|
120
|
-
[
|
120
|
+
[pulp_href, pulp_created, name, last_heartbeat].hash
|
121
121
|
end
|
122
122
|
|
123
123
|
# Builds the object from hash
|
@@ -32,13 +32,13 @@ describe 'WorkerResponse' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpcoreClient::WorkerResponse)
|
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 "pulp_created"' 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
|
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.7.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: 2020-
|
11
|
+
date: 2020-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|