pulpcore_client 3.0.0rc5 → 3.0.0rc6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/docs/ProgressReport.md +3 -1
- data/docs/RepositoriesApi.md +6 -4
- data/docs/Repository.md +2 -0
- data/docs/UploadChunk.md +23 -0
- data/docs/UploadDetail.md +1 -1
- data/lib/pulpcore_client/api/artifacts_api.rb +1 -1
- data/lib/pulpcore_client/api/orphans_api.rb +1 -1
- data/lib/pulpcore_client/api/repositories_api.rb +10 -7
- data/lib/pulpcore_client/api/repositories_versions_api.rb +1 -1
- data/lib/pulpcore_client/api/status_api.rb +1 -1
- data/lib/pulpcore_client/api/tasks_api.rb +1 -1
- data/lib/pulpcore_client/api/uploads_api.rb +1 -1
- data/lib/pulpcore_client/api/workers_api.rb +1 -1
- data/lib/pulpcore_client/api_client.rb +1 -1
- data/lib/pulpcore_client/api_error.rb +1 -1
- data/lib/pulpcore_client/configuration.rb +1 -1
- data/lib/pulpcore_client/models/artifact.rb +1 -1
- data/lib/pulpcore_client/models/async_operation_response.rb +1 -1
- data/lib/pulpcore_client/models/content_app_status.rb +1 -1
- data/lib/pulpcore_client/models/content_summary.rb +1 -1
- data/lib/pulpcore_client/models/database_connection.rb +1 -1
- data/lib/pulpcore_client/models/inline_response200.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2001.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2002.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2003.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2004.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2005.rb +1 -1
- data/lib/pulpcore_client/models/progress_report.rb +28 -3
- data/lib/pulpcore_client/models/redis_connection.rb +1 -1
- data/lib/pulpcore_client/models/repository.rb +12 -2
- data/lib/pulpcore_client/models/repository_version.rb +1 -1
- data/lib/pulpcore_client/models/repository_version_create.rb +1 -1
- data/lib/pulpcore_client/models/status.rb +1 -1
- data/lib/pulpcore_client/models/task.rb +1 -1
- data/lib/pulpcore_client/models/task_cancel.rb +1 -1
- data/lib/pulpcore_client/models/upload.rb +1 -1
- data/lib/pulpcore_client/models/{upload_chunk_detail.rb → upload_chunk.rb} +33 -64
- data/lib/pulpcore_client/models/upload_commit.rb +1 -1
- data/lib/pulpcore_client/models/upload_detail.rb +2 -2
- data/lib/pulpcore_client/models/version.rb +1 -1
- data/lib/pulpcore_client/models/worker.rb +1 -1
- data/lib/pulpcore_client/version.rb +2 -2
- data/lib/pulpcore_client.rb +2 -2
- data/pulpcore_client.gemspec +1 -1
- data/spec/api/artifacts_api_spec.rb +1 -1
- data/spec/api/orphans_api_spec.rb +1 -1
- data/spec/api/repositories_api_spec.rb +4 -3
- data/spec/api/repositories_versions_api_spec.rb +1 -1
- data/spec/api/status_api_spec.rb +1 -1
- data/spec/api/tasks_api_spec.rb +1 -1
- data/spec/api/uploads_api_spec.rb +1 -1
- data/spec/api/workers_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/artifact_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/content_app_status_spec.rb +1 -1
- data/spec/models/content_summary_spec.rb +1 -1
- data/spec/models/database_connection_spec.rb +1 -1
- data/spec/models/inline_response2001_spec.rb +1 -1
- data/spec/models/inline_response2002_spec.rb +1 -1
- data/spec/models/inline_response2003_spec.rb +1 -1
- data/spec/models/inline_response2004_spec.rb +1 -1
- data/spec/models/inline_response2005_spec.rb +1 -1
- data/spec/models/inline_response200_spec.rb +1 -1
- data/spec/models/progress_report_spec.rb +7 -1
- data/spec/models/redis_connection_spec.rb +1 -1
- data/spec/models/repository_spec.rb +7 -1
- data/spec/models/repository_version_create_spec.rb +1 -1
- data/spec/models/repository_version_spec.rb +1 -1
- data/spec/models/status_spec.rb +1 -1
- data/spec/models/task_cancel_spec.rb +1 -1
- data/spec/models/task_spec.rb +1 -1
- data/spec/models/{upload_chunk_detail_spec.rb → upload_chunk_spec.rb} +19 -7
- data/spec/models/upload_commit_spec.rb +1 -1
- data/spec/models/upload_detail_spec.rb +1 -1
- data/spec/models/upload_spec.rb +1 -1
- data/spec/models/version_spec.rb +1 -1
- data/spec/models/worker_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +6 -6
- data/docs/UploadChunkDetail.md +0 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e5c3d6fa22a41f8354f49381795033f04fa5eb855c794d1d6294e801168b8ac2
|
4
|
+
data.tar.gz: 2987689f60f3a27b5e1ab7066e44fa683d589214c0e120b89c9642c0ef7524ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 495262af778c0365a1c54d2c4a4f1bc84ba23ed18a2e38efee50d474b6296aafaf8923a4ce4b198262c590e8c19701e18883b0a921930f66bd88956294b91eb2
|
7
|
+
data.tar.gz: 4b3fdca080511ba2f9d33d8a3a83c4bdff3a7a7c471a5e70e6824cbb7b1863c257506a9aae81b3022446005bff97fc3de8080568cddbad567b19e8a43154a38b
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
|
|
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.0.
|
10
|
+
- Package version: 3.0.0rc6
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
|
13
13
|
## Installation
|
@@ -23,16 +23,16 @@ gem build pulpcore_client.gemspec
|
|
23
23
|
Then either install the gem locally:
|
24
24
|
|
25
25
|
```shell
|
26
|
-
gem install ./pulpcore_client-3.0.
|
26
|
+
gem install ./pulpcore_client-3.0.0rc6.gem
|
27
27
|
```
|
28
28
|
|
29
|
-
(for development, run `gem install --dev ./pulpcore_client-3.0.
|
29
|
+
(for development, run `gem install --dev ./pulpcore_client-3.0.0rc6.gem` to install the development dependencies)
|
30
30
|
|
31
31
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
32
32
|
|
33
33
|
Finally add this to the Gemfile:
|
34
34
|
|
35
|
-
gem 'pulpcore_client', '~> 3.0.
|
35
|
+
gem 'pulpcore_client', '~> 3.0.0rc6'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -143,7 +143,7 @@ Class | Method | HTTP request | Description
|
|
143
143
|
- [PulpcoreClient::Task](docs/Task.md)
|
144
144
|
- [PulpcoreClient::TaskCancel](docs/TaskCancel.md)
|
145
145
|
- [PulpcoreClient::Upload](docs/Upload.md)
|
146
|
-
- [PulpcoreClient::
|
146
|
+
- [PulpcoreClient::UploadChunk](docs/UploadChunk.md)
|
147
147
|
- [PulpcoreClient::UploadCommit](docs/UploadCommit.md)
|
148
148
|
- [PulpcoreClient::UploadDetail](docs/UploadDetail.md)
|
149
149
|
- [PulpcoreClient::Version](docs/Version.md)
|
data/docs/ProgressReport.md
CHANGED
@@ -5,8 +5,9 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**message** | **String** | The message shown to the user for the progress report. | [optional]
|
8
|
+
**code** | **String** | Identifies the type of progress report'. | [optional]
|
8
9
|
**state** | **String** | The current state of the progress report. The possible values are: 'waiting', 'skipped', 'running', 'completed', 'failed' and 'canceled'. The default is 'waiting'. | [optional]
|
9
|
-
**total** | **Integer** | The total count of items
|
10
|
+
**total** | **Integer** | The total count of items. | [optional]
|
10
11
|
**done** | **Integer** | The count of items already processed. Defaults to 0. | [optional]
|
11
12
|
**suffix** | **String** | The suffix to be shown with the progress report. | [optional]
|
12
13
|
|
@@ -16,6 +17,7 @@ Name | Type | Description | Notes
|
|
16
17
|
require 'PulpcoreClient'
|
17
18
|
|
18
19
|
instance = PulpcoreClient::ProgressReport.new(message: null,
|
20
|
+
code: null,
|
19
21
|
state: null,
|
20
22
|
total: null,
|
21
23
|
done: null,
|
data/docs/RepositoriesApi.md
CHANGED
@@ -139,8 +139,9 @@ api_instance = PulpcoreClient::RepositoriesApi.new
|
|
139
139
|
opts = {
|
140
140
|
name: 'name_example', # String |
|
141
141
|
name__in: 'name__in_example', # String | Filter results where name is in a comma-separated list of values
|
142
|
-
|
143
|
-
|
142
|
+
plugin_managed: 'plugin_managed_example', # String |
|
143
|
+
limit: 56, # Integer | Number of results to return per page.
|
144
|
+
offset: 56, # Integer | The initial index from which to return the results.
|
144
145
|
fields: 'fields_example' # String | A list of fields to include in the response.
|
145
146
|
}
|
146
147
|
|
@@ -160,8 +161,9 @@ Name | Type | Description | Notes
|
|
160
161
|
------------- | ------------- | ------------- | -------------
|
161
162
|
**name** | **String**| | [optional]
|
162
163
|
**name__in** | **String**| Filter results where name is in a comma-separated list of values | [optional]
|
163
|
-
**
|
164
|
-
**
|
164
|
+
**plugin_managed** | **String**| | [optional]
|
165
|
+
**limit** | **Integer**| Number of results to return per page. | [optional]
|
166
|
+
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
165
167
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
166
168
|
|
167
169
|
### Return type
|
data/docs/Repository.md
CHANGED
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
9
9
|
**_versions_href** | **String** | | [optional]
|
10
10
|
**_latest_version_href** | **String** | | [optional]
|
11
11
|
**name** | **String** | A unique name for this repository. |
|
12
|
+
**plugin_managed** | **Boolean** | True if the plugin manages this repository, users typically do not interact with it. | [optional]
|
12
13
|
**description** | **String** | An optional description. | [optional]
|
13
14
|
|
14
15
|
## Code Sample
|
@@ -21,6 +22,7 @@ instance = PulpcoreClient::Repository.new(_href: null,
|
|
21
22
|
_versions_href: null,
|
22
23
|
_latest_version_href: null,
|
23
24
|
name: null,
|
25
|
+
plugin_managed: null,
|
24
26
|
description: null)
|
25
27
|
```
|
26
28
|
|
data/docs/UploadChunk.md
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpcoreClient::UploadChunk
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**file** | **String** | A chunk of the uploaded file. | [optional]
|
8
|
+
**sha256** | **String** | The SHA-256 checksum of the chunk if available. | [optional]
|
9
|
+
**offset** | **Integer** | | [optional]
|
10
|
+
**size** | **Integer** | | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpcoreClient'
|
16
|
+
|
17
|
+
instance = PulpcoreClient::UploadChunk.new(file: null,
|
18
|
+
sha256: null,
|
19
|
+
offset: null,
|
20
|
+
size: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
data/docs/UploadDetail.md
CHANGED
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
8
8
|
**_created** | **DateTime** | Timestamp of creation. | [optional]
|
9
9
|
**size** | **Integer** | The size of the upload in bytes. |
|
10
10
|
**completed** | **DateTime** | Timestamp when upload is committed. | [optional]
|
11
|
-
**chunks** | [**Array<
|
11
|
+
**chunks** | [**Array<UploadChunk>**](UploadChunk.md) | | [optional]
|
12
12
|
|
13
13
|
## Code Sample
|
14
14
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.1.
|
9
|
+
OpenAPI Generator version: 4.1.3-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -147,8 +147,9 @@ module PulpcoreClient
|
|
147
147
|
# @param [Hash] opts the optional parameters
|
148
148
|
# @option opts [String] :name
|
149
149
|
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
150
|
-
# @option opts [
|
151
|
-
# @option opts [Integer] :
|
150
|
+
# @option opts [String] :plugin_managed
|
151
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
152
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
152
153
|
# @option opts [String] :fields A list of fields to include in the response.
|
153
154
|
# @return [InlineResponse2001]
|
154
155
|
def list(opts = {})
|
@@ -160,8 +161,9 @@ module PulpcoreClient
|
|
160
161
|
# @param [Hash] opts the optional parameters
|
161
162
|
# @option opts [String] :name
|
162
163
|
# @option opts [String] :name__in Filter results where name is in a comma-separated list of values
|
163
|
-
# @option opts [
|
164
|
-
# @option opts [Integer] :
|
164
|
+
# @option opts [String] :plugin_managed
|
165
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
166
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
165
167
|
# @option opts [String] :fields A list of fields to include in the response.
|
166
168
|
# @return [Array<(InlineResponse2001, Integer, Hash)>] InlineResponse2001 data, response status code and response headers
|
167
169
|
def list_with_http_info(opts = {})
|
@@ -175,8 +177,9 @@ module PulpcoreClient
|
|
175
177
|
query_params = opts[:query_params] || {}
|
176
178
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
177
179
|
query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
|
178
|
-
query_params[:'
|
179
|
-
query_params[:'
|
180
|
+
query_params[:'plugin_managed'] = opts[:'plugin_managed'] if !opts[:'plugin_managed'].nil?
|
181
|
+
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
182
|
+
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
180
183
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
181
184
|
|
182
185
|
# header parameters
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.1.
|
9
|
+
OpenAPI Generator version: 4.1.3-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -17,10 +17,13 @@ module PulpcoreClient
|
|
17
17
|
# The message shown to the user for the progress report.
|
18
18
|
attr_accessor :message
|
19
19
|
|
20
|
+
# Identifies the type of progress report'.
|
21
|
+
attr_accessor :code
|
22
|
+
|
20
23
|
# The current state of the progress report. The possible values are: 'waiting', 'skipped', 'running', 'completed', 'failed' and 'canceled'. The default is 'waiting'.
|
21
24
|
attr_accessor :state
|
22
25
|
|
23
|
-
# The total count of items
|
26
|
+
# The total count of items.
|
24
27
|
attr_accessor :total
|
25
28
|
|
26
29
|
# The count of items already processed. Defaults to 0.
|
@@ -33,6 +36,7 @@ module PulpcoreClient
|
|
33
36
|
def self.attribute_map
|
34
37
|
{
|
35
38
|
:'message' => :'message',
|
39
|
+
:'code' => :'code',
|
36
40
|
:'state' => :'state',
|
37
41
|
:'total' => :'total',
|
38
42
|
:'done' => :'done',
|
@@ -44,6 +48,7 @@ module PulpcoreClient
|
|
44
48
|
def self.openapi_types
|
45
49
|
{
|
46
50
|
:'message' => :'String',
|
51
|
+
:'code' => :'String',
|
47
52
|
:'state' => :'String',
|
48
53
|
:'total' => :'Integer',
|
49
54
|
:'done' => :'Integer',
|
@@ -70,6 +75,10 @@ module PulpcoreClient
|
|
70
75
|
self.message = attributes[:'message']
|
71
76
|
end
|
72
77
|
|
78
|
+
if attributes.key?(:'code')
|
79
|
+
self.code = attributes[:'code']
|
80
|
+
end
|
81
|
+
|
73
82
|
if attributes.key?(:'state')
|
74
83
|
self.state = attributes[:'state']
|
75
84
|
end
|
@@ -95,6 +104,10 @@ module PulpcoreClient
|
|
95
104
|
invalid_properties.push('invalid value for "message", the character length must be great than or equal to 1.')
|
96
105
|
end
|
97
106
|
|
107
|
+
if !@code.nil? && @code.to_s.length < 1
|
108
|
+
invalid_properties.push('invalid value for "code", the character length must be great than or equal to 1.')
|
109
|
+
end
|
110
|
+
|
98
111
|
if !@state.nil? && @state.to_s.length < 1
|
99
112
|
invalid_properties.push('invalid value for "state", the character length must be great than or equal to 1.')
|
100
113
|
end
|
@@ -110,6 +123,7 @@ module PulpcoreClient
|
|
110
123
|
# @return true if the model is valid
|
111
124
|
def valid?
|
112
125
|
return false if !@message.nil? && @message.to_s.length < 1
|
126
|
+
return false if !@code.nil? && @code.to_s.length < 1
|
113
127
|
return false if !@state.nil? && @state.to_s.length < 1
|
114
128
|
return false if !@suffix.nil? && @suffix.to_s.length < 1
|
115
129
|
true
|
@@ -125,6 +139,16 @@ module PulpcoreClient
|
|
125
139
|
@message = message
|
126
140
|
end
|
127
141
|
|
142
|
+
# Custom attribute writer method with validation
|
143
|
+
# @param [Object] code Value to be assigned
|
144
|
+
def code=(code)
|
145
|
+
if !code.nil? && code.to_s.length < 1
|
146
|
+
fail ArgumentError, 'invalid value for "code", the character length must be great than or equal to 1.'
|
147
|
+
end
|
148
|
+
|
149
|
+
@code = code
|
150
|
+
end
|
151
|
+
|
128
152
|
# Custom attribute writer method with validation
|
129
153
|
# @param [Object] state Value to be assigned
|
130
154
|
def state=(state)
|
@@ -151,6 +175,7 @@ module PulpcoreClient
|
|
151
175
|
return true if self.equal?(o)
|
152
176
|
self.class == o.class &&
|
153
177
|
message == o.message &&
|
178
|
+
code == o.code &&
|
154
179
|
state == o.state &&
|
155
180
|
total == o.total &&
|
156
181
|
done == o.done &&
|
@@ -166,7 +191,7 @@ module PulpcoreClient
|
|
166
191
|
# Calculates hash code according to all attributes.
|
167
192
|
# @return [Integer] Hash code
|
168
193
|
def hash
|
169
|
-
[message, state, total, done, suffix].hash
|
194
|
+
[message, code, state, total, done, suffix].hash
|
170
195
|
end
|
171
196
|
|
172
197
|
# Builds the object from hash
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.1.
|
9
|
+
OpenAPI Generator version: 4.1.3-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -26,6 +26,9 @@ module PulpcoreClient
|
|
26
26
|
# A unique name for this repository.
|
27
27
|
attr_accessor :name
|
28
28
|
|
29
|
+
# True if the plugin manages this repository, users typically do not interact with it.
|
30
|
+
attr_accessor :plugin_managed
|
31
|
+
|
29
32
|
# An optional description.
|
30
33
|
attr_accessor :description
|
31
34
|
|
@@ -37,6 +40,7 @@ module PulpcoreClient
|
|
37
40
|
:'_versions_href' => :'_versions_href',
|
38
41
|
:'_latest_version_href' => :'_latest_version_href',
|
39
42
|
:'name' => :'name',
|
43
|
+
:'plugin_managed' => :'plugin_managed',
|
40
44
|
:'description' => :'description'
|
41
45
|
}
|
42
46
|
end
|
@@ -49,6 +53,7 @@ module PulpcoreClient
|
|
49
53
|
:'_versions_href' => :'String',
|
50
54
|
:'_latest_version_href' => :'String',
|
51
55
|
:'name' => :'String',
|
56
|
+
:'plugin_managed' => :'Boolean',
|
52
57
|
:'description' => :'String'
|
53
58
|
}
|
54
59
|
end
|
@@ -88,6 +93,10 @@ module PulpcoreClient
|
|
88
93
|
self.name = attributes[:'name']
|
89
94
|
end
|
90
95
|
|
96
|
+
if attributes.key?(:'plugin_managed')
|
97
|
+
self.plugin_managed = attributes[:'plugin_managed']
|
98
|
+
end
|
99
|
+
|
91
100
|
if attributes.key?(:'description')
|
92
101
|
self.description = attributes[:'description']
|
93
102
|
end
|
@@ -155,6 +164,7 @@ module PulpcoreClient
|
|
155
164
|
_versions_href == o._versions_href &&
|
156
165
|
_latest_version_href == o._latest_version_href &&
|
157
166
|
name == o.name &&
|
167
|
+
plugin_managed == o.plugin_managed &&
|
158
168
|
description == o.description
|
159
169
|
end
|
160
170
|
|
@@ -167,7 +177,7 @@ module PulpcoreClient
|
|
167
177
|
# Calculates hash code according to all attributes.
|
168
178
|
# @return [Integer] Hash code
|
169
179
|
def hash
|
170
|
-
[_href, _created, _versions_href, _latest_version_href, name, description].hash
|
180
|
+
[_href, _created, _versions_href, _latest_version_href, name, plugin_managed, description].hash
|
171
181
|
end
|
172
182
|
|
173
183
|
# Builds the object from hash
|