pulp_rpm_client 3.3.2 → 3.4.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 +21 -16
- data/docs/ContentAdvisoriesApi.md +5 -5
- data/docs/ContentDistributionTreesApi.md +3 -3
- data/docs/ContentModulemdDefaultsApi.md +5 -5
- data/docs/ContentModulemdsApi.md +5 -5
- data/docs/ContentPackagecategoriesApi.md +3 -3
- data/docs/ContentPackageenvironmentsApi.md +3 -3
- data/docs/ContentPackagegroupsApi.md +3 -3
- data/docs/ContentPackagelangpacksApi.md +3 -3
- data/docs/ContentPackagesApi.md +5 -5
- data/docs/ContentRepoMetadataFilesApi.md +3 -3
- data/docs/DistributionsRpmApi.md +3 -3
- data/docs/InlineResponse200.md +1 -1
- data/docs/InlineResponse2001.md +1 -1
- data/docs/InlineResponse20010.md +1 -1
- data/docs/InlineResponse20011.md +1 -1
- data/docs/InlineResponse20012.md +1 -1
- data/docs/InlineResponse20013.md +1 -1
- data/docs/InlineResponse20014.md +1 -1
- data/docs/InlineResponse2002.md +1 -1
- data/docs/InlineResponse2003.md +1 -1
- data/docs/InlineResponse2004.md +1 -1
- data/docs/InlineResponse2005.md +1 -1
- data/docs/InlineResponse2006.md +1 -1
- data/docs/InlineResponse2007.md +1 -1
- data/docs/InlineResponse2008.md +1 -1
- data/docs/InlineResponse2009.md +1 -1
- data/docs/PublicationsRpmApi.md +3 -3
- data/docs/RemotesRpmApi.md +5 -5
- data/docs/RepositoriesRpmApi.md +10 -10
- data/docs/RepositoriesRpmVersionsApi.md +3 -3
- data/docs/RepositoryVersionRead.md +25 -0
- data/docs/RpmCopyApi.md +1 -1
- data/docs/{RpmDistributionTree.md → RpmDistributionTreeRead.md} +2 -2
- data/docs/{RpmModulemdDefaults.md → RpmModulemdDefaultsRead.md} +2 -2
- data/docs/{RpmModulemd.md → RpmModulemdRead.md} +2 -2
- data/docs/{RpmPackageCategory.md → RpmPackageCategoryRead.md} +2 -2
- data/docs/{RpmPackageEnvironment.md → RpmPackageEnvironmentRead.md} +2 -2
- data/docs/{RpmPackageGroup.md → RpmPackageGroupRead.md} +2 -2
- data/docs/{RpmPackageLangpacks.md → RpmPackageLangpacksRead.md} +2 -2
- data/docs/{RpmPackage.md → RpmPackageRead.md} +2 -2
- data/docs/{RpmRepoMetadataFile.md → RpmRepoMetadataFileRead.md} +2 -2
- data/docs/RpmRpmDistributionRead.md +29 -0
- data/docs/RpmRpmPublicationRead.md +27 -0
- data/docs/RpmRpmRemote.md +7 -3
- data/docs/RpmRpmRemoteRead.md +43 -0
- data/docs/RpmRpmRepositoryRead.md +29 -0
- data/docs/{RpmUpdateRecord.md → RpmUpdateRecordRead.md} +2 -2
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +5 -5
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +3 -3
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +5 -5
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +5 -5
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +3 -3
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +3 -3
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +3 -3
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +3 -3
- data/lib/pulp_rpm_client/api/content_packages_api.rb +5 -5
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +3 -3
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +3 -3
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +3 -3
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +6 -6
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +15 -15
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +3 -3
- data/lib/pulp_rpm_client/configuration.rb +2 -2
- data/lib/pulp_rpm_client/models/inline_response200.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2001.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response20010.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response20011.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response20012.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response20013.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response20014.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2002.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2003.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2004.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2005.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2006.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2007.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2008.rb +1 -1
- data/lib/pulp_rpm_client/models/inline_response2009.rb +1 -1
- data/lib/pulp_rpm_client/models/repository_version_read.rb +244 -0
- data/lib/pulp_rpm_client/models/{rpm_distribution_tree.rb → rpm_distribution_tree_read.rb} +3 -3
- data/lib/pulp_rpm_client/models/{rpm_modulemd_defaults.rb → rpm_modulemd_defaults_read.rb} +3 -3
- data/lib/pulp_rpm_client/models/{rpm_modulemd.rb → rpm_modulemd_read.rb} +3 -3
- data/lib/pulp_rpm_client/models/{rpm_package_category.rb → rpm_package_category_read.rb} +3 -3
- data/lib/pulp_rpm_client/models/{rpm_package_environment.rb → rpm_package_environment_read.rb} +3 -3
- data/lib/pulp_rpm_client/models/{rpm_package_group.rb → rpm_package_group_read.rb} +3 -3
- data/lib/pulp_rpm_client/models/{rpm_package_langpacks.rb → rpm_package_langpacks_read.rb} +3 -3
- data/lib/pulp_rpm_client/models/{rpm_package.rb → rpm_package_read.rb} +3 -3
- data/lib/pulp_rpm_client/models/{rpm_repo_metadata_file.rb → rpm_repo_metadata_file_read.rb} +3 -3
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution_read.rb +331 -0
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_read.rb +305 -0
- data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +56 -4
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_read.rb +531 -0
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_read.rb +305 -0
- data/lib/pulp_rpm_client/models/{rpm_update_record.rb → rpm_update_record_read.rb} +3 -3
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/lib/pulp_rpm_client.rb +15 -10
- data/spec/api/content_advisories_api_spec.rb +2 -2
- data/spec/api/content_distribution_trees_api_spec.rb +1 -1
- data/spec/api/content_modulemd_defaults_api_spec.rb +2 -2
- data/spec/api/content_modulemds_api_spec.rb +2 -2
- data/spec/api/content_packagecategories_api_spec.rb +1 -1
- data/spec/api/content_packageenvironments_api_spec.rb +1 -1
- data/spec/api/content_packagegroups_api_spec.rb +1 -1
- data/spec/api/content_packagelangpacks_api_spec.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +2 -2
- data/spec/api/content_repo_metadata_files_api_spec.rb +1 -1
- data/spec/api/distributions_rpm_api_spec.rb +1 -1
- data/spec/api/publications_rpm_api_spec.rb +1 -1
- data/spec/api/remotes_rpm_api_spec.rb +2 -2
- data/spec/api/repositories_rpm_api_spec.rb +6 -6
- data/spec/api/repositories_rpm_versions_api_spec.rb +1 -1
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/repository_version_read_spec.rb +65 -0
- data/spec/models/{rpm_distribution_tree_spec.rb → rpm_distribution_tree_read_spec.rb} +6 -6
- data/spec/models/{rpm_modulemd_defaults_spec.rb → rpm_modulemd_defaults_read_spec.rb} +6 -6
- data/spec/models/{rpm_modulemd_spec.rb → rpm_modulemd_read_spec.rb} +6 -6
- data/spec/models/{rpm_package_category_spec.rb → rpm_package_category_read_spec.rb} +6 -6
- data/spec/models/{rpm_package_environment_spec.rb → rpm_package_environment_read_spec.rb} +6 -6
- data/spec/models/{rpm_package_group_spec.rb → rpm_package_group_read_spec.rb} +6 -6
- data/spec/models/{rpm_package_langpacks_spec.rb → rpm_package_langpacks_read_spec.rb} +6 -6
- data/spec/models/{rpm_package_spec.rb → rpm_package_read_spec.rb} +6 -6
- data/spec/models/{rpm_repo_metadata_file_spec.rb → rpm_repo_metadata_file_read_spec.rb} +6 -6
- data/spec/models/rpm_rpm_distribution_read_spec.rb +77 -0
- data/spec/models/rpm_rpm_publication_read_spec.rb +79 -0
- data/spec/models/rpm_rpm_remote_read_spec.rb +123 -0
- data/spec/models/rpm_rpm_remote_spec.rb +12 -0
- data/spec/models/rpm_rpm_repository_read_spec.rb +77 -0
- data/spec/models/{rpm_update_record_spec.rb → rpm_update_record_read_spec.rb} +6 -6
- metadata +62 -42
@@ -0,0 +1,244 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module PulpRpmClient
|
16
|
+
class RepositoryVersionRead
|
17
|
+
attr_accessor :pulp_href
|
18
|
+
|
19
|
+
# Timestamp of creation.
|
20
|
+
attr_accessor :pulp_created
|
21
|
+
|
22
|
+
attr_accessor :number
|
23
|
+
|
24
|
+
# A repository version whose content was used as the initial set of content for this repository version
|
25
|
+
attr_accessor :base_version
|
26
|
+
|
27
|
+
attr_accessor :content_summary
|
28
|
+
|
29
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
30
|
+
def self.attribute_map
|
31
|
+
{
|
32
|
+
:'pulp_href' => :'pulp_href',
|
33
|
+
:'pulp_created' => :'pulp_created',
|
34
|
+
:'number' => :'number',
|
35
|
+
:'base_version' => :'base_version',
|
36
|
+
:'content_summary' => :'content_summary'
|
37
|
+
}
|
38
|
+
end
|
39
|
+
|
40
|
+
# Attribute type mapping.
|
41
|
+
def self.openapi_types
|
42
|
+
{
|
43
|
+
:'pulp_href' => :'String',
|
44
|
+
:'pulp_created' => :'DateTime',
|
45
|
+
:'number' => :'Integer',
|
46
|
+
:'base_version' => :'String',
|
47
|
+
:'content_summary' => :'ContentSummary'
|
48
|
+
}
|
49
|
+
end
|
50
|
+
|
51
|
+
# List of attributes with nullable: true
|
52
|
+
def self.openapi_nullable
|
53
|
+
Set.new([
|
54
|
+
])
|
55
|
+
end
|
56
|
+
|
57
|
+
# Initializes the object
|
58
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
59
|
+
def initialize(attributes = {})
|
60
|
+
if (!attributes.is_a?(Hash))
|
61
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::RepositoryVersionRead` initialize method"
|
62
|
+
end
|
63
|
+
|
64
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
65
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
66
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
67
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::RepositoryVersionRead`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
68
|
+
end
|
69
|
+
h[k.to_sym] = v
|
70
|
+
}
|
71
|
+
|
72
|
+
if attributes.key?(:'pulp_href')
|
73
|
+
self.pulp_href = attributes[:'pulp_href']
|
74
|
+
end
|
75
|
+
|
76
|
+
if attributes.key?(:'pulp_created')
|
77
|
+
self.pulp_created = attributes[:'pulp_created']
|
78
|
+
end
|
79
|
+
|
80
|
+
if attributes.key?(:'number')
|
81
|
+
self.number = attributes[:'number']
|
82
|
+
end
|
83
|
+
|
84
|
+
if attributes.key?(:'base_version')
|
85
|
+
self.base_version = attributes[:'base_version']
|
86
|
+
end
|
87
|
+
|
88
|
+
if attributes.key?(:'content_summary')
|
89
|
+
self.content_summary = attributes[:'content_summary']
|
90
|
+
end
|
91
|
+
end
|
92
|
+
|
93
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
94
|
+
# @return Array for valid properties with the reasons
|
95
|
+
def list_invalid_properties
|
96
|
+
invalid_properties = Array.new
|
97
|
+
invalid_properties
|
98
|
+
end
|
99
|
+
|
100
|
+
# Check to see if the all the properties in the model are valid
|
101
|
+
# @return true if the model is valid
|
102
|
+
def valid?
|
103
|
+
true
|
104
|
+
end
|
105
|
+
|
106
|
+
# Checks equality by comparing each attribute.
|
107
|
+
# @param [Object] Object to be compared
|
108
|
+
def ==(o)
|
109
|
+
return true if self.equal?(o)
|
110
|
+
self.class == o.class &&
|
111
|
+
pulp_href == o.pulp_href &&
|
112
|
+
pulp_created == o.pulp_created &&
|
113
|
+
number == o.number &&
|
114
|
+
base_version == o.base_version &&
|
115
|
+
content_summary == o.content_summary
|
116
|
+
end
|
117
|
+
|
118
|
+
# @see the `==` method
|
119
|
+
# @param [Object] Object to be compared
|
120
|
+
def eql?(o)
|
121
|
+
self == o
|
122
|
+
end
|
123
|
+
|
124
|
+
# Calculates hash code according to all attributes.
|
125
|
+
# @return [Integer] Hash code
|
126
|
+
def hash
|
127
|
+
[pulp_href, pulp_created, number, base_version, content_summary].hash
|
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 self.build_from_hash(attributes)
|
134
|
+
new.build_from_hash(attributes)
|
135
|
+
end
|
136
|
+
|
137
|
+
# Builds the object from hash
|
138
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
139
|
+
# @return [Object] Returns the model itself
|
140
|
+
def build_from_hash(attributes)
|
141
|
+
return nil unless attributes.is_a?(Hash)
|
142
|
+
self.class.openapi_types.each_pair do |key, type|
|
143
|
+
if type =~ /\AArray<(.*)>/i
|
144
|
+
# check to ensure the input is an array given that the attribute
|
145
|
+
# is documented as an array but the input is not
|
146
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
147
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
148
|
+
end
|
149
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
150
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
151
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
152
|
+
end
|
153
|
+
|
154
|
+
self
|
155
|
+
end
|
156
|
+
|
157
|
+
# Deserializes the data based on type
|
158
|
+
# @param string type Data type
|
159
|
+
# @param string value Value to be deserialized
|
160
|
+
# @return [Object] Deserialized data
|
161
|
+
def _deserialize(type, value)
|
162
|
+
case type.to_sym
|
163
|
+
when :DateTime
|
164
|
+
DateTime.parse(value)
|
165
|
+
when :Date
|
166
|
+
Date.parse(value)
|
167
|
+
when :String
|
168
|
+
value.to_s
|
169
|
+
when :Integer
|
170
|
+
value.to_i
|
171
|
+
when :Float
|
172
|
+
value.to_f
|
173
|
+
when :Boolean
|
174
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
175
|
+
true
|
176
|
+
else
|
177
|
+
false
|
178
|
+
end
|
179
|
+
when :Object
|
180
|
+
# generic object (usually a Hash), return directly
|
181
|
+
value
|
182
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
183
|
+
inner_type = Regexp.last_match[:inner_type]
|
184
|
+
value.map { |v| _deserialize(inner_type, v) }
|
185
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
186
|
+
k_type = Regexp.last_match[:k_type]
|
187
|
+
v_type = Regexp.last_match[:v_type]
|
188
|
+
{}.tap do |hash|
|
189
|
+
value.each do |k, v|
|
190
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
191
|
+
end
|
192
|
+
end
|
193
|
+
else # model
|
194
|
+
PulpRpmClient.const_get(type).build_from_hash(value)
|
195
|
+
end
|
196
|
+
end
|
197
|
+
|
198
|
+
# Returns the string representation of the object
|
199
|
+
# @return [String] String presentation of the object
|
200
|
+
def to_s
|
201
|
+
to_hash.to_s
|
202
|
+
end
|
203
|
+
|
204
|
+
# to_body is an alias to to_hash (backward compatibility)
|
205
|
+
# @return [Hash] Returns the object in the form of hash
|
206
|
+
def to_body
|
207
|
+
to_hash
|
208
|
+
end
|
209
|
+
|
210
|
+
# Returns the object in the form of hash
|
211
|
+
# @return [Hash] Returns the object in the form of hash
|
212
|
+
def to_hash
|
213
|
+
hash = {}
|
214
|
+
self.class.attribute_map.each_pair do |attr, param|
|
215
|
+
value = self.send(attr)
|
216
|
+
if value.nil?
|
217
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
218
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
219
|
+
end
|
220
|
+
|
221
|
+
hash[param] = _to_hash(value)
|
222
|
+
end
|
223
|
+
hash
|
224
|
+
end
|
225
|
+
|
226
|
+
# Outputs non-array value in the form of hash
|
227
|
+
# For object, use to_hash. Otherwise, just return the value
|
228
|
+
# @param [Object] value Any valid value
|
229
|
+
# @return [Hash] Returns the value in the form of hash
|
230
|
+
def _to_hash(value)
|
231
|
+
if value.is_a?(Array)
|
232
|
+
value.compact.map { |v| _to_hash(v) }
|
233
|
+
elsif value.is_a?(Hash)
|
234
|
+
{}.tap do |hash|
|
235
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
236
|
+
end
|
237
|
+
elsif value.respond_to? :to_hash
|
238
|
+
value.to_hash
|
239
|
+
else
|
240
|
+
value
|
241
|
+
end
|
242
|
+
end
|
243
|
+
end
|
244
|
+
end
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpRpmClient
|
16
|
-
class
|
16
|
+
class RpmDistributionTreeRead
|
17
17
|
attr_accessor :pulp_href
|
18
18
|
|
19
19
|
# Header Version.
|
@@ -126,13 +126,13 @@ module PulpRpmClient
|
|
126
126
|
# @param [Hash] attributes Model attributes in the form of hash
|
127
127
|
def initialize(attributes = {})
|
128
128
|
if (!attributes.is_a?(Hash))
|
129
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::
|
129
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::RpmDistributionTreeRead` initialize method"
|
130
130
|
end
|
131
131
|
|
132
132
|
# check to see if the attribute exists and convert string to symbol for hash key
|
133
133
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
134
134
|
if (!self.class.attribute_map.key?(k.to_sym))
|
135
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::
|
135
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::RpmDistributionTreeRead`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
136
136
|
end
|
137
137
|
h[k.to_sym] = v
|
138
138
|
}
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpRpmClient
|
16
|
-
class
|
16
|
+
class RpmModulemdDefaultsRead
|
17
17
|
attr_accessor :pulp_href
|
18
18
|
|
19
19
|
# Timestamp of creation.
|
@@ -70,13 +70,13 @@ module PulpRpmClient
|
|
70
70
|
# @param [Hash] attributes Model attributes in the form of hash
|
71
71
|
def initialize(attributes = {})
|
72
72
|
if (!attributes.is_a?(Hash))
|
73
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::
|
73
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::RpmModulemdDefaultsRead` initialize method"
|
74
74
|
end
|
75
75
|
|
76
76
|
# check to see if the attribute exists and convert string to symbol for hash key
|
77
77
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
78
78
|
if (!self.class.attribute_map.key?(k.to_sym))
|
79
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::
|
79
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::RpmModulemdDefaultsRead`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
80
80
|
end
|
81
81
|
h[k.to_sym] = v
|
82
82
|
}
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpRpmClient
|
16
|
-
class
|
16
|
+
class RpmModulemdRead
|
17
17
|
attr_accessor :pulp_href
|
18
18
|
|
19
19
|
# Timestamp of creation.
|
@@ -95,13 +95,13 @@ module PulpRpmClient
|
|
95
95
|
# @param [Hash] attributes Model attributes in the form of hash
|
96
96
|
def initialize(attributes = {})
|
97
97
|
if (!attributes.is_a?(Hash))
|
98
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::
|
98
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::RpmModulemdRead` initialize method"
|
99
99
|
end
|
100
100
|
|
101
101
|
# check to see if the attribute exists and convert string to symbol for hash key
|
102
102
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
103
103
|
if (!self.class.attribute_map.key?(k.to_sym))
|
104
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::
|
104
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::RpmModulemdRead`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
105
105
|
end
|
106
106
|
h[k.to_sym] = v
|
107
107
|
}
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpRpmClient
|
16
|
-
class
|
16
|
+
class RpmPackageCategoryRead
|
17
17
|
attr_accessor :pulp_href
|
18
18
|
|
19
19
|
# Timestamp of creation.
|
@@ -90,13 +90,13 @@ module PulpRpmClient
|
|
90
90
|
# @param [Hash] attributes Model attributes in the form of hash
|
91
91
|
def initialize(attributes = {})
|
92
92
|
if (!attributes.is_a?(Hash))
|
93
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::
|
93
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::RpmPackageCategoryRead` initialize method"
|
94
94
|
end
|
95
95
|
|
96
96
|
# check to see if the attribute exists and convert string to symbol for hash key
|
97
97
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
98
98
|
if (!self.class.attribute_map.key?(k.to_sym))
|
99
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::
|
99
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::RpmPackageCategoryRead`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
100
100
|
end
|
101
101
|
h[k.to_sym] = v
|
102
102
|
}
|
data/lib/pulp_rpm_client/models/{rpm_package_environment.rb → rpm_package_environment_read.rb}
RENAMED
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpRpmClient
|
16
|
-
class
|
16
|
+
class RpmPackageEnvironmentRead
|
17
17
|
attr_accessor :pulp_href
|
18
18
|
|
19
19
|
# Timestamp of creation.
|
@@ -100,13 +100,13 @@ module PulpRpmClient
|
|
100
100
|
# @param [Hash] attributes Model attributes in the form of hash
|
101
101
|
def initialize(attributes = {})
|
102
102
|
if (!attributes.is_a?(Hash))
|
103
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::
|
103
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::RpmPackageEnvironmentRead` initialize method"
|
104
104
|
end
|
105
105
|
|
106
106
|
# check to see if the attribute exists and convert string to symbol for hash key
|
107
107
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
108
108
|
if (!self.class.attribute_map.key?(k.to_sym))
|
109
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::
|
109
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::RpmPackageEnvironmentRead`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
110
110
|
end
|
111
111
|
h[k.to_sym] = v
|
112
112
|
}
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpRpmClient
|
16
|
-
class
|
16
|
+
class RpmPackageGroupRead
|
17
17
|
attr_accessor :pulp_href
|
18
18
|
|
19
19
|
# Timestamp of creation.
|
@@ -105,13 +105,13 @@ module PulpRpmClient
|
|
105
105
|
# @param [Hash] attributes Model attributes in the form of hash
|
106
106
|
def initialize(attributes = {})
|
107
107
|
if (!attributes.is_a?(Hash))
|
108
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::
|
108
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::RpmPackageGroupRead` initialize method"
|
109
109
|
end
|
110
110
|
|
111
111
|
# check to see if the attribute exists and convert string to symbol for hash key
|
112
112
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
113
113
|
if (!self.class.attribute_map.key?(k.to_sym))
|
114
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::
|
114
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::RpmPackageGroupRead`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
115
115
|
end
|
116
116
|
h[k.to_sym] = v
|
117
117
|
}
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpRpmClient
|
16
|
-
class
|
16
|
+
class RpmPackageLangpacksRead
|
17
17
|
attr_accessor :pulp_href
|
18
18
|
|
19
19
|
# Timestamp of creation.
|
@@ -55,13 +55,13 @@ module PulpRpmClient
|
|
55
55
|
# @param [Hash] attributes Model attributes in the form of hash
|
56
56
|
def initialize(attributes = {})
|
57
57
|
if (!attributes.is_a?(Hash))
|
58
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::
|
58
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::RpmPackageLangpacksRead` initialize method"
|
59
59
|
end
|
60
60
|
|
61
61
|
# check to see if the attribute exists and convert string to symbol for hash key
|
62
62
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
63
63
|
if (!self.class.attribute_map.key?(k.to_sym))
|
64
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::
|
64
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::RpmPackageLangpacksRead`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
65
65
|
end
|
66
66
|
h[k.to_sym] = v
|
67
67
|
}
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpRpmClient
|
16
|
-
class
|
16
|
+
class RpmPackageRead
|
17
17
|
attr_accessor :pulp_href
|
18
18
|
|
19
19
|
# Timestamp of creation.
|
@@ -235,13 +235,13 @@ module PulpRpmClient
|
|
235
235
|
# @param [Hash] attributes Model attributes in the form of hash
|
236
236
|
def initialize(attributes = {})
|
237
237
|
if (!attributes.is_a?(Hash))
|
238
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::
|
238
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::RpmPackageRead` initialize method"
|
239
239
|
end
|
240
240
|
|
241
241
|
# check to see if the attribute exists and convert string to symbol for hash key
|
242
242
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
243
243
|
if (!self.class.attribute_map.key?(k.to_sym))
|
244
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::
|
244
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::RpmPackageRead`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
245
245
|
end
|
246
246
|
h[k.to_sym] = v
|
247
247
|
}
|
data/lib/pulp_rpm_client/models/{rpm_repo_metadata_file.rb → rpm_repo_metadata_file_read.rb}
RENAMED
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpRpmClient
|
16
|
-
class
|
16
|
+
class RpmRepoMetadataFileRead
|
17
17
|
attr_accessor :pulp_href
|
18
18
|
|
19
19
|
# Timestamp of creation.
|
@@ -70,13 +70,13 @@ module PulpRpmClient
|
|
70
70
|
# @param [Hash] attributes Model attributes in the form of hash
|
71
71
|
def initialize(attributes = {})
|
72
72
|
if (!attributes.is_a?(Hash))
|
73
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::
|
73
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::RpmRepoMetadataFileRead` initialize method"
|
74
74
|
end
|
75
75
|
|
76
76
|
# check to see if the attribute exists and convert string to symbol for hash key
|
77
77
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
78
78
|
if (!self.class.attribute_map.key?(k.to_sym))
|
79
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::
|
79
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::RpmRepoMetadataFileRead`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
80
80
|
end
|
81
81
|
h[k.to_sym] = v
|
82
82
|
}
|