pulp_deb_client 3.1.2 → 3.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/docs/ContentGenericContentsApi.md +1 -1
- data/docs/ContentInstallerFileIndicesApi.md +1 -1
- data/docs/ContentInstallerPackagesApi.md +1 -1
- data/docs/ContentPackageIndicesApi.md +1 -1
- data/docs/ContentPackageReleaseComponentsApi.md +1 -1
- data/docs/ContentPackagesApi.md +1 -1
- data/docs/ContentReleaseArchitecturesApi.md +4 -4
- data/docs/ContentReleaseComponentsApi.md +4 -4
- data/docs/ContentReleaseFilesApi.md +1 -1
- data/docs/ContentReleasesApi.md +1 -1
- data/docs/ContentSourceIndicesApi.md +1 -1
- data/docs/ContentSourcePackagesApi.md +1 -1
- data/docs/ContentSourceReleaseComponentsApi.md +1 -1
- data/docs/DebAptDistributionResponse.md +2 -0
- data/docs/DebAptPublicationResponse.md +2 -0
- data/docs/DebAptRemoteResponse.md +2 -2
- data/docs/DebAptRemoteResponseHiddenFields.md +2 -2
- data/docs/DebAptRepositoryResponse.md +2 -0
- data/docs/DebCopyApi.md +1 -1
- data/docs/DebGenericContentResponse.md +2 -0
- data/docs/DebInstallerFileIndexResponse.md +2 -0
- data/docs/DebInstallerPackageResponse.md +2 -0
- data/docs/DebPackageIndexResponse.md +2 -0
- data/docs/DebPackageReleaseComponentResponse.md +2 -0
- data/docs/DebPackageResponse.md +2 -0
- data/docs/DebReleaseArchitectureResponse.md +2 -0
- data/docs/DebReleaseComponentResponse.md +2 -0
- data/docs/DebReleaseFileResponse.md +2 -0
- data/docs/DebReleaseResponse.md +2 -0
- data/docs/DebSourceIndexResponse.md +2 -0
- data/docs/DebSourcePackageReleaseComponentResponse.md +2 -0
- data/docs/DebSourcePackageResponse.md +2 -0
- data/docs/DebVerbatimPublicationResponse.md +2 -0
- data/docs/DistributionsAptApi.md +1 -1
- data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
- data/docs/PaginateddebAptDistributionResponseList.md +2 -2
- data/docs/PaginateddebAptPublicationResponseList.md +2 -2
- data/docs/PaginateddebAptRemoteResponseList.md +2 -2
- data/docs/PaginateddebAptRepositoryResponseList.md +2 -2
- data/docs/PaginateddebGenericContentResponseList.md +2 -2
- data/docs/PaginateddebInstallerFileIndexResponseList.md +2 -2
- data/docs/PaginateddebInstallerPackageResponseList.md +2 -2
- data/docs/PaginateddebPackageIndexResponseList.md +2 -2
- data/docs/PaginateddebPackageReleaseComponentResponseList.md +2 -2
- data/docs/PaginateddebPackageResponseList.md +2 -2
- data/docs/PaginateddebReleaseArchitectureResponseList.md +2 -2
- data/docs/PaginateddebReleaseComponentResponseList.md +2 -2
- data/docs/PaginateddebReleaseFileResponseList.md +2 -2
- data/docs/PaginateddebReleaseResponseList.md +2 -2
- data/docs/PaginateddebSourceIndexResponseList.md +2 -2
- data/docs/PaginateddebSourcePackageReleaseComponentResponseList.md +2 -2
- data/docs/PaginateddebSourcePackageResponseList.md +2 -2
- data/docs/PaginateddebVerbatimPublicationResponseList.md +2 -2
- data/docs/PublicationsAptApi.md +1 -1
- data/docs/PublicationsVerbatimApi.md +1 -1
- data/docs/RemotesAptApi.md +1 -1
- data/docs/RepositoriesAptApi.md +1 -1
- data/docs/RepositoriesAptVersionsApi.md +1 -1
- data/docs/RepositoryVersionResponse.md +2 -0
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +5 -5
- data/lib/pulp_deb_client/api/content_release_components_api.rb +5 -5
- data/lib/pulp_deb_client/configuration.rb +2 -2
- data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_apt_remote.rb +20 -20
- data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +31 -31
- data/lib/pulp_deb_client/models/deb_apt_remote_response_hidden_fields.rb +10 -0
- data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_generic_content_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_installer_package_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_package_index_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_package_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_release_component_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_release_file_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_release_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_source_index_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_source_package_response.rb +11 -1
- data/lib/pulp_deb_client/models/deb_verbatim_publication_response.rb +11 -1
- data/lib/pulp_deb_client/models/paginated_repository_version_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_apt_distribution_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_apt_publication_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_apt_remote_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_apt_repository_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_generic_content_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_installer_file_index_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_installer_package_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_package_index_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_package_release_component_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_package_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_release_architecture_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_release_component_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_release_file_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_release_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_source_index_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_source_package_release_component_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_source_package_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/paginateddeb_verbatim_publication_response_list.rb +10 -0
- data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +20 -20
- data/lib/pulp_deb_client/models/repository_version_response.rb +11 -1
- data/lib/pulp_deb_client/version.rb +1 -1
- data/spec/api/content_release_architectures_api_spec.rb +2 -2
- data/spec/api/content_release_components_api_spec.rb +2 -2
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/deb_apt_distribution_response_spec.rb +6 -0
- data/spec/models/deb_apt_publication_response_spec.rb +6 -0
- data/spec/models/deb_apt_remote_response_spec.rb +6 -6
- data/spec/models/deb_apt_repository_response_spec.rb +6 -0
- 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_package_response_spec.rb +6 -0
- data/spec/models/deb_package_index_response_spec.rb +6 -0
- data/spec/models/deb_package_release_component_response_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_component_response_spec.rb +6 -0
- data/spec/models/deb_release_file_response_spec.rb +6 -0
- data/spec/models/deb_release_response_spec.rb +6 -0
- data/spec/models/deb_source_index_response_spec.rb +6 -0
- data/spec/models/deb_source_package_release_component_response_spec.rb +6 -0
- data/spec/models/deb_source_package_response_spec.rb +6 -0
- data/spec/models/deb_verbatim_publication_response_spec.rb +6 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +84 -84
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<DebAptRepositoryResponse>**](DebAptRepositoryResponse.md) | |
|
10
|
+
**results** | [**Array<DebAptRepositoryResponse>**](DebAptRepositoryResponse.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<DebGenericContentResponse>**](DebGenericContentResponse.md) | |
|
10
|
+
**results** | [**Array<DebGenericContentResponse>**](DebGenericContentResponse.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<DebInstallerFileIndexResponse>**](DebInstallerFileIndexResponse.md) | |
|
10
|
+
**results** | [**Array<DebInstallerFileIndexResponse>**](DebInstallerFileIndexResponse.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<DebInstallerPackageResponse>**](DebInstallerPackageResponse.md) | |
|
10
|
+
**results** | [**Array<DebInstallerPackageResponse>**](DebInstallerPackageResponse.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<DebPackageIndexResponse>**](DebPackageIndexResponse.md) | |
|
10
|
+
**results** | [**Array<DebPackageIndexResponse>**](DebPackageIndexResponse.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<DebPackageReleaseComponentResponse>**](DebPackageReleaseComponentResponse.md) | |
|
10
|
+
**results** | [**Array<DebPackageReleaseComponentResponse>**](DebPackageReleaseComponentResponse.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<DebPackageResponse>**](DebPackageResponse.md) | |
|
10
|
+
**results** | [**Array<DebPackageResponse>**](DebPackageResponse.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<DebReleaseArchitectureResponse>**](DebReleaseArchitectureResponse.md) | |
|
10
|
+
**results** | [**Array<DebReleaseArchitectureResponse>**](DebReleaseArchitectureResponse.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<DebReleaseComponentResponse>**](DebReleaseComponentResponse.md) | |
|
10
|
+
**results** | [**Array<DebReleaseComponentResponse>**](DebReleaseComponentResponse.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<DebReleaseFileResponse>**](DebReleaseFileResponse.md) | |
|
10
|
+
**results** | [**Array<DebReleaseFileResponse>**](DebReleaseFileResponse.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<DebReleaseResponse>**](DebReleaseResponse.md) | |
|
10
|
+
**results** | [**Array<DebReleaseResponse>**](DebReleaseResponse.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<DebSourceIndexResponse>**](DebSourceIndexResponse.md) | |
|
10
|
+
**results** | [**Array<DebSourceIndexResponse>**](DebSourceIndexResponse.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<DebSourcePackageReleaseComponentResponse>**](DebSourcePackageReleaseComponentResponse.md) | |
|
10
|
+
**results** | [**Array<DebSourcePackageReleaseComponentResponse>**](DebSourcePackageReleaseComponentResponse.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<DebSourcePackageResponse>**](DebSourcePackageResponse.md) | |
|
10
|
+
**results** | [**Array<DebSourcePackageResponse>**](DebSourcePackageResponse.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
@@ -4,10 +4,10 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**count** | **Integer** | |
|
7
|
+
**count** | **Integer** | |
|
8
8
|
**_next** | **String** | | [optional]
|
9
9
|
**previous** | **String** | | [optional]
|
10
|
-
**results** | [**Array<DebVerbatimPublicationResponse>**](DebVerbatimPublicationResponse.md) | |
|
10
|
+
**results** | [**Array<DebVerbatimPublicationResponse>**](DebVerbatimPublicationResponse.md) | |
|
11
11
|
|
12
12
|
## Code Sample
|
13
13
|
|
data/docs/PublicationsAptApi.md
CHANGED
data/docs/RemotesAptApi.md
CHANGED
data/docs/RepositoriesAptApi.md
CHANGED
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**pulp_last_updated** | **DateTime** | 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]
|
9
10
|
**number** | **Integer** | | [optional] [readonly]
|
10
11
|
**repository** | **String** | | [optional] [readonly]
|
11
12
|
**base_version** | **String** | A repository version whose content was used as the initial set of content for this repository version | [optional]
|
@@ -18,6 +19,7 @@ require 'PulpDebClient'
|
|
18
19
|
|
19
20
|
instance = PulpDebClient::RepositoryVersionResponse.new(pulp_href: null,
|
20
21
|
pulp_created: null,
|
22
|
+
pulp_last_updated: null,
|
21
23
|
number: null,
|
22
24
|
repository: null,
|
23
25
|
base_version: null,
|
@@ -20,20 +20,20 @@ module PulpDebClient
|
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
22
|
# Create a release architecture
|
23
|
-
#
|
23
|
+
# Trigger an asynchronous task to create content,optionally create new repository version.
|
24
24
|
# @param deb_release_architecture [DebReleaseArchitecture]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
-
# @return [
|
26
|
+
# @return [AsyncOperationResponse]
|
27
27
|
def create(deb_release_architecture, opts = {})
|
28
28
|
data, _status_code, _headers = create_with_http_info(deb_release_architecture, opts)
|
29
29
|
data
|
30
30
|
end
|
31
31
|
|
32
32
|
# Create a release architecture
|
33
|
-
#
|
33
|
+
# Trigger an asynchronous task to create content,optionally create new repository version.
|
34
34
|
# @param deb_release_architecture [DebReleaseArchitecture]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
|
-
# @return [Array<(
|
36
|
+
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
37
37
|
def create_with_http_info(deb_release_architecture, opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
39
|
@api_client.config.logger.debug 'Calling API: ContentReleaseArchitecturesApi.create ...'
|
@@ -62,7 +62,7 @@ module PulpDebClient
|
|
62
62
|
post_body = opts[:body] || @api_client.object_to_http_body(deb_release_architecture)
|
63
63
|
|
64
64
|
# return_type
|
65
|
-
return_type = opts[:return_type] || '
|
65
|
+
return_type = opts[:return_type] || 'AsyncOperationResponse'
|
66
66
|
|
67
67
|
# auth_names
|
68
68
|
auth_names = opts[:auth_names] || ['basicAuth']
|
@@ -20,20 +20,20 @@ module PulpDebClient
|
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
22
|
# Create a release component
|
23
|
-
#
|
23
|
+
# Trigger an asynchronous task to create content,optionally create new repository version.
|
24
24
|
# @param deb_release_component [DebReleaseComponent]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
-
# @return [
|
26
|
+
# @return [AsyncOperationResponse]
|
27
27
|
def create(deb_release_component, opts = {})
|
28
28
|
data, _status_code, _headers = create_with_http_info(deb_release_component, opts)
|
29
29
|
data
|
30
30
|
end
|
31
31
|
|
32
32
|
# Create a release component
|
33
|
-
#
|
33
|
+
# Trigger an asynchronous task to create content,optionally create new repository version.
|
34
34
|
# @param deb_release_component [DebReleaseComponent]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
|
-
# @return [Array<(
|
36
|
+
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
37
37
|
def create_with_http_info(deb_release_component, opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
39
|
@api_client.config.logger.debug 'Calling API: ContentReleaseComponentsApi.create ...'
|
@@ -62,7 +62,7 @@ module PulpDebClient
|
|
62
62
|
post_body = opts[:body] || @api_client.object_to_http_body(deb_release_component)
|
63
63
|
|
64
64
|
# return_type
|
65
|
-
return_type = opts[:return_type] || '
|
65
|
+
return_type = opts[:return_type] || 'AsyncOperationResponse'
|
66
66
|
|
67
67
|
# auth_names
|
68
68
|
auth_names = opts[:auth_names] || ['basicAuth']
|
@@ -128,7 +128,7 @@ module PulpDebClient
|
|
128
128
|
|
129
129
|
def initialize
|
130
130
|
@scheme = 'http'
|
131
|
-
@host = '
|
131
|
+
@host = 'localhost'
|
132
132
|
@base_path = ''
|
133
133
|
@api_key = {}
|
134
134
|
@api_key_prefix = {}
|
@@ -210,7 +210,7 @@ module PulpDebClient
|
|
210
210
|
def server_settings
|
211
211
|
[
|
212
212
|
{
|
213
|
-
url: "http://
|
213
|
+
url: "http://localhost:24817/",
|
214
214
|
description: "No description provided",
|
215
215
|
}
|
216
216
|
]
|
@@ -20,6 +20,9 @@ module PulpDebClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
22
|
|
23
|
+
# 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.
|
24
|
+
attr_accessor :pulp_last_updated
|
25
|
+
|
23
26
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
24
27
|
attr_accessor :base_path
|
25
28
|
|
@@ -48,6 +51,7 @@ module PulpDebClient
|
|
48
51
|
{
|
49
52
|
:'pulp_href' => :'pulp_href',
|
50
53
|
:'pulp_created' => :'pulp_created',
|
54
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
51
55
|
:'base_path' => :'base_path',
|
52
56
|
:'base_url' => :'base_url',
|
53
57
|
:'content_guard' => :'content_guard',
|
@@ -64,6 +68,7 @@ module PulpDebClient
|
|
64
68
|
{
|
65
69
|
:'pulp_href' => :'String',
|
66
70
|
:'pulp_created' => :'DateTime',
|
71
|
+
:'pulp_last_updated' => :'DateTime',
|
67
72
|
:'base_path' => :'String',
|
68
73
|
:'base_url' => :'String',
|
69
74
|
:'content_guard' => :'String',
|
@@ -107,6 +112,10 @@ module PulpDebClient
|
|
107
112
|
self.pulp_created = attributes[:'pulp_created']
|
108
113
|
end
|
109
114
|
|
115
|
+
if attributes.key?(:'pulp_last_updated')
|
116
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
117
|
+
end
|
118
|
+
|
110
119
|
if attributes.key?(:'base_path')
|
111
120
|
self.base_path = attributes[:'base_path']
|
112
121
|
end
|
@@ -174,6 +183,7 @@ module PulpDebClient
|
|
174
183
|
self.class == o.class &&
|
175
184
|
pulp_href == o.pulp_href &&
|
176
185
|
pulp_created == o.pulp_created &&
|
186
|
+
pulp_last_updated == o.pulp_last_updated &&
|
177
187
|
base_path == o.base_path &&
|
178
188
|
base_url == o.base_url &&
|
179
189
|
content_guard == o.content_guard &&
|
@@ -193,7 +203,7 @@ module PulpDebClient
|
|
193
203
|
# Calculates hash code according to all attributes.
|
194
204
|
# @return [Integer] Hash code
|
195
205
|
def hash
|
196
|
-
[pulp_href, pulp_created, base_path, base_url, content_guard, hidden, pulp_labels, name, repository, publication].hash
|
206
|
+
[pulp_href, pulp_created, pulp_last_updated, base_path, base_url, content_guard, hidden, pulp_labels, name, repository, publication].hash
|
197
207
|
end
|
198
208
|
|
199
209
|
# Builds the object from hash
|
@@ -20,6 +20,9 @@ module PulpDebClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
22
|
|
23
|
+
# 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.
|
24
|
+
attr_accessor :pulp_last_updated
|
25
|
+
|
23
26
|
attr_accessor :repository_version
|
24
27
|
|
25
28
|
# A URI of the repository to be published.
|
@@ -41,6 +44,7 @@ module PulpDebClient
|
|
41
44
|
{
|
42
45
|
:'pulp_href' => :'pulp_href',
|
43
46
|
:'pulp_created' => :'pulp_created',
|
47
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
44
48
|
:'repository_version' => :'repository_version',
|
45
49
|
:'repository' => :'repository',
|
46
50
|
:'simple' => :'simple',
|
@@ -55,6 +59,7 @@ module PulpDebClient
|
|
55
59
|
{
|
56
60
|
:'pulp_href' => :'String',
|
57
61
|
:'pulp_created' => :'DateTime',
|
62
|
+
:'pulp_last_updated' => :'DateTime',
|
58
63
|
:'repository_version' => :'String',
|
59
64
|
:'repository' => :'String',
|
60
65
|
:'simple' => :'Boolean',
|
@@ -93,6 +98,10 @@ module PulpDebClient
|
|
93
98
|
self.pulp_created = attributes[:'pulp_created']
|
94
99
|
end
|
95
100
|
|
101
|
+
if attributes.key?(:'pulp_last_updated')
|
102
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
103
|
+
end
|
104
|
+
|
96
105
|
if attributes.key?(:'repository_version')
|
97
106
|
self.repository_version = attributes[:'repository_version']
|
98
107
|
end
|
@@ -142,6 +151,7 @@ module PulpDebClient
|
|
142
151
|
self.class == o.class &&
|
143
152
|
pulp_href == o.pulp_href &&
|
144
153
|
pulp_created == o.pulp_created &&
|
154
|
+
pulp_last_updated == o.pulp_last_updated &&
|
145
155
|
repository_version == o.repository_version &&
|
146
156
|
repository == o.repository &&
|
147
157
|
simple == o.simple &&
|
@@ -159,7 +169,7 @@ module PulpDebClient
|
|
159
169
|
# Calculates hash code according to all attributes.
|
160
170
|
# @return [Integer] Hash code
|
161
171
|
def hash
|
162
|
-
[pulp_href, pulp_created, repository_version, repository, simple, structured, signing_service, publish_upstream_release_fields].hash
|
172
|
+
[pulp_href, pulp_created, pulp_last_updated, repository_version, repository, simple, structured, signing_service, publish_upstream_release_fields].hash
|
163
173
|
end
|
164
174
|
|
165
175
|
# Builds the object from hash
|
@@ -387,20 +387,20 @@ module PulpDebClient
|
|
387
387
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
388
388
|
end
|
389
389
|
|
390
|
-
if !@total_timeout.nil? && @total_timeout < 0
|
391
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.
|
390
|
+
if !@total_timeout.nil? && @total_timeout < 0
|
391
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
392
392
|
end
|
393
393
|
|
394
|
-
if !@connect_timeout.nil? && @connect_timeout < 0
|
395
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.
|
394
|
+
if !@connect_timeout.nil? && @connect_timeout < 0
|
395
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
396
396
|
end
|
397
397
|
|
398
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
399
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
398
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
399
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
|
400
400
|
end
|
401
401
|
|
402
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
403
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
402
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
403
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
404
404
|
end
|
405
405
|
|
406
406
|
if @distributions.nil?
|
@@ -442,10 +442,10 @@ module PulpDebClient
|
|
442
442
|
return false if !@username.nil? && @username.to_s.length < 1
|
443
443
|
return false if !@password.nil? && @password.to_s.length < 1
|
444
444
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
445
|
-
return false if !@total_timeout.nil? && @total_timeout < 0
|
446
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
447
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
448
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
445
|
+
return false if !@total_timeout.nil? && @total_timeout < 0
|
446
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
447
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
448
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
449
449
|
return false if @distributions.nil?
|
450
450
|
return false if @distributions.to_s.length < 1
|
451
451
|
return false if !@components.nil? && @components.to_s.length < 1
|
@@ -575,8 +575,8 @@ module PulpDebClient
|
|
575
575
|
# Custom attribute writer method with validation
|
576
576
|
# @param [Object] total_timeout Value to be assigned
|
577
577
|
def total_timeout=(total_timeout)
|
578
|
-
if !total_timeout.nil? && total_timeout < 0
|
579
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.
|
578
|
+
if !total_timeout.nil? && total_timeout < 0
|
579
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
580
580
|
end
|
581
581
|
|
582
582
|
@total_timeout = total_timeout
|
@@ -585,8 +585,8 @@ module PulpDebClient
|
|
585
585
|
# Custom attribute writer method with validation
|
586
586
|
# @param [Object] connect_timeout Value to be assigned
|
587
587
|
def connect_timeout=(connect_timeout)
|
588
|
-
if !connect_timeout.nil? && connect_timeout < 0
|
589
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.
|
588
|
+
if !connect_timeout.nil? && connect_timeout < 0
|
589
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
590
590
|
end
|
591
591
|
|
592
592
|
@connect_timeout = connect_timeout
|
@@ -595,8 +595,8 @@ module PulpDebClient
|
|
595
595
|
# Custom attribute writer method with validation
|
596
596
|
# @param [Object] sock_connect_timeout Value to be assigned
|
597
597
|
def sock_connect_timeout=(sock_connect_timeout)
|
598
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
599
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
598
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
599
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
|
600
600
|
end
|
601
601
|
|
602
602
|
@sock_connect_timeout = sock_connect_timeout
|
@@ -605,8 +605,8 @@ module PulpDebClient
|
|
605
605
|
# Custom attribute writer method with validation
|
606
606
|
# @param [Object] sock_read_timeout Value to be assigned
|
607
607
|
def sock_read_timeout=(sock_read_timeout)
|
608
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
609
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
608
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
609
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
610
610
|
end
|
611
611
|
|
612
612
|
@sock_read_timeout = sock_read_timeout
|