pulp_rpm_client 3.18.9 → 3.18.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -4
  3. data/docs/AcsRpmApi.md +10 -10
  4. data/docs/ContentAdvisoriesApi.md +8 -8
  5. data/docs/ContentDistributionTreesApi.md +8 -8
  6. data/docs/ContentModulemdDefaultsApi.md +8 -8
  7. data/docs/ContentModulemdObsoletesApi.md +8 -8
  8. data/docs/ContentModulemdsApi.md +8 -8
  9. data/docs/ContentPackagecategoriesApi.md +8 -8
  10. data/docs/ContentPackageenvironmentsApi.md +8 -8
  11. data/docs/ContentPackagegroupsApi.md +8 -8
  12. data/docs/ContentPackagelangpacksApi.md +8 -8
  13. data/docs/ContentPackagesApi.md +8 -8
  14. data/docs/ContentRepoMetadataFilesApi.md +8 -8
  15. data/docs/DistributionsRpmApi.md +12 -12
  16. data/docs/PatchedrpmRpmDistribution.md +1 -1
  17. data/docs/PatchedrpmRpmRemote.md +1 -1
  18. data/docs/PatchedrpmRpmRepository.md +1 -1
  19. data/docs/PatchedrpmUlnRemote.md +1 -1
  20. data/docs/PublicationsRpmApi.md +10 -10
  21. data/docs/RemotesRpmApi.md +12 -12
  22. data/docs/RemotesUlnApi.md +12 -12
  23. data/docs/RepositoriesRpmApi.md +11 -11
  24. data/docs/RepositoriesRpmVersionsApi.md +12 -12
  25. data/docs/RpmRpmDistribution.md +1 -1
  26. data/docs/RpmRpmDistributionResponse.md +1 -1
  27. data/docs/RpmRpmRemote.md +1 -1
  28. data/docs/RpmRpmRemoteResponse.md +3 -1
  29. data/docs/RpmRpmRemoteResponseHiddenFields.md +19 -0
  30. data/docs/RpmRpmRepository.md +1 -1
  31. data/docs/RpmRpmRepositoryResponse.md +1 -1
  32. data/docs/RpmUlnRemote.md +1 -1
  33. data/docs/RpmUlnRemoteResponse.md +3 -1
  34. data/lib/pulp_rpm_client/api/acs_rpm_api.rb +15 -15
  35. data/lib/pulp_rpm_client/api/content_advisories_api.rb +13 -13
  36. data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +12 -12
  37. data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +13 -13
  38. data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +12 -12
  39. data/lib/pulp_rpm_client/api/content_modulemds_api.rb +13 -13
  40. data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +12 -12
  41. data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +12 -12
  42. data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +12 -12
  43. data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +12 -12
  44. data/lib/pulp_rpm_client/api/content_packages_api.rb +13 -13
  45. data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +12 -12
  46. data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +17 -17
  47. data/lib/pulp_rpm_client/api/publications_rpm_api.rb +15 -15
  48. data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +17 -17
  49. data/lib/pulp_rpm_client/api/remotes_uln_api.rb +17 -17
  50. data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +15 -15
  51. data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +17 -17
  52. data/lib/pulp_rpm_client/models/patchedrpm_rpm_distribution.rb +4 -2
  53. data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +4 -2
  54. data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +4 -2
  55. data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +4 -2
  56. data/lib/pulp_rpm_client/models/rpm_rpm_distribution.rb +4 -2
  57. data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +4 -2
  58. data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +4 -2
  59. data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +17 -3
  60. data/lib/pulp_rpm_client/models/rpm_rpm_remote_response_hidden_fields.rb +215 -0
  61. data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +4 -2
  62. data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +4 -2
  63. data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +4 -2
  64. data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +17 -3
  65. data/lib/pulp_rpm_client/models/skip_types_enum.rb +1 -0
  66. data/lib/pulp_rpm_client/version.rb +1 -1
  67. data/lib/pulp_rpm_client.rb +1 -0
  68. data/spec/api/acs_rpm_api_spec.rb +5 -5
  69. data/spec/api/content_advisories_api_spec.rb +4 -4
  70. data/spec/api/content_distribution_trees_api_spec.rb +4 -4
  71. data/spec/api/content_modulemd_defaults_api_spec.rb +4 -4
  72. data/spec/api/content_modulemd_obsoletes_api_spec.rb +4 -4
  73. data/spec/api/content_modulemds_api_spec.rb +4 -4
  74. data/spec/api/content_packagecategories_api_spec.rb +4 -4
  75. data/spec/api/content_packageenvironments_api_spec.rb +4 -4
  76. data/spec/api/content_packagegroups_api_spec.rb +4 -4
  77. data/spec/api/content_packagelangpacks_api_spec.rb +4 -4
  78. data/spec/api/content_packages_api_spec.rb +4 -4
  79. data/spec/api/content_repo_metadata_files_api_spec.rb +4 -4
  80. data/spec/api/distributions_rpm_api_spec.rb +6 -6
  81. data/spec/api/publications_rpm_api_spec.rb +5 -5
  82. data/spec/api/remotes_rpm_api_spec.rb +6 -6
  83. data/spec/api/remotes_uln_api_spec.rb +6 -6
  84. data/spec/api/repositories_rpm_api_spec.rb +5 -5
  85. data/spec/api/repositories_rpm_versions_api_spec.rb +6 -6
  86. data/spec/models/rpm_rpm_remote_response_hidden_fields_spec.rb +47 -0
  87. data/spec/models/rpm_rpm_remote_response_spec.rb +6 -0
  88. data/spec/models/rpm_uln_remote_response_spec.rb +6 -0
  89. metadata +81 -77
@@ -0,0 +1,215 @@
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.3.1
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module PulpRpmClient
16
+ class RpmRpmRemoteResponseHiddenFields
17
+ attr_accessor :name
18
+
19
+ attr_accessor :is_set
20
+
21
+ # Attribute mapping from ruby-style variable name to JSON key.
22
+ def self.attribute_map
23
+ {
24
+ :'name' => :'name',
25
+ :'is_set' => :'is_set'
26
+ }
27
+ end
28
+
29
+ # Attribute type mapping.
30
+ def self.openapi_types
31
+ {
32
+ :'name' => :'String',
33
+ :'is_set' => :'Boolean'
34
+ }
35
+ end
36
+
37
+ # List of attributes with nullable: true
38
+ def self.openapi_nullable
39
+ Set.new([
40
+ ])
41
+ end
42
+
43
+ # Initializes the object
44
+ # @param [Hash] attributes Model attributes in the form of hash
45
+ def initialize(attributes = {})
46
+ if (!attributes.is_a?(Hash))
47
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpRpmClient::RpmRpmRemoteResponseHiddenFields` initialize method"
48
+ end
49
+
50
+ # check to see if the attribute exists and convert string to symbol for hash key
51
+ attributes = attributes.each_with_object({}) { |(k, v), h|
52
+ if (!self.class.attribute_map.key?(k.to_sym))
53
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpRpmClient::RpmRpmRemoteResponseHiddenFields`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
54
+ end
55
+ h[k.to_sym] = v
56
+ }
57
+
58
+ if attributes.key?(:'name')
59
+ self.name = attributes[:'name']
60
+ end
61
+
62
+ if attributes.key?(:'is_set')
63
+ self.is_set = attributes[:'is_set']
64
+ end
65
+ end
66
+
67
+ # Show invalid properties with the reasons. Usually used together with valid?
68
+ # @return Array for valid properties with the reasons
69
+ def list_invalid_properties
70
+ invalid_properties = Array.new
71
+ invalid_properties
72
+ end
73
+
74
+ # Check to see if the all the properties in the model are valid
75
+ # @return true if the model is valid
76
+ def valid?
77
+ true
78
+ end
79
+
80
+ # Checks equality by comparing each attribute.
81
+ # @param [Object] Object to be compared
82
+ def ==(o)
83
+ return true if self.equal?(o)
84
+ self.class == o.class &&
85
+ name == o.name &&
86
+ is_set == o.is_set
87
+ end
88
+
89
+ # @see the `==` method
90
+ # @param [Object] Object to be compared
91
+ def eql?(o)
92
+ self == o
93
+ end
94
+
95
+ # Calculates hash code according to all attributes.
96
+ # @return [Integer] Hash code
97
+ def hash
98
+ [name, is_set].hash
99
+ end
100
+
101
+ # Builds the object from hash
102
+ # @param [Hash] attributes Model attributes in the form of hash
103
+ # @return [Object] Returns the model itself
104
+ def self.build_from_hash(attributes)
105
+ new.build_from_hash(attributes)
106
+ end
107
+
108
+ # Builds the object from hash
109
+ # @param [Hash] attributes Model attributes in the form of hash
110
+ # @return [Object] Returns the model itself
111
+ def build_from_hash(attributes)
112
+ return nil unless attributes.is_a?(Hash)
113
+ self.class.openapi_types.each_pair do |key, type|
114
+ if type =~ /\AArray<(.*)>/i
115
+ # check to ensure the input is an array given that the attribute
116
+ # is documented as an array but the input is not
117
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
118
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
119
+ end
120
+ elsif !attributes[self.class.attribute_map[key]].nil?
121
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
122
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
123
+ end
124
+
125
+ self
126
+ end
127
+
128
+ # Deserializes the data based on type
129
+ # @param string type Data type
130
+ # @param string value Value to be deserialized
131
+ # @return [Object] Deserialized data
132
+ def _deserialize(type, value)
133
+ case type.to_sym
134
+ when :DateTime
135
+ DateTime.parse(value)
136
+ when :Date
137
+ Date.parse(value)
138
+ when :String
139
+ value.to_s
140
+ when :Integer
141
+ value.to_i
142
+ when :Float
143
+ value.to_f
144
+ when :Boolean
145
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
146
+ true
147
+ else
148
+ false
149
+ end
150
+ when :Object
151
+ # generic object (usually a Hash), return directly
152
+ value
153
+ when /\AArray<(?<inner_type>.+)>\z/
154
+ inner_type = Regexp.last_match[:inner_type]
155
+ value.map { |v| _deserialize(inner_type, v) }
156
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
157
+ k_type = Regexp.last_match[:k_type]
158
+ v_type = Regexp.last_match[:v_type]
159
+ {}.tap do |hash|
160
+ value.each do |k, v|
161
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
162
+ end
163
+ end
164
+ else # model
165
+ PulpRpmClient.const_get(type).build_from_hash(value)
166
+ end
167
+ end
168
+
169
+ # Returns the string representation of the object
170
+ # @return [String] String presentation of the object
171
+ def to_s
172
+ to_hash.to_s
173
+ end
174
+
175
+ # to_body is an alias to to_hash (backward compatibility)
176
+ # @return [Hash] Returns the object in the form of hash
177
+ def to_body
178
+ to_hash
179
+ end
180
+
181
+ # Returns the object in the form of hash
182
+ # @return [Hash] Returns the object in the form of hash
183
+ def to_hash
184
+ hash = {}
185
+ self.class.attribute_map.each_pair do |attr, param|
186
+ value = self.send(attr)
187
+ if value.nil?
188
+ is_nullable = self.class.openapi_nullable.include?(attr)
189
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
190
+ end
191
+
192
+ hash[param] = _to_hash(value)
193
+ end
194
+ hash
195
+ end
196
+
197
+ # Outputs non-array value in the form of hash
198
+ # For object, use to_hash. Otherwise, just return the value
199
+ # @param [Object] value Any valid value
200
+ # @return [Hash] Returns the value in the form of hash
201
+ def _to_hash(value)
202
+ if value.is_a?(Array)
203
+ value.compact.map { |v| _to_hash(v) }
204
+ elsif value.is_a?(Hash)
205
+ {}.tap do |hash|
206
+ value.each { |k, v| hash[k] = _to_hash(v) }
207
+ end
208
+ elsif value.respond_to? :to_hash
209
+ value.to_hash
210
+ else
211
+ value
212
+ end
213
+ end
214
+ end
215
+ end
@@ -75,7 +75,7 @@ module PulpRpmClient
75
75
  # Attribute type mapping.
76
76
  def self.openapi_types
77
77
  {
78
- :'pulp_labels' => :'Object',
78
+ :'pulp_labels' => :'Hash<String, String>',
79
79
  :'name' => :'String',
80
80
  :'description' => :'String',
81
81
  :'retain_repo_versions' => :'Integer',
@@ -119,7 +119,9 @@ module PulpRpmClient
119
119
  }
120
120
 
121
121
  if attributes.key?(:'pulp_labels')
122
- self.pulp_labels = attributes[:'pulp_labels']
122
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
123
+ self.pulp_labels = value
124
+ end
123
125
  end
124
126
 
125
127
  if attributes.key?(:'name')
@@ -91,7 +91,7 @@ module PulpRpmClient
91
91
  :'pulp_href' => :'String',
92
92
  :'pulp_created' => :'DateTime',
93
93
  :'versions_href' => :'String',
94
- :'pulp_labels' => :'Object',
94
+ :'pulp_labels' => :'Hash<String, String>',
95
95
  :'latest_version_href' => :'String',
96
96
  :'name' => :'String',
97
97
  :'description' => :'String',
@@ -148,7 +148,9 @@ module PulpRpmClient
148
148
  end
149
149
 
150
150
  if attributes.key?(:'pulp_labels')
151
- self.pulp_labels = attributes[:'pulp_labels']
151
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
152
+ self.pulp_labels = value
153
+ end
152
154
  end
153
155
 
154
156
  if attributes.key?(:'latest_version_href')
@@ -122,7 +122,7 @@ module PulpRpmClient
122
122
  :'proxy_password' => :'String',
123
123
  :'username' => :'String',
124
124
  :'password' => :'String',
125
- :'pulp_labels' => :'Object',
125
+ :'pulp_labels' => :'Hash<String, String>',
126
126
  :'download_concurrency' => :'Integer',
127
127
  :'max_retries' => :'Integer',
128
128
  :'policy' => :'PolicyEnum',
@@ -216,7 +216,9 @@ module PulpRpmClient
216
216
  end
217
217
 
218
218
  if attributes.key?(:'pulp_labels')
219
- self.pulp_labels = attributes[:'pulp_labels']
219
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
220
+ self.pulp_labels = value
221
+ end
220
222
  end
221
223
 
222
224
  if attributes.key?(:'download_concurrency')
@@ -70,6 +70,9 @@ module PulpRpmClient
70
70
  # Limits requests per second for each concurrent downloader
71
71
  attr_accessor :rate_limit
72
72
 
73
+ # List of hidden (write only) fields
74
+ attr_accessor :hidden_fields
75
+
73
76
  # Base URL of the ULN server. If the uln_server_base_url is not provided pulp_rpm willuse the contents of the DEFAULT_ULN_SERVER_BASE_URL setting instead.
74
77
  attr_accessor :uln_server_base_url
75
78
 
@@ -95,6 +98,7 @@ module PulpRpmClient
95
98
  :'sock_read_timeout' => :'sock_read_timeout',
96
99
  :'headers' => :'headers',
97
100
  :'rate_limit' => :'rate_limit',
101
+ :'hidden_fields' => :'hidden_fields',
98
102
  :'uln_server_base_url' => :'uln_server_base_url'
99
103
  }
100
104
  end
@@ -110,7 +114,7 @@ module PulpRpmClient
110
114
  :'client_cert' => :'String',
111
115
  :'tls_validation' => :'Boolean',
112
116
  :'proxy_url' => :'String',
113
- :'pulp_labels' => :'Object',
117
+ :'pulp_labels' => :'Hash<String, String>',
114
118
  :'pulp_last_updated' => :'DateTime',
115
119
  :'download_concurrency' => :'Integer',
116
120
  :'max_retries' => :'Integer',
@@ -121,6 +125,7 @@ module PulpRpmClient
121
125
  :'sock_read_timeout' => :'Float',
122
126
  :'headers' => :'Array<Object>',
123
127
  :'rate_limit' => :'Integer',
128
+ :'hidden_fields' => :'Array<RpmRpmRemoteResponseHiddenFields>',
124
129
  :'uln_server_base_url' => :'String'
125
130
  }
126
131
  end
@@ -190,7 +195,9 @@ module PulpRpmClient
190
195
  end
191
196
 
192
197
  if attributes.key?(:'pulp_labels')
193
- self.pulp_labels = attributes[:'pulp_labels']
198
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
199
+ self.pulp_labels = value
200
+ end
194
201
  end
195
202
 
196
203
  if attributes.key?(:'pulp_last_updated')
@@ -235,6 +242,12 @@ module PulpRpmClient
235
242
  self.rate_limit = attributes[:'rate_limit']
236
243
  end
237
244
 
245
+ if attributes.key?(:'hidden_fields')
246
+ if (value = attributes[:'hidden_fields']).is_a?(Array)
247
+ self.hidden_fields = value
248
+ end
249
+ end
250
+
238
251
  if attributes.key?(:'uln_server_base_url')
239
252
  self.uln_server_base_url = attributes[:'uln_server_base_url']
240
253
  end
@@ -362,6 +375,7 @@ module PulpRpmClient
362
375
  sock_read_timeout == o.sock_read_timeout &&
363
376
  headers == o.headers &&
364
377
  rate_limit == o.rate_limit &&
378
+ hidden_fields == o.hidden_fields &&
365
379
  uln_server_base_url == o.uln_server_base_url
366
380
  end
367
381
 
@@ -374,7 +388,7 @@ module PulpRpmClient
374
388
  # Calculates hash code according to all attributes.
375
389
  # @return [Integer] Hash code
376
390
  def hash
377
- [pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, pulp_last_updated, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, uln_server_base_url].hash
391
+ [pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, pulp_last_updated, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, hidden_fields, uln_server_base_url].hash
378
392
  end
379
393
 
380
394
  # Builds the object from hash
@@ -15,6 +15,7 @@ require 'date'
15
15
  module PulpRpmClient
16
16
  class SkipTypesEnum
17
17
  SRPM = "srpm".freeze
18
+ TREEINFO = "treeinfo".freeze
18
19
 
19
20
  # Builds the enum from string
20
21
  # @param [String] The enum value in the form of the string
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpRpmClient
14
- VERSION = '3.18.9'
14
+ VERSION = '3.18.11'
15
15
  end
@@ -77,6 +77,7 @@ require 'pulp_rpm_client/models/rpm_rpm_publication'
77
77
  require 'pulp_rpm_client/models/rpm_rpm_publication_response'
78
78
  require 'pulp_rpm_client/models/rpm_rpm_remote'
79
79
  require 'pulp_rpm_client/models/rpm_rpm_remote_response'
80
+ require 'pulp_rpm_client/models/rpm_rpm_remote_response_hidden_fields'
80
81
  require 'pulp_rpm_client/models/rpm_rpm_repository'
81
82
  require 'pulp_rpm_client/models/rpm_rpm_repository_response'
82
83
  require 'pulp_rpm_client/models/rpm_uln_remote'
@@ -61,15 +61,15 @@ describe 'AcsRpmApi' do
61
61
  # ViewSet for ACS.
62
62
  # @param [Hash] opts the optional parameters
63
63
  # @option opts [Integer] :limit Number of results to return per page.
64
- # @option opts [String] :name
64
+ # @option opts [String] :name Filter results where name matches value
65
65
  # @option opts [String] :name__contains Filter results where name contains value
66
66
  # @option opts [String] :name__icontains Filter results where name contains value
67
67
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
68
68
  # @option opts [String] :name__startswith Filter results where name starts with value
69
69
  # @option opts [Integer] :offset The initial index from which to return the results.
70
70
  # @option opts [Array<String>] :ordering Ordering
71
- # @option opts [String] :fields A list of fields to include in the response.
72
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
71
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
72
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
73
73
  # @return [PaginatedrpmRpmAlternateContentSourceResponseList]
74
74
  describe 'list test' do
75
75
  it 'should work' do
@@ -95,8 +95,8 @@ describe 'AcsRpmApi' do
95
95
  # ViewSet for ACS.
96
96
  # @param rpm_rpm_alternate_content_source_href
97
97
  # @param [Hash] opts the optional parameters
98
- # @option opts [String] :fields A list of fields to include in the response.
99
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
98
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
99
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
100
100
  # @return [RpmRpmAlternateContentSourceResponse]
101
101
  describe 'read test' do
102
102
  it 'should work' do
@@ -66,8 +66,8 @@ describe 'ContentAdvisoriesApi' do
66
66
  # @option opts [String] :type Filter results where type matches value
67
67
  # @option opts [Array<String>] :type__in Filter results where type is in a comma-separated list of values
68
68
  # @option opts [String] :type__ne Filter results where type not equal to value
69
- # @option opts [String] :fields A list of fields to include in the response.
70
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
69
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
70
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
71
71
  # @return [PaginatedrpmUpdateRecordResponseList]
72
72
  describe 'list test' do
73
73
  it 'should work' do
@@ -80,8 +80,8 @@ describe 'ContentAdvisoriesApi' do
80
80
  # A ViewSet for UpdateRecord. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/advisories/ Also specify queryset and serializer for UpdateRecord.
81
81
  # @param rpm_update_record_href
82
82
  # @param [Hash] opts the optional parameters
83
- # @option opts [String] :fields A list of fields to include in the response.
84
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
83
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
84
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
85
85
  # @return [RpmUpdateRecordResponse]
86
86
  describe 'read test' do
87
87
  it 'should work' do
@@ -42,8 +42,8 @@ describe 'ContentDistributionTreesApi' do
42
42
  # @option opts [String] :repository_version Repository Version referenced by HREF
43
43
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
44
44
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
45
- # @option opts [String] :fields A list of fields to include in the response.
46
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
45
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
46
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
47
47
  # @return [PaginatedrpmDistributionTreeResponseList]
48
48
  describe 'list test' do
49
49
  it 'should work' do
@@ -56,8 +56,8 @@ describe 'ContentDistributionTreesApi' do
56
56
  # Distribution Tree Viewset.
57
57
  # @param rpm_distribution_tree_href
58
58
  # @param [Hash] opts the optional parameters
59
- # @option opts [String] :fields A list of fields to include in the response.
60
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
59
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
60
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
61
61
  # @return [RpmDistributionTreeResponse]
62
62
  describe 'read test' do
63
63
  it 'should work' do
@@ -59,8 +59,8 @@ describe 'ContentModulemdDefaultsApi' do
59
59
  # @option opts [String] :sha256
60
60
  # @option opts [String] :stream Filter results where stream matches value
61
61
  # @option opts [Array<String>] :stream__in Filter results where stream is in a comma-separated list of values
62
- # @option opts [String] :fields A list of fields to include in the response.
63
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
62
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
63
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
64
64
  # @return [PaginatedrpmModulemdDefaultsResponseList]
65
65
  describe 'list test' do
66
66
  it 'should work' do
@@ -73,8 +73,8 @@ describe 'ContentModulemdDefaultsApi' do
73
73
  # ViewSet for Modulemd.
74
74
  # @param rpm_modulemd_defaults_href
75
75
  # @param [Hash] opts the optional parameters
76
- # @option opts [String] :fields A list of fields to include in the response.
77
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
76
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
77
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
78
78
  # @return [RpmModulemdDefaultsResponse]
79
79
  describe 'read test' do
80
80
  it 'should work' do
@@ -54,8 +54,8 @@ describe 'ContentModulemdObsoletesApi' do
54
54
  # @option opts [String] :repository_version Repository Version referenced by HREF
55
55
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
56
56
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
57
- # @option opts [String] :fields A list of fields to include in the response.
58
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
57
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
58
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
59
59
  # @return [PaginatedrpmModulemdObsoleteResponseList]
60
60
  describe 'list test' do
61
61
  it 'should work' do
@@ -68,8 +68,8 @@ describe 'ContentModulemdObsoletesApi' do
68
68
  # ViewSet for Modulemd.
69
69
  # @param rpm_modulemd_obsolete_href
70
70
  # @param [Hash] opts the optional parameters
71
- # @option opts [String] :fields A list of fields to include in the response.
72
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
71
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
72
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
73
73
  # @return [RpmModulemdObsoleteResponse]
74
74
  describe 'read test' do
75
75
  it 'should work' do
@@ -59,8 +59,8 @@ describe 'ContentModulemdsApi' do
59
59
  # @option opts [String] :sha256
60
60
  # @option opts [String] :stream Filter results where stream matches value
61
61
  # @option opts [Array<String>] :stream__in Filter results where stream is in a comma-separated list of values
62
- # @option opts [String] :fields A list of fields to include in the response.
63
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
62
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
63
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
64
64
  # @return [PaginatedrpmModulemdResponseList]
65
65
  describe 'list test' do
66
66
  it 'should work' do
@@ -73,8 +73,8 @@ describe 'ContentModulemdsApi' do
73
73
  # ViewSet for Modulemd.
74
74
  # @param rpm_modulemd_href
75
75
  # @param [Hash] opts the optional parameters
76
- # @option opts [String] :fields A list of fields to include in the response.
77
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
76
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
77
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
78
78
  # @return [RpmModulemdResponse]
79
79
  describe 'read test' do
80
80
  it 'should work' do
@@ -42,8 +42,8 @@ describe 'ContentPackagecategoriesApi' do
42
42
  # @option opts [String] :repository_version Repository Version referenced by HREF
43
43
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
44
44
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
45
- # @option opts [String] :fields A list of fields to include in the response.
46
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
45
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
46
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
47
47
  # @return [PaginatedrpmPackageCategoryResponseList]
48
48
  describe 'list test' do
49
49
  it 'should work' do
@@ -56,8 +56,8 @@ describe 'ContentPackagecategoriesApi' do
56
56
  # PackageCategory ViewSet.
57
57
  # @param rpm_package_category_href
58
58
  # @param [Hash] opts the optional parameters
59
- # @option opts [String] :fields A list of fields to include in the response.
60
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
59
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
60
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
61
61
  # @return [RpmPackageCategoryResponse]
62
62
  describe 'read test' do
63
63
  it 'should work' do
@@ -42,8 +42,8 @@ describe 'ContentPackageenvironmentsApi' do
42
42
  # @option opts [String] :repository_version Repository Version referenced by HREF
43
43
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
44
44
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
45
- # @option opts [String] :fields A list of fields to include in the response.
46
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
45
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
46
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
47
47
  # @return [PaginatedrpmPackageEnvironmentResponseList]
48
48
  describe 'list test' do
49
49
  it 'should work' do
@@ -56,8 +56,8 @@ describe 'ContentPackageenvironmentsApi' do
56
56
  # PackageEnvironment ViewSet.
57
57
  # @param rpm_package_environment_href
58
58
  # @param [Hash] opts the optional parameters
59
- # @option opts [String] :fields A list of fields to include in the response.
60
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
59
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
60
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
61
61
  # @return [RpmPackageEnvironmentResponse]
62
62
  describe 'read test' do
63
63
  it 'should work' do
@@ -42,8 +42,8 @@ describe 'ContentPackagegroupsApi' do
42
42
  # @option opts [String] :repository_version Repository Version referenced by HREF
43
43
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
44
44
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
45
- # @option opts [String] :fields A list of fields to include in the response.
46
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
45
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
46
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
47
47
  # @return [PaginatedrpmPackageGroupResponseList]
48
48
  describe 'list test' do
49
49
  it 'should work' do
@@ -56,8 +56,8 @@ describe 'ContentPackagegroupsApi' do
56
56
  # PackageGroup ViewSet.
57
57
  # @param rpm_package_group_href
58
58
  # @param [Hash] opts the optional parameters
59
- # @option opts [String] :fields A list of fields to include in the response.
60
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
59
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
60
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
61
61
  # @return [RpmPackageGroupResponse]
62
62
  describe 'read test' do
63
63
  it 'should work' do
@@ -42,8 +42,8 @@ describe 'ContentPackagelangpacksApi' do
42
42
  # @option opts [String] :repository_version Repository Version referenced by HREF
43
43
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
44
44
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
45
- # @option opts [String] :fields A list of fields to include in the response.
46
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
45
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
46
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
47
47
  # @return [PaginatedrpmPackageLangpacksResponseList]
48
48
  describe 'list test' do
49
49
  it 'should work' do
@@ -56,8 +56,8 @@ describe 'ContentPackagelangpacksApi' do
56
56
  # PackageLangpacks ViewSet.
57
57
  # @param rpm_package_langpacks_href
58
58
  # @param [Hash] opts the optional parameters
59
- # @option opts [String] :fields A list of fields to include in the response.
60
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
59
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
60
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
61
61
  # @return [RpmPackageLangpacksResponse]
62
62
  describe 'read test' do
63
63
  it 'should work' do
@@ -79,8 +79,8 @@ describe 'ContentPackagesApi' do
79
79
  # @option opts [String] :version Filter results where version matches value
80
80
  # @option opts [Array<String>] :version__in Filter results where version is in a comma-separated list of values
81
81
  # @option opts [String] :version__ne Filter results where version not equal to value
82
- # @option opts [String] :fields A list of fields to include in the response.
83
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
82
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
83
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
84
84
  # @return [PaginatedrpmPackageResponseList]
85
85
  describe 'list test' do
86
86
  it 'should work' do
@@ -93,8 +93,8 @@ describe 'ContentPackagesApi' do
93
93
  # A ViewSet for Package. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/packages/ Also specify queryset and serializer for Package.
94
94
  # @param rpm_package_href
95
95
  # @param [Hash] opts the optional parameters
96
- # @option opts [String] :fields A list of fields to include in the response.
97
- # @option opts [String] :exclude_fields A list of fields to exclude from the response.
96
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
97
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
98
98
  # @return [RpmPackageResponse]
99
99
  describe 'read test' do
100
100
  it 'should work' do