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,7 @@ module PulpAnsibleClient
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
- # Provides the authentication and permission classes from settings.
22
+ # Custom exception handler mixin class.
23
23
  # @param distro_base_path [String]
24
24
  # @param name [String] Required named, only accepts lowercase, numbers and underscores.
25
25
  # @param [Hash] opts the optional parameters
@@ -35,7 +35,7 @@ module PulpAnsibleClient
35
35
  data
36
36
  end
37
37
 
38
- # Provides the authentication and permission classes from settings.
38
+ # Custom exception handler mixin class.
39
39
  # @param distro_base_path [String]
40
40
  # @param name [String] Required named, only accepts lowercase, numbers and underscores.
41
41
  # @param [Hash] opts the optional parameters
@@ -197,17 +197,13 @@ module PulpAnsibleClient
197
197
  return data, status_code, headers
198
198
  end
199
199
 
200
- # Provides the authentication and permission classes from settings.
200
+ # Custom exception handler mixin class.
201
201
  # @param distro_base_path [String]
202
202
  # @param [Hash] opts the optional parameters
203
203
  # @option opts [String] :company Filter results where company matches value
204
204
  # @option opts [String] :company__contains Filter results where company contains value
205
205
  # @option opts [String] :company__icontains Filter results where company contains value
206
- # @option opts [String] :company__iexact Filter results where company matches value
207
206
  # @option opts [Array<String>] :company__in Filter results where company is in a comma-separated list of values
208
- # @option opts [String] :company__iregex Filter results where company matches regex value
209
- # @option opts [String] :company__istartswith Filter results where company starts with value
210
- # @option opts [String] :company__regex Filter results where company matches regex value
211
207
  # @option opts [String] :company__startswith Filter results where company starts with value
212
208
  # @option opts [Integer] :limit Number of results to return per page.
213
209
  # @option opts [String] :metadata_sha256 Filter results where metadata_sha256 matches value
@@ -215,17 +211,12 @@ module PulpAnsibleClient
215
211
  # @option opts [String] :name Filter results where name matches value
216
212
  # @option opts [String] :name__contains Filter results where name contains value
217
213
  # @option opts [String] :name__icontains Filter results where name contains value
218
- # @option opts [String] :name__iexact Filter results where name matches value
219
214
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
220
- # @option opts [String] :name__iregex Filter results where name matches regex value
221
- # @option opts [String] :name__istartswith Filter results where name starts with value
222
- # @option opts [String] :name__regex Filter results where name matches regex value
223
215
  # @option opts [String] :name__startswith Filter results where name starts with value
224
216
  # @option opts [Integer] :offset The initial index from which to return the results.
225
217
  # @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;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;company&#x60; - Company * &#x60;-company&#x60; - Company (descending) * &#x60;email&#x60; - Email * &#x60;-email&#x60; - Email (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;resources&#x60; - Resources * &#x60;-resources&#x60; - Resources (descending) * &#x60;links&#x60; - Links * &#x60;-links&#x60; - Links (descending) * &#x60;avatar_sha256&#x60; - Avatar sha256 * &#x60;-avatar_sha256&#x60; - Avatar sha256 (descending) * &#x60;metadata_sha256&#x60; - Metadata sha256 * &#x60;-metadata_sha256&#x60; - Metadata sha256 (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
226
218
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
227
219
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
228
- # @option opts [String] :q
229
220
  # @option opts [Array<String>] :fields A list of fields to include in the response.
230
221
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
231
222
  # @return [PaginatedansibleAnsibleNamespaceMetadataResponseList]
@@ -234,17 +225,13 @@ module PulpAnsibleClient
234
225
  data
235
226
  end
236
227
 
237
- # Provides the authentication and permission classes from settings.
228
+ # Custom exception handler mixin class.
238
229
  # @param distro_base_path [String]
239
230
  # @param [Hash] opts the optional parameters
240
231
  # @option opts [String] :company Filter results where company matches value
241
232
  # @option opts [String] :company__contains Filter results where company contains value
242
233
  # @option opts [String] :company__icontains Filter results where company contains value
243
- # @option opts [String] :company__iexact Filter results where company matches value
244
234
  # @option opts [Array<String>] :company__in Filter results where company is in a comma-separated list of values
245
- # @option opts [String] :company__iregex Filter results where company matches regex value
246
- # @option opts [String] :company__istartswith Filter results where company starts with value
247
- # @option opts [String] :company__regex Filter results where company matches regex value
248
235
  # @option opts [String] :company__startswith Filter results where company starts with value
249
236
  # @option opts [Integer] :limit Number of results to return per page.
250
237
  # @option opts [String] :metadata_sha256 Filter results where metadata_sha256 matches value
@@ -252,17 +239,12 @@ module PulpAnsibleClient
252
239
  # @option opts [String] :name Filter results where name matches value
253
240
  # @option opts [String] :name__contains Filter results where name contains value
254
241
  # @option opts [String] :name__icontains Filter results where name contains value
255
- # @option opts [String] :name__iexact Filter results where name matches value
256
242
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
257
- # @option opts [String] :name__iregex Filter results where name matches regex value
258
- # @option opts [String] :name__istartswith Filter results where name starts with value
259
- # @option opts [String] :name__regex Filter results where name matches regex value
260
243
  # @option opts [String] :name__startswith Filter results where name starts with value
261
244
  # @option opts [Integer] :offset The initial index from which to return the results.
262
245
  # @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;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;company&#x60; - Company * &#x60;-company&#x60; - Company (descending) * &#x60;email&#x60; - Email * &#x60;-email&#x60; - Email (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;resources&#x60; - Resources * &#x60;-resources&#x60; - Resources (descending) * &#x60;links&#x60; - Links * &#x60;-links&#x60; - Links (descending) * &#x60;avatar_sha256&#x60; - Avatar sha256 * &#x60;-avatar_sha256&#x60; - Avatar sha256 (descending) * &#x60;metadata_sha256&#x60; - Metadata sha256 * &#x60;-metadata_sha256&#x60; - Metadata sha256 (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
263
246
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
264
247
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
265
- # @option opts [String] :q
266
248
  # @option opts [Array<String>] :fields A list of fields to include in the response.
267
249
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
268
250
  # @return [Array<(PaginatedansibleAnsibleNamespaceMetadataResponseList, Integer, Hash)>] PaginatedansibleAnsibleNamespaceMetadataResponseList data, response status code and response headers
@@ -286,11 +268,7 @@ module PulpAnsibleClient
286
268
  query_params[:'company'] = opts[:'company'] if !opts[:'company'].nil?
287
269
  query_params[:'company__contains'] = opts[:'company__contains'] if !opts[:'company__contains'].nil?
288
270
  query_params[:'company__icontains'] = opts[:'company__icontains'] if !opts[:'company__icontains'].nil?
289
- query_params[:'company__iexact'] = opts[:'company__iexact'] if !opts[:'company__iexact'].nil?
290
271
  query_params[:'company__in'] = @api_client.build_collection_param(opts[:'company__in'], :csv) if !opts[:'company__in'].nil?
291
- query_params[:'company__iregex'] = opts[:'company__iregex'] if !opts[:'company__iregex'].nil?
292
- query_params[:'company__istartswith'] = opts[:'company__istartswith'] if !opts[:'company__istartswith'].nil?
293
- query_params[:'company__regex'] = opts[:'company__regex'] if !opts[:'company__regex'].nil?
294
272
  query_params[:'company__startswith'] = opts[:'company__startswith'] if !opts[:'company__startswith'].nil?
295
273
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
296
274
  query_params[:'metadata_sha256'] = opts[:'metadata_sha256'] if !opts[:'metadata_sha256'].nil?
@@ -298,17 +276,12 @@ module PulpAnsibleClient
298
276
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
299
277
  query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
300
278
  query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
301
- query_params[:'name__iexact'] = opts[:'name__iexact'] if !opts[:'name__iexact'].nil?
302
279
  query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
303
- query_params[:'name__iregex'] = opts[:'name__iregex'] if !opts[:'name__iregex'].nil?
304
- query_params[:'name__istartswith'] = opts[:'name__istartswith'] if !opts[:'name__istartswith'].nil?
305
- query_params[:'name__regex'] = opts[:'name__regex'] if !opts[:'name__regex'].nil?
306
280
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
307
281
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
308
282
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
309
283
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
310
284
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
311
- query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
312
285
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
313
286
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
314
287
 
@@ -345,7 +318,7 @@ module PulpAnsibleClient
345
318
  return data, status_code, headers
346
319
  end
347
320
 
348
- # Provides the authentication and permission classes from settings.
321
+ # Custom exception handler mixin class.
349
322
  # @param distro_base_path [String]
350
323
  # @param name [String]
351
324
  # @param [Hash] opts the optional parameters
@@ -362,7 +335,7 @@ module PulpAnsibleClient
362
335
  data
363
336
  end
364
337
 
365
- # Provides the authentication and permission classes from settings.
338
+ # Custom exception handler mixin class.
366
339
  # @param distro_base_path [String]
367
340
  # @param name [String]
368
341
  # @param [Hash] opts the optional parameters
@@ -459,7 +432,7 @@ module PulpAnsibleClient
459
432
  return data, status_code, headers
460
433
  end
461
434
 
462
- # Provides the authentication and permission classes from settings.
435
+ # Custom exception handler mixin class.
463
436
  # @param distro_base_path [String]
464
437
  # @param name [String]
465
438
  # @param [Hash] opts the optional parameters
@@ -471,7 +444,7 @@ module PulpAnsibleClient
471
444
  data
472
445
  end
473
446
 
474
- # Provides the authentication and permission classes from settings.
447
+ # Custom exception handler mixin class.
475
448
  # @param distro_base_path [String]
476
449
  # @param name [String]
477
450
  # @param [Hash] opts the optional parameters
@@ -19,7 +19,6 @@ module PulpAnsibleClient
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
- # List cross repository collection version indexs
23
22
  # A viewset for cross-repo searches.
24
23
  # @param [Hash] opts the optional parameters
25
24
  # @option opts [String] :dependency
@@ -53,7 +52,6 @@ module PulpAnsibleClient
53
52
  data
54
53
  end
55
54
 
56
- # List cross repository collection version indexs
57
55
  # A viewset for cross-repo searches.
58
56
  # @param [Hash] opts the optional parameters
59
57
  # @option opts [String] :dependency
@@ -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_collection_remote_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_collection_remote_href [String]
36
34
  # @param nested_role [NestedRole]
@@ -222,11 +220,7 @@ module PulpAnsibleClient
222
220
  # @option opts [String] :name Filter results where name matches value
223
221
  # @option opts [String] :name__contains Filter results where name contains value
224
222
  # @option opts [String] :name__icontains Filter results where name contains value
225
- # @option opts [String] :name__iexact Filter results where name matches value
226
223
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
227
- # @option opts [String] :name__iregex Filter results where name matches regex value
228
- # @option opts [String] :name__istartswith Filter results where name starts with value
229
- # @option opts [String] :name__regex Filter results where name matches regex value
230
224
  # @option opts [String] :name__startswith Filter results where name starts with value
231
225
  # @option opts [Integer] :offset The initial index from which to return the results.
232
226
  # @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;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;ca_cert&#x60; - Ca cert * &#x60;-ca_cert&#x60; - Ca cert (descending) * &#x60;client_cert&#x60; - Client cert * &#x60;-client_cert&#x60; - Client cert (descending) * &#x60;client_key&#x60; - Client key * &#x60;-client_key&#x60; - Client key (descending) * &#x60;tls_validation&#x60; - Tls validation * &#x60;-tls_validation&#x60; - Tls validation (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;proxy_url&#x60; - Proxy url * &#x60;-proxy_url&#x60; - Proxy url (descending) * &#x60;proxy_username&#x60; - Proxy username * &#x60;-proxy_username&#x60; - Proxy username (descending) * &#x60;proxy_password&#x60; - Proxy password * &#x60;-proxy_password&#x60; - Proxy password (descending) * &#x60;download_concurrency&#x60; - Download concurrency * &#x60;-download_concurrency&#x60; - Download concurrency (descending) * &#x60;max_retries&#x60; - Max retries * &#x60;-max_retries&#x60; - Max retries (descending) * &#x60;policy&#x60; - Policy * &#x60;-policy&#x60; - Policy (descending) * &#x60;total_timeout&#x60; - Total timeout * &#x60;-total_timeout&#x60; - Total timeout (descending) * &#x60;connect_timeout&#x60; - Connect timeout * &#x60;-connect_timeout&#x60; - Connect timeout (descending) * &#x60;sock_connect_timeout&#x60; - Sock connect timeout * &#x60;-sock_connect_timeout&#x60; - Sock connect timeout (descending) * &#x60;sock_read_timeout&#x60; - Sock read timeout * &#x60;-sock_read_timeout&#x60; - Sock read timeout (descending) * &#x60;headers&#x60; - Headers * &#x60;-headers&#x60; - Headers (descending) * &#x60;rate_limit&#x60; - Rate limit * &#x60;-rate_limit&#x60; - Rate limit (descending) * &#x60;requirements_file&#x60; - Requirements file * &#x60;-requirements_file&#x60; - Requirements file (descending) * &#x60;auth_url&#x60; - Auth url * &#x60;-auth_url&#x60; - Auth url (descending) * &#x60;token&#x60; - Token * &#x60;-token&#x60; - Token (descending) * &#x60;sync_dependencies&#x60; - Sync dependencies * &#x60;-sync_dependencies&#x60; - Sync dependencies (descending) * &#x60;signed_only&#x60; - Signed only * &#x60;-signed_only&#x60; - Signed only (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
@@ -239,7 +233,6 @@ module PulpAnsibleClient
239
233
  # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
240
234
  # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
241
235
  # @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
242
- # @option opts [String] :q
243
236
  # @option opts [String] :url Filter results where url matches value
244
237
  # @option opts [String] :url__contains Filter results where url contains value
245
238
  # @option opts [String] :url__icontains Filter results where url contains value
@@ -259,11 +252,7 @@ module PulpAnsibleClient
259
252
  # @option opts [String] :name Filter results where name matches value
260
253
  # @option opts [String] :name__contains Filter results where name contains value
261
254
  # @option opts [String] :name__icontains Filter results where name contains value
262
- # @option opts [String] :name__iexact Filter results where name matches value
263
255
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
264
- # @option opts [String] :name__iregex Filter results where name matches regex value
265
- # @option opts [String] :name__istartswith Filter results where name starts with value
266
- # @option opts [String] :name__regex Filter results where name matches regex value
267
256
  # @option opts [String] :name__startswith Filter results where name starts with value
268
257
  # @option opts [Integer] :offset The initial index from which to return the results.
269
258
  # @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;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;ca_cert&#x60; - Ca cert * &#x60;-ca_cert&#x60; - Ca cert (descending) * &#x60;client_cert&#x60; - Client cert * &#x60;-client_cert&#x60; - Client cert (descending) * &#x60;client_key&#x60; - Client key * &#x60;-client_key&#x60; - Client key (descending) * &#x60;tls_validation&#x60; - Tls validation * &#x60;-tls_validation&#x60; - Tls validation (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;proxy_url&#x60; - Proxy url * &#x60;-proxy_url&#x60; - Proxy url (descending) * &#x60;proxy_username&#x60; - Proxy username * &#x60;-proxy_username&#x60; - Proxy username (descending) * &#x60;proxy_password&#x60; - Proxy password * &#x60;-proxy_password&#x60; - Proxy password (descending) * &#x60;download_concurrency&#x60; - Download concurrency * &#x60;-download_concurrency&#x60; - Download concurrency (descending) * &#x60;max_retries&#x60; - Max retries * &#x60;-max_retries&#x60; - Max retries (descending) * &#x60;policy&#x60; - Policy * &#x60;-policy&#x60; - Policy (descending) * &#x60;total_timeout&#x60; - Total timeout * &#x60;-total_timeout&#x60; - Total timeout (descending) * &#x60;connect_timeout&#x60; - Connect timeout * &#x60;-connect_timeout&#x60; - Connect timeout (descending) * &#x60;sock_connect_timeout&#x60; - Sock connect timeout * &#x60;-sock_connect_timeout&#x60; - Sock connect timeout (descending) * &#x60;sock_read_timeout&#x60; - Sock read timeout * &#x60;-sock_read_timeout&#x60; - Sock read timeout (descending) * &#x60;headers&#x60; - Headers * &#x60;-headers&#x60; - Headers (descending) * &#x60;rate_limit&#x60; - Rate limit * &#x60;-rate_limit&#x60; - Rate limit (descending) * &#x60;requirements_file&#x60; - Requirements file * &#x60;-requirements_file&#x60; - Requirements file (descending) * &#x60;auth_url&#x60; - Auth url * &#x60;-auth_url&#x60; - Auth url (descending) * &#x60;token&#x60; - Token * &#x60;-token&#x60; - Token (descending) * &#x60;sync_dependencies&#x60; - Sync dependencies * &#x60;-sync_dependencies&#x60; - Sync dependencies (descending) * &#x60;signed_only&#x60; - Signed only * &#x60;-signed_only&#x60; - Signed only (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
@@ -276,7 +265,6 @@ module PulpAnsibleClient
276
265
  # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
277
266
  # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
278
267
  # @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
279
- # @option opts [String] :q
280
268
  # @option opts [String] :url Filter results where url matches value
281
269
  # @option opts [String] :url__contains Filter results where url contains value
282
270
  # @option opts [String] :url__icontains Filter results where url contains value
@@ -301,11 +289,7 @@ module PulpAnsibleClient
301
289
  query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
302
290
  query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
303
291
  query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
304
- query_params[:'name__iexact'] = opts[:'name__iexact'] if !opts[:'name__iexact'].nil?
305
292
  query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
306
- query_params[:'name__iregex'] = opts[:'name__iregex'] if !opts[:'name__iregex'].nil?
307
- query_params[:'name__istartswith'] = opts[:'name__istartswith'] if !opts[:'name__istartswith'].nil?
308
- query_params[:'name__regex'] = opts[:'name__regex'] if !opts[:'name__regex'].nil?
309
293
  query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
310
294
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
311
295
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
@@ -318,7 +302,6 @@ module PulpAnsibleClient
318
302
  query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
319
303
  query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
320
304
  query_params[:'pulp_last_updated__range'] = @api_client.build_collection_param(opts[:'pulp_last_updated__range'], :csv) if !opts[:'pulp_last_updated__range'].nil?
321
- query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
322
305
  query_params[:'url'] = opts[:'url'] if !opts[:'url'].nil?
323
306
  query_params[:'url__contains'] = opts[:'url__contains'] if !opts[:'url__contains'].nil?
324
307
  query_params[:'url__icontains'] = opts[:'url__icontains'] if !opts[:'url__icontains'].nil?
@@ -359,7 +342,6 @@ module PulpAnsibleClient
359
342
  return data, status_code, headers
360
343
  end
361
344
 
362
- # List roles
363
345
  # List roles assigned to this object.
364
346
  # @param ansible_collection_remote_href [String]
365
347
  # @param [Hash] opts the optional parameters
@@ -371,7 +353,6 @@ module PulpAnsibleClient
371
353
  data
372
354
  end
373
355
 
374
- # List roles
375
356
  # List roles assigned to this object.
376
357
  # @param ansible_collection_remote_href [String]
377
358
  # @param [Hash] opts the optional parameters
@@ -427,7 +408,6 @@ module PulpAnsibleClient
427
408
  return data, status_code, headers
428
409
  end
429
410
 
430
- # List user permissions
431
411
  # List permissions available to the current user on this object.
432
412
  # @param ansible_collection_remote_href [String]
433
413
  # @param [Hash] opts the optional parameters
@@ -439,7 +419,6 @@ module PulpAnsibleClient
439
419
  data
440
420
  end
441
421
 
442
- # List user permissions
443
422
  # List permissions available to the current user on this object.
444
423
  # @param ansible_collection_remote_href [String]
445
424
  # @param [Hash] opts the optional parameters
@@ -633,7 +612,6 @@ module PulpAnsibleClient
633
612
  return data, status_code, headers
634
613
  end
635
614
 
636
- # Remove a role
637
615
  # Remove a role for this object from users/groups.
638
616
  # @param ansible_collection_remote_href [String]
639
617
  # @param nested_role [NestedRole]
@@ -644,7 +622,6 @@ module PulpAnsibleClient
644
622
  data
645
623
  end
646
624
 
647
- # Remove a role
648
625
  # Remove a role for this object from users/groups.
649
626
  # @param ansible_collection_remote_href [String]
650
627
  # @param nested_role [NestedRole]
@@ -703,146 +680,6 @@ module PulpAnsibleClient
703
680
  return data, status_code, headers
704
681
  end
705
682
 
706
- # Set a label
707
- # Set a single pulp_label on the object to a specific value or null.
708
- # @param ansible_collection_remote_href [String]
709
- # @param set_label [SetLabel]
710
- # @param [Hash] opts the optional parameters
711
- # @return [SetLabelResponse]
712
- def set_label(ansible_collection_remote_href, set_label, opts = {})
713
- data, _status_code, _headers = set_label_with_http_info(ansible_collection_remote_href, set_label, opts)
714
- data
715
- end
716
-
717
- # Set a label
718
- # Set a single pulp_label on the object to a specific value or null.
719
- # @param ansible_collection_remote_href [String]
720
- # @param set_label [SetLabel]
721
- # @param [Hash] opts the optional parameters
722
- # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
723
- def set_label_with_http_info(ansible_collection_remote_href, set_label, opts = {})
724
- if @api_client.config.debugging
725
- @api_client.config.logger.debug 'Calling API: RemotesCollectionApi.set_label ...'
726
- end
727
- # verify the required parameter 'ansible_collection_remote_href' is set
728
- if @api_client.config.client_side_validation && ansible_collection_remote_href.nil?
729
- fail ArgumentError, "Missing the required parameter 'ansible_collection_remote_href' when calling RemotesCollectionApi.set_label"
730
- end
731
- # verify the required parameter 'set_label' is set
732
- if @api_client.config.client_side_validation && set_label.nil?
733
- fail ArgumentError, "Missing the required parameter 'set_label' when calling RemotesCollectionApi.set_label"
734
- end
735
- # resource path
736
- local_var_path = '{ansible_collection_remote_href}set_label/'.sub('{' + 'ansible_collection_remote_href' + '}', CGI.escape(ansible_collection_remote_href.to_s).gsub('%2F', '/'))
737
-
738
- # query parameters
739
- query_params = opts[:query_params] || {}
740
-
741
- # header parameters
742
- header_params = opts[:header_params] || {}
743
- # HTTP header 'Accept' (if needed)
744
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
745
- # HTTP header 'Content-Type'
746
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
747
-
748
- # form parameters
749
- form_params = opts[:form_params] || {}
750
-
751
- # http body (model)
752
- post_body = opts[:body] || @api_client.object_to_http_body(set_label)
753
-
754
- # return_type
755
- return_type = opts[:return_type] || 'SetLabelResponse'
756
-
757
- # auth_names
758
- auth_names = opts[:auth_names] || ['basicAuth']
759
-
760
- new_options = opts.merge(
761
- :header_params => header_params,
762
- :query_params => query_params,
763
- :form_params => form_params,
764
- :body => post_body,
765
- :auth_names => auth_names,
766
- :return_type => return_type
767
- )
768
-
769
- data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
770
- if @api_client.config.debugging
771
- @api_client.config.logger.debug "API called: RemotesCollectionApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
772
- end
773
- return data, status_code, headers
774
- end
775
-
776
- # Unset a label
777
- # Unset a single pulp_label on the object.
778
- # @param ansible_collection_remote_href [String]
779
- # @param unset_label [UnsetLabel]
780
- # @param [Hash] opts the optional parameters
781
- # @return [UnsetLabelResponse]
782
- def unset_label(ansible_collection_remote_href, unset_label, opts = {})
783
- data, _status_code, _headers = unset_label_with_http_info(ansible_collection_remote_href, unset_label, opts)
784
- data
785
- end
786
-
787
- # Unset a label
788
- # Unset a single pulp_label on the object.
789
- # @param ansible_collection_remote_href [String]
790
- # @param unset_label [UnsetLabel]
791
- # @param [Hash] opts the optional parameters
792
- # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
793
- def unset_label_with_http_info(ansible_collection_remote_href, unset_label, opts = {})
794
- if @api_client.config.debugging
795
- @api_client.config.logger.debug 'Calling API: RemotesCollectionApi.unset_label ...'
796
- end
797
- # verify the required parameter 'ansible_collection_remote_href' is set
798
- if @api_client.config.client_side_validation && ansible_collection_remote_href.nil?
799
- fail ArgumentError, "Missing the required parameter 'ansible_collection_remote_href' when calling RemotesCollectionApi.unset_label"
800
- end
801
- # verify the required parameter 'unset_label' is set
802
- if @api_client.config.client_side_validation && unset_label.nil?
803
- fail ArgumentError, "Missing the required parameter 'unset_label' when calling RemotesCollectionApi.unset_label"
804
- end
805
- # resource path
806
- local_var_path = '{ansible_collection_remote_href}unset_label/'.sub('{' + 'ansible_collection_remote_href' + '}', CGI.escape(ansible_collection_remote_href.to_s).gsub('%2F', '/'))
807
-
808
- # query parameters
809
- query_params = opts[:query_params] || {}
810
-
811
- # header parameters
812
- header_params = opts[:header_params] || {}
813
- # HTTP header 'Accept' (if needed)
814
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
815
- # HTTP header 'Content-Type'
816
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
817
-
818
- # form parameters
819
- form_params = opts[:form_params] || {}
820
-
821
- # http body (model)
822
- post_body = opts[:body] || @api_client.object_to_http_body(unset_label)
823
-
824
- # return_type
825
- return_type = opts[:return_type] || 'UnsetLabelResponse'
826
-
827
- # auth_names
828
- auth_names = opts[:auth_names] || ['basicAuth']
829
-
830
- new_options = opts.merge(
831
- :header_params => header_params,
832
- :query_params => query_params,
833
- :form_params => form_params,
834
- :body => post_body,
835
- :auth_names => auth_names,
836
- :return_type => return_type
837
- )
838
-
839
- data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
840
- if @api_client.config.debugging
841
- @api_client.config.logger.debug "API called: RemotesCollectionApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
842
- end
843
- return data, status_code, headers
844
- end
845
-
846
683
  # Update a collection remote
847
684
  # Trigger an asynchronous update task
848
685
  # @param ansible_collection_remote_href [String]