pulp_maven_client 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +43 -31
- data/docs/ContentArtifactApi.md +37 -35
- data/docs/ContentSummary.md +3 -3
- data/docs/ContentSummaryResponse.md +21 -0
- data/docs/DistributionsMavenApi.md +63 -61
- data/docs/MavenMavenArtifact.md +3 -13
- data/docs/MavenMavenArtifactResponse.md +29 -0
- data/docs/MavenMavenDistribution.md +1 -7
- data/docs/MavenMavenDistributionResponse.md +29 -0
- data/docs/MavenMavenRemote.md +18 -12
- data/docs/MavenMavenRemoteResponse.md +51 -0
- data/docs/MavenMavenRepository.md +4 -10
- data/docs/MavenMavenRepositoryResponse.md +29 -0
- data/docs/PaginatedRepositoryVersionResponseList.md +23 -0
- data/docs/PaginatedmavenMavenArtifactResponseList.md +23 -0
- data/docs/PaginatedmavenMavenDistributionResponseList.md +23 -0
- data/docs/PaginatedmavenMavenRemoteResponseList.md +23 -0
- data/docs/PaginatedmavenMavenRepositoryResponseList.md +23 -0
- data/docs/PatchedmavenMavenDistribution.md +23 -0
- data/docs/PatchedmavenMavenRemote.md +45 -0
- data/docs/PatchedmavenMavenRepository.md +21 -0
- data/docs/PolicyEnum.md +16 -0
- data/docs/RemotesMavenApi.md +68 -66
- data/docs/RepositoriesMavenApi.md +60 -58
- data/docs/RepositoriesMavenVersionsApi.md +110 -53
- data/docs/RepositoryVersion.md +1 -9
- data/docs/RepositoryVersionResponse.md +25 -0
- data/lib/pulp_maven_client/api/content_artifact_api.rb +55 -52
- data/lib/pulp_maven_client/api/distributions_maven_api.rb +94 -91
- data/lib/pulp_maven_client/api/remotes_maven_api.rb +104 -101
- data/lib/pulp_maven_client/api/repositories_maven_api.rb +97 -94
- data/lib/pulp_maven_client/api/repositories_maven_versions_api.rb +149 -78
- data/lib/pulp_maven_client/api_client.rb +3 -3
- data/lib/pulp_maven_client/api_error.rb +3 -3
- data/lib/pulp_maven_client/configuration.rb +6 -6
- data/lib/pulp_maven_client/models/async_operation_response.rb +4 -3
- data/lib/pulp_maven_client/models/content_summary.rb +10 -16
- data/lib/pulp_maven_client/models/content_summary_response.rb +240 -0
- data/lib/pulp_maven_client/models/maven_maven_artifact.rb +15 -118
- data/lib/pulp_maven_client/models/maven_maven_artifact_response.rb +272 -0
- data/lib/pulp_maven_client/models/maven_maven_distribution.rb +5 -86
- data/lib/pulp_maven_client/models/maven_maven_distribution_response.rb +279 -0
- data/lib/pulp_maven_client/models/maven_maven_remote.rb +111 -147
- data/lib/pulp_maven_client/models/maven_maven_remote_response.rb +472 -0
- data/lib/pulp_maven_client/models/maven_maven_repository.rb +19 -79
- data/lib/pulp_maven_client/models/maven_maven_repository_response.rb +271 -0
- data/lib/pulp_maven_client/models/{inline_response200.rb → paginated_repository_version_response_list.rb} +7 -17
- data/lib/pulp_maven_client/models/{inline_response2002.rb → paginatedmaven_maven_artifact_response_list.rb} +7 -17
- data/lib/pulp_maven_client/models/{inline_response2004.rb → paginatedmaven_maven_distribution_response_list.rb} +7 -17
- data/lib/pulp_maven_client/models/{inline_response2003.rb → paginatedmaven_maven_remote_response_list.rb} +7 -17
- data/lib/pulp_maven_client/models/paginatedmaven_maven_repository_response_list.rb +237 -0
- data/lib/pulp_maven_client/models/{inline_response2001.rb → patchedmaven_maven_distribution.rb} +38 -45
- data/lib/pulp_maven_client/models/patchedmaven_maven_remote.rb +433 -0
- data/lib/pulp_maven_client/models/patchedmaven_maven_repository.rb +229 -0
- data/lib/pulp_maven_client/models/policy_enum.rb +36 -0
- data/lib/pulp_maven_client/models/repository_version.rb +8 -44
- data/lib/pulp_maven_client/models/repository_version_response.rb +246 -0
- data/lib/pulp_maven_client/version.rb +4 -4
- data/lib/pulp_maven_client.rb +18 -8
- data/pulp_maven_client.gemspec +5 -5
- data/spec/api/content_artifact_api_spec.rb +16 -15
- data/spec/api/distributions_maven_api_spec.rb +20 -19
- data/spec/api/remotes_maven_api_spec.rb +23 -22
- data/spec/api/repositories_maven_api_spec.rb +21 -20
- data/spec/api/repositories_maven_versions_api_spec.rb +36 -23
- data/spec/api_client_spec.rb +3 -3
- data/spec/configuration_spec.rb +6 -6
- data/spec/models/async_operation_response_spec.rb +3 -3
- data/spec/models/content_summary_response_spec.rb +53 -0
- data/spec/models/content_summary_spec.rb +3 -3
- data/spec/models/maven_maven_artifact_response_spec.rb +77 -0
- data/spec/models/maven_maven_artifact_spec.rb +4 -34
- data/spec/models/maven_maven_distribution_response_spec.rb +77 -0
- data/spec/models/maven_maven_distribution_spec.rb +3 -21
- data/spec/models/maven_maven_remote_response_spec.rb +143 -0
- data/spec/models/maven_maven_remote_spec.rb +33 -19
- data/spec/models/maven_maven_repository_response_spec.rb +77 -0
- data/spec/models/maven_maven_repository_spec.rb +6 -24
- data/spec/models/{inline_response2002_spec.rb → paginated_repository_version_response_list_spec.rb} +9 -9
- data/spec/models/{inline_response2003_spec.rb → paginatedmaven_maven_artifact_response_list_spec.rb} +9 -9
- data/spec/models/paginatedmaven_maven_distribution_response_list_spec.rb +59 -0
- data/spec/models/{inline_response2001_spec.rb → paginatedmaven_maven_remote_response_list_spec.rb} +9 -9
- data/spec/models/{inline_response2004_spec.rb → paginatedmaven_maven_repository_response_list_spec.rb} +9 -9
- data/spec/models/patchedmaven_maven_distribution_spec.rb +59 -0
- data/spec/models/patchedmaven_maven_remote_spec.rb +125 -0
- data/spec/models/{inline_response200_spec.rb → patchedmaven_maven_repository_spec.rb} +12 -18
- data/spec/models/policy_enum_spec.rb +35 -0
- data/spec/models/repository_version_response_spec.rb +65 -0
- data/spec/models/repository_version_spec.rb +3 -27
- data/spec/spec_helper.rb +3 -3
- metadata +70 -30
- data/docs/InlineResponse200.md +0 -23
- data/docs/InlineResponse2001.md +0 -23
- data/docs/InlineResponse2002.md +0 -23
- data/docs/InlineResponse2003.md +0 -23
- data/docs/InlineResponse2004.md +0 -23
@@ -0,0 +1,237 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module PulpMavenClient
|
16
|
+
class PaginatedmavenMavenRepositoryResponseList
|
17
|
+
attr_accessor :count
|
18
|
+
|
19
|
+
attr_accessor :_next
|
20
|
+
|
21
|
+
attr_accessor :previous
|
22
|
+
|
23
|
+
attr_accessor :results
|
24
|
+
|
25
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
26
|
+
def self.attribute_map
|
27
|
+
{
|
28
|
+
:'count' => :'count',
|
29
|
+
:'_next' => :'next',
|
30
|
+
:'previous' => :'previous',
|
31
|
+
:'results' => :'results'
|
32
|
+
}
|
33
|
+
end
|
34
|
+
|
35
|
+
# Attribute type mapping.
|
36
|
+
def self.openapi_types
|
37
|
+
{
|
38
|
+
:'count' => :'Integer',
|
39
|
+
:'_next' => :'String',
|
40
|
+
:'previous' => :'String',
|
41
|
+
:'results' => :'Array<MavenMavenRepositoryResponse>'
|
42
|
+
}
|
43
|
+
end
|
44
|
+
|
45
|
+
# List of attributes with nullable: true
|
46
|
+
def self.openapi_nullable
|
47
|
+
Set.new([
|
48
|
+
:'_next',
|
49
|
+
:'previous',
|
50
|
+
])
|
51
|
+
end
|
52
|
+
|
53
|
+
# Initializes the object
|
54
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
55
|
+
def initialize(attributes = {})
|
56
|
+
if (!attributes.is_a?(Hash))
|
57
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpMavenClient::PaginatedmavenMavenRepositoryResponseList` initialize method"
|
58
|
+
end
|
59
|
+
|
60
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
61
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
62
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
63
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpMavenClient::PaginatedmavenMavenRepositoryResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
64
|
+
end
|
65
|
+
h[k.to_sym] = v
|
66
|
+
}
|
67
|
+
|
68
|
+
if attributes.key?(:'count')
|
69
|
+
self.count = attributes[:'count']
|
70
|
+
end
|
71
|
+
|
72
|
+
if attributes.key?(:'_next')
|
73
|
+
self._next = attributes[:'_next']
|
74
|
+
end
|
75
|
+
|
76
|
+
if attributes.key?(:'previous')
|
77
|
+
self.previous = attributes[:'previous']
|
78
|
+
end
|
79
|
+
|
80
|
+
if attributes.key?(:'results')
|
81
|
+
if (value = attributes[:'results']).is_a?(Array)
|
82
|
+
self.results = value
|
83
|
+
end
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
88
|
+
# @return Array for valid properties with the reasons
|
89
|
+
def list_invalid_properties
|
90
|
+
invalid_properties = Array.new
|
91
|
+
invalid_properties
|
92
|
+
end
|
93
|
+
|
94
|
+
# Check to see if the all the properties in the model are valid
|
95
|
+
# @return true if the model is valid
|
96
|
+
def valid?
|
97
|
+
true
|
98
|
+
end
|
99
|
+
|
100
|
+
# Checks equality by comparing each attribute.
|
101
|
+
# @param [Object] Object to be compared
|
102
|
+
def ==(o)
|
103
|
+
return true if self.equal?(o)
|
104
|
+
self.class == o.class &&
|
105
|
+
count == o.count &&
|
106
|
+
_next == o._next &&
|
107
|
+
previous == o.previous &&
|
108
|
+
results == o.results
|
109
|
+
end
|
110
|
+
|
111
|
+
# @see the `==` method
|
112
|
+
# @param [Object] Object to be compared
|
113
|
+
def eql?(o)
|
114
|
+
self == o
|
115
|
+
end
|
116
|
+
|
117
|
+
# Calculates hash code according to all attributes.
|
118
|
+
# @return [Integer] Hash code
|
119
|
+
def hash
|
120
|
+
[count, _next, previous, results].hash
|
121
|
+
end
|
122
|
+
|
123
|
+
# Builds the object from hash
|
124
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
125
|
+
# @return [Object] Returns the model itself
|
126
|
+
def self.build_from_hash(attributes)
|
127
|
+
new.build_from_hash(attributes)
|
128
|
+
end
|
129
|
+
|
130
|
+
# Builds the object from hash
|
131
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
132
|
+
# @return [Object] Returns the model itself
|
133
|
+
def build_from_hash(attributes)
|
134
|
+
return nil unless attributes.is_a?(Hash)
|
135
|
+
self.class.openapi_types.each_pair do |key, type|
|
136
|
+
if type =~ /\AArray<(.*)>/i
|
137
|
+
# check to ensure the input is an array given that the attribute
|
138
|
+
# is documented as an array but the input is not
|
139
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
140
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
141
|
+
end
|
142
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
143
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
144
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
145
|
+
end
|
146
|
+
|
147
|
+
self
|
148
|
+
end
|
149
|
+
|
150
|
+
# Deserializes the data based on type
|
151
|
+
# @param string type Data type
|
152
|
+
# @param string value Value to be deserialized
|
153
|
+
# @return [Object] Deserialized data
|
154
|
+
def _deserialize(type, value)
|
155
|
+
case type.to_sym
|
156
|
+
when :DateTime
|
157
|
+
DateTime.parse(value)
|
158
|
+
when :Date
|
159
|
+
Date.parse(value)
|
160
|
+
when :String
|
161
|
+
value.to_s
|
162
|
+
when :Integer
|
163
|
+
value.to_i
|
164
|
+
when :Float
|
165
|
+
value.to_f
|
166
|
+
when :Boolean
|
167
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
168
|
+
true
|
169
|
+
else
|
170
|
+
false
|
171
|
+
end
|
172
|
+
when :Object
|
173
|
+
# generic object (usually a Hash), return directly
|
174
|
+
value
|
175
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
176
|
+
inner_type = Regexp.last_match[:inner_type]
|
177
|
+
value.map { |v| _deserialize(inner_type, v) }
|
178
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
179
|
+
k_type = Regexp.last_match[:k_type]
|
180
|
+
v_type = Regexp.last_match[:v_type]
|
181
|
+
{}.tap do |hash|
|
182
|
+
value.each do |k, v|
|
183
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
184
|
+
end
|
185
|
+
end
|
186
|
+
else # model
|
187
|
+
PulpMavenClient.const_get(type).build_from_hash(value)
|
188
|
+
end
|
189
|
+
end
|
190
|
+
|
191
|
+
# Returns the string representation of the object
|
192
|
+
# @return [String] String presentation of the object
|
193
|
+
def to_s
|
194
|
+
to_hash.to_s
|
195
|
+
end
|
196
|
+
|
197
|
+
# to_body is an alias to to_hash (backward compatibility)
|
198
|
+
# @return [Hash] Returns the object in the form of hash
|
199
|
+
def to_body
|
200
|
+
to_hash
|
201
|
+
end
|
202
|
+
|
203
|
+
# Returns the object in the form of hash
|
204
|
+
# @return [Hash] Returns the object in the form of hash
|
205
|
+
def to_hash
|
206
|
+
hash = {}
|
207
|
+
self.class.attribute_map.each_pair do |attr, param|
|
208
|
+
value = self.send(attr)
|
209
|
+
if value.nil?
|
210
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
211
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
212
|
+
end
|
213
|
+
|
214
|
+
hash[param] = _to_hash(value)
|
215
|
+
end
|
216
|
+
hash
|
217
|
+
end
|
218
|
+
|
219
|
+
# Outputs non-array value in the form of hash
|
220
|
+
# For object, use to_hash. Otherwise, just return the value
|
221
|
+
# @param [Object] value Any valid value
|
222
|
+
# @return [Hash] Returns the value in the form of hash
|
223
|
+
def _to_hash(value)
|
224
|
+
if value.is_a?(Array)
|
225
|
+
value.compact.map { |v| _to_hash(v) }
|
226
|
+
elsif value.is_a?(Hash)
|
227
|
+
{}.tap do |hash|
|
228
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
229
|
+
end
|
230
|
+
elsif value.respond_to? :to_hash
|
231
|
+
value.to_hash
|
232
|
+
else
|
233
|
+
value
|
234
|
+
end
|
235
|
+
end
|
236
|
+
end
|
237
|
+
end
|
data/lib/pulp_maven_client/models/{inline_response2001.rb → patchedmaven_maven_distribution.rb}
RENAMED
@@ -1,52 +1,57 @@
|
|
1
1
|
=begin
|
2
2
|
#Pulp 3 API
|
3
3
|
|
4
|
-
#
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
|
-
|
7
|
+
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.2.
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpMavenClient
|
16
|
-
|
17
|
-
|
16
|
+
# Serializer for Maven Distributions.
|
17
|
+
class PatchedmavenMavenDistribution
|
18
|
+
# 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
|
+
attr_accessor :base_path
|
18
20
|
|
19
|
-
|
21
|
+
# An optional content-guard.
|
22
|
+
attr_accessor :content_guard
|
20
23
|
|
21
|
-
|
24
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
25
|
+
attr_accessor :name
|
22
26
|
|
23
|
-
|
27
|
+
# Remote that can be used to fetch content when using pull-through caching.
|
28
|
+
attr_accessor :remote
|
24
29
|
|
25
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
26
31
|
def self.attribute_map
|
27
32
|
{
|
28
|
-
:'
|
29
|
-
:'
|
30
|
-
:'
|
31
|
-
:'
|
33
|
+
:'base_path' => :'base_path',
|
34
|
+
:'content_guard' => :'content_guard',
|
35
|
+
:'name' => :'name',
|
36
|
+
:'remote' => :'remote'
|
32
37
|
}
|
33
38
|
end
|
34
39
|
|
35
40
|
# Attribute type mapping.
|
36
41
|
def self.openapi_types
|
37
42
|
{
|
38
|
-
:'
|
39
|
-
:'
|
40
|
-
:'
|
41
|
-
:'
|
43
|
+
:'base_path' => :'String',
|
44
|
+
:'content_guard' => :'String',
|
45
|
+
:'name' => :'String',
|
46
|
+
:'remote' => :'String'
|
42
47
|
}
|
43
48
|
end
|
44
49
|
|
45
50
|
# List of attributes with nullable: true
|
46
51
|
def self.openapi_nullable
|
47
52
|
Set.new([
|
48
|
-
:'
|
49
|
-
:'
|
53
|
+
:'content_guard',
|
54
|
+
:'remote'
|
50
55
|
])
|
51
56
|
end
|
52
57
|
|
@@ -54,33 +59,31 @@ module PulpMavenClient
|
|
54
59
|
# @param [Hash] attributes Model attributes in the form of hash
|
55
60
|
def initialize(attributes = {})
|
56
61
|
if (!attributes.is_a?(Hash))
|
57
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpMavenClient::
|
62
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpMavenClient::PatchedmavenMavenDistribution` initialize method"
|
58
63
|
end
|
59
64
|
|
60
65
|
# check to see if the attribute exists and convert string to symbol for hash key
|
61
66
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
62
67
|
if (!self.class.attribute_map.key?(k.to_sym))
|
63
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpMavenClient::
|
68
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpMavenClient::PatchedmavenMavenDistribution`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
64
69
|
end
|
65
70
|
h[k.to_sym] = v
|
66
71
|
}
|
67
72
|
|
68
|
-
if attributes.key?(:'
|
69
|
-
self.
|
73
|
+
if attributes.key?(:'base_path')
|
74
|
+
self.base_path = attributes[:'base_path']
|
70
75
|
end
|
71
76
|
|
72
|
-
if attributes.key?(:'
|
73
|
-
self.
|
77
|
+
if attributes.key?(:'content_guard')
|
78
|
+
self.content_guard = attributes[:'content_guard']
|
74
79
|
end
|
75
80
|
|
76
|
-
if attributes.key?(:'
|
77
|
-
self.
|
81
|
+
if attributes.key?(:'name')
|
82
|
+
self.name = attributes[:'name']
|
78
83
|
end
|
79
84
|
|
80
|
-
if attributes.key?(:'
|
81
|
-
|
82
|
-
self.results = value
|
83
|
-
end
|
85
|
+
if attributes.key?(:'remote')
|
86
|
+
self.remote = attributes[:'remote']
|
84
87
|
end
|
85
88
|
end
|
86
89
|
|
@@ -88,22 +91,12 @@ module PulpMavenClient
|
|
88
91
|
# @return Array for valid properties with the reasons
|
89
92
|
def list_invalid_properties
|
90
93
|
invalid_properties = Array.new
|
91
|
-
if @count.nil?
|
92
|
-
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
93
|
-
end
|
94
|
-
|
95
|
-
if @results.nil?
|
96
|
-
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
97
|
-
end
|
98
|
-
|
99
94
|
invalid_properties
|
100
95
|
end
|
101
96
|
|
102
97
|
# Check to see if the all the properties in the model are valid
|
103
98
|
# @return true if the model is valid
|
104
99
|
def valid?
|
105
|
-
return false if @count.nil?
|
106
|
-
return false if @results.nil?
|
107
100
|
true
|
108
101
|
end
|
109
102
|
|
@@ -112,10 +105,10 @@ module PulpMavenClient
|
|
112
105
|
def ==(o)
|
113
106
|
return true if self.equal?(o)
|
114
107
|
self.class == o.class &&
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
108
|
+
base_path == o.base_path &&
|
109
|
+
content_guard == o.content_guard &&
|
110
|
+
name == o.name &&
|
111
|
+
remote == o.remote
|
119
112
|
end
|
120
113
|
|
121
114
|
# @see the `==` method
|
@@ -127,7 +120,7 @@ module PulpMavenClient
|
|
127
120
|
# Calculates hash code according to all attributes.
|
128
121
|
# @return [Integer] Hash code
|
129
122
|
def hash
|
130
|
-
[
|
123
|
+
[base_path, content_guard, name, remote].hash
|
131
124
|
end
|
132
125
|
|
133
126
|
# Builds the object from hash
|