pulp_deb_client 3.5.1 → 3.5.2
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 +31 -4
- data/docs/ContentGenericContentsApi.md +152 -2
- data/docs/ContentInstallerFileIndicesApi.md +150 -2
- data/docs/ContentInstallerPackagesApi.md +152 -2
- data/docs/ContentPackageIndicesApi.md +150 -2
- data/docs/ContentPackageReleaseComponentsApi.md +150 -2
- data/docs/ContentPackagesApi.md +152 -2
- data/docs/ContentReleaseArchitecturesApi.md +150 -2
- data/docs/ContentReleaseComponentsApi.md +150 -2
- data/docs/ContentReleaseFilesApi.md +150 -2
- data/docs/ContentReleasesApi.md +150 -2
- data/docs/ContentSourceIndicesApi.md +150 -2
- data/docs/ContentSourcePackagesApi.md +150 -2
- data/docs/ContentSourceReleaseComponentsApi.md +150 -2
- data/docs/DebGenericContentResponse.md +2 -0
- data/docs/DebInstallerFileIndex.md +2 -0
- data/docs/DebInstallerFileIndexResponse.md +2 -0
- data/docs/DebInstallerPackageResponse.md +2 -0
- data/docs/DebPackageIndex.md +2 -0
- data/docs/DebPackageIndexResponse.md +2 -0
- data/docs/DebPackageReleaseComponent.md +2 -0
- data/docs/DebPackageReleaseComponentResponse.md +2 -0
- data/docs/DebPackageResponse.md +2 -0
- data/docs/DebRelease.md +2 -0
- data/docs/DebReleaseArchitecture.md +2 -0
- data/docs/DebReleaseArchitectureResponse.md +2 -0
- data/docs/DebReleaseComponent.md +2 -0
- data/docs/DebReleaseComponentResponse.md +2 -0
- data/docs/DebReleaseFile.md +2 -0
- data/docs/DebReleaseFileResponse.md +2 -0
- data/docs/DebReleaseResponse.md +2 -0
- data/docs/DebSourceIndex.md +2 -0
- data/docs/DebSourceIndexResponse.md +2 -0
- data/docs/DebSourcePackage.md +2 -0
- data/docs/DebSourcePackageReleaseComponent.md +2 -0
- data/docs/DebSourcePackageReleaseComponentResponse.md +2 -0
- data/docs/DebSourcePackageResponse.md +2 -0
- data/docs/DistributionsAptApi.md +4 -2
- data/docs/PublicationsAptApi.md +4 -2
- data/docs/PublicationsVerbatimApi.md +4 -2
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +157 -3
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +157 -3
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_packages_api.rb +157 -3
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_release_components_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_release_files_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_releases_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_source_indices_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_source_packages_api.rb +154 -3
- data/lib/pulp_deb_client/api/content_source_release_components_api.rb +154 -3
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +6 -3
- data/lib/pulp_deb_client/api/publications_apt_api.rb +6 -3
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +6 -3
- data/lib/pulp_deb_client/models/deb_generic_content_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index.rb +13 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_installer_package_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_index.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_index_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_release_component.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_architecture.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_component.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_component_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_file.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_file_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_index.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_index_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_package.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_package_release_component.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_package_response.rb +13 -1
- data/lib/pulp_deb_client/models/unset_label.rb +1 -1
- data/lib/pulp_deb_client/models/unset_label_response.rb +1 -1
- data/lib/pulp_deb_client/version.rb +1 -1
- data/pulp_deb_client.gemspec +0 -1
- data/spec/api/content_generic_contents_api_spec.rb +29 -1
- data/spec/api/content_installer_file_indices_api_spec.rb +28 -1
- data/spec/api/content_installer_packages_api_spec.rb +29 -1
- data/spec/api/content_package_indices_api_spec.rb +28 -1
- data/spec/api/content_package_release_components_api_spec.rb +28 -1
- data/spec/api/content_packages_api_spec.rb +29 -1
- data/spec/api/content_release_architectures_api_spec.rb +28 -1
- data/spec/api/content_release_components_api_spec.rb +28 -1
- data/spec/api/content_release_files_api_spec.rb +28 -1
- data/spec/api/content_releases_api_spec.rb +28 -1
- data/spec/api/content_source_indices_api_spec.rb +28 -1
- data/spec/api/content_source_packages_api_spec.rb +28 -1
- data/spec/api/content_source_release_components_api_spec.rb +28 -1
- data/spec/api/distributions_apt_api_spec.rb +2 -1
- data/spec/api/publications_apt_api_spec.rb +2 -1
- data/spec/api/publications_verbatim_api_spec.rb +2 -1
- data/spec/models/deb_generic_content_response_spec.rb +6 -0
- data/spec/models/deb_installer_file_index_response_spec.rb +6 -0
- data/spec/models/deb_installer_file_index_spec.rb +6 -0
- data/spec/models/deb_installer_package_response_spec.rb +6 -0
- data/spec/models/deb_package_index_response_spec.rb +6 -0
- data/spec/models/deb_package_index_spec.rb +6 -0
- data/spec/models/deb_package_release_component_response_spec.rb +6 -0
- data/spec/models/deb_package_release_component_spec.rb +6 -0
- data/spec/models/deb_package_response_spec.rb +6 -0
- data/spec/models/deb_release_architecture_response_spec.rb +6 -0
- data/spec/models/deb_release_architecture_spec.rb +6 -0
- data/spec/models/deb_release_component_response_spec.rb +6 -0
- data/spec/models/deb_release_component_spec.rb +6 -0
- data/spec/models/deb_release_file_response_spec.rb +6 -0
- data/spec/models/deb_release_file_spec.rb +6 -0
- data/spec/models/deb_release_response_spec.rb +6 -0
- data/spec/models/deb_release_spec.rb +6 -0
- data/spec/models/deb_source_index_response_spec.rb +6 -0
- data/spec/models/deb_source_index_spec.rb +6 -0
- data/spec/models/deb_source_package_release_component_response_spec.rb +6 -0
- data/spec/models/deb_source_package_release_component_spec.rb +6 -0
- data/spec/models/deb_source_package_response_spec.rb +6 -0
- data/spec/models/deb_source_package_spec.rb +6 -0
- metadata +73 -93
@@ -8,6 +8,7 @@
|
|
8
8
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
9
9
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
10
10
|
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
11
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
11
12
|
| **artifacts** | **Object** | A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/' | |
|
12
13
|
| **codename** | **String** | Codename of the release, e.g. \"buster\". | [optional] |
|
13
14
|
| **suite** | **String** | Suite of the release, e.g. \"stable\". | [optional] |
|
@@ -24,6 +25,7 @@ instance = PulpDebClient::DebReleaseFileResponse.new(
|
|
24
25
|
prn: null,
|
25
26
|
pulp_created: null,
|
26
27
|
pulp_last_updated: null,
|
28
|
+
pulp_labels: null,
|
27
29
|
artifacts: null,
|
28
30
|
codename: null,
|
29
31
|
suite: null,
|
data/docs/DebReleaseResponse.md
CHANGED
@@ -8,6 +8,7 @@
|
|
8
8
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
9
9
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
10
10
|
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
11
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
11
12
|
| **codename** | **String** | | |
|
12
13
|
| **suite** | **String** | | |
|
13
14
|
| **distribution** | **String** | | |
|
@@ -28,6 +29,7 @@ instance = PulpDebClient::DebReleaseResponse.new(
|
|
28
29
|
prn: null,
|
29
30
|
pulp_created: null,
|
30
31
|
pulp_last_updated: null,
|
32
|
+
pulp_labels: null,
|
31
33
|
codename: null,
|
32
34
|
suite: null,
|
33
35
|
distribution: null,
|
data/docs/DebSourceIndex.md
CHANGED
@@ -5,6 +5,7 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
8
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
8
9
|
| **artifacts** | **Object** | A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/' | |
|
9
10
|
| **release** | **String** | Release this index file belongs to. | |
|
10
11
|
| **component** | **String** | Component this index file belongs to. | |
|
@@ -17,6 +18,7 @@ require 'pulp_deb_client'
|
|
17
18
|
|
18
19
|
instance = PulpDebClient::DebSourceIndex.new(
|
19
20
|
repository: null,
|
21
|
+
pulp_labels: null,
|
20
22
|
artifacts: null,
|
21
23
|
release: null,
|
22
24
|
component: null,
|
@@ -8,6 +8,7 @@
|
|
8
8
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
9
9
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
10
10
|
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
11
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
11
12
|
| **artifacts** | **Object** | A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/' | |
|
12
13
|
| **release** | **String** | Release this index file belongs to. | |
|
13
14
|
| **component** | **String** | Component this index file belongs to. | |
|
@@ -23,6 +24,7 @@ instance = PulpDebClient::DebSourceIndexResponse.new(
|
|
23
24
|
prn: null,
|
24
25
|
pulp_created: null,
|
25
26
|
pulp_last_updated: null,
|
27
|
+
pulp_labels: null,
|
26
28
|
artifacts: null,
|
27
29
|
release: null,
|
28
30
|
component: null,
|
data/docs/DebSourcePackage.md
CHANGED
@@ -5,6 +5,7 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
8
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
8
9
|
| **artifact** | **String** | Artifact URL of the Debian Source Control (dsc) file. | |
|
9
10
|
| **relative_path** | **String** | Relative path of the Debian Source Control (dsc) file.It is normally advised to let Pulp generate this. | [optional] |
|
10
11
|
|
@@ -15,6 +16,7 @@ require 'pulp_deb_client'
|
|
15
16
|
|
16
17
|
instance = PulpDebClient::DebSourcePackage.new(
|
17
18
|
repository: null,
|
19
|
+
pulp_labels: null,
|
18
20
|
artifact: null,
|
19
21
|
relative_path: null
|
20
22
|
)
|
@@ -5,6 +5,7 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
8
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
8
9
|
| **source_package** | **String** | Source package that is contained in release_component. | |
|
9
10
|
| **release_component** | **String** | ReleaseComponent this source package is contained in. | |
|
10
11
|
|
@@ -15,6 +16,7 @@ require 'pulp_deb_client'
|
|
15
16
|
|
16
17
|
instance = PulpDebClient::DebSourcePackageReleaseComponent.new(
|
17
18
|
repository: null,
|
19
|
+
pulp_labels: null,
|
18
20
|
source_package: null,
|
19
21
|
release_component: null
|
20
22
|
)
|
@@ -8,6 +8,7 @@
|
|
8
8
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
9
9
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
10
10
|
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
11
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
11
12
|
| **source_package** | **String** | Source package that is contained in release_component. | |
|
12
13
|
| **release_component** | **String** | ReleaseComponent this source package is contained in. | |
|
13
14
|
|
@@ -21,6 +22,7 @@ instance = PulpDebClient::DebSourcePackageReleaseComponentResponse.new(
|
|
21
22
|
prn: null,
|
22
23
|
pulp_created: null,
|
23
24
|
pulp_last_updated: null,
|
25
|
+
pulp_labels: null,
|
24
26
|
source_package: null,
|
25
27
|
release_component: null
|
26
28
|
)
|
@@ -8,6 +8,7 @@
|
|
8
8
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
9
9
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
10
10
|
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
11
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
11
12
|
| **artifacts** | **Object** | A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/' | [readonly] |
|
12
13
|
| **relative_path** | **String** | Relative path of the Debian Source Control (dsc) file.It is normally advised to let Pulp generate this. | [optional] |
|
13
14
|
| **sha256** | **String** | sha256 digest of the dsc file. | [optional][readonly] |
|
@@ -49,6 +50,7 @@ instance = PulpDebClient::DebSourcePackageResponse.new(
|
|
49
50
|
prn: null,
|
50
51
|
pulp_created: null,
|
51
52
|
pulp_last_updated: null,
|
53
|
+
pulp_labels: null,
|
52
54
|
artifacts: null,
|
53
55
|
relative_path: null,
|
54
56
|
sha256: null,
|
data/docs/DistributionsAptApi.md
CHANGED
@@ -256,6 +256,7 @@ opts = {
|
|
256
256
|
base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
|
257
257
|
base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
|
258
258
|
base_path__in: ['inner_example'], # Array<String> | Filter results where base_path is in a comma-separated list of values
|
259
|
+
checkpoint: true, # Boolean | Filter results where checkpoint matches value
|
259
260
|
limit: 56, # Integer | Number of results to return per page.
|
260
261
|
name: 'name_example', # String | Filter results where name matches value
|
261
262
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
@@ -267,7 +268,7 @@ opts = {
|
|
267
268
|
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
268
269
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
269
270
|
offset: 56, # Integer | The initial index from which to return the results.
|
270
|
-
ordering: ['-base_path'], # 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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
271
|
+
ordering: ['-base_path'], # 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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
271
272
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
272
273
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
273
274
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
@@ -315,6 +316,7 @@ end
|
|
315
316
|
| **base_path__contains** | **String** | Filter results where base_path contains value | [optional] |
|
316
317
|
| **base_path__icontains** | **String** | Filter results where base_path contains value | [optional] |
|
317
318
|
| **base_path__in** | [**Array<String>**](String.md) | Filter results where base_path is in a comma-separated list of values | [optional] |
|
319
|
+
| **checkpoint** | **Boolean** | Filter results where checkpoint matches value | [optional] |
|
318
320
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
319
321
|
| **name** | **String** | Filter results where name matches value | [optional] |
|
320
322
|
| **name__contains** | **String** | Filter results where name contains value | [optional] |
|
@@ -326,7 +328,7 @@ end
|
|
326
328
|
| **name__regex** | **String** | Filter results where name matches regex value | [optional] |
|
327
329
|
| **name__startswith** | **String** | Filter results where name starts with value | [optional] |
|
328
330
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
329
|
-
| **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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
331
|
+
| **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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
330
332
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
331
333
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
332
334
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
data/docs/PublicationsAptApi.md
CHANGED
@@ -247,11 +247,12 @@ end
|
|
247
247
|
|
248
248
|
api_instance = PulpDebClient::PublicationsAptApi.new
|
249
249
|
opts = {
|
250
|
+
checkpoint: true, # Boolean | Filter results where checkpoint matches value
|
250
251
|
content: 'content_example', # String | Content Unit referenced by HREF/PRN
|
251
252
|
content__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
252
253
|
limit: 56, # Integer | Number of results to return per page.
|
253
254
|
offset: 56, # Integer | The initial index from which to return the results.
|
254
|
-
ordering: ['-
|
255
|
+
ordering: ['-checkpoint'], # 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) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
255
256
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
256
257
|
pulp_created: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created matches value
|
257
258
|
pulp_created__gt: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created is greater than value
|
@@ -300,11 +301,12 @@ end
|
|
300
301
|
|
301
302
|
| Name | Type | Description | Notes |
|
302
303
|
| ---- | ---- | ----------- | ----- |
|
304
|
+
| **checkpoint** | **Boolean** | Filter results where checkpoint matches value | [optional] |
|
303
305
|
| **content** | **String** | Content Unit referenced by HREF/PRN | [optional] |
|
304
306
|
| **content__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
305
307
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
306
308
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
307
|
-
| **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) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
309
|
+
| **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) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
308
310
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
309
311
|
| **pulp_created** | **Time** | Filter results where pulp_created matches value | [optional] |
|
310
312
|
| **pulp_created__gt** | **Time** | Filter results where pulp_created is greater than value | [optional] |
|
@@ -247,11 +247,12 @@ end
|
|
247
247
|
|
248
248
|
api_instance = PulpDebClient::PublicationsVerbatimApi.new
|
249
249
|
opts = {
|
250
|
+
checkpoint: true, # Boolean | Filter results where checkpoint matches value
|
250
251
|
content: 'content_example', # String | Content Unit referenced by HREF/PRN
|
251
252
|
content__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
252
253
|
limit: 56, # Integer | Number of results to return per page.
|
253
254
|
offset: 56, # Integer | The initial index from which to return the results.
|
254
|
-
ordering: ['-
|
255
|
+
ordering: ['-checkpoint'], # 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) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
255
256
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
256
257
|
pulp_created: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created matches value
|
257
258
|
pulp_created__gt: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created is greater than value
|
@@ -300,11 +301,12 @@ end
|
|
300
301
|
|
301
302
|
| Name | Type | Description | Notes |
|
302
303
|
| ---- | ---- | ----------- | ----- |
|
304
|
+
| **checkpoint** | **Boolean** | Filter results where checkpoint matches value | [optional] |
|
303
305
|
| **content** | **String** | Content Unit referenced by HREF/PRN | [optional] |
|
304
306
|
| **content__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
305
307
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
306
308
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
307
|
-
| **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) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
309
|
+
| **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) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
308
310
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
309
311
|
| **pulp_created** | **Time** | Filter results where pulp_created matches value | [optional] |
|
310
312
|
| **pulp_created__gt** | **Time** | Filter results where pulp_created is greater than value | [optional] |
|
@@ -24,6 +24,7 @@ module PulpDebClient
|
|
24
24
|
# @param relative_path [String] Path where the artifact is located relative to distributions base_path
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
26
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
27
|
+
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
27
28
|
# @option opts [String] :artifact Artifact file representing the physical content
|
28
29
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
29
30
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
@@ -39,6 +40,7 @@ module PulpDebClient
|
|
39
40
|
# @param relative_path [String] Path where the artifact is located relative to distributions base_path
|
40
41
|
# @param [Hash] opts the optional parameters
|
41
42
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
43
|
+
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
42
44
|
# @option opts [String] :artifact Artifact file representing the physical content
|
43
45
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
44
46
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
@@ -80,6 +82,7 @@ module PulpDebClient
|
|
80
82
|
form_params = opts[:form_params] || {}
|
81
83
|
form_params['relative_path'] = relative_path
|
82
84
|
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
85
|
+
form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
|
83
86
|
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
84
87
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
85
88
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
@@ -116,11 +119,12 @@ module PulpDebClient
|
|
116
119
|
# @param [Hash] opts the optional parameters
|
117
120
|
# @option opts [Integer] :limit Number of results to return per page.
|
118
121
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
119
|
-
# @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) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (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) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
120
123
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
121
124
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
122
125
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
123
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
|
124
128
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
125
129
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
126
130
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
@@ -140,11 +144,12 @@ module PulpDebClient
|
|
140
144
|
# @param [Hash] opts the optional parameters
|
141
145
|
# @option opts [Integer] :limit Number of results to return per page.
|
142
146
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
143
|
-
# @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) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
147
|
+
# @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) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
144
148
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
145
149
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
146
150
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
147
151
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
152
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
148
153
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
149
154
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
150
155
|
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
@@ -158,7 +163,7 @@ module PulpDebClient
|
|
158
163
|
if @api_client.config.debugging
|
159
164
|
@api_client.config.logger.debug 'Calling API: ContentGenericContentsApi.list ...'
|
160
165
|
end
|
161
|
-
allowable_values = ["-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-relative_path", "-sha256", "-timestamp_of_interest", "-upstream_id", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "relative_path", "sha256", "timestamp_of_interest", "upstream_id"]
|
166
|
+
allowable_values = ["-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-relative_path", "-sha256", "-timestamp_of_interest", "-upstream_id", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "relative_path", "sha256", "timestamp_of_interest", "upstream_id"]
|
162
167
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
163
168
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
164
169
|
end
|
@@ -174,6 +179,7 @@ module PulpDebClient
|
|
174
179
|
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
175
180
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
176
181
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
182
|
+
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
177
183
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
178
184
|
query_params[:'relative_path'] = opts[:'relative_path'] if !opts[:'relative_path'].nil?
|
179
185
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
@@ -285,5 +291,153 @@ module PulpDebClient
|
|
285
291
|
end
|
286
292
|
return data, status_code, headers
|
287
293
|
end
|
294
|
+
|
295
|
+
# Set a label
|
296
|
+
# Set a single pulp_label on the object to a specific value or null.
|
297
|
+
# @param deb_generic_content_href [String]
|
298
|
+
# @param set_label [SetLabel]
|
299
|
+
# @param [Hash] opts the optional parameters
|
300
|
+
# @return [SetLabelResponse]
|
301
|
+
def set_label(deb_generic_content_href, set_label, opts = {})
|
302
|
+
data, _status_code, _headers = set_label_with_http_info(deb_generic_content_href, set_label, opts)
|
303
|
+
data
|
304
|
+
end
|
305
|
+
|
306
|
+
# Set a label
|
307
|
+
# Set a single pulp_label on the object to a specific value or null.
|
308
|
+
# @param deb_generic_content_href [String]
|
309
|
+
# @param set_label [SetLabel]
|
310
|
+
# @param [Hash] opts the optional parameters
|
311
|
+
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
312
|
+
def set_label_with_http_info(deb_generic_content_href, set_label, opts = {})
|
313
|
+
if @api_client.config.debugging
|
314
|
+
@api_client.config.logger.debug 'Calling API: ContentGenericContentsApi.set_label ...'
|
315
|
+
end
|
316
|
+
# verify the required parameter 'deb_generic_content_href' is set
|
317
|
+
if @api_client.config.client_side_validation && deb_generic_content_href.nil?
|
318
|
+
fail ArgumentError, "Missing the required parameter 'deb_generic_content_href' when calling ContentGenericContentsApi.set_label"
|
319
|
+
end
|
320
|
+
# verify the required parameter 'set_label' is set
|
321
|
+
if @api_client.config.client_side_validation && set_label.nil?
|
322
|
+
fail ArgumentError, "Missing the required parameter 'set_label' when calling ContentGenericContentsApi.set_label"
|
323
|
+
end
|
324
|
+
# resource path
|
325
|
+
local_var_path = '{deb_generic_content_href}set_label/'.sub('{' + 'deb_generic_content_href' + '}', CGI.escape(deb_generic_content_href.to_s).gsub('%2F', '/'))
|
326
|
+
|
327
|
+
# query parameters
|
328
|
+
query_params = opts[:query_params] || {}
|
329
|
+
|
330
|
+
# header parameters
|
331
|
+
header_params = opts[:header_params] || {}
|
332
|
+
# HTTP header 'Accept' (if needed)
|
333
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
334
|
+
# HTTP header 'Content-Type'
|
335
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
336
|
+
if !content_type.nil?
|
337
|
+
header_params['Content-Type'] = content_type
|
338
|
+
end
|
339
|
+
|
340
|
+
# form parameters
|
341
|
+
form_params = opts[:form_params] || {}
|
342
|
+
|
343
|
+
# http body (model)
|
344
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(set_label)
|
345
|
+
|
346
|
+
# return_type
|
347
|
+
return_type = opts[:debug_return_type] || 'SetLabelResponse'
|
348
|
+
|
349
|
+
# auth_names
|
350
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
351
|
+
|
352
|
+
new_options = opts.merge(
|
353
|
+
:operation => :"ContentGenericContentsApi.set_label",
|
354
|
+
:header_params => header_params,
|
355
|
+
:query_params => query_params,
|
356
|
+
:form_params => form_params,
|
357
|
+
:body => post_body,
|
358
|
+
:auth_names => auth_names,
|
359
|
+
:return_type => return_type
|
360
|
+
)
|
361
|
+
|
362
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
363
|
+
if @api_client.config.debugging
|
364
|
+
@api_client.config.logger.debug "API called: ContentGenericContentsApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
365
|
+
end
|
366
|
+
return data, status_code, headers
|
367
|
+
end
|
368
|
+
|
369
|
+
# Unset a label
|
370
|
+
# Unset a single pulp_label on the object.
|
371
|
+
# @param deb_generic_content_href [String]
|
372
|
+
# @param unset_label [UnsetLabel]
|
373
|
+
# @param [Hash] opts the optional parameters
|
374
|
+
# @return [UnsetLabelResponse]
|
375
|
+
def unset_label(deb_generic_content_href, unset_label, opts = {})
|
376
|
+
data, _status_code, _headers = unset_label_with_http_info(deb_generic_content_href, unset_label, opts)
|
377
|
+
data
|
378
|
+
end
|
379
|
+
|
380
|
+
# Unset a label
|
381
|
+
# Unset a single pulp_label on the object.
|
382
|
+
# @param deb_generic_content_href [String]
|
383
|
+
# @param unset_label [UnsetLabel]
|
384
|
+
# @param [Hash] opts the optional parameters
|
385
|
+
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
386
|
+
def unset_label_with_http_info(deb_generic_content_href, unset_label, opts = {})
|
387
|
+
if @api_client.config.debugging
|
388
|
+
@api_client.config.logger.debug 'Calling API: ContentGenericContentsApi.unset_label ...'
|
389
|
+
end
|
390
|
+
# verify the required parameter 'deb_generic_content_href' is set
|
391
|
+
if @api_client.config.client_side_validation && deb_generic_content_href.nil?
|
392
|
+
fail ArgumentError, "Missing the required parameter 'deb_generic_content_href' when calling ContentGenericContentsApi.unset_label"
|
393
|
+
end
|
394
|
+
# verify the required parameter 'unset_label' is set
|
395
|
+
if @api_client.config.client_side_validation && unset_label.nil?
|
396
|
+
fail ArgumentError, "Missing the required parameter 'unset_label' when calling ContentGenericContentsApi.unset_label"
|
397
|
+
end
|
398
|
+
# resource path
|
399
|
+
local_var_path = '{deb_generic_content_href}unset_label/'.sub('{' + 'deb_generic_content_href' + '}', CGI.escape(deb_generic_content_href.to_s).gsub('%2F', '/'))
|
400
|
+
|
401
|
+
# query parameters
|
402
|
+
query_params = opts[:query_params] || {}
|
403
|
+
|
404
|
+
# header parameters
|
405
|
+
header_params = opts[:header_params] || {}
|
406
|
+
# HTTP header 'Accept' (if needed)
|
407
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
408
|
+
# HTTP header 'Content-Type'
|
409
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
410
|
+
if !content_type.nil?
|
411
|
+
header_params['Content-Type'] = content_type
|
412
|
+
end
|
413
|
+
|
414
|
+
# form parameters
|
415
|
+
form_params = opts[:form_params] || {}
|
416
|
+
|
417
|
+
# http body (model)
|
418
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(unset_label)
|
419
|
+
|
420
|
+
# return_type
|
421
|
+
return_type = opts[:debug_return_type] || 'UnsetLabelResponse'
|
422
|
+
|
423
|
+
# auth_names
|
424
|
+
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
425
|
+
|
426
|
+
new_options = opts.merge(
|
427
|
+
:operation => :"ContentGenericContentsApi.unset_label",
|
428
|
+
:header_params => header_params,
|
429
|
+
:query_params => query_params,
|
430
|
+
:form_params => form_params,
|
431
|
+
:body => post_body,
|
432
|
+
:auth_names => auth_names,
|
433
|
+
:return_type => return_type
|
434
|
+
)
|
435
|
+
|
436
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
437
|
+
if @api_client.config.debugging
|
438
|
+
@api_client.config.logger.debug "API called: ContentGenericContentsApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
439
|
+
end
|
440
|
+
return data, status_code, headers
|
441
|
+
end
|
288
442
|
end
|
289
443
|
end
|