pulp_deb_client 3.7.0 → 3.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +27 -16
- data/docs/AcsDebApi.md +886 -0
- data/docs/DebAptAlternateContentSource.md +24 -0
- data/docs/DebAptAlternateContentSourceResponse.md +32 -0
- data/docs/DebAptRepository.md +2 -0
- data/docs/DebAptRepositoryResponse.md +2 -0
- data/docs/DistributionsAptApi.md +10 -10
- data/docs/PaginateddebAptAlternateContentSourceResponseList.md +24 -0
- data/docs/PatcheddebAptAlternateContentSource.md +24 -0
- data/docs/PatcheddebAptRepository.md +2 -0
- data/docs/RemotesAptApi.md +10 -10
- data/docs/RepositoriesAptApi.md +10 -10
- data/docs/TaskGroupOperationResponse.md +18 -0
- data/lib/pulp_deb_client/api/acs_deb_api.rb +865 -0
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +10 -10
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +10 -10
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +10 -10
- data/lib/pulp_deb_client/models/deb_apt_alternate_content_source.rb +282 -0
- data/lib/pulp_deb_client/models/deb_apt_alternate_content_source_response.rb +302 -0
- data/lib/pulp_deb_client/models/deb_apt_repository.rb +13 -1
- data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +13 -1
- data/lib/pulp_deb_client/models/paginateddeb_apt_alternate_content_source_response_list.rb +257 -0
- data/lib/pulp_deb_client/models/patcheddeb_apt_alternate_content_source.rb +268 -0
- data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +13 -1
- data/lib/pulp_deb_client/models/task_group_operation_response.rb +223 -0
- data/lib/pulp_deb_client/version.rb +1 -1
- data/lib/pulp_deb_client.rb +6 -0
- data/spec/api/acs_deb_api_spec.rb +204 -0
- data/spec/api/distributions_apt_api_spec.rb +4 -4
- data/spec/api/remotes_apt_api_spec.rb +4 -4
- data/spec/api/repositories_apt_api_spec.rb +4 -4
- data/spec/models/deb_apt_alternate_content_source_response_spec.rb +78 -0
- data/spec/models/deb_apt_alternate_content_source_spec.rb +54 -0
- data/spec/models/deb_apt_repository_response_spec.rb +6 -0
- data/spec/models/deb_apt_repository_spec.rb +6 -0
- data/spec/models/paginateddeb_apt_alternate_content_source_response_list_spec.rb +54 -0
- data/spec/models/patcheddeb_apt_alternate_content_source_spec.rb +54 -0
- data/spec/models/patcheddeb_apt_repository_spec.rb +6 -0
- data/spec/models/task_group_operation_response_spec.rb +36 -0
- metadata +97 -73
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# PulpDebClient::DebAptAlternateContentSource
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **name** | **String** | Name of Alternate Content Source. | |
|
|
8
|
+
| **last_refreshed** | **Time** | Date of last refresh of AlternateContentSource. | [optional] |
|
|
9
|
+
| **paths** | **Array<String>** | List of paths that will be appended to the Remote url when searching for content. | [optional] |
|
|
10
|
+
| **remote** | **String** | The remote to provide alternate content source. | |
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'pulp_deb_client'
|
|
16
|
+
|
|
17
|
+
instance = PulpDebClient::DebAptAlternateContentSource.new(
|
|
18
|
+
name: null,
|
|
19
|
+
last_refreshed: null,
|
|
20
|
+
paths: null,
|
|
21
|
+
remote: null
|
|
22
|
+
)
|
|
23
|
+
```
|
|
24
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# PulpDebClient::DebAptAlternateContentSourceResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
|
8
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
9
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
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
|
+
| **name** | **String** | Name of Alternate Content Source. | |
|
|
12
|
+
| **last_refreshed** | **Time** | Date of last refresh of AlternateContentSource. | [optional] |
|
|
13
|
+
| **paths** | **Array<String>** | List of paths that will be appended to the Remote url when searching for content. | [optional] |
|
|
14
|
+
| **remote** | **String** | The remote to provide alternate content source. | |
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```ruby
|
|
19
|
+
require 'pulp_deb_client'
|
|
20
|
+
|
|
21
|
+
instance = PulpDebClient::DebAptAlternateContentSourceResponse.new(
|
|
22
|
+
pulp_href: null,
|
|
23
|
+
prn: null,
|
|
24
|
+
pulp_created: null,
|
|
25
|
+
pulp_last_updated: null,
|
|
26
|
+
name: null,
|
|
27
|
+
last_refreshed: null,
|
|
28
|
+
paths: null,
|
|
29
|
+
remote: null
|
|
30
|
+
)
|
|
31
|
+
```
|
|
32
|
+
|
data/docs/DebAptRepository.md
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
| **description** | **String** | An optional description. | [optional] |
|
|
10
10
|
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
|
11
11
|
| **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
|
|
12
|
+
| **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. Will create a standard structured APT publication. | [optional][default to false] |
|
|
12
13
|
| **publish_upstream_release_fields** | **Boolean** | Previously, pulp_deb only synced the Release file fields codename and suite, now version, origin, label, and description are also synced. Setting this setting to False will make Pulp revert to the old behaviour of using it's own internal values for the new fields during publish. This is primarily intended to avoid a sudden change in behaviour for existing Pulp repositories, since many Release file field changes need to be accepted by hosts consuming the published repository. The default for new repositories is True. | [optional] |
|
|
13
14
|
| **signing_service** | **String** | A reference to an associated signing service. Used if AptPublication.signing_service is not set | [optional] |
|
|
14
15
|
| **signing_service_release_overrides** | **Hash<String, String>** | A dictionary of Release distributions and the Signing Service URLs they should use.Example: {\"bionic\": \"/pulp/api/v3/signing-services/433a1f70-c589-4413-a803-c50b842ea9b5/\"} | [optional] |
|
|
@@ -24,6 +25,7 @@ instance = PulpDebClient::DebAptRepository.new(
|
|
|
24
25
|
description: null,
|
|
25
26
|
retain_repo_versions: null,
|
|
26
27
|
remote: null,
|
|
28
|
+
autopublish: null,
|
|
27
29
|
publish_upstream_release_fields: null,
|
|
28
30
|
signing_service: null,
|
|
29
31
|
signing_service_release_overrides: null
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
| **description** | **String** | An optional description. | [optional] |
|
|
16
16
|
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
|
17
17
|
| **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
|
|
18
|
+
| **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. Will create a standard structured APT publication. | [optional][default to false] |
|
|
18
19
|
| **publish_upstream_release_fields** | **Boolean** | Previously, pulp_deb only synced the Release file fields codename and suite, now version, origin, label, and description are also synced. Setting this setting to False will make Pulp revert to the old behaviour of using it's own internal values for the new fields during publish. This is primarily intended to avoid a sudden change in behaviour for existing Pulp repositories, since many Release file field changes need to be accepted by hosts consuming the published repository. The default for new repositories is True. | [optional] |
|
|
19
20
|
| **signing_service** | **String** | A reference to an associated signing service. Used if AptPublication.signing_service is not set | [optional] |
|
|
20
21
|
| **signing_service_release_overrides** | **Hash<String, String>** | A dictionary of Release distributions and the Signing Service URLs they should use.Example: {\"bionic\": \"/pulp/api/v3/signing-services/433a1f70-c589-4413-a803-c50b842ea9b5/\"} | [optional] |
|
|
@@ -36,6 +37,7 @@ instance = PulpDebClient::DebAptRepositoryResponse.new(
|
|
|
36
37
|
description: null,
|
|
37
38
|
retain_repo_versions: null,
|
|
38
39
|
remote: null,
|
|
40
|
+
autopublish: null,
|
|
39
41
|
publish_upstream_release_fields: null,
|
|
40
42
|
signing_service: null,
|
|
41
43
|
signing_service_release_overrides: null
|
data/docs/DistributionsAptApi.md
CHANGED
|
@@ -526,11 +526,11 @@ end
|
|
|
526
526
|
|
|
527
527
|
## partial_update
|
|
528
528
|
|
|
529
|
-
> <
|
|
529
|
+
> <DebAptDistributionResponse> partial_update(deb_apt_distribution_href, patcheddeb_apt_distribution, opts)
|
|
530
530
|
|
|
531
531
|
Update an apt distribution
|
|
532
532
|
|
|
533
|
-
|
|
533
|
+
Update the entity partially and trigger an asynchronous task if necessary
|
|
534
534
|
|
|
535
535
|
### Examples
|
|
536
536
|
|
|
@@ -564,7 +564,7 @@ end
|
|
|
564
564
|
|
|
565
565
|
This returns an Array which contains the response data, status code and headers.
|
|
566
566
|
|
|
567
|
-
> <Array(<
|
|
567
|
+
> <Array(<DebAptDistributionResponse>, Integer, Hash)> partial_update_with_http_info(deb_apt_distribution_href, patcheddeb_apt_distribution, opts)
|
|
568
568
|
|
|
569
569
|
```ruby
|
|
570
570
|
begin
|
|
@@ -572,7 +572,7 @@ begin
|
|
|
572
572
|
data, status_code, headers = api_instance.partial_update_with_http_info(deb_apt_distribution_href, patcheddeb_apt_distribution, opts)
|
|
573
573
|
p status_code # => 2xx
|
|
574
574
|
p headers # => { ... }
|
|
575
|
-
p data # => <
|
|
575
|
+
p data # => <DebAptDistributionResponse>
|
|
576
576
|
rescue PulpDebClient::ApiError => e
|
|
577
577
|
puts "Error when calling DistributionsAptApi->partial_update_with_http_info: #{e}"
|
|
578
578
|
end
|
|
@@ -588,7 +588,7 @@ end
|
|
|
588
588
|
|
|
589
589
|
### Return type
|
|
590
590
|
|
|
591
|
-
[**
|
|
591
|
+
[**DebAptDistributionResponse**](DebAptDistributionResponse.md)
|
|
592
592
|
|
|
593
593
|
### Authorization
|
|
594
594
|
|
|
@@ -908,11 +908,11 @@ end
|
|
|
908
908
|
|
|
909
909
|
## update
|
|
910
910
|
|
|
911
|
-
> <
|
|
911
|
+
> <DebAptDistributionResponse> update(deb_apt_distribution_href, deb_apt_distribution, opts)
|
|
912
912
|
|
|
913
913
|
Update an apt distribution
|
|
914
914
|
|
|
915
|
-
|
|
915
|
+
Update the entity and trigger an asynchronous task if necessary
|
|
916
916
|
|
|
917
917
|
### Examples
|
|
918
918
|
|
|
@@ -946,7 +946,7 @@ end
|
|
|
946
946
|
|
|
947
947
|
This returns an Array which contains the response data, status code and headers.
|
|
948
948
|
|
|
949
|
-
> <Array(<
|
|
949
|
+
> <Array(<DebAptDistributionResponse>, Integer, Hash)> update_with_http_info(deb_apt_distribution_href, deb_apt_distribution, opts)
|
|
950
950
|
|
|
951
951
|
```ruby
|
|
952
952
|
begin
|
|
@@ -954,7 +954,7 @@ begin
|
|
|
954
954
|
data, status_code, headers = api_instance.update_with_http_info(deb_apt_distribution_href, deb_apt_distribution, opts)
|
|
955
955
|
p status_code # => 2xx
|
|
956
956
|
p headers # => { ... }
|
|
957
|
-
p data # => <
|
|
957
|
+
p data # => <DebAptDistributionResponse>
|
|
958
958
|
rescue PulpDebClient::ApiError => e
|
|
959
959
|
puts "Error when calling DistributionsAptApi->update_with_http_info: #{e}"
|
|
960
960
|
end
|
|
@@ -970,7 +970,7 @@ end
|
|
|
970
970
|
|
|
971
971
|
### Return type
|
|
972
972
|
|
|
973
|
-
[**
|
|
973
|
+
[**DebAptDistributionResponse**](DebAptDistributionResponse.md)
|
|
974
974
|
|
|
975
975
|
### Authorization
|
|
976
976
|
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# PulpDebClient::PaginateddebAptAlternateContentSourceResponseList
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **count** | **Integer** | | |
|
|
8
|
+
| **_next** | **String** | | [optional] |
|
|
9
|
+
| **previous** | **String** | | [optional] |
|
|
10
|
+
| **results** | [**Array<DebAptAlternateContentSourceResponse>**](DebAptAlternateContentSourceResponse.md) | | |
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'pulp_deb_client'
|
|
16
|
+
|
|
17
|
+
instance = PulpDebClient::PaginateddebAptAlternateContentSourceResponseList.new(
|
|
18
|
+
count: 123,
|
|
19
|
+
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
|
20
|
+
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
|
21
|
+
results: null
|
|
22
|
+
)
|
|
23
|
+
```
|
|
24
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# PulpDebClient::PatcheddebAptAlternateContentSource
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **name** | **String** | Name of Alternate Content Source. | [optional] |
|
|
8
|
+
| **last_refreshed** | **Time** | Date of last refresh of AlternateContentSource. | [optional] |
|
|
9
|
+
| **paths** | **Array<String>** | List of paths that will be appended to the Remote url when searching for content. | [optional] |
|
|
10
|
+
| **remote** | **String** | The remote to provide alternate content source. | [optional] |
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```ruby
|
|
15
|
+
require 'pulp_deb_client'
|
|
16
|
+
|
|
17
|
+
instance = PulpDebClient::PatcheddebAptAlternateContentSource.new(
|
|
18
|
+
name: null,
|
|
19
|
+
last_refreshed: null,
|
|
20
|
+
paths: null,
|
|
21
|
+
remote: null
|
|
22
|
+
)
|
|
23
|
+
```
|
|
24
|
+
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
| **description** | **String** | An optional description. | [optional] |
|
|
10
10
|
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
|
11
11
|
| **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
|
|
12
|
+
| **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. Will create a standard structured APT publication. | [optional][default to false] |
|
|
12
13
|
| **publish_upstream_release_fields** | **Boolean** | Previously, pulp_deb only synced the Release file fields codename and suite, now version, origin, label, and description are also synced. Setting this setting to False will make Pulp revert to the old behaviour of using it's own internal values for the new fields during publish. This is primarily intended to avoid a sudden change in behaviour for existing Pulp repositories, since many Release file field changes need to be accepted by hosts consuming the published repository. The default for new repositories is True. | [optional] |
|
|
13
14
|
| **signing_service** | **String** | A reference to an associated signing service. Used if AptPublication.signing_service is not set | [optional] |
|
|
14
15
|
| **signing_service_release_overrides** | **Hash<String, String>** | A dictionary of Release distributions and the Signing Service URLs they should use.Example: {\"bionic\": \"/pulp/api/v3/signing-services/433a1f70-c589-4413-a803-c50b842ea9b5/\"} | [optional] |
|
|
@@ -24,6 +25,7 @@ instance = PulpDebClient::PatcheddebAptRepository.new(
|
|
|
24
25
|
description: null,
|
|
25
26
|
retain_repo_versions: null,
|
|
26
27
|
remote: null,
|
|
28
|
+
autopublish: null,
|
|
27
29
|
publish_upstream_release_fields: null,
|
|
28
30
|
signing_service: null,
|
|
29
31
|
signing_service_release_overrides: null
|
data/docs/RemotesAptApi.md
CHANGED
|
@@ -524,11 +524,11 @@ end
|
|
|
524
524
|
|
|
525
525
|
## partial_update
|
|
526
526
|
|
|
527
|
-
> <
|
|
527
|
+
> <DebAptRemoteResponse> partial_update(deb_apt_remote_href, patcheddeb_apt_remote, opts)
|
|
528
528
|
|
|
529
529
|
Update an apt remote
|
|
530
530
|
|
|
531
|
-
|
|
531
|
+
Update the entity partially and trigger an asynchronous task if necessary
|
|
532
532
|
|
|
533
533
|
### Examples
|
|
534
534
|
|
|
@@ -562,7 +562,7 @@ end
|
|
|
562
562
|
|
|
563
563
|
This returns an Array which contains the response data, status code and headers.
|
|
564
564
|
|
|
565
|
-
> <Array(<
|
|
565
|
+
> <Array(<DebAptRemoteResponse>, Integer, Hash)> partial_update_with_http_info(deb_apt_remote_href, patcheddeb_apt_remote, opts)
|
|
566
566
|
|
|
567
567
|
```ruby
|
|
568
568
|
begin
|
|
@@ -570,7 +570,7 @@ begin
|
|
|
570
570
|
data, status_code, headers = api_instance.partial_update_with_http_info(deb_apt_remote_href, patcheddeb_apt_remote, opts)
|
|
571
571
|
p status_code # => 2xx
|
|
572
572
|
p headers # => { ... }
|
|
573
|
-
p data # => <
|
|
573
|
+
p data # => <DebAptRemoteResponse>
|
|
574
574
|
rescue PulpDebClient::ApiError => e
|
|
575
575
|
puts "Error when calling RemotesAptApi->partial_update_with_http_info: #{e}"
|
|
576
576
|
end
|
|
@@ -586,7 +586,7 @@ end
|
|
|
586
586
|
|
|
587
587
|
### Return type
|
|
588
588
|
|
|
589
|
-
[**
|
|
589
|
+
[**DebAptRemoteResponse**](DebAptRemoteResponse.md)
|
|
590
590
|
|
|
591
591
|
### Authorization
|
|
592
592
|
|
|
@@ -906,11 +906,11 @@ end
|
|
|
906
906
|
|
|
907
907
|
## update
|
|
908
908
|
|
|
909
|
-
> <
|
|
909
|
+
> <DebAptRemoteResponse> update(deb_apt_remote_href, deb_apt_remote, opts)
|
|
910
910
|
|
|
911
911
|
Update an apt remote
|
|
912
912
|
|
|
913
|
-
|
|
913
|
+
Update the entity and trigger an asynchronous task if necessary
|
|
914
914
|
|
|
915
915
|
### Examples
|
|
916
916
|
|
|
@@ -944,7 +944,7 @@ end
|
|
|
944
944
|
|
|
945
945
|
This returns an Array which contains the response data, status code and headers.
|
|
946
946
|
|
|
947
|
-
> <Array(<
|
|
947
|
+
> <Array(<DebAptRemoteResponse>, Integer, Hash)> update_with_http_info(deb_apt_remote_href, deb_apt_remote, opts)
|
|
948
948
|
|
|
949
949
|
```ruby
|
|
950
950
|
begin
|
|
@@ -952,7 +952,7 @@ begin
|
|
|
952
952
|
data, status_code, headers = api_instance.update_with_http_info(deb_apt_remote_href, deb_apt_remote, opts)
|
|
953
953
|
p status_code # => 2xx
|
|
954
954
|
p headers # => { ... }
|
|
955
|
-
p data # => <
|
|
955
|
+
p data # => <DebAptRemoteResponse>
|
|
956
956
|
rescue PulpDebClient::ApiError => e
|
|
957
957
|
puts "Error when calling RemotesAptApi->update_with_http_info: #{e}"
|
|
958
958
|
end
|
|
@@ -968,7 +968,7 @@ end
|
|
|
968
968
|
|
|
969
969
|
### Return type
|
|
970
970
|
|
|
971
|
-
[**
|
|
971
|
+
[**DebAptRemoteResponse**](DebAptRemoteResponse.md)
|
|
972
972
|
|
|
973
973
|
### Authorization
|
|
974
974
|
|
data/docs/RepositoriesAptApi.md
CHANGED
|
@@ -610,11 +610,11 @@ end
|
|
|
610
610
|
|
|
611
611
|
## partial_update
|
|
612
612
|
|
|
613
|
-
> <
|
|
613
|
+
> <DebAptRepositoryResponse> partial_update(deb_apt_repository_href, patcheddeb_apt_repository, opts)
|
|
614
614
|
|
|
615
615
|
Update an apt repository
|
|
616
616
|
|
|
617
|
-
|
|
617
|
+
Update the entity partially and trigger an asynchronous task if necessary
|
|
618
618
|
|
|
619
619
|
### Examples
|
|
620
620
|
|
|
@@ -648,7 +648,7 @@ end
|
|
|
648
648
|
|
|
649
649
|
This returns an Array which contains the response data, status code and headers.
|
|
650
650
|
|
|
651
|
-
> <Array(<
|
|
651
|
+
> <Array(<DebAptRepositoryResponse>, Integer, Hash)> partial_update_with_http_info(deb_apt_repository_href, patcheddeb_apt_repository, opts)
|
|
652
652
|
|
|
653
653
|
```ruby
|
|
654
654
|
begin
|
|
@@ -656,7 +656,7 @@ begin
|
|
|
656
656
|
data, status_code, headers = api_instance.partial_update_with_http_info(deb_apt_repository_href, patcheddeb_apt_repository, opts)
|
|
657
657
|
p status_code # => 2xx
|
|
658
658
|
p headers # => { ... }
|
|
659
|
-
p data # => <
|
|
659
|
+
p data # => <DebAptRepositoryResponse>
|
|
660
660
|
rescue PulpDebClient::ApiError => e
|
|
661
661
|
puts "Error when calling RepositoriesAptApi->partial_update_with_http_info: #{e}"
|
|
662
662
|
end
|
|
@@ -672,7 +672,7 @@ end
|
|
|
672
672
|
|
|
673
673
|
### Return type
|
|
674
674
|
|
|
675
|
-
[**
|
|
675
|
+
[**DebAptRepositoryResponse**](DebAptRepositoryResponse.md)
|
|
676
676
|
|
|
677
677
|
### Authorization
|
|
678
678
|
|
|
@@ -1068,11 +1068,11 @@ end
|
|
|
1068
1068
|
|
|
1069
1069
|
## update
|
|
1070
1070
|
|
|
1071
|
-
> <
|
|
1071
|
+
> <DebAptRepositoryResponse> update(deb_apt_repository_href, deb_apt_repository, opts)
|
|
1072
1072
|
|
|
1073
1073
|
Update an apt repository
|
|
1074
1074
|
|
|
1075
|
-
|
|
1075
|
+
Update the entity and trigger an asynchronous task if necessary
|
|
1076
1076
|
|
|
1077
1077
|
### Examples
|
|
1078
1078
|
|
|
@@ -1106,7 +1106,7 @@ end
|
|
|
1106
1106
|
|
|
1107
1107
|
This returns an Array which contains the response data, status code and headers.
|
|
1108
1108
|
|
|
1109
|
-
> <Array(<
|
|
1109
|
+
> <Array(<DebAptRepositoryResponse>, Integer, Hash)> update_with_http_info(deb_apt_repository_href, deb_apt_repository, opts)
|
|
1110
1110
|
|
|
1111
1111
|
```ruby
|
|
1112
1112
|
begin
|
|
@@ -1114,7 +1114,7 @@ begin
|
|
|
1114
1114
|
data, status_code, headers = api_instance.update_with_http_info(deb_apt_repository_href, deb_apt_repository, opts)
|
|
1115
1115
|
p status_code # => 2xx
|
|
1116
1116
|
p headers # => { ... }
|
|
1117
|
-
p data # => <
|
|
1117
|
+
p data # => <DebAptRepositoryResponse>
|
|
1118
1118
|
rescue PulpDebClient::ApiError => e
|
|
1119
1119
|
puts "Error when calling RepositoriesAptApi->update_with_http_info: #{e}"
|
|
1120
1120
|
end
|
|
@@ -1130,7 +1130,7 @@ end
|
|
|
1130
1130
|
|
|
1131
1131
|
### Return type
|
|
1132
1132
|
|
|
1133
|
-
[**
|
|
1133
|
+
[**DebAptRepositoryResponse**](DebAptRepositoryResponse.md)
|
|
1134
1134
|
|
|
1135
1135
|
### Authorization
|
|
1136
1136
|
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# PulpDebClient::TaskGroupOperationResponse
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **task_group** | **String** | The href of the task group. | |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'pulp_deb_client'
|
|
13
|
+
|
|
14
|
+
instance = PulpDebClient::TaskGroupOperationResponse.new(
|
|
15
|
+
task_group: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|