pulp_ansible_client 0.18.4 → 0.19.0

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.
Files changed (172) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +34 -47
  3. data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +2 -2
  4. data/docs/AnsibleCollectionVersion.md +4 -4
  5. data/docs/AnsibleCollectionVersionResponse.md +4 -4
  6. data/docs/AnsibleCollectionsApi.md +9 -15
  7. data/docs/AnsibleCopyApi.md +1 -1
  8. data/docs/AnsibleGitRemote.md +26 -26
  9. data/docs/AnsibleGitRemoteResponse.md +24 -24
  10. data/docs/AnsibleRoleResponse.md +4 -4
  11. data/docs/ApiCollectionsApi.md +1 -1
  12. data/docs/ApiRolesApi.md +1 -1
  13. data/docs/CollectionImportApi.md +1 -1
  14. data/docs/CollectionNamespaceResponse.md +1 -1
  15. data/docs/CollectionResponse.md +5 -3
  16. data/docs/CollectionVersionResponse.md +1 -1
  17. data/docs/CollectionVersionSignatureResponse.md +23 -0
  18. data/docs/ContentCollectionDeprecationsApi.md +1 -3
  19. data/docs/ContentCollectionMarksApi.md +2 -4
  20. data/docs/ContentCollectionSignaturesApi.md +3 -5
  21. data/docs/ContentCollectionVersionsApi.md +7 -7
  22. data/docs/ContentNamespacesApi.md +1 -19
  23. data/docs/ContentRolesApi.md +1 -3
  24. data/docs/DistributionsAnsibleApi.md +10 -136
  25. data/docs/GalaxyDetailApi.md +1 -1
  26. data/docs/{UnsetLabel.md → PatchedCollection.md} +3 -3
  27. data/docs/PatchedansibleGitRemote.md +26 -26
  28. data/docs/PulpAnsibleApiApi.md +1 -1
  29. data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +1 -1
  30. data/docs/PulpAnsibleApiV3Api.md +1 -1
  31. data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +1 -1
  32. data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +1 -1
  33. data/docs/PulpAnsibleApiV3CollectionsAllApi.md +1 -3
  34. data/docs/PulpAnsibleApiV3CollectionsApi.md +5 -7
  35. data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +3 -3
  36. data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +1 -1
  37. data/docs/PulpAnsibleApiV3NamespacesApi.md +1 -19
  38. data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +1 -1
  39. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -3
  40. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
  41. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +1 -1
  42. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
  43. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +5 -7
  44. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +3 -3
  45. data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
  46. data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +5 -23
  47. data/docs/{ApiPluginAnsibleSearchCollectionVersionsApi.md → PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md} +17 -18
  48. data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +1 -1
  49. data/docs/PulpAnsibleDefaultApiApi.md +1 -1
  50. data/docs/PulpAnsibleDefaultApiV3Api.md +1 -1
  51. data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +1 -1
  52. data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +1 -1
  53. data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +1 -3
  54. data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +5 -7
  55. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +3 -3
  56. data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +1 -1
  57. data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +1 -19
  58. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +1 -1
  59. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -3
  60. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
  61. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +1 -1
  62. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
  63. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +5 -7
  64. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +3 -3
  65. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
  66. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +5 -23
  67. data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +3 -4
  68. data/docs/PulpAnsibleTagsApi.md +1 -1
  69. data/docs/RemotesCollectionApi.md +9 -135
  70. data/docs/RemotesGitApi.md +9 -135
  71. data/docs/RemotesRoleApi.md +9 -135
  72. data/docs/RepositoriesAnsibleApi.md +10 -136
  73. data/docs/RepositoriesAnsibleVersionsApi.md +1 -3
  74. data/docs/UnpaginatedCollectionVersionResponse.md +1 -1
  75. data/docs/VersionsApi.md +1 -1
  76. data/lib/pulp_ansible_client/api/ansible_collections_api.rb +0 -11
  77. data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +0 -3
  78. data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +0 -3
  79. data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +0 -3
  80. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -9
  81. data/lib/pulp_ansible_client/api/content_namespaces_api.rb +0 -27
  82. data/lib/pulp_ansible_client/api/content_roles_api.rb +0 -3
  83. data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +0 -163
  84. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +0 -3
  85. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +9 -12
  86. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +3 -3
  87. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +0 -27
  88. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +0 -3
  89. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +9 -12
  90. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +3 -3
  91. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +8 -35
  92. data/lib/pulp_ansible_client/api/{api_plugin_ansible_search_collection_versions_api.rb → pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api.rb} +24 -26
  93. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +0 -3
  94. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +9 -12
  95. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +3 -3
  96. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +0 -27
  97. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +0 -3
  98. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +9 -12
  99. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +3 -3
  100. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +8 -35
  101. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +0 -2
  102. data/lib/pulp_ansible_client/api/remotes_collection_api.rb +0 -163
  103. data/lib/pulp_ansible_client/api/remotes_git_api.rb +0 -163
  104. data/lib/pulp_ansible_client/api/remotes_role_api.rb +0 -163
  105. data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +0 -163
  106. data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +0 -3
  107. data/lib/pulp_ansible_client/configuration.rb +3 -3
  108. data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +0 -10
  109. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +15 -15
  110. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +14 -14
  111. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +232 -232
  112. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +149 -149
  113. data/lib/pulp_ansible_client/models/ansible_role_response.rb +14 -14
  114. data/lib/pulp_ansible_client/models/collection_namespace_response.rb +1 -0
  115. data/lib/pulp_ansible_client/models/collection_response.rb +19 -6
  116. data/lib/pulp_ansible_client/models/collection_version_response.rb +9 -2
  117. data/lib/pulp_ansible_client/models/{set_label.rb → collection_version_signature_response.rb} +49 -42
  118. data/lib/pulp_ansible_client/models/{unset_label_response.rb → patched_collection.rb} +11 -46
  119. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +228 -228
  120. data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +9 -2
  121. data/lib/pulp_ansible_client/version.rb +1 -1
  122. data/lib/pulp_ansible_client.rb +3 -5
  123. data/spec/api/ansible_collections_api_spec.rb +0 -5
  124. data/spec/api/content_collection_deprecations_api_spec.rb +0 -1
  125. data/spec/api/content_collection_marks_api_spec.rb +0 -1
  126. data/spec/api/content_collection_signatures_api_spec.rb +0 -1
  127. data/spec/api/content_collection_versions_api_spec.rb +3 -3
  128. data/spec/api/content_namespaces_api_spec.rb +0 -9
  129. data/spec/api/content_roles_api_spec.rb +0 -1
  130. data/spec/api/distributions_ansible_api_spec.rb +0 -35
  131. data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +0 -1
  132. data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +1 -2
  133. data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +1 -1
  134. data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +0 -9
  135. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +0 -1
  136. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -2
  137. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -1
  138. data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +4 -13
  139. data/spec/api/{api_plugin_ansible_search_collection_versions_api_spec.rb → pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api_spec.rb} +8 -9
  140. data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +0 -1
  141. data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +1 -2
  142. data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +1 -1
  143. data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +0 -9
  144. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +0 -1
  145. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -2
  146. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -1
  147. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +4 -13
  148. data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +0 -1
  149. data/spec/api/remotes_collection_api_spec.rb +0 -35
  150. data/spec/api/remotes_git_api_spec.rb +0 -35
  151. data/spec/api/remotes_role_api_spec.rb +0 -35
  152. data/spec/api/repositories_ansible_api_spec.rb +0 -35
  153. data/spec/api/repositories_ansible_versions_api_spec.rb +0 -1
  154. data/spec/configuration_spec.rb +3 -3
  155. data/spec/models/ansible_collection_version_response_spec.rb +2 -2
  156. data/spec/models/ansible_collection_version_spec.rb +2 -2
  157. data/spec/models/ansible_git_remote_response_spec.rb +19 -19
  158. data/spec/models/ansible_git_remote_spec.rb +19 -19
  159. data/spec/models/ansible_role_response_spec.rb +2 -2
  160. data/spec/models/collection_response_spec.rb +6 -0
  161. data/spec/models/collection_version_signature_response_spec.rb +59 -0
  162. data/spec/models/{unset_label_spec.rb → patched_collection_spec.rb} +7 -7
  163. data/spec/models/patchedansible_git_remote_spec.rb +19 -19
  164. metadata +158 -166
  165. data/docs/SetLabel.md +0 -19
  166. data/docs/SetLabelResponse.md +0 -19
  167. data/docs/UnsetLabelResponse.md +0 -19
  168. data/lib/pulp_ansible_client/models/set_label_response.rb +0 -243
  169. data/lib/pulp_ansible_client/models/unset_label.rb +0 -242
  170. data/spec/models/set_label_response_spec.rb +0 -47
  171. data/spec/models/set_label_spec.rb +0 -47
  172. data/spec/models/unset_label_response_spec.rb +0 -47
@@ -19,7 +19,6 @@ module PulpAnsibleClient
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
- # Add a role
23
22
  # Add a role for this object to users/groups.
24
23
  # @param ansible_ansible_repository_href [String]
25
24
  # @param nested_role [NestedRole]
@@ -30,7 +29,6 @@ module PulpAnsibleClient
30
29
  data
31
30
  end
32
31
 
33
- # Add a role
34
32
  # Add a role for this object to users/groups.
35
33
  # @param ansible_ansible_repository_href [String]
36
34
  # @param nested_role [NestedRole]
@@ -291,18 +289,13 @@ module PulpAnsibleClient
291
289
  # @option opts [String] :name Filter results where name matches value
292
290
  # @option opts [String] :name__contains Filter results where name contains value
293
291
  # @option opts [String] :name__icontains Filter results where name contains value
294
- # @option opts [String] :name__iexact Filter results where name matches value
295
292
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
296
- # @option opts [String] :name__iregex Filter results where name matches regex value
297
- # @option opts [String] :name__istartswith Filter results where name starts with value
298
- # @option opts [String] :name__regex Filter results where name matches regex value
299
293
  # @option opts [String] :name__startswith Filter results where name starts with value
300
294
  # @option opts [Integer] :offset The initial index from which to return the results.
301
295
  # @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;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
302
296
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
303
297
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
304
298
  # @option opts [String] :pulp_label_select Filter labels by search string
305
- # @option opts [String] :q
306
299
  # @option opts [String] :remote Foreign Key referenced by HREF
307
300
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
308
301
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
@@ -329,18 +322,13 @@ module PulpAnsibleClient
329
322
  # @option opts [String] :name Filter results where name matches value
330
323
  # @option opts [String] :name__contains Filter results where name contains value
331
324
  # @option opts [String] :name__icontains Filter results where name contains value
332
- # @option opts [String] :name__iexact Filter results where name matches value
333
325
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
334
- # @option opts [String] :name__iregex Filter results where name matches regex value
335
- # @option opts [String] :name__istartswith Filter results where name starts with value
336
- # @option opts [String] :name__regex Filter results where name matches regex value
337
326
  # @option opts [String] :name__startswith Filter results where name starts with value
338
327
  # @option opts [Integer] :offset The initial index from which to return the results.
339
328
  # @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;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
340
329
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
341
330
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
342
331
  # @option opts [String] :pulp_label_select Filter labels by search string
343
- # @option opts [String] :q
344
332
  # @option opts [String] :remote Foreign Key referenced by HREF
345
333
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
346
334
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
@@ -372,18 +360,13 @@ module PulpAnsibleClient
372
360
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
373
361
  query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
374
362
  query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
375
- query_params[:'name__iexact'] = opts[:'name__iexact'] if !opts[:'name__iexact'].nil?
376
363
  query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
377
- query_params[:'name__iregex'] = opts[:'name__iregex'] if !opts[:'name__iregex'].nil?
378
- query_params[:'name__istartswith'] = opts[:'name__istartswith'] if !opts[:'name__istartswith'].nil?
379
- query_params[:'name__regex'] = opts[:'name__regex'] if !opts[:'name__regex'].nil?
380
364
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
381
365
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
382
366
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
383
367
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
384
368
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
385
369
  query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
386
- query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
387
370
  query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
388
371
  query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
389
372
  query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
@@ -430,7 +413,6 @@ module PulpAnsibleClient
430
413
  return data, status_code, headers
431
414
  end
432
415
 
433
- # List roles
434
416
  # List roles assigned to this object.
435
417
  # @param ansible_ansible_repository_href [String]
436
418
  # @param [Hash] opts the optional parameters
@@ -442,7 +424,6 @@ module PulpAnsibleClient
442
424
  data
443
425
  end
444
426
 
445
- # List roles
446
427
  # List roles assigned to this object.
447
428
  # @param ansible_ansible_repository_href [String]
448
429
  # @param [Hash] opts the optional parameters
@@ -704,7 +685,6 @@ module PulpAnsibleClient
704
685
  return data, status_code, headers
705
686
  end
706
687
 
707
- # List user permissions
708
688
  # List permissions available to the current user on this object.
709
689
  # @param ansible_ansible_repository_href [String]
710
690
  # @param [Hash] opts the optional parameters
@@ -716,7 +696,6 @@ module PulpAnsibleClient
716
696
  data
717
697
  end
718
698
 
719
- # List user permissions
720
699
  # List permissions available to the current user on this object.
721
700
  # @param ansible_ansible_repository_href [String]
722
701
  # @param [Hash] opts the optional parameters
@@ -978,7 +957,6 @@ module PulpAnsibleClient
978
957
  return data, status_code, headers
979
958
  end
980
959
 
981
- # Remove a role
982
960
  # Remove a role for this object from users/groups.
983
961
  # @param ansible_ansible_repository_href [String]
984
962
  # @param nested_role [NestedRole]
@@ -989,7 +967,6 @@ module PulpAnsibleClient
989
967
  data
990
968
  end
991
969
 
992
- # Remove a role
993
970
  # Remove a role for this object from users/groups.
994
971
  # @param ansible_ansible_repository_href [String]
995
972
  # @param nested_role [NestedRole]
@@ -1048,76 +1025,6 @@ module PulpAnsibleClient
1048
1025
  return data, status_code, headers
1049
1026
  end
1050
1027
 
1051
- # Set a label
1052
- # Set a single pulp_label on the object to a specific value or null.
1053
- # @param ansible_ansible_repository_href [String]
1054
- # @param set_label [SetLabel]
1055
- # @param [Hash] opts the optional parameters
1056
- # @return [SetLabelResponse]
1057
- def set_label(ansible_ansible_repository_href, set_label, opts = {})
1058
- data, _status_code, _headers = set_label_with_http_info(ansible_ansible_repository_href, set_label, opts)
1059
- data
1060
- end
1061
-
1062
- # Set a label
1063
- # Set a single pulp_label on the object to a specific value or null.
1064
- # @param ansible_ansible_repository_href [String]
1065
- # @param set_label [SetLabel]
1066
- # @param [Hash] opts the optional parameters
1067
- # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
1068
- def set_label_with_http_info(ansible_ansible_repository_href, set_label, opts = {})
1069
- if @api_client.config.debugging
1070
- @api_client.config.logger.debug 'Calling API: RepositoriesAnsibleApi.set_label ...'
1071
- end
1072
- # verify the required parameter 'ansible_ansible_repository_href' is set
1073
- if @api_client.config.client_side_validation && ansible_ansible_repository_href.nil?
1074
- fail ArgumentError, "Missing the required parameter 'ansible_ansible_repository_href' when calling RepositoriesAnsibleApi.set_label"
1075
- end
1076
- # verify the required parameter 'set_label' is set
1077
- if @api_client.config.client_side_validation && set_label.nil?
1078
- fail ArgumentError, "Missing the required parameter 'set_label' when calling RepositoriesAnsibleApi.set_label"
1079
- end
1080
- # resource path
1081
- local_var_path = '{ansible_ansible_repository_href}set_label/'.sub('{' + 'ansible_ansible_repository_href' + '}', CGI.escape(ansible_ansible_repository_href.to_s).gsub('%2F', '/'))
1082
-
1083
- # query parameters
1084
- query_params = opts[:query_params] || {}
1085
-
1086
- # header parameters
1087
- header_params = opts[:header_params] || {}
1088
- # HTTP header 'Accept' (if needed)
1089
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1090
- # HTTP header 'Content-Type'
1091
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
1092
-
1093
- # form parameters
1094
- form_params = opts[:form_params] || {}
1095
-
1096
- # http body (model)
1097
- post_body = opts[:body] || @api_client.object_to_http_body(set_label)
1098
-
1099
- # return_type
1100
- return_type = opts[:return_type] || 'SetLabelResponse'
1101
-
1102
- # auth_names
1103
- auth_names = opts[:auth_names] || ['basicAuth']
1104
-
1105
- new_options = opts.merge(
1106
- :header_params => header_params,
1107
- :query_params => query_params,
1108
- :form_params => form_params,
1109
- :body => post_body,
1110
- :auth_names => auth_names,
1111
- :return_type => return_type
1112
- )
1113
-
1114
- data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
1115
- if @api_client.config.debugging
1116
- @api_client.config.logger.debug "API called: RepositoriesAnsibleApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1117
- end
1118
- return data, status_code, headers
1119
- end
1120
-
1121
1028
  # Trigger an asynchronous task to sign Ansible content.
1122
1029
  # @param ansible_ansible_repository_href [String]
1123
1030
  # @param ansible_repository_signature [AnsibleRepositorySignature]
@@ -1322,76 +1229,6 @@ module PulpAnsibleClient
1322
1229
  return data, status_code, headers
1323
1230
  end
1324
1231
 
1325
- # Unset a label
1326
- # Unset a single pulp_label on the object.
1327
- # @param ansible_ansible_repository_href [String]
1328
- # @param unset_label [UnsetLabel]
1329
- # @param [Hash] opts the optional parameters
1330
- # @return [UnsetLabelResponse]
1331
- def unset_label(ansible_ansible_repository_href, unset_label, opts = {})
1332
- data, _status_code, _headers = unset_label_with_http_info(ansible_ansible_repository_href, unset_label, opts)
1333
- data
1334
- end
1335
-
1336
- # Unset a label
1337
- # Unset a single pulp_label on the object.
1338
- # @param ansible_ansible_repository_href [String]
1339
- # @param unset_label [UnsetLabel]
1340
- # @param [Hash] opts the optional parameters
1341
- # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
1342
- def unset_label_with_http_info(ansible_ansible_repository_href, unset_label, opts = {})
1343
- if @api_client.config.debugging
1344
- @api_client.config.logger.debug 'Calling API: RepositoriesAnsibleApi.unset_label ...'
1345
- end
1346
- # verify the required parameter 'ansible_ansible_repository_href' is set
1347
- if @api_client.config.client_side_validation && ansible_ansible_repository_href.nil?
1348
- fail ArgumentError, "Missing the required parameter 'ansible_ansible_repository_href' when calling RepositoriesAnsibleApi.unset_label"
1349
- end
1350
- # verify the required parameter 'unset_label' is set
1351
- if @api_client.config.client_side_validation && unset_label.nil?
1352
- fail ArgumentError, "Missing the required parameter 'unset_label' when calling RepositoriesAnsibleApi.unset_label"
1353
- end
1354
- # resource path
1355
- local_var_path = '{ansible_ansible_repository_href}unset_label/'.sub('{' + 'ansible_ansible_repository_href' + '}', CGI.escape(ansible_ansible_repository_href.to_s).gsub('%2F', '/'))
1356
-
1357
- # query parameters
1358
- query_params = opts[:query_params] || {}
1359
-
1360
- # header parameters
1361
- header_params = opts[:header_params] || {}
1362
- # HTTP header 'Accept' (if needed)
1363
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1364
- # HTTP header 'Content-Type'
1365
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
1366
-
1367
- # form parameters
1368
- form_params = opts[:form_params] || {}
1369
-
1370
- # http body (model)
1371
- post_body = opts[:body] || @api_client.object_to_http_body(unset_label)
1372
-
1373
- # return_type
1374
- return_type = opts[:return_type] || 'UnsetLabelResponse'
1375
-
1376
- # auth_names
1377
- auth_names = opts[:auth_names] || ['basicAuth']
1378
-
1379
- new_options = opts.merge(
1380
- :header_params => header_params,
1381
- :query_params => query_params,
1382
- :form_params => form_params,
1383
- :body => post_body,
1384
- :auth_names => auth_names,
1385
- :return_type => return_type
1386
- )
1387
-
1388
- data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
1389
- if @api_client.config.debugging
1390
- @api_client.config.logger.debug "API called: RepositoriesAnsibleApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1391
- end
1392
- return data, status_code, headers
1393
- end
1394
-
1395
1232
  # Update an ansible repository
1396
1233
  # Trigger an asynchronous update task
1397
1234
  # @param ansible_ansible_repository_href [String]
@@ -103,7 +103,6 @@ module PulpAnsibleClient
103
103
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
104
104
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
105
105
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
106
- # @option opts [String] :q
107
106
  # @option opts [Array<String>] :fields A list of fields to include in the response.
108
107
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
109
108
  # @return [PaginatedRepositoryVersionResponseList]
@@ -134,7 +133,6 @@ module PulpAnsibleClient
134
133
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
135
134
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
136
135
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
137
- # @option opts [String] :q
138
136
  # @option opts [Array<String>] :fields A list of fields to include in the response.
139
137
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
140
138
  # @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
@@ -173,7 +171,6 @@ module PulpAnsibleClient
173
171
  query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
174
172
  query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
175
173
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
176
- query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
177
174
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
178
175
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
179
176
 
@@ -127,8 +127,8 @@ module PulpAnsibleClient
127
127
  attr_accessor :force_ending_format
128
128
 
129
129
  def initialize
130
- @scheme = 'http'
131
- @host = 'localhost'
130
+ @scheme = 'https'
131
+ @host = 'pulp'
132
132
  @base_path = ''
133
133
  @api_key = {}
134
134
  @api_key_prefix = {}
@@ -210,7 +210,7 @@ module PulpAnsibleClient
210
210
  def server_settings
211
211
  [
212
212
  {
213
- url: "http://localhost:24817/",
213
+ url: "https://pulp/",
214
214
  description: "No description provided",
215
215
  }
216
216
  ]
@@ -68,22 +68,12 @@ module PulpAnsibleClient
68
68
  # @return Array for valid properties with the reasons
69
69
  def list_invalid_properties
70
70
  invalid_properties = Array.new
71
- if @name.nil?
72
- invalid_properties.push('invalid value for "name", name cannot be nil.')
73
- end
74
-
75
- if @is_set.nil?
76
- invalid_properties.push('invalid value for "is_set", is_set cannot be nil.')
77
- end
78
-
79
71
  invalid_properties
80
72
  end
81
73
 
82
74
  # Check to see if the all the properties in the model are valid
83
75
  # @return true if the model is valid
84
76
  def valid?
85
- return false if @name.nil?
86
- return false if @is_set.nil?
87
77
  true
88
78
  end
89
79
 
@@ -15,8 +15,8 @@ require 'date'
15
15
  module PulpAnsibleClient
16
16
  # A serializer for CollectionVersion Content.
17
17
  class AnsibleCollectionVersion
18
- # An uploaded file that may be turned into the artifact of the content unit.
19
- attr_accessor :file
18
+ # An uncommitted upload that may be turned into the artifact of the content unit.
19
+ attr_accessor :upload
20
20
 
21
21
  # A URI of a repository the new content unit should be associated with.
22
22
  attr_accessor :repository
@@ -24,8 +24,8 @@ module PulpAnsibleClient
24
24
  # Artifact file representing the physical content
25
25
  attr_accessor :artifact
26
26
 
27
- # An uncommitted upload that may be turned into the artifact of the content unit.
28
- attr_accessor :upload
27
+ # An uploaded file that may be turned into the artifact of the content unit.
28
+ attr_accessor :file
29
29
 
30
30
  # The name of the collection.
31
31
  attr_accessor :expected_name
@@ -39,10 +39,10 @@ module PulpAnsibleClient
39
39
  # Attribute mapping from ruby-style variable name to JSON key.
40
40
  def self.attribute_map
41
41
  {
42
- :'file' => :'file',
42
+ :'upload' => :'upload',
43
43
  :'repository' => :'repository',
44
44
  :'artifact' => :'artifact',
45
- :'upload' => :'upload',
45
+ :'file' => :'file',
46
46
  :'expected_name' => :'expected_name',
47
47
  :'expected_namespace' => :'expected_namespace',
48
48
  :'expected_version' => :'expected_version'
@@ -52,10 +52,10 @@ module PulpAnsibleClient
52
52
  # Attribute type mapping.
53
53
  def self.openapi_types
54
54
  {
55
- :'file' => :'File',
55
+ :'upload' => :'String',
56
56
  :'repository' => :'String',
57
57
  :'artifact' => :'String',
58
- :'upload' => :'String',
58
+ :'file' => :'File',
59
59
  :'expected_name' => :'String',
60
60
  :'expected_namespace' => :'String',
61
61
  :'expected_version' => :'String'
@@ -83,8 +83,8 @@ module PulpAnsibleClient
83
83
  h[k.to_sym] = v
84
84
  }
85
85
 
86
- if attributes.key?(:'file')
87
- self.file = attributes[:'file']
86
+ if attributes.key?(:'upload')
87
+ self.upload = attributes[:'upload']
88
88
  end
89
89
 
90
90
  if attributes.key?(:'repository')
@@ -95,8 +95,8 @@ module PulpAnsibleClient
95
95
  self.artifact = attributes[:'artifact']
96
96
  end
97
97
 
98
- if attributes.key?(:'upload')
99
- self.upload = attributes[:'upload']
98
+ if attributes.key?(:'file')
99
+ self.file = attributes[:'file']
100
100
  end
101
101
 
102
102
  if attributes.key?(:'expected_name')
@@ -202,10 +202,10 @@ module PulpAnsibleClient
202
202
  def ==(o)
203
203
  return true if self.equal?(o)
204
204
  self.class == o.class &&
205
- file == o.file &&
205
+ upload == o.upload &&
206
206
  repository == o.repository &&
207
207
  artifact == o.artifact &&
208
- upload == o.upload &&
208
+ file == o.file &&
209
209
  expected_name == o.expected_name &&
210
210
  expected_namespace == o.expected_namespace &&
211
211
  expected_version == o.expected_version
@@ -220,7 +220,7 @@ module PulpAnsibleClient
220
220
  # Calculates hash code according to all attributes.
221
221
  # @return [Integer] Hash code
222
222
  def hash
223
- [file, repository, artifact, upload, expected_name, expected_namespace, expected_version].hash
223
+ [upload, repository, artifact, file, expected_name, expected_namespace, expected_version].hash
224
224
  end
225
225
 
226
226
  # Builds the object from hash
@@ -15,13 +15,13 @@ require 'date'
15
15
  module PulpAnsibleClient
16
16
  # A serializer for CollectionVersion Content.
17
17
  class AnsibleCollectionVersionResponse
18
- attr_accessor :pulp_href
18
+ # Timestamp of creation.
19
+ attr_accessor :pulp_created
19
20
 
20
21
  # Artifact file representing the physical content
21
22
  attr_accessor :artifact
22
23
 
23
- # Timestamp of creation.
24
- attr_accessor :pulp_created
24
+ attr_accessor :pulp_href
25
25
 
26
26
  # The SHA-256 checksum if available.
27
27
  attr_accessor :sha256
@@ -97,9 +97,9 @@ module PulpAnsibleClient
97
97
  # Attribute mapping from ruby-style variable name to JSON key.
98
98
  def self.attribute_map
99
99
  {
100
- :'pulp_href' => :'pulp_href',
101
- :'artifact' => :'artifact',
102
100
  :'pulp_created' => :'pulp_created',
101
+ :'artifact' => :'artifact',
102
+ :'pulp_href' => :'pulp_href',
103
103
  :'sha256' => :'sha256',
104
104
  :'md5' => :'md5',
105
105
  :'sha1' => :'sha1',
@@ -130,9 +130,9 @@ module PulpAnsibleClient
130
130
  # Attribute type mapping.
131
131
  def self.openapi_types
132
132
  {
133
- :'pulp_href' => :'String',
134
- :'artifact' => :'String',
135
133
  :'pulp_created' => :'DateTime',
134
+ :'artifact' => :'String',
135
+ :'pulp_href' => :'String',
136
136
  :'sha256' => :'String',
137
137
  :'md5' => :'String',
138
138
  :'sha1' => :'String',
@@ -182,16 +182,16 @@ module PulpAnsibleClient
182
182
  h[k.to_sym] = v
183
183
  }
184
184
 
185
- if attributes.key?(:'pulp_href')
186
- self.pulp_href = attributes[:'pulp_href']
185
+ if attributes.key?(:'pulp_created')
186
+ self.pulp_created = attributes[:'pulp_created']
187
187
  end
188
188
 
189
189
  if attributes.key?(:'artifact')
190
190
  self.artifact = attributes[:'artifact']
191
191
  end
192
192
 
193
- if attributes.key?(:'pulp_created')
194
- self.pulp_created = attributes[:'pulp_created']
193
+ if attributes.key?(:'pulp_href')
194
+ self.pulp_href = attributes[:'pulp_href']
195
195
  end
196
196
 
197
197
  if attributes.key?(:'sha256')
@@ -435,9 +435,9 @@ module PulpAnsibleClient
435
435
  def ==(o)
436
436
  return true if self.equal?(o)
437
437
  self.class == o.class &&
438
- pulp_href == o.pulp_href &&
439
- artifact == o.artifact &&
440
438
  pulp_created == o.pulp_created &&
439
+ artifact == o.artifact &&
440
+ pulp_href == o.pulp_href &&
441
441
  sha256 == o.sha256 &&
442
442
  md5 == o.md5 &&
443
443
  sha1 == o.sha1 &&
@@ -473,7 +473,7 @@ module PulpAnsibleClient
473
473
  # Calculates hash code according to all attributes.
474
474
  # @return [Integer] Hash code
475
475
  def hash
476
- [pulp_href, artifact, pulp_created, sha256, md5, sha1, sha224, sha384, sha512, id, authors, contents, dependencies, description, docs_blob, manifest, files, documentation, homepage, issues, license, name, namespace, origin_repository, tags, version, requires_ansible].hash
476
+ [pulp_created, artifact, pulp_href, sha256, md5, sha1, sha224, sha384, sha512, id, authors, contents, dependencies, description, docs_blob, manifest, files, documentation, homepage, issues, license, name, namespace, origin_repository, tags, version, requires_ansible].hash
477
477
  end
478
478
 
479
479
  # Builds the object from hash