pulp_ansible_client 0.24.7 → 0.25.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.
- checksums.yaml +4 -4
- data/README.md +5 -8
- data/docs/AnsibleCollectionVersionResponse.md +4 -4
- data/docs/AnsibleCollectionsApi.md +8 -26
- data/docs/AnsibleCopyApi.md +4 -8
- data/docs/AnsibleGitRemote.md +28 -28
- data/docs/AnsibleGitRemoteResponse.md +28 -28
- data/docs/AnsibleRole.md +2 -2
- data/docs/AnsibleRoleResponse.md +4 -4
- data/docs/ApiPluginAnsibleSearchCollectionVersionsApi.md +4 -10
- data/docs/ApiRolesApi.md +0 -2
- data/docs/CollectionImportApi.md +0 -2
- data/docs/ContentCollectionDeprecationsApi.md +12 -28
- data/docs/ContentCollectionMarksApi.md +12 -28
- data/docs/ContentCollectionSignaturesApi.md +8 -22
- data/docs/ContentCollectionVersionsApi.md +14 -28
- data/docs/ContentNamespacesApi.md +8 -22
- data/docs/ContentRolesApi.md +12 -28
- data/docs/DistributionsAnsibleApi.md +32 -72
- data/docs/PatchedansibleGitRemote.md +28 -28
- data/docs/PulpAnsibleApiApi.md +0 -2
- data/docs/PulpAnsibleApiV3Api.md +0 -2
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +0 -2
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +0 -2
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +0 -2
- data/docs/PulpAnsibleApiV3CollectionsApi.md +8 -20
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +4 -12
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +0 -2
- data/docs/PulpAnsibleApiV3NamespacesApi.md +0 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +0 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +0 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +0 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +0 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +0 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +8 -20
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +4 -12
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +0 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +4 -16
- data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +0 -8
- data/docs/PulpAnsibleDefaultApiApi.md +5 -14
- data/docs/PulpAnsibleDefaultApiV3Api.md +5 -14
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +0 -2
- data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +5 -14
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +0 -2
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +8 -20
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +4 -12
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +0 -2
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +0 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +5 -14
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +0 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +0 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +0 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +0 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +8 -20
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +4 -12
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +0 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +4 -16
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +4 -10
- data/docs/PulpAnsibleTagsApi.md +0 -2
- data/docs/RemotesCollectionApi.md +32 -72
- data/docs/RemotesGitApi.md +34 -74
- data/docs/RemotesRoleApi.md +32 -72
- data/docs/RepositoriesAnsibleApi.md +64 -136
- data/docs/RepositoriesAnsibleVersionsApi.md +14 -30
- data/docs/VersionsApi.md +0 -2
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +0 -21
- data/lib/pulp_ansible_client/api/ansible_copy_api.rb +0 -3
- data/lib/pulp_ansible_client/api/api_plugin_ansible_search_collection_versions_api.rb +0 -6
- data/lib/pulp_ansible_client/api/api_roles_api.rb +0 -3
- data/lib/pulp_ansible_client/api/collection_import_api.rb +0 -3
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +0 -15
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +0 -15
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +0 -15
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -24
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +0 -15
- data/lib/pulp_ansible_client/api/content_roles_api.rb +0 -15
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +0 -36
- data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_artifacts_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +0 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_docs_blob_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +0 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +0 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +0 -15
- data/lib/pulp_ansible_client/api/pulp_ansible_artifacts_collections_v3_api.rb +0 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_artifacts_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collection_versions_all_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +0 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +0 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +0 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +0 -15
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +0 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +0 -3
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +0 -36
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +0 -36
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +0 -36
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +0 -60
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +3 -18
- data/lib/pulp_ansible_client/api/versions_api.rb +0 -3
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +23 -23
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +225 -225
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +148 -148
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +23 -23
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +217 -217
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/ansible_collections_api_spec.rb +0 -7
- data/spec/api/ansible_copy_api_spec.rb +0 -1
- data/spec/api/api_plugin_ansible_search_collection_versions_api_spec.rb +0 -2
- data/spec/api/api_roles_api_spec.rb +0 -1
- data/spec/api/collection_import_api_spec.rb +0 -1
- data/spec/api/content_collection_deprecations_api_spec.rb +0 -5
- data/spec/api/content_collection_marks_api_spec.rb +0 -5
- data/spec/api/content_collection_signatures_api_spec.rb +0 -5
- data/spec/api/content_collection_versions_api_spec.rb +3 -8
- data/spec/api/content_namespaces_api_spec.rb +0 -5
- data/spec/api/content_roles_api_spec.rb +0 -5
- data/spec/api/distributions_ansible_api_spec.rb +0 -12
- data/spec/api/pulp_ansible_api_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +0 -4
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +0 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +0 -4
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +0 -5
- data/spec/api/pulp_ansible_artifacts_collections_v3_api_spec.rb +0 -4
- data/spec/api/pulp_ansible_default_api_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_default_api_v3_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_collection_versions_all_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +0 -4
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +0 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +0 -4
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +0 -5
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +0 -2
- data/spec/api/pulp_ansible_tags_api_spec.rb +0 -1
- data/spec/api/remotes_collection_api_spec.rb +0 -12
- data/spec/api/remotes_git_api_spec.rb +0 -12
- data/spec/api/remotes_role_api_spec.rb +0 -12
- data/spec/api/repositories_ansible_api_spec.rb +0 -20
- data/spec/api/repositories_ansible_versions_api_spec.rb +1 -6
- data/spec/api/versions_api_spec.rb +0 -1
- data/spec/models/ansible_collection_version_response_spec.rb +4 -4
- data/spec/models/ansible_git_remote_response_spec.rb +19 -19
- data/spec/models/ansible_git_remote_spec.rb +18 -18
- data/spec/models/ansible_role_response_spec.rb +4 -4
- data/spec/models/ansible_role_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +18 -18
- metadata +126 -126
@@ -34,7 +34,6 @@ end
|
|
34
34
|
api_instance = PulpAnsibleClient::ContentNamespacesApi.new
|
35
35
|
ansible_ansible_namespace_metadata_href = 'ansible_ansible_namespace_metadata_href_example' # String |
|
36
36
|
opts = {
|
37
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
38
37
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
39
38
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
40
39
|
}
|
@@ -70,7 +69,6 @@ end
|
|
70
69
|
| Name | Type | Description | Notes |
|
71
70
|
| ---- | ---- | ----------- | ----- |
|
72
71
|
| **ansible_ansible_namespace_metadata_href** | **String** | | |
|
73
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
74
72
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
75
73
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
76
74
|
|
@@ -110,7 +108,6 @@ end
|
|
110
108
|
|
111
109
|
api_instance = PulpAnsibleClient::ContentNamespacesApi.new
|
112
110
|
opts = {
|
113
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
114
111
|
company: 'company_example', # String | Filter results where company matches value
|
115
112
|
company__contains: 'company__contains_example', # String | Filter results where company contains value
|
116
113
|
company__icontains: 'company__icontains_example', # String | Filter results where company contains value
|
@@ -178,7 +175,6 @@ end
|
|
178
175
|
|
179
176
|
| Name | Type | Description | Notes |
|
180
177
|
| ---- | ---- | ----------- | ----- |
|
181
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
182
178
|
| **company** | **String** | Filter results where company matches value | [optional] |
|
183
179
|
| **company__contains** | **String** | Filter results where company contains value | [optional] |
|
184
180
|
| **company__icontains** | **String** | Filter results where company contains value | [optional] |
|
@@ -251,7 +247,6 @@ end
|
|
251
247
|
api_instance = PulpAnsibleClient::ContentNamespacesApi.new
|
252
248
|
ansible_ansible_namespace_metadata_href = 'ansible_ansible_namespace_metadata_href_example' # String |
|
253
249
|
opts = {
|
254
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
255
250
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
256
251
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
257
252
|
}
|
@@ -288,7 +283,6 @@ end
|
|
288
283
|
| Name | Type | Description | Notes |
|
289
284
|
| ---- | ---- | ----------- | ----- |
|
290
285
|
| **ansible_ansible_namespace_metadata_href** | **String** | | |
|
291
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
292
286
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
293
287
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
294
288
|
|
@@ -308,7 +302,7 @@ end
|
|
308
302
|
|
309
303
|
## set_label
|
310
304
|
|
311
|
-
> <SetLabelResponse> set_label(ansible_ansible_namespace_metadata_href, set_label
|
305
|
+
> <SetLabelResponse> set_label(ansible_ansible_namespace_metadata_href, set_label)
|
312
306
|
|
313
307
|
Set a label
|
314
308
|
|
@@ -329,13 +323,10 @@ end
|
|
329
323
|
api_instance = PulpAnsibleClient::ContentNamespacesApi.new
|
330
324
|
ansible_ansible_namespace_metadata_href = 'ansible_ansible_namespace_metadata_href_example' # String |
|
331
325
|
set_label = PulpAnsibleClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
332
|
-
opts = {
|
333
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
334
|
-
}
|
335
326
|
|
336
327
|
begin
|
337
328
|
# Set a label
|
338
|
-
result = api_instance.set_label(ansible_ansible_namespace_metadata_href, set_label
|
329
|
+
result = api_instance.set_label(ansible_ansible_namespace_metadata_href, set_label)
|
339
330
|
p result
|
340
331
|
rescue PulpAnsibleClient::ApiError => e
|
341
332
|
puts "Error when calling ContentNamespacesApi->set_label: #{e}"
|
@@ -346,12 +337,12 @@ end
|
|
346
337
|
|
347
338
|
This returns an Array which contains the response data, status code and headers.
|
348
339
|
|
349
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(ansible_ansible_namespace_metadata_href, set_label
|
340
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(ansible_ansible_namespace_metadata_href, set_label)
|
350
341
|
|
351
342
|
```ruby
|
352
343
|
begin
|
353
344
|
# Set a label
|
354
|
-
data, status_code, headers = api_instance.set_label_with_http_info(ansible_ansible_namespace_metadata_href, set_label
|
345
|
+
data, status_code, headers = api_instance.set_label_with_http_info(ansible_ansible_namespace_metadata_href, set_label)
|
355
346
|
p status_code # => 2xx
|
356
347
|
p headers # => { ... }
|
357
348
|
p data # => <SetLabelResponse>
|
@@ -366,7 +357,6 @@ end
|
|
366
357
|
| ---- | ---- | ----------- | ----- |
|
367
358
|
| **ansible_ansible_namespace_metadata_href** | **String** | | |
|
368
359
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
369
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
370
360
|
|
371
361
|
### Return type
|
372
362
|
|
@@ -384,7 +374,7 @@ end
|
|
384
374
|
|
385
375
|
## unset_label
|
386
376
|
|
387
|
-
> <UnsetLabelResponse> unset_label(ansible_ansible_namespace_metadata_href, unset_label
|
377
|
+
> <UnsetLabelResponse> unset_label(ansible_ansible_namespace_metadata_href, unset_label)
|
388
378
|
|
389
379
|
Unset a label
|
390
380
|
|
@@ -405,13 +395,10 @@ end
|
|
405
395
|
api_instance = PulpAnsibleClient::ContentNamespacesApi.new
|
406
396
|
ansible_ansible_namespace_metadata_href = 'ansible_ansible_namespace_metadata_href_example' # String |
|
407
397
|
unset_label = PulpAnsibleClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
408
|
-
opts = {
|
409
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
410
|
-
}
|
411
398
|
|
412
399
|
begin
|
413
400
|
# Unset a label
|
414
|
-
result = api_instance.unset_label(ansible_ansible_namespace_metadata_href, unset_label
|
401
|
+
result = api_instance.unset_label(ansible_ansible_namespace_metadata_href, unset_label)
|
415
402
|
p result
|
416
403
|
rescue PulpAnsibleClient::ApiError => e
|
417
404
|
puts "Error when calling ContentNamespacesApi->unset_label: #{e}"
|
@@ -422,12 +409,12 @@ end
|
|
422
409
|
|
423
410
|
This returns an Array which contains the response data, status code and headers.
|
424
411
|
|
425
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(ansible_ansible_namespace_metadata_href, unset_label
|
412
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(ansible_ansible_namespace_metadata_href, unset_label)
|
426
413
|
|
427
414
|
```ruby
|
428
415
|
begin
|
429
416
|
# Unset a label
|
430
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(ansible_ansible_namespace_metadata_href, unset_label
|
417
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(ansible_ansible_namespace_metadata_href, unset_label)
|
431
418
|
p status_code # => 2xx
|
432
419
|
p headers # => { ... }
|
433
420
|
p data # => <UnsetLabelResponse>
|
@@ -442,7 +429,6 @@ end
|
|
442
429
|
| ---- | ---- | ----------- | ----- |
|
443
430
|
| **ansible_ansible_namespace_metadata_href** | **String** | | |
|
444
431
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
445
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
446
432
|
|
447
433
|
### Return type
|
448
434
|
|
data/docs/ContentRolesApi.md
CHANGED
@@ -13,7 +13,7 @@ All URIs are relative to *http://localhost:24817*
|
|
13
13
|
|
14
14
|
## create
|
15
15
|
|
16
|
-
> <AnsibleRoleResponse> create(ansible_role
|
16
|
+
> <AnsibleRoleResponse> create(ansible_role)
|
17
17
|
|
18
18
|
Create a role
|
19
19
|
|
@@ -33,13 +33,10 @@ end
|
|
33
33
|
|
34
34
|
api_instance = PulpAnsibleClient::ContentRolesApi.new
|
35
35
|
ansible_role = PulpAnsibleClient::AnsibleRole.new({artifact: 'artifact_example', version: 'version_example', name: 'name_example', namespace: 'namespace_example'}) # AnsibleRole |
|
36
|
-
opts = {
|
37
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
38
|
-
}
|
39
36
|
|
40
37
|
begin
|
41
38
|
# Create a role
|
42
|
-
result = api_instance.create(ansible_role
|
39
|
+
result = api_instance.create(ansible_role)
|
43
40
|
p result
|
44
41
|
rescue PulpAnsibleClient::ApiError => e
|
45
42
|
puts "Error when calling ContentRolesApi->create: #{e}"
|
@@ -50,12 +47,12 @@ end
|
|
50
47
|
|
51
48
|
This returns an Array which contains the response data, status code and headers.
|
52
49
|
|
53
|
-
> <Array(<AnsibleRoleResponse>, Integer, Hash)> create_with_http_info(ansible_role
|
50
|
+
> <Array(<AnsibleRoleResponse>, Integer, Hash)> create_with_http_info(ansible_role)
|
54
51
|
|
55
52
|
```ruby
|
56
53
|
begin
|
57
54
|
# Create a role
|
58
|
-
data, status_code, headers = api_instance.create_with_http_info(ansible_role
|
55
|
+
data, status_code, headers = api_instance.create_with_http_info(ansible_role)
|
59
56
|
p status_code # => 2xx
|
60
57
|
p headers # => { ... }
|
61
58
|
p data # => <AnsibleRoleResponse>
|
@@ -69,7 +66,6 @@ end
|
|
69
66
|
| Name | Type | Description | Notes |
|
70
67
|
| ---- | ---- | ----------- | ----- |
|
71
68
|
| **ansible_role** | [**AnsibleRole**](AnsibleRole.md) | | |
|
72
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
73
69
|
|
74
70
|
### Return type
|
75
71
|
|
@@ -107,7 +103,6 @@ end
|
|
107
103
|
|
108
104
|
api_instance = PulpAnsibleClient::ContentRolesApi.new
|
109
105
|
opts = {
|
110
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
111
106
|
limit: 56, # Integer | Number of results to return per page.
|
112
107
|
name: 'name_example', # String | Filter results where name matches value
|
113
108
|
namespace: 'namespace_example', # String | Filter results where namespace matches value
|
@@ -158,7 +153,6 @@ end
|
|
158
153
|
|
159
154
|
| Name | Type | Description | Notes |
|
160
155
|
| ---- | ---- | ----------- | ----- |
|
161
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
162
156
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
163
157
|
| **name** | **String** | Filter results where name matches value | [optional] |
|
164
158
|
| **namespace** | **String** | Filter results where namespace matches value | [optional] |
|
@@ -214,7 +208,6 @@ end
|
|
214
208
|
api_instance = PulpAnsibleClient::ContentRolesApi.new
|
215
209
|
ansible_role_href = 'ansible_role_href_example' # String |
|
216
210
|
opts = {
|
217
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
218
211
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
219
212
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
220
213
|
}
|
@@ -251,7 +244,6 @@ end
|
|
251
244
|
| Name | Type | Description | Notes |
|
252
245
|
| ---- | ---- | ----------- | ----- |
|
253
246
|
| **ansible_role_href** | **String** | | |
|
254
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
255
247
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
256
248
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
257
249
|
|
@@ -271,7 +263,7 @@ end
|
|
271
263
|
|
272
264
|
## set_label
|
273
265
|
|
274
|
-
> <SetLabelResponse> set_label(ansible_role_href, set_label
|
266
|
+
> <SetLabelResponse> set_label(ansible_role_href, set_label)
|
275
267
|
|
276
268
|
Set a label
|
277
269
|
|
@@ -292,13 +284,10 @@ end
|
|
292
284
|
api_instance = PulpAnsibleClient::ContentRolesApi.new
|
293
285
|
ansible_role_href = 'ansible_role_href_example' # String |
|
294
286
|
set_label = PulpAnsibleClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
295
|
-
opts = {
|
296
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
297
|
-
}
|
298
287
|
|
299
288
|
begin
|
300
289
|
# Set a label
|
301
|
-
result = api_instance.set_label(ansible_role_href, set_label
|
290
|
+
result = api_instance.set_label(ansible_role_href, set_label)
|
302
291
|
p result
|
303
292
|
rescue PulpAnsibleClient::ApiError => e
|
304
293
|
puts "Error when calling ContentRolesApi->set_label: #{e}"
|
@@ -309,12 +298,12 @@ end
|
|
309
298
|
|
310
299
|
This returns an Array which contains the response data, status code and headers.
|
311
300
|
|
312
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(ansible_role_href, set_label
|
301
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(ansible_role_href, set_label)
|
313
302
|
|
314
303
|
```ruby
|
315
304
|
begin
|
316
305
|
# Set a label
|
317
|
-
data, status_code, headers = api_instance.set_label_with_http_info(ansible_role_href, set_label
|
306
|
+
data, status_code, headers = api_instance.set_label_with_http_info(ansible_role_href, set_label)
|
318
307
|
p status_code # => 2xx
|
319
308
|
p headers # => { ... }
|
320
309
|
p data # => <SetLabelResponse>
|
@@ -329,7 +318,6 @@ end
|
|
329
318
|
| ---- | ---- | ----------- | ----- |
|
330
319
|
| **ansible_role_href** | **String** | | |
|
331
320
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
332
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
333
321
|
|
334
322
|
### Return type
|
335
323
|
|
@@ -347,7 +335,7 @@ end
|
|
347
335
|
|
348
336
|
## unset_label
|
349
337
|
|
350
|
-
> <UnsetLabelResponse> unset_label(ansible_role_href, unset_label
|
338
|
+
> <UnsetLabelResponse> unset_label(ansible_role_href, unset_label)
|
351
339
|
|
352
340
|
Unset a label
|
353
341
|
|
@@ -368,13 +356,10 @@ end
|
|
368
356
|
api_instance = PulpAnsibleClient::ContentRolesApi.new
|
369
357
|
ansible_role_href = 'ansible_role_href_example' # String |
|
370
358
|
unset_label = PulpAnsibleClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
371
|
-
opts = {
|
372
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
373
|
-
}
|
374
359
|
|
375
360
|
begin
|
376
361
|
# Unset a label
|
377
|
-
result = api_instance.unset_label(ansible_role_href, unset_label
|
362
|
+
result = api_instance.unset_label(ansible_role_href, unset_label)
|
378
363
|
p result
|
379
364
|
rescue PulpAnsibleClient::ApiError => e
|
380
365
|
puts "Error when calling ContentRolesApi->unset_label: #{e}"
|
@@ -385,12 +370,12 @@ end
|
|
385
370
|
|
386
371
|
This returns an Array which contains the response data, status code and headers.
|
387
372
|
|
388
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(ansible_role_href, unset_label
|
373
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(ansible_role_href, unset_label)
|
389
374
|
|
390
375
|
```ruby
|
391
376
|
begin
|
392
377
|
# Unset a label
|
393
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(ansible_role_href, unset_label
|
378
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(ansible_role_href, unset_label)
|
394
379
|
p status_code # => 2xx
|
395
380
|
p headers # => { ... }
|
396
381
|
p data # => <UnsetLabelResponse>
|
@@ -405,7 +390,6 @@ end
|
|
405
390
|
| ---- | ---- | ----------- | ----- |
|
406
391
|
| **ansible_role_href** | **String** | | |
|
407
392
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
408
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
409
393
|
|
410
394
|
### Return type
|
411
395
|
|