pulp_ansible_client 0.24.1 → 0.24.3
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 +16 -4
- data/docs/AnsibleAnsibleCollectionDeprecated.md +2 -0
- data/docs/AnsibleAnsibleCollectionDeprecatedResponse.md +2 -0
- data/docs/AnsibleCollectionVersionResponse.md +6 -4
- data/docs/AnsibleCollectionVersionSignatureResponse.md +2 -0
- data/docs/AnsibleGitRemote.md +30 -30
- data/docs/AnsibleGitRemoteResponse.md +28 -28
- data/docs/AnsibleRole.md +2 -0
- data/docs/AnsibleRoleResponse.md +6 -4
- data/docs/ContentCollectionDeprecationsApi.md +148 -0
- data/docs/ContentCollectionMarksApi.md +150 -2
- data/docs/ContentCollectionSignaturesApi.md +152 -2
- data/docs/ContentCollectionVersionsApi.md +156 -6
- data/docs/ContentNamespacesApi.md +150 -2
- data/docs/ContentRolesApi.md +150 -2
- data/docs/DistributionsAnsibleApi.md +4 -2
- data/docs/PatchedansibleGitRemote.md +30 -30
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +4 -2
- data/docs/PulpAnsibleApiV3NamespacesApi.md +2 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +4 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +2 -2
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +4 -2
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +2 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +4 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +2 -2
- data/docs/RemotesGitApi.md +2 -2
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +151 -0
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +154 -3
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +157 -3
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +163 -9
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +154 -3
- data/lib/pulp_ansible_client/api/content_roles_api.rb +154 -3
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +6 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +6 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +6 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +6 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +6 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_ansible_collection_deprecated.rb +13 -1
- data/lib/pulp_ansible_client/models/ansible_ansible_collection_deprecated_response.rb +13 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +33 -21
- data/lib/pulp_ansible_client/models/ansible_collection_version_signature_response.rb +13 -1
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +248 -248
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +165 -165
- data/lib/pulp_ansible_client/models/ansible_role.rb +13 -1
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +29 -17
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +239 -239
- data/lib/pulp_ansible_client/models/unset_label.rb +1 -1
- data/lib/pulp_ansible_client/models/unset_label_response.rb +1 -1
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_deprecations_api_spec.rb +27 -0
- data/spec/api/content_collection_marks_api_spec.rb +28 -1
- data/spec/api/content_collection_signatures_api_spec.rb +29 -1
- data/spec/api/content_collection_versions_api_spec.rb +31 -3
- data/spec/api/content_namespaces_api_spec.rb +28 -1
- data/spec/api/content_roles_api_spec.rb +28 -1
- data/spec/api/distributions_ansible_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +1 -1
- data/spec/models/ansible_ansible_collection_deprecated_response_spec.rb +6 -0
- data/spec/models/ansible_ansible_collection_deprecated_spec.rb +6 -0
- data/spec/models/ansible_collection_version_response_spec.rb +10 -4
- data/spec/models/ansible_collection_version_signature_response_spec.rb +6 -0
- data/spec/models/ansible_git_remote_response_spec.rb +20 -20
- data/spec/models/ansible_git_remote_spec.rb +20 -20
- data/spec/models/ansible_role_response_spec.rb +9 -3
- data/spec/models/ansible_role_spec.rb +6 -0
- data/spec/models/patchedansible_git_remote_spec.rb +20 -20
- metadata +123 -123
@@ -219,7 +219,7 @@ opts = {
|
|
219
219
|
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
220
220
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
221
221
|
offset: 56, # Integer | The initial index from which to return the results.
|
222
|
-
ordering: ['-avatar_sha256'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `company` - Company * `-company` - Company (descending) * `email` - Email * `-email` - Email (descending) * `description` - Description * `-description` - Description (descending) * `resources` - Resources * `-resources` - Resources (descending) * `links` - Links * `-links` - Links (descending) * `avatar_sha256` - Avatar sha256 * `-avatar_sha256` - Avatar sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
222
|
+
ordering: ['-avatar_sha256'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `company` - Company * `-company` - Company (descending) * `email` - Email * `-email` - Email (descending) * `description` - Description * `-description` - Description (descending) * `resources` - Resources * `-resources` - Resources (descending) * `links` - Links * `-links` - Links (descending) * `avatar_sha256` - Avatar sha256 * `-avatar_sha256` - Avatar sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
223
223
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
224
224
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
225
225
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
@@ -283,7 +283,7 @@ end
|
|
283
283
|
| **name__regex** | **String** | Filter results where name matches regex value | [optional] |
|
284
284
|
| **name__startswith** | **String** | Filter results where name starts with value | [optional] |
|
285
285
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
286
|
-
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `company` - Company * `-company` - Company (descending) * `email` - Email * `-email` - Email (descending) * `description` - Description * `-description` - Description (descending) * `resources` - Resources * `-resources` - Resources (descending) * `links` - Links * `-links` - Links (descending) * `avatar_sha256` - Avatar sha256 * `-avatar_sha256` - Avatar sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
286
|
+
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `company` - Company * `-company` - Company (descending) * `email` - Email * `-email` - Email (descending) * `description` - Description * `-description` - Description (descending) * `resources` - Resources * `-resources` - Resources (descending) * `links` - Links * `-links` - Links (descending) * `avatar_sha256` - Avatar sha256 * `-avatar_sha256` - Avatar sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
287
287
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
288
288
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
289
289
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
@@ -111,11 +111,12 @@ opts = {
|
|
111
111
|
name2: 'name_example', # String |
|
112
112
|
namespace2: 'namespace_example', # String |
|
113
113
|
offset: 56, # Integer | The initial index from which to return the results.
|
114
|
-
ordering: ['-authors'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `version` - Version * `-version` - Version (descending) * `version_major` - Version major * `-version_major` - Version major (descending) * `version_minor` - Version minor * `-version_minor` - Version minor (descending) * `version_patch` - Version patch * `-version_patch` - Version patch (descending) * `version_prerelease` - Version prerelease * `-version_prerelease` - Version prerelease (descending) * `is_highest` - Is highest * `-is_highest` - Is highest (descending) * `search_vector` - Search vector * `-search_vector` - Search vector (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
114
|
+
ordering: ['-authors'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `version` - Version * `-version` - Version (descending) * `version_major` - Version major * `-version_major` - Version major (descending) * `version_minor` - Version minor * `-version_minor` - Version minor (descending) * `version_patch` - Version patch * `-version_patch` - Version patch (descending) * `version_prerelease` - Version prerelease * `-version_prerelease` - Version prerelease (descending) * `is_highest` - Is highest * `-is_highest` - Is highest (descending) * `search_vector` - Search vector * `-search_vector` - Search vector (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
115
115
|
orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
116
116
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
117
117
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
118
118
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
119
|
+
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
119
120
|
q: 'q_example', # String |
|
120
121
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
|
121
122
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
|
@@ -163,11 +164,12 @@ end
|
|
163
164
|
| **name2** | **String** | | [optional] |
|
164
165
|
| **namespace2** | **String** | | [optional] |
|
165
166
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
166
|
-
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `version` - Version * `-version` - Version (descending) * `version_major` - Version major * `-version_major` - Version major (descending) * `version_minor` - Version minor * `-version_minor` - Version minor (descending) * `version_patch` - Version patch * `-version_patch` - Version patch (descending) * `version_prerelease` - Version prerelease * `-version_prerelease` - Version prerelease (descending) * `is_highest` - Is highest * `-is_highest` - Is highest (descending) * `search_vector` - Search vector * `-search_vector` - Search vector (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
167
|
+
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `version` - Version * `-version` - Version (descending) * `version_major` - Version major * `-version_major` - Version major (descending) * `version_minor` - Version minor * `-version_minor` - Version minor (descending) * `version_patch` - Version patch * `-version_patch` - Version patch (descending) * `version_prerelease` - Version prerelease * `-version_prerelease` - Version prerelease (descending) * `is_highest` - Is highest * `-is_highest` - Is highest (descending) * `search_vector` - Search vector * `-search_vector` - Search vector (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
167
168
|
| **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
|
168
169
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
169
170
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
170
171
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
172
|
+
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
171
173
|
| **q** | **String** | | [optional] |
|
172
174
|
| **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
173
175
|
| **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
@@ -52,7 +52,7 @@ opts = {
|
|
52
52
|
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
53
53
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
54
54
|
offset: 56, # Integer | The initial index from which to return the results.
|
55
|
-
ordering: ['-avatar_sha256'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `company` - Company * `-company` - Company (descending) * `email` - Email * `-email` - Email (descending) * `description` - Description * `-description` - Description (descending) * `resources` - Resources * `-resources` - Resources (descending) * `links` - Links * `-links` - Links (descending) * `avatar_sha256` - Avatar sha256 * `-avatar_sha256` - Avatar sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
55
|
+
ordering: ['-avatar_sha256'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `company` - Company * `-company` - Company (descending) * `email` - Email * `-email` - Email (descending) * `description` - Description * `-description` - Description (descending) * `resources` - Resources * `-resources` - Resources (descending) * `links` - Links * `-links` - Links (descending) * `avatar_sha256` - Avatar sha256 * `-avatar_sha256` - Avatar sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
56
56
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
57
57
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
58
58
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
@@ -114,7 +114,7 @@ end
|
|
114
114
|
| **name__regex** | **String** | Filter results where name matches regex value | [optional] |
|
115
115
|
| **name__startswith** | **String** | Filter results where name starts with value | [optional] |
|
116
116
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
117
|
-
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `company` - Company * `-company` - Company (descending) * `email` - Email * `-email` - Email (descending) * `description` - Description * `-description` - Description (descending) * `resources` - Resources * `-resources` - Resources (descending) * `links` - Links * `-links` - Links (descending) * `avatar_sha256` - Avatar sha256 * `-avatar_sha256` - Avatar sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
117
|
+
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `company` - Company * `-company` - Company (descending) * `email` - Email * `-email` - Email (descending) * `description` - Description * `-description` - Description (descending) * `resources` - Resources * `-resources` - Resources (descending) * `links` - Links * `-links` - Links (descending) * `avatar_sha256` - Avatar sha256 * `-avatar_sha256` - Avatar sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
118
118
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
119
119
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
120
120
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
@@ -114,11 +114,12 @@ opts = {
|
|
114
114
|
name2: 'name_example', # String |
|
115
115
|
namespace2: 'namespace_example', # String |
|
116
116
|
offset: 56, # Integer | The initial index from which to return the results.
|
117
|
-
ordering: ['-authors'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `version` - Version * `-version` - Version (descending) * `version_major` - Version major * `-version_major` - Version major (descending) * `version_minor` - Version minor * `-version_minor` - Version minor (descending) * `version_patch` - Version patch * `-version_patch` - Version patch (descending) * `version_prerelease` - Version prerelease * `-version_prerelease` - Version prerelease (descending) * `is_highest` - Is highest * `-is_highest` - Is highest (descending) * `search_vector` - Search vector * `-search_vector` - Search vector (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
117
|
+
ordering: ['-authors'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `version` - Version * `-version` - Version (descending) * `version_major` - Version major * `-version_major` - Version major (descending) * `version_minor` - Version minor * `-version_minor` - Version minor (descending) * `version_patch` - Version patch * `-version_patch` - Version patch (descending) * `version_prerelease` - Version prerelease * `-version_prerelease` - Version prerelease (descending) * `is_highest` - Is highest * `-is_highest` - Is highest (descending) * `search_vector` - Search vector * `-search_vector` - Search vector (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
118
118
|
orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
119
119
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
120
120
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
121
121
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
122
|
+
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
122
123
|
q: 'q_example', # String |
|
123
124
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
|
124
125
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
|
@@ -167,11 +168,12 @@ end
|
|
167
168
|
| **name2** | **String** | | [optional] |
|
168
169
|
| **namespace2** | **String** | | [optional] |
|
169
170
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
170
|
-
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `version` - Version * `-version` - Version (descending) * `version_major` - Version major * `-version_major` - Version major (descending) * `version_minor` - Version minor * `-version_minor` - Version minor (descending) * `version_patch` - Version patch * `-version_patch` - Version patch (descending) * `version_prerelease` - Version prerelease * `-version_prerelease` - Version prerelease (descending) * `is_highest` - Is highest * `-is_highest` - Is highest (descending) * `search_vector` - Search vector * `-search_vector` - Search vector (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
171
|
+
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `version` - Version * `-version` - Version (descending) * `version_major` - Version major * `-version_major` - Version major (descending) * `version_minor` - Version minor * `-version_minor` - Version minor (descending) * `version_patch` - Version patch * `-version_patch` - Version patch (descending) * `version_prerelease` - Version prerelease * `-version_prerelease` - Version prerelease (descending) * `is_highest` - Is highest * `-is_highest` - Is highest (descending) * `search_vector` - Search vector * `-search_vector` - Search vector (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
171
172
|
| **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
|
172
173
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
173
174
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
174
175
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
176
|
+
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
175
177
|
| **q** | **String** | | [optional] |
|
176
178
|
| **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
177
179
|
| **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
@@ -214,7 +214,7 @@ opts = {
|
|
214
214
|
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
215
215
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
216
216
|
offset: 56, # Integer | The initial index from which to return the results.
|
217
|
-
ordering: ['-avatar_sha256'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `company` - Company * `-company` - Company (descending) * `email` - Email * `-email` - Email (descending) * `description` - Description * `-description` - Description (descending) * `resources` - Resources * `-resources` - Resources (descending) * `links` - Links * `-links` - Links (descending) * `avatar_sha256` - Avatar sha256 * `-avatar_sha256` - Avatar sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
217
|
+
ordering: ['-avatar_sha256'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `company` - Company * `-company` - Company (descending) * `email` - Email * `-email` - Email (descending) * `description` - Description * `-description` - Description (descending) * `resources` - Resources * `-resources` - Resources (descending) * `links` - Links * `-links` - Links (descending) * `avatar_sha256` - Avatar sha256 * `-avatar_sha256` - Avatar sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
218
218
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
219
219
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
220
220
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
@@ -277,7 +277,7 @@ end
|
|
277
277
|
| **name__regex** | **String** | Filter results where name matches regex value | [optional] |
|
278
278
|
| **name__startswith** | **String** | Filter results where name starts with value | [optional] |
|
279
279
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
280
|
-
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `company` - Company * `-company` - Company (descending) * `email` - Email * `-email` - Email (descending) * `description` - Description * `-description` - Description (descending) * `resources` - Resources * `-resources` - Resources (descending) * `links` - Links * `-links` - Links (descending) * `avatar_sha256` - Avatar sha256 * `-avatar_sha256` - Avatar sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
280
|
+
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `name` - Name * `-name` - Name (descending) * `company` - Company * `-company` - Company (descending) * `email` - Email * `-email` - Email (descending) * `description` - Description * `-description` - Description (descending) * `resources` - Resources * `-resources` - Resources (descending) * `links` - Links * `-links` - Links (descending) * `avatar_sha256` - Avatar sha256 * `-avatar_sha256` - Avatar sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
281
281
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
282
282
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
283
283
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
data/docs/RemotesGitApi.md
CHANGED
@@ -111,7 +111,7 @@ PulpAnsibleClient.configure do |config|
|
|
111
111
|
end
|
112
112
|
|
113
113
|
api_instance = PulpAnsibleClient::RemotesGitApi.new
|
114
|
-
ansible_git_remote = PulpAnsibleClient::AnsibleGitRemote.new({
|
114
|
+
ansible_git_remote = PulpAnsibleClient::AnsibleGitRemote.new({url: 'url_example', name: 'name_example'}) # AnsibleGitRemote |
|
115
115
|
|
116
116
|
begin
|
117
117
|
# Create a git remote
|
@@ -890,7 +890,7 @@ end
|
|
890
890
|
|
891
891
|
api_instance = PulpAnsibleClient::RemotesGitApi.new
|
892
892
|
ansible_git_remote_href = 'ansible_git_remote_href_example' # String |
|
893
|
-
ansible_git_remote = PulpAnsibleClient::AnsibleGitRemote.new({
|
893
|
+
ansible_git_remote = PulpAnsibleClient::AnsibleGitRemote.new({url: 'url_example', name: 'name_example'}) # AnsibleGitRemote |
|
894
894
|
|
895
895
|
begin
|
896
896
|
# Update a git remote
|
@@ -97,6 +97,7 @@ module PulpAnsibleClient
|
|
97
97
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
98
98
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
99
99
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
100
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
100
101
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
101
102
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
102
103
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -119,6 +120,7 @@ module PulpAnsibleClient
|
|
119
120
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
120
121
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
121
122
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
123
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
122
124
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
123
125
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
124
126
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -146,6 +148,7 @@ module PulpAnsibleClient
|
|
146
148
|
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
147
149
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
148
150
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
151
|
+
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
149
152
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
150
153
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
151
154
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
@@ -255,5 +258,153 @@ module PulpAnsibleClient
|
|
255
258
|
end
|
256
259
|
return data, status_code, headers
|
257
260
|
end
|
261
|
+
|
262
|
+
# Set a label
|
263
|
+
# Set a single pulp_label on the object to a specific value or null.
|
264
|
+
# @param ansible_ansible_collection_deprecated_href [String]
|
265
|
+
# @param set_label [SetLabel]
|
266
|
+
# @param [Hash] opts the optional parameters
|
267
|
+
# @return [SetLabelResponse]
|
268
|
+
def set_label(ansible_ansible_collection_deprecated_href, set_label, opts = {})
|
269
|
+
data, _status_code, _headers = set_label_with_http_info(ansible_ansible_collection_deprecated_href, set_label, opts)
|
270
|
+
data
|
271
|
+
end
|
272
|
+
|
273
|
+
# Set a label
|
274
|
+
# Set a single pulp_label on the object to a specific value or null.
|
275
|
+
# @param ansible_ansible_collection_deprecated_href [String]
|
276
|
+
# @param set_label [SetLabel]
|
277
|
+
# @param [Hash] opts the optional parameters
|
278
|
+
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
279
|
+
def set_label_with_http_info(ansible_ansible_collection_deprecated_href, set_label, opts = {})
|
280
|
+
if @api_client.config.debugging
|
281
|
+
@api_client.config.logger.debug 'Calling API: ContentCollectionDeprecationsApi.set_label ...'
|
282
|
+
end
|
283
|
+
# verify the required parameter 'ansible_ansible_collection_deprecated_href' is set
|
284
|
+
if @api_client.config.client_side_validation && ansible_ansible_collection_deprecated_href.nil?
|
285
|
+
fail ArgumentError, "Missing the required parameter 'ansible_ansible_collection_deprecated_href' when calling ContentCollectionDeprecationsApi.set_label"
|
286
|
+
end
|
287
|
+
# verify the required parameter 'set_label' is set
|
288
|
+
if @api_client.config.client_side_validation && set_label.nil?
|
289
|
+
fail ArgumentError, "Missing the required parameter 'set_label' when calling ContentCollectionDeprecationsApi.set_label"
|
290
|
+
end
|
291
|
+
# resource path
|
292
|
+
local_var_path = '{ansible_ansible_collection_deprecated_href}set_label/'.sub('{' + 'ansible_ansible_collection_deprecated_href' + '}', CGI.escape(ansible_ansible_collection_deprecated_href.to_s).gsub('%2F', '/'))
|
293
|
+
|
294
|
+
# query parameters
|
295
|
+
query_params = opts[:query_params] || {}
|
296
|
+
|
297
|
+
# header parameters
|
298
|
+
header_params = opts[:header_params] || {}
|
299
|
+
# HTTP header 'Accept' (if needed)
|
300
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
301
|
+
# HTTP header 'Content-Type'
|
302
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
303
|
+
if !content_type.nil?
|
304
|
+
header_params['Content-Type'] = content_type
|
305
|
+
end
|
306
|
+
|
307
|
+
# form parameters
|
308
|
+
form_params = opts[:form_params] || {}
|
309
|
+
|
310
|
+
# http body (model)
|
311
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(set_label)
|
312
|
+
|
313
|
+
# return_type
|
314
|
+
return_type = opts[:debug_return_type] || 'SetLabelResponse'
|
315
|
+
|
316
|
+
# auth_names
|
317
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
318
|
+
|
319
|
+
new_options = opts.merge(
|
320
|
+
:operation => :"ContentCollectionDeprecationsApi.set_label",
|
321
|
+
:header_params => header_params,
|
322
|
+
:query_params => query_params,
|
323
|
+
:form_params => form_params,
|
324
|
+
:body => post_body,
|
325
|
+
:auth_names => auth_names,
|
326
|
+
:return_type => return_type
|
327
|
+
)
|
328
|
+
|
329
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
330
|
+
if @api_client.config.debugging
|
331
|
+
@api_client.config.logger.debug "API called: ContentCollectionDeprecationsApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
332
|
+
end
|
333
|
+
return data, status_code, headers
|
334
|
+
end
|
335
|
+
|
336
|
+
# Unset a label
|
337
|
+
# Unset a single pulp_label on the object.
|
338
|
+
# @param ansible_ansible_collection_deprecated_href [String]
|
339
|
+
# @param unset_label [UnsetLabel]
|
340
|
+
# @param [Hash] opts the optional parameters
|
341
|
+
# @return [UnsetLabelResponse]
|
342
|
+
def unset_label(ansible_ansible_collection_deprecated_href, unset_label, opts = {})
|
343
|
+
data, _status_code, _headers = unset_label_with_http_info(ansible_ansible_collection_deprecated_href, unset_label, opts)
|
344
|
+
data
|
345
|
+
end
|
346
|
+
|
347
|
+
# Unset a label
|
348
|
+
# Unset a single pulp_label on the object.
|
349
|
+
# @param ansible_ansible_collection_deprecated_href [String]
|
350
|
+
# @param unset_label [UnsetLabel]
|
351
|
+
# @param [Hash] opts the optional parameters
|
352
|
+
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
353
|
+
def unset_label_with_http_info(ansible_ansible_collection_deprecated_href, unset_label, opts = {})
|
354
|
+
if @api_client.config.debugging
|
355
|
+
@api_client.config.logger.debug 'Calling API: ContentCollectionDeprecationsApi.unset_label ...'
|
356
|
+
end
|
357
|
+
# verify the required parameter 'ansible_ansible_collection_deprecated_href' is set
|
358
|
+
if @api_client.config.client_side_validation && ansible_ansible_collection_deprecated_href.nil?
|
359
|
+
fail ArgumentError, "Missing the required parameter 'ansible_ansible_collection_deprecated_href' when calling ContentCollectionDeprecationsApi.unset_label"
|
360
|
+
end
|
361
|
+
# verify the required parameter 'unset_label' is set
|
362
|
+
if @api_client.config.client_side_validation && unset_label.nil?
|
363
|
+
fail ArgumentError, "Missing the required parameter 'unset_label' when calling ContentCollectionDeprecationsApi.unset_label"
|
364
|
+
end
|
365
|
+
# resource path
|
366
|
+
local_var_path = '{ansible_ansible_collection_deprecated_href}unset_label/'.sub('{' + 'ansible_ansible_collection_deprecated_href' + '}', CGI.escape(ansible_ansible_collection_deprecated_href.to_s).gsub('%2F', '/'))
|
367
|
+
|
368
|
+
# query parameters
|
369
|
+
query_params = opts[:query_params] || {}
|
370
|
+
|
371
|
+
# header parameters
|
372
|
+
header_params = opts[:header_params] || {}
|
373
|
+
# HTTP header 'Accept' (if needed)
|
374
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
375
|
+
# HTTP header 'Content-Type'
|
376
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
377
|
+
if !content_type.nil?
|
378
|
+
header_params['Content-Type'] = content_type
|
379
|
+
end
|
380
|
+
|
381
|
+
# form parameters
|
382
|
+
form_params = opts[:form_params] || {}
|
383
|
+
|
384
|
+
# http body (model)
|
385
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(unset_label)
|
386
|
+
|
387
|
+
# return_type
|
388
|
+
return_type = opts[:debug_return_type] || 'UnsetLabelResponse'
|
389
|
+
|
390
|
+
# auth_names
|
391
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
392
|
+
|
393
|
+
new_options = opts.merge(
|
394
|
+
:operation => :"ContentCollectionDeprecationsApi.unset_label",
|
395
|
+
:header_params => header_params,
|
396
|
+
:query_params => query_params,
|
397
|
+
:form_params => form_params,
|
398
|
+
:body => post_body,
|
399
|
+
:auth_names => auth_names,
|
400
|
+
:return_type => return_type
|
401
|
+
)
|
402
|
+
|
403
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
404
|
+
if @api_client.config.debugging
|
405
|
+
@api_client.config.logger.debug "API called: ContentCollectionDeprecationsApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
406
|
+
end
|
407
|
+
return data, status_code, headers
|
408
|
+
end
|
258
409
|
end
|
259
410
|
end
|
@@ -93,11 +93,12 @@ module PulpAnsibleClient
|
|
93
93
|
# @option opts [Integer] :limit Number of results to return per page.
|
94
94
|
# @option opts [String] :marked_collection Filter marks for collection version
|
95
95
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
96
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `value` - Value * `-value` - Value (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
96
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `value` - Value * `-value` - Value (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
97
97
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
98
98
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
99
99
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
100
100
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
101
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
101
102
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
102
103
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
103
104
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -118,11 +119,12 @@ module PulpAnsibleClient
|
|
118
119
|
# @option opts [Integer] :limit Number of results to return per page.
|
119
120
|
# @option opts [String] :marked_collection Filter marks for collection version
|
120
121
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
121
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `value` - Value * `-value` - Value (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
122
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `value` - Value * `-value` - Value (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
122
123
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
123
124
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
124
125
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
125
126
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
127
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
126
128
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
127
129
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
128
130
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
@@ -136,7 +138,7 @@ module PulpAnsibleClient
|
|
136
138
|
if @api_client.config.debugging
|
137
139
|
@api_client.config.logger.debug 'Calling API: ContentCollectionMarksApi.list ...'
|
138
140
|
end
|
139
|
-
allowable_values = ["-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-timestamp_of_interest", "-upstream_id", "-value", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "timestamp_of_interest", "upstream_id", "value"]
|
141
|
+
allowable_values = ["-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-timestamp_of_interest", "-upstream_id", "-value", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "timestamp_of_interest", "upstream_id", "value"]
|
140
142
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
141
143
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
142
144
|
end
|
@@ -153,6 +155,7 @@ module PulpAnsibleClient
|
|
153
155
|
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
154
156
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
155
157
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
158
|
+
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
156
159
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
157
160
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
158
161
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
@@ -264,5 +267,153 @@ module PulpAnsibleClient
|
|
264
267
|
end
|
265
268
|
return data, status_code, headers
|
266
269
|
end
|
270
|
+
|
271
|
+
# Set a label
|
272
|
+
# Set a single pulp_label on the object to a specific value or null.
|
273
|
+
# @param ansible_collection_version_mark_href [String]
|
274
|
+
# @param set_label [SetLabel]
|
275
|
+
# @param [Hash] opts the optional parameters
|
276
|
+
# @return [SetLabelResponse]
|
277
|
+
def set_label(ansible_collection_version_mark_href, set_label, opts = {})
|
278
|
+
data, _status_code, _headers = set_label_with_http_info(ansible_collection_version_mark_href, set_label, opts)
|
279
|
+
data
|
280
|
+
end
|
281
|
+
|
282
|
+
# Set a label
|
283
|
+
# Set a single pulp_label on the object to a specific value or null.
|
284
|
+
# @param ansible_collection_version_mark_href [String]
|
285
|
+
# @param set_label [SetLabel]
|
286
|
+
# @param [Hash] opts the optional parameters
|
287
|
+
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
288
|
+
def set_label_with_http_info(ansible_collection_version_mark_href, set_label, opts = {})
|
289
|
+
if @api_client.config.debugging
|
290
|
+
@api_client.config.logger.debug 'Calling API: ContentCollectionMarksApi.set_label ...'
|
291
|
+
end
|
292
|
+
# verify the required parameter 'ansible_collection_version_mark_href' is set
|
293
|
+
if @api_client.config.client_side_validation && ansible_collection_version_mark_href.nil?
|
294
|
+
fail ArgumentError, "Missing the required parameter 'ansible_collection_version_mark_href' when calling ContentCollectionMarksApi.set_label"
|
295
|
+
end
|
296
|
+
# verify the required parameter 'set_label' is set
|
297
|
+
if @api_client.config.client_side_validation && set_label.nil?
|
298
|
+
fail ArgumentError, "Missing the required parameter 'set_label' when calling ContentCollectionMarksApi.set_label"
|
299
|
+
end
|
300
|
+
# resource path
|
301
|
+
local_var_path = '{ansible_collection_version_mark_href}set_label/'.sub('{' + 'ansible_collection_version_mark_href' + '}', CGI.escape(ansible_collection_version_mark_href.to_s).gsub('%2F', '/'))
|
302
|
+
|
303
|
+
# query parameters
|
304
|
+
query_params = opts[:query_params] || {}
|
305
|
+
|
306
|
+
# header parameters
|
307
|
+
header_params = opts[:header_params] || {}
|
308
|
+
# HTTP header 'Accept' (if needed)
|
309
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
310
|
+
# HTTP header 'Content-Type'
|
311
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
312
|
+
if !content_type.nil?
|
313
|
+
header_params['Content-Type'] = content_type
|
314
|
+
end
|
315
|
+
|
316
|
+
# form parameters
|
317
|
+
form_params = opts[:form_params] || {}
|
318
|
+
|
319
|
+
# http body (model)
|
320
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(set_label)
|
321
|
+
|
322
|
+
# return_type
|
323
|
+
return_type = opts[:debug_return_type] || 'SetLabelResponse'
|
324
|
+
|
325
|
+
# auth_names
|
326
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
327
|
+
|
328
|
+
new_options = opts.merge(
|
329
|
+
:operation => :"ContentCollectionMarksApi.set_label",
|
330
|
+
:header_params => header_params,
|
331
|
+
:query_params => query_params,
|
332
|
+
:form_params => form_params,
|
333
|
+
:body => post_body,
|
334
|
+
:auth_names => auth_names,
|
335
|
+
:return_type => return_type
|
336
|
+
)
|
337
|
+
|
338
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
339
|
+
if @api_client.config.debugging
|
340
|
+
@api_client.config.logger.debug "API called: ContentCollectionMarksApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
341
|
+
end
|
342
|
+
return data, status_code, headers
|
343
|
+
end
|
344
|
+
|
345
|
+
# Unset a label
|
346
|
+
# Unset a single pulp_label on the object.
|
347
|
+
# @param ansible_collection_version_mark_href [String]
|
348
|
+
# @param unset_label [UnsetLabel]
|
349
|
+
# @param [Hash] opts the optional parameters
|
350
|
+
# @return [UnsetLabelResponse]
|
351
|
+
def unset_label(ansible_collection_version_mark_href, unset_label, opts = {})
|
352
|
+
data, _status_code, _headers = unset_label_with_http_info(ansible_collection_version_mark_href, unset_label, opts)
|
353
|
+
data
|
354
|
+
end
|
355
|
+
|
356
|
+
# Unset a label
|
357
|
+
# Unset a single pulp_label on the object.
|
358
|
+
# @param ansible_collection_version_mark_href [String]
|
359
|
+
# @param unset_label [UnsetLabel]
|
360
|
+
# @param [Hash] opts the optional parameters
|
361
|
+
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
362
|
+
def unset_label_with_http_info(ansible_collection_version_mark_href, unset_label, opts = {})
|
363
|
+
if @api_client.config.debugging
|
364
|
+
@api_client.config.logger.debug 'Calling API: ContentCollectionMarksApi.unset_label ...'
|
365
|
+
end
|
366
|
+
# verify the required parameter 'ansible_collection_version_mark_href' is set
|
367
|
+
if @api_client.config.client_side_validation && ansible_collection_version_mark_href.nil?
|
368
|
+
fail ArgumentError, "Missing the required parameter 'ansible_collection_version_mark_href' when calling ContentCollectionMarksApi.unset_label"
|
369
|
+
end
|
370
|
+
# verify the required parameter 'unset_label' is set
|
371
|
+
if @api_client.config.client_side_validation && unset_label.nil?
|
372
|
+
fail ArgumentError, "Missing the required parameter 'unset_label' when calling ContentCollectionMarksApi.unset_label"
|
373
|
+
end
|
374
|
+
# resource path
|
375
|
+
local_var_path = '{ansible_collection_version_mark_href}unset_label/'.sub('{' + 'ansible_collection_version_mark_href' + '}', CGI.escape(ansible_collection_version_mark_href.to_s).gsub('%2F', '/'))
|
376
|
+
|
377
|
+
# query parameters
|
378
|
+
query_params = opts[:query_params] || {}
|
379
|
+
|
380
|
+
# header parameters
|
381
|
+
header_params = opts[:header_params] || {}
|
382
|
+
# HTTP header 'Accept' (if needed)
|
383
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
384
|
+
# HTTP header 'Content-Type'
|
385
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
386
|
+
if !content_type.nil?
|
387
|
+
header_params['Content-Type'] = content_type
|
388
|
+
end
|
389
|
+
|
390
|
+
# form parameters
|
391
|
+
form_params = opts[:form_params] || {}
|
392
|
+
|
393
|
+
# http body (model)
|
394
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(unset_label)
|
395
|
+
|
396
|
+
# return_type
|
397
|
+
return_type = opts[:debug_return_type] || 'UnsetLabelResponse'
|
398
|
+
|
399
|
+
# auth_names
|
400
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
401
|
+
|
402
|
+
new_options = opts.merge(
|
403
|
+
:operation => :"ContentCollectionMarksApi.unset_label",
|
404
|
+
:header_params => header_params,
|
405
|
+
:query_params => query_params,
|
406
|
+
:form_params => form_params,
|
407
|
+
:body => post_body,
|
408
|
+
:auth_names => auth_names,
|
409
|
+
:return_type => return_type
|
410
|
+
)
|
411
|
+
|
412
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
413
|
+
if @api_client.config.debugging
|
414
|
+
@api_client.config.logger.debug "API called: ContentCollectionMarksApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
415
|
+
end
|
416
|
+
return data, status_code, headers
|
417
|
+
end
|
267
418
|
end
|
268
419
|
end
|