pulp_ansible_client 0.16.2 → 0.17.0.dev1676430674

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulp_ansible_client might be problematic. Click here for more details.

Files changed (141) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -7
  3. data/docs/AnsibleAnsibleRepository.md +1 -1
  4. data/docs/AnsibleAnsibleRepositoryResponse.md +4 -2
  5. data/docs/AnsibleCollectionRemote.md +1 -1
  6. data/docs/AnsibleCollectionRemoteResponse.md +4 -2
  7. data/docs/AnsibleCollectionVersion.md +3 -3
  8. data/docs/AnsibleCollectionVersionResponse.md +2 -2
  9. data/docs/AnsibleCollectionsApi.md +2 -6
  10. data/docs/AnsibleGitRemote.md +25 -25
  11. data/docs/AnsibleGitRemoteResponse.md +25 -25
  12. data/docs/AnsibleRoleRemote.md +1 -1
  13. data/docs/AnsibleRoleRemoteResponse.md +1 -1
  14. data/docs/AnsibleRoleResponse.md +2 -2
  15. data/docs/CollectionRefResponse.md +1 -1
  16. data/docs/CollectionResponse.md +6 -6
  17. data/docs/CollectionVersionListResponse.md +1 -1
  18. data/docs/CollectionVersionResponse.md +4 -4
  19. data/docs/ContentCollectionDeprecationsApi.md +2 -6
  20. data/docs/ContentCollectionSignaturesApi.md +2 -6
  21. data/docs/ContentCollectionVersionsApi.md +4 -8
  22. data/docs/ContentRolesApi.md +2 -6
  23. data/docs/DistributionsAnsibleApi.md +2 -6
  24. data/docs/GalaxyCollectionResponse.md +4 -4
  25. data/docs/GalaxyCollectionVersionResponse.md +4 -4
  26. data/docs/GalaxyRoleResponse.md +1 -1
  27. data/docs/GalaxyRoleVersionResponse.md +1 -1
  28. data/docs/PatchedansibleAnsibleRepository.md +1 -1
  29. data/docs/PatchedansibleCollectionRemote.md +1 -1
  30. data/docs/PatchedansibleGitRemote.md +25 -25
  31. data/docs/PatchedansibleRoleRemote.md +1 -1
  32. data/docs/ProgressReportResponse.md +27 -0
  33. data/docs/PulpAnsibleApiV3CollectionsAllApi.md +2 -6
  34. data/docs/PulpAnsibleApiV3CollectionsApi.md +2 -6
  35. data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +2 -6
  36. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -6
  37. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +2 -6
  38. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +2 -6
  39. data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +2 -6
  40. data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +2 -6
  41. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +2 -6
  42. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -6
  43. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +2 -6
  44. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +2 -6
  45. data/docs/RemotesCollectionApi.md +10 -6
  46. data/docs/RemotesGitApi.md +2 -6
  47. data/docs/RemotesRoleApi.md +2 -6
  48. data/docs/RepositoriesAnsibleApi.md +2 -6
  49. data/docs/RepositoriesAnsibleVersionsApi.md +2 -4
  50. data/docs/RepositoryAddRemoveContent.md +2 -2
  51. data/docs/Task.md +19 -0
  52. data/docs/TaskResponse.md +45 -0
  53. data/docs/UnpaginatedCollectionVersionResponse.md +4 -4
  54. data/lib/pulp_ansible_client/api/ansible_collections_api.rb +2 -8
  55. data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +2 -8
  56. data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +2 -8
  57. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +5 -11
  58. data/lib/pulp_ansible_client/api/content_roles_api.rb +2 -8
  59. data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +2 -8
  60. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +2 -8
  61. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +2 -8
  62. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +2 -8
  63. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +2 -8
  64. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +2 -8
  65. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +2 -8
  66. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +2 -8
  67. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +2 -8
  68. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +2 -8
  69. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +2 -8
  70. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +2 -8
  71. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +2 -8
  72. data/lib/pulp_ansible_client/api/remotes_collection_api.rb +15 -9
  73. data/lib/pulp_ansible_client/api/remotes_git_api.rb +2 -8
  74. data/lib/pulp_ansible_client/api/remotes_role_api.rb +2 -8
  75. data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +2 -8
  76. data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +2 -5
  77. data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +1 -1
  78. data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +15 -6
  79. data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +1 -1
  80. data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +14 -5
  81. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +11 -11
  82. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +10 -10
  83. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +230 -230
  84. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +149 -149
  85. data/lib/pulp_ansible_client/models/ansible_role_remote.rb +1 -1
  86. data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +1 -1
  87. data/lib/pulp_ansible_client/models/ansible_role_response.rb +10 -10
  88. data/lib/pulp_ansible_client/models/collection_ref_response.rb +0 -1
  89. data/lib/pulp_ansible_client/models/collection_response.rb +0 -6
  90. data/lib/pulp_ansible_client/models/collection_version_list_response.rb +0 -1
  91. data/lib/pulp_ansible_client/models/collection_version_response.rb +0 -4
  92. data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +0 -4
  93. data/lib/pulp_ansible_client/models/galaxy_collection_version_response.rb +0 -4
  94. data/lib/pulp_ansible_client/models/galaxy_role_response.rb +0 -1
  95. data/lib/pulp_ansible_client/models/galaxy_role_version_response.rb +0 -1
  96. data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +1 -1
  97. data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +1 -1
  98. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +215 -215
  99. data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +1 -1
  100. data/lib/pulp_ansible_client/models/progress_report_response.rb +259 -0
  101. data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +2 -2
  102. data/lib/pulp_ansible_client/models/task.rb +266 -0
  103. data/lib/pulp_ansible_client/models/task_response.rb +366 -0
  104. data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +0 -4
  105. data/lib/pulp_ansible_client/version.rb +1 -1
  106. data/lib/pulp_ansible_client.rb +3 -0
  107. data/spec/api/ansible_collections_api_spec.rb +1 -3
  108. data/spec/api/content_collection_deprecations_api_spec.rb +1 -3
  109. data/spec/api/content_collection_signatures_api_spec.rb +1 -3
  110. data/spec/api/content_collection_versions_api_spec.rb +2 -4
  111. data/spec/api/content_roles_api_spec.rb +1 -3
  112. data/spec/api/distributions_ansible_api_spec.rb +1 -3
  113. data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +1 -3
  114. data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +1 -3
  115. data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +1 -3
  116. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -3
  117. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -3
  118. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -3
  119. data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +1 -3
  120. data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +1 -3
  121. data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +1 -3
  122. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -3
  123. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -3
  124. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -3
  125. data/spec/api/remotes_collection_api_spec.rb +5 -3
  126. data/spec/api/remotes_git_api_spec.rb +1 -3
  127. data/spec/api/remotes_role_api_spec.rb +1 -3
  128. data/spec/api/repositories_ansible_api_spec.rb +1 -3
  129. data/spec/api/repositories_ansible_versions_api_spec.rb +1 -2
  130. data/spec/models/ansible_ansible_repository_response_spec.rb +6 -0
  131. data/spec/models/ansible_collection_remote_response_spec.rb +6 -0
  132. data/spec/models/ansible_collection_version_response_spec.rb +2 -2
  133. data/spec/models/ansible_collection_version_spec.rb +2 -2
  134. data/spec/models/ansible_git_remote_response_spec.rb +19 -19
  135. data/spec/models/ansible_git_remote_spec.rb +19 -19
  136. data/spec/models/ansible_role_response_spec.rb +2 -2
  137. data/spec/models/patchedansible_git_remote_spec.rb +19 -19
  138. data/spec/models/progress_report_response_spec.rb +71 -0
  139. data/spec/models/task_response_spec.rb +125 -0
  140. data/spec/models/task_spec.rb +47 -0
  141. metadata +114 -102
@@ -0,0 +1,366 @@
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 PulpAnsibleClient
16
+ # Base serializer for use with :class:`pulpcore.app.models.Model` This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
17
+ class TaskResponse
18
+ attr_accessor :pulp_href
19
+
20
+ # Timestamp of creation.
21
+ attr_accessor :pulp_created
22
+
23
+ # The current state of the task. The possible values include: 'waiting', 'skipped', 'running', 'completed', 'failed', 'canceled' and 'canceling'.
24
+ attr_accessor :state
25
+
26
+ # The name of task.
27
+ attr_accessor :name
28
+
29
+ # The logging correlation id associated with this task
30
+ attr_accessor :logging_cid
31
+
32
+ # Timestamp of the when this task started execution.
33
+ attr_accessor :started_at
34
+
35
+ # Timestamp of the when this task stopped execution.
36
+ attr_accessor :finished_at
37
+
38
+ # A JSON Object of a fatal error encountered during the execution of this task.
39
+ attr_accessor :error
40
+
41
+ # The worker associated with this task. This field is empty if a worker is not yet assigned.
42
+ attr_accessor :worker
43
+
44
+ # The parent task that spawned this task.
45
+ attr_accessor :parent_task
46
+
47
+ # Any tasks spawned by this task.
48
+ attr_accessor :child_tasks
49
+
50
+ # The task group that this task is a member of.
51
+ attr_accessor :task_group
52
+
53
+ attr_accessor :progress_reports
54
+
55
+ # Resources created by this task.
56
+ attr_accessor :created_resources
57
+
58
+ # A list of resources required by that task.
59
+ attr_accessor :reserved_resources_record
60
+
61
+ # Attribute mapping from ruby-style variable name to JSON key.
62
+ def self.attribute_map
63
+ {
64
+ :'pulp_href' => :'pulp_href',
65
+ :'pulp_created' => :'pulp_created',
66
+ :'state' => :'state',
67
+ :'name' => :'name',
68
+ :'logging_cid' => :'logging_cid',
69
+ :'started_at' => :'started_at',
70
+ :'finished_at' => :'finished_at',
71
+ :'error' => :'error',
72
+ :'worker' => :'worker',
73
+ :'parent_task' => :'parent_task',
74
+ :'child_tasks' => :'child_tasks',
75
+ :'task_group' => :'task_group',
76
+ :'progress_reports' => :'progress_reports',
77
+ :'created_resources' => :'created_resources',
78
+ :'reserved_resources_record' => :'reserved_resources_record'
79
+ }
80
+ end
81
+
82
+ # Attribute type mapping.
83
+ def self.openapi_types
84
+ {
85
+ :'pulp_href' => :'String',
86
+ :'pulp_created' => :'DateTime',
87
+ :'state' => :'String',
88
+ :'name' => :'String',
89
+ :'logging_cid' => :'String',
90
+ :'started_at' => :'DateTime',
91
+ :'finished_at' => :'DateTime',
92
+ :'error' => :'Hash<String, Object>',
93
+ :'worker' => :'String',
94
+ :'parent_task' => :'String',
95
+ :'child_tasks' => :'Array<String>',
96
+ :'task_group' => :'String',
97
+ :'progress_reports' => :'Array<ProgressReportResponse>',
98
+ :'created_resources' => :'Array<String>',
99
+ :'reserved_resources_record' => :'Array<String>'
100
+ }
101
+ end
102
+
103
+ # List of attributes with nullable: true
104
+ def self.openapi_nullable
105
+ Set.new([
106
+ ])
107
+ end
108
+
109
+ # Initializes the object
110
+ # @param [Hash] attributes Model attributes in the form of hash
111
+ def initialize(attributes = {})
112
+ if (!attributes.is_a?(Hash))
113
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpAnsibleClient::TaskResponse` initialize method"
114
+ end
115
+
116
+ # check to see if the attribute exists and convert string to symbol for hash key
117
+ attributes = attributes.each_with_object({}) { |(k, v), h|
118
+ if (!self.class.attribute_map.key?(k.to_sym))
119
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpAnsibleClient::TaskResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
120
+ end
121
+ h[k.to_sym] = v
122
+ }
123
+
124
+ if attributes.key?(:'pulp_href')
125
+ self.pulp_href = attributes[:'pulp_href']
126
+ end
127
+
128
+ if attributes.key?(:'pulp_created')
129
+ self.pulp_created = attributes[:'pulp_created']
130
+ end
131
+
132
+ if attributes.key?(:'state')
133
+ self.state = attributes[:'state']
134
+ end
135
+
136
+ if attributes.key?(:'name')
137
+ self.name = attributes[:'name']
138
+ end
139
+
140
+ if attributes.key?(:'logging_cid')
141
+ self.logging_cid = attributes[:'logging_cid']
142
+ end
143
+
144
+ if attributes.key?(:'started_at')
145
+ self.started_at = attributes[:'started_at']
146
+ end
147
+
148
+ if attributes.key?(:'finished_at')
149
+ self.finished_at = attributes[:'finished_at']
150
+ end
151
+
152
+ if attributes.key?(:'error')
153
+ if (value = attributes[:'error']).is_a?(Hash)
154
+ self.error = value
155
+ end
156
+ end
157
+
158
+ if attributes.key?(:'worker')
159
+ self.worker = attributes[:'worker']
160
+ end
161
+
162
+ if attributes.key?(:'parent_task')
163
+ self.parent_task = attributes[:'parent_task']
164
+ end
165
+
166
+ if attributes.key?(:'child_tasks')
167
+ if (value = attributes[:'child_tasks']).is_a?(Array)
168
+ self.child_tasks = value
169
+ end
170
+ end
171
+
172
+ if attributes.key?(:'task_group')
173
+ self.task_group = attributes[:'task_group']
174
+ end
175
+
176
+ if attributes.key?(:'progress_reports')
177
+ if (value = attributes[:'progress_reports']).is_a?(Array)
178
+ self.progress_reports = value
179
+ end
180
+ end
181
+
182
+ if attributes.key?(:'created_resources')
183
+ if (value = attributes[:'created_resources']).is_a?(Array)
184
+ self.created_resources = value
185
+ end
186
+ end
187
+
188
+ if attributes.key?(:'reserved_resources_record')
189
+ if (value = attributes[:'reserved_resources_record']).is_a?(Array)
190
+ self.reserved_resources_record = value
191
+ end
192
+ end
193
+ end
194
+
195
+ # Show invalid properties with the reasons. Usually used together with valid?
196
+ # @return Array for valid properties with the reasons
197
+ def list_invalid_properties
198
+ invalid_properties = Array.new
199
+ if @name.nil?
200
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
201
+ end
202
+
203
+ if @logging_cid.nil?
204
+ invalid_properties.push('invalid value for "logging_cid", logging_cid cannot be nil.')
205
+ end
206
+
207
+ invalid_properties
208
+ end
209
+
210
+ # Check to see if the all the properties in the model are valid
211
+ # @return true if the model is valid
212
+ def valid?
213
+ return false if @name.nil?
214
+ return false if @logging_cid.nil?
215
+ true
216
+ end
217
+
218
+ # Checks equality by comparing each attribute.
219
+ # @param [Object] Object to be compared
220
+ def ==(o)
221
+ return true if self.equal?(o)
222
+ self.class == o.class &&
223
+ pulp_href == o.pulp_href &&
224
+ pulp_created == o.pulp_created &&
225
+ state == o.state &&
226
+ name == o.name &&
227
+ logging_cid == o.logging_cid &&
228
+ started_at == o.started_at &&
229
+ finished_at == o.finished_at &&
230
+ error == o.error &&
231
+ worker == o.worker &&
232
+ parent_task == o.parent_task &&
233
+ child_tasks == o.child_tasks &&
234
+ task_group == o.task_group &&
235
+ progress_reports == o.progress_reports &&
236
+ created_resources == o.created_resources &&
237
+ reserved_resources_record == o.reserved_resources_record
238
+ end
239
+
240
+ # @see the `==` method
241
+ # @param [Object] Object to be compared
242
+ def eql?(o)
243
+ self == o
244
+ end
245
+
246
+ # Calculates hash code according to all attributes.
247
+ # @return [Integer] Hash code
248
+ def hash
249
+ [pulp_href, pulp_created, state, name, logging_cid, started_at, finished_at, error, worker, parent_task, child_tasks, task_group, progress_reports, created_resources, reserved_resources_record].hash
250
+ end
251
+
252
+ # Builds the object from hash
253
+ # @param [Hash] attributes Model attributes in the form of hash
254
+ # @return [Object] Returns the model itself
255
+ def self.build_from_hash(attributes)
256
+ new.build_from_hash(attributes)
257
+ end
258
+
259
+ # Builds the object from hash
260
+ # @param [Hash] attributes Model attributes in the form of hash
261
+ # @return [Object] Returns the model itself
262
+ def build_from_hash(attributes)
263
+ return nil unless attributes.is_a?(Hash)
264
+ self.class.openapi_types.each_pair do |key, type|
265
+ if type =~ /\AArray<(.*)>/i
266
+ # check to ensure the input is an array given that the attribute
267
+ # is documented as an array but the input is not
268
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
269
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
270
+ end
271
+ elsif !attributes[self.class.attribute_map[key]].nil?
272
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
273
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
274
+ end
275
+
276
+ self
277
+ end
278
+
279
+ # Deserializes the data based on type
280
+ # @param string type Data type
281
+ # @param string value Value to be deserialized
282
+ # @return [Object] Deserialized data
283
+ def _deserialize(type, value)
284
+ case type.to_sym
285
+ when :DateTime
286
+ DateTime.parse(value)
287
+ when :Date
288
+ Date.parse(value)
289
+ when :String
290
+ value.to_s
291
+ when :Integer
292
+ value.to_i
293
+ when :Float
294
+ value.to_f
295
+ when :Boolean
296
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
297
+ true
298
+ else
299
+ false
300
+ end
301
+ when :Object
302
+ # generic object (usually a Hash), return directly
303
+ value
304
+ when /\AArray<(?<inner_type>.+)>\z/
305
+ inner_type = Regexp.last_match[:inner_type]
306
+ value.map { |v| _deserialize(inner_type, v) }
307
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
308
+ k_type = Regexp.last_match[:k_type]
309
+ v_type = Regexp.last_match[:v_type]
310
+ {}.tap do |hash|
311
+ value.each do |k, v|
312
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
313
+ end
314
+ end
315
+ else # model
316
+ PulpAnsibleClient.const_get(type).build_from_hash(value)
317
+ end
318
+ end
319
+
320
+ # Returns the string representation of the object
321
+ # @return [String] String presentation of the object
322
+ def to_s
323
+ to_hash.to_s
324
+ end
325
+
326
+ # to_body is an alias to to_hash (backward compatibility)
327
+ # @return [Hash] Returns the object in the form of hash
328
+ def to_body
329
+ to_hash
330
+ end
331
+
332
+ # Returns the object in the form of hash
333
+ # @return [Hash] Returns the object in the form of hash
334
+ def to_hash
335
+ hash = {}
336
+ self.class.attribute_map.each_pair do |attr, param|
337
+ value = self.send(attr)
338
+ if value.nil?
339
+ is_nullable = self.class.openapi_nullable.include?(attr)
340
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
341
+ end
342
+
343
+ hash[param] = _to_hash(value)
344
+ end
345
+ hash
346
+ end
347
+
348
+ # Outputs non-array value in the form of hash
349
+ # For object, use to_hash. Otherwise, just return the value
350
+ # @param [Object] value Any valid value
351
+ # @return [Hash] Returns the value in the form of hash
352
+ def _to_hash(value)
353
+ if value.is_a?(Array)
354
+ value.compact.map { |v| _to_hash(v) }
355
+ elsif value.is_a?(Hash)
356
+ {}.tap do |hash|
357
+ value.each { |k, v| hash[k] = _to_hash(v) }
358
+ end
359
+ elsif value.respond_to? :to_hash
360
+ value.to_hash
361
+ else
362
+ value
363
+ end
364
+ end
365
+ end
366
+ end
@@ -17,7 +17,6 @@ module PulpAnsibleClient
17
17
  class UnpaginatedCollectionVersionResponse
18
18
  attr_accessor :version
19
19
 
20
- # Get href.
21
20
  attr_accessor :href
22
21
 
23
22
  attr_accessor :created_at
@@ -30,7 +29,6 @@ module PulpAnsibleClient
30
29
 
31
30
  attr_accessor :collection
32
31
 
33
- # Get artifact download URL.
34
32
  attr_accessor :download_url
35
33
 
36
34
  attr_accessor :name
@@ -41,10 +39,8 @@ module PulpAnsibleClient
41
39
 
42
40
  attr_accessor :metadata
43
41
 
44
- # Get the git URL.
45
42
  attr_accessor :git_url
46
43
 
47
- # Get the git commit sha.
48
44
  attr_accessor :git_commit_sha
49
45
 
50
46
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpAnsibleClient
14
- VERSION = '0.16.2'
14
+ VERSION = '0.17.0.dev1676430674'
15
15
  end
@@ -84,11 +84,14 @@ require 'pulp_ansible_client/models/patchedansible_collection_remote'
84
84
  require 'pulp_ansible_client/models/patchedansible_git_remote'
85
85
  require 'pulp_ansible_client/models/patchedansible_role_remote'
86
86
  require 'pulp_ansible_client/models/policy_enum'
87
+ require 'pulp_ansible_client/models/progress_report_response'
87
88
  require 'pulp_ansible_client/models/repair'
88
89
  require 'pulp_ansible_client/models/repo_metadata_response'
89
90
  require 'pulp_ansible_client/models/repository_add_remove_content'
90
91
  require 'pulp_ansible_client/models/repository_version_response'
91
92
  require 'pulp_ansible_client/models/tag_response'
93
+ require 'pulp_ansible_client/models/task'
94
+ require 'pulp_ansible_client/models/task_response'
92
95
  require 'pulp_ansible_client/models/unpaginated_collection_version_response'
93
96
 
94
97
  # APIs
@@ -40,9 +40,7 @@ describe 'AnsibleCollectionsApi' do
40
40
  # @option opts [String] :name
41
41
  # @option opts [String] :namespace
42
42
  # @option opts [Integer] :offset The initial index from which to return the results.
43
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;namespace&#x60; - Namespace * &#x60;-namespace&#x60; - Namespace (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
44
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
45
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
43
+ # @option opts [Array<String>] :ordering Ordering
46
44
  # @option opts [Array<String>] :fields A list of fields to include in the response.
47
45
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
48
46
  # @return [PaginatedansibleCollectionResponseList]
@@ -50,9 +50,7 @@ describe 'ContentCollectionDeprecationsApi' do
50
50
  # @param [Hash] opts the optional parameters
51
51
  # @option opts [Integer] :limit Number of results to return per page.
52
52
  # @option opts [Integer] :offset The initial index from which to return the results.
53
- # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
54
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
55
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
53
+ # @option opts [Array<String>] :ordering Ordering
56
54
  # @option opts [String] :repository_version Repository Version referenced by HREF
57
55
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
58
56
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -52,11 +52,9 @@ describe 'ContentCollectionSignaturesApi' do
52
52
  # @param [Hash] opts the optional parameters
53
53
  # @option opts [Integer] :limit Number of results to return per page.
54
54
  # @option opts [Integer] :offset The initial index from which to return the results.
55
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;data&#x60; - Data * &#x60;-data&#x60; - Data (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;pubkey_fingerprint&#x60; - Pubkey fingerprint * &#x60;-pubkey_fingerprint&#x60; - Pubkey fingerprint (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
55
+ # @option opts [Array<String>] :ordering Ordering
56
56
  # @option opts [String] :pubkey_fingerprint Filter results where pubkey_fingerprint matches value
57
57
  # @option opts [Array<String>] :pubkey_fingerprint__in Filter results where pubkey_fingerprint is in a comma-separated list of values
58
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
59
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
60
58
  # @option opts [String] :repository_version Repository Version referenced by HREF
61
59
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
62
60
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -36,8 +36,8 @@ describe 'ContentCollectionVersionsApi' do
36
36
  # Create a collection version
37
37
  # Trigger an asynchronous task to create content,optionally create new repository version.
38
38
  # @param [Hash] opts the optional parameters
39
- # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
40
39
  # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
40
+ # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
41
41
  # @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
42
42
  # @option opts [String] :artifact Artifact file representing the physical content
43
43
  # @option opts [String] :expected_name The name of the collection.
@@ -59,9 +59,7 @@ describe 'ContentCollectionVersionsApi' do
59
59
  # @option opts [String] :name
60
60
  # @option opts [String] :namespace
61
61
  # @option opts [Integer] :offset The initial index from which to return the results.
62
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;authors&#x60; - Authors * &#x60;-authors&#x60; - Authors (descending) * &#x60;contents&#x60; - Contents * &#x60;-contents&#x60; - Contents (descending) * &#x60;dependencies&#x60; - Dependencies * &#x60;-dependencies&#x60; - Dependencies (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;docs_blob&#x60; - Docs blob * &#x60;-docs_blob&#x60; - Docs blob (descending) * &#x60;manifest&#x60; - Manifest * &#x60;-manifest&#x60; - Manifest (descending) * &#x60;files&#x60; - Files * &#x60;-files&#x60; - Files (descending) * &#x60;documentation&#x60; - Documentation * &#x60;-documentation&#x60; - Documentation (descending) * &#x60;homepage&#x60; - Homepage * &#x60;-homepage&#x60; - Homepage (descending) * &#x60;issues&#x60; - Issues * &#x60;-issues&#x60; - Issues (descending) * &#x60;license&#x60; - License * &#x60;-license&#x60; - License (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;namespace&#x60; - Namespace * &#x60;-namespace&#x60; - Namespace (descending) * &#x60;repository&#x60; - Repository * &#x60;-repository&#x60; - Repository (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;requires_ansible&#x60; - Requires ansible * &#x60;-requires_ansible&#x60; - Requires ansible (descending) * &#x60;is_highest&#x60; - Is highest * &#x60;-is_highest&#x60; - Is highest (descending) * &#x60;search_vector&#x60; - Search vector * &#x60;-search_vector&#x60; - Search vector (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
63
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
64
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
62
+ # @option opts [Array<String>] :ordering Ordering
65
63
  # @option opts [String] :q
66
64
  # @option opts [String] :repository_version Repository Version referenced by HREF
67
65
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
@@ -52,9 +52,7 @@ describe 'ContentRolesApi' do
52
52
  # @option opts [String] :name Filter results where name matches value
53
53
  # @option opts [String] :namespace Filter results where namespace matches value
54
54
  # @option opts [Integer] :offset The initial index from which to return the results.
55
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;namespace&#x60; - Namespace * &#x60;-namespace&#x60; - Namespace (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
56
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
57
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
55
+ # @option opts [Array<String>] :ordering Ordering
58
56
  # @option opts [String] :repository_version Repository Version referenced by HREF
59
57
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
60
58
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -71,9 +71,7 @@ describe 'DistributionsAnsibleApi' do
71
71
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
72
72
  # @option opts [String] :name__startswith Filter results where name starts with value
73
73
  # @option opts [Integer] :offset The initial index from which to return the results.
74
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
75
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
76
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
74
+ # @option opts [Array<String>] :ordering Ordering
77
75
  # @option opts [String] :pulp_label_select Filter labels by search string
78
76
  # @option opts [String] :repository Filter results where repository matches value
79
77
  # @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
@@ -39,9 +39,7 @@ describe 'PulpAnsibleApiV3CollectionsAllApi' do
39
39
  # @option opts [Boolean] :deprecated
40
40
  # @option opts [String] :name
41
41
  # @option opts [String] :namespace
42
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;namespace&#x60; - Namespace * &#x60;-namespace&#x60; - Namespace (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
43
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
44
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
42
+ # @option opts [Array<String>] :ordering Ordering
45
43
  # @option opts [Array<String>] :fields A list of fields to include in the response.
46
44
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
47
45
  # @return [Array<CollectionResponse>]
@@ -54,9 +54,7 @@ describe 'PulpAnsibleApiV3CollectionsApi' do
54
54
  # @option opts [String] :name
55
55
  # @option opts [String] :namespace
56
56
  # @option opts [Integer] :offset The initial index from which to return the results.
57
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;namespace&#x60; - Namespace * &#x60;-namespace&#x60; - Namespace (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
58
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
59
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
57
+ # @option opts [Array<String>] :ordering Ordering
60
58
  # @option opts [Array<String>] :fields A list of fields to include in the response.
61
59
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
62
60
  # @return [PaginatedCollectionResponseList]
@@ -57,9 +57,7 @@ describe 'PulpAnsibleApiV3CollectionsVersionsApi' do
57
57
  # @option opts [String] :name2
58
58
  # @option opts [String] :namespace2
59
59
  # @option opts [Integer] :offset The initial index from which to return the results.
60
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;authors&#x60; - Authors * &#x60;-authors&#x60; - Authors (descending) * &#x60;contents&#x60; - Contents * &#x60;-contents&#x60; - Contents (descending) * &#x60;dependencies&#x60; - Dependencies * &#x60;-dependencies&#x60; - Dependencies (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;docs_blob&#x60; - Docs blob * &#x60;-docs_blob&#x60; - Docs blob (descending) * &#x60;manifest&#x60; - Manifest * &#x60;-manifest&#x60; - Manifest (descending) * &#x60;files&#x60; - Files * &#x60;-files&#x60; - Files (descending) * &#x60;documentation&#x60; - Documentation * &#x60;-documentation&#x60; - Documentation (descending) * &#x60;homepage&#x60; - Homepage * &#x60;-homepage&#x60; - Homepage (descending) * &#x60;issues&#x60; - Issues * &#x60;-issues&#x60; - Issues (descending) * &#x60;license&#x60; - License * &#x60;-license&#x60; - License (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;namespace&#x60; - Namespace * &#x60;-namespace&#x60; - Namespace (descending) * &#x60;repository&#x60; - Repository * &#x60;-repository&#x60; - Repository (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;requires_ansible&#x60; - Requires ansible * &#x60;-requires_ansible&#x60; - Requires ansible (descending) * &#x60;is_highest&#x60; - Is highest * &#x60;-is_highest&#x60; - Is highest (descending) * &#x60;search_vector&#x60; - Search vector * &#x60;-search_vector&#x60; - Search vector (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
61
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
62
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
60
+ # @option opts [Array<String>] :ordering Ordering
63
61
  # @option opts [String] :q
64
62
  # @option opts [String] :repository_version Repository Version referenced by HREF
65
63
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
@@ -40,9 +40,7 @@ describe 'PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi' do
40
40
  # @option opts [Boolean] :deprecated
41
41
  # @option opts [String] :name
42
42
  # @option opts [String] :namespace
43
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;namespace&#x60; - Namespace * &#x60;-namespace&#x60; - Namespace (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
44
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
45
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
43
+ # @option opts [Array<String>] :ordering Ordering
46
44
  # @option opts [Array<String>] :fields A list of fields to include in the response.
47
45
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
48
46
  # @return [Array<CollectionResponse>]
@@ -56,9 +56,7 @@ describe 'PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi' do
56
56
  # @option opts [String] :name
57
57
  # @option opts [String] :namespace
58
58
  # @option opts [Integer] :offset The initial index from which to return the results.
59
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;namespace&#x60; - Namespace * &#x60;-namespace&#x60; - Namespace (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
60
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
61
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
59
+ # @option opts [Array<String>] :ordering Ordering
62
60
  # @option opts [Array<String>] :fields A list of fields to include in the response.
63
61
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
64
62
  # @return [PaginatedCollectionResponseList]
@@ -59,9 +59,7 @@ describe 'PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi' do
59
59
  # @option opts [String] :name2
60
60
  # @option opts [String] :namespace2
61
61
  # @option opts [Integer] :offset The initial index from which to return the results.
62
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;authors&#x60; - Authors * &#x60;-authors&#x60; - Authors (descending) * &#x60;contents&#x60; - Contents * &#x60;-contents&#x60; - Contents (descending) * &#x60;dependencies&#x60; - Dependencies * &#x60;-dependencies&#x60; - Dependencies (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;docs_blob&#x60; - Docs blob * &#x60;-docs_blob&#x60; - Docs blob (descending) * &#x60;manifest&#x60; - Manifest * &#x60;-manifest&#x60; - Manifest (descending) * &#x60;files&#x60; - Files * &#x60;-files&#x60; - Files (descending) * &#x60;documentation&#x60; - Documentation * &#x60;-documentation&#x60; - Documentation (descending) * &#x60;homepage&#x60; - Homepage * &#x60;-homepage&#x60; - Homepage (descending) * &#x60;issues&#x60; - Issues * &#x60;-issues&#x60; - Issues (descending) * &#x60;license&#x60; - License * &#x60;-license&#x60; - License (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;namespace&#x60; - Namespace * &#x60;-namespace&#x60; - Namespace (descending) * &#x60;repository&#x60; - Repository * &#x60;-repository&#x60; - Repository (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;requires_ansible&#x60; - Requires ansible * &#x60;-requires_ansible&#x60; - Requires ansible (descending) * &#x60;is_highest&#x60; - Is highest * &#x60;-is_highest&#x60; - Is highest (descending) * &#x60;search_vector&#x60; - Search vector * &#x60;-search_vector&#x60; - Search vector (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
63
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
64
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
62
+ # @option opts [Array<String>] :ordering Ordering
65
63
  # @option opts [String] :q
66
64
  # @option opts [String] :repository_version Repository Version referenced by HREF
67
65
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
@@ -38,9 +38,7 @@ describe 'PulpAnsibleDefaultApiV3CollectionsAllApi' do
38
38
  # @option opts [Boolean] :deprecated
39
39
  # @option opts [String] :name
40
40
  # @option opts [String] :namespace
41
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;namespace&#x60; - Namespace * &#x60;-namespace&#x60; - Namespace (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
42
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
43
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
41
+ # @option opts [Array<String>] :ordering Ordering
44
42
  # @option opts [Array<String>] :fields A list of fields to include in the response.
45
43
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
46
44
  # @return [Array<CollectionResponse>]
@@ -52,9 +52,7 @@ describe 'PulpAnsibleDefaultApiV3CollectionsApi' do
52
52
  # @option opts [String] :name
53
53
  # @option opts [String] :namespace
54
54
  # @option opts [Integer] :offset The initial index from which to return the results.
55
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;namespace&#x60; - Namespace * &#x60;-namespace&#x60; - Namespace (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
56
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
57
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
55
+ # @option opts [Array<String>] :ordering Ordering
58
56
  # @option opts [Array<String>] :fields A list of fields to include in the response.
59
57
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
60
58
  # @return [PaginatedCollectionResponseList]
@@ -55,9 +55,7 @@ describe 'PulpAnsibleDefaultApiV3CollectionsVersionsApi' do
55
55
  # @option opts [String] :name2
56
56
  # @option opts [String] :namespace2
57
57
  # @option opts [Integer] :offset The initial index from which to return the results.
58
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;authors&#x60; - Authors * &#x60;-authors&#x60; - Authors (descending) * &#x60;contents&#x60; - Contents * &#x60;-contents&#x60; - Contents (descending) * &#x60;dependencies&#x60; - Dependencies * &#x60;-dependencies&#x60; - Dependencies (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;docs_blob&#x60; - Docs blob * &#x60;-docs_blob&#x60; - Docs blob (descending) * &#x60;manifest&#x60; - Manifest * &#x60;-manifest&#x60; - Manifest (descending) * &#x60;files&#x60; - Files * &#x60;-files&#x60; - Files (descending) * &#x60;documentation&#x60; - Documentation * &#x60;-documentation&#x60; - Documentation (descending) * &#x60;homepage&#x60; - Homepage * &#x60;-homepage&#x60; - Homepage (descending) * &#x60;issues&#x60; - Issues * &#x60;-issues&#x60; - Issues (descending) * &#x60;license&#x60; - License * &#x60;-license&#x60; - License (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;namespace&#x60; - Namespace * &#x60;-namespace&#x60; - Namespace (descending) * &#x60;repository&#x60; - Repository * &#x60;-repository&#x60; - Repository (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;requires_ansible&#x60; - Requires ansible * &#x60;-requires_ansible&#x60; - Requires ansible (descending) * &#x60;is_highest&#x60; - Is highest * &#x60;-is_highest&#x60; - Is highest (descending) * &#x60;search_vector&#x60; - Search vector * &#x60;-search_vector&#x60; - Search vector (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
59
- # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
60
- # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
58
+ # @option opts [Array<String>] :ordering Ordering
61
59
  # @option opts [String] :q
62
60
  # @option opts [String] :repository_version Repository Version referenced by HREF
63
61
  # @option opts [String] :repository_version_added Repository Version referenced by HREF