pulp_deb_client 3.1.2 → 3.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/ContentReleaseArchitecturesApi.md +3 -3
  4. data/docs/ContentReleaseComponentsApi.md +3 -3
  5. data/docs/ContentReleasesApi.md +3 -3
  6. data/docs/Copy.md +1 -1
  7. data/docs/DebAptDistributionResponse.md +2 -0
  8. data/docs/DebAptPublicationResponse.md +2 -0
  9. data/docs/DebAptRemoteResponse.md +2 -2
  10. data/docs/DebAptRemoteResponseHiddenFields.md +2 -2
  11. data/docs/DebAptRepositoryResponse.md +2 -0
  12. data/docs/DebGenericContentResponse.md +2 -0
  13. data/docs/DebInstallerFileIndexResponse.md +2 -0
  14. data/docs/DebInstallerPackageResponse.md +2 -0
  15. data/docs/DebPackageIndexResponse.md +2 -0
  16. data/docs/DebPackageReleaseComponentResponse.md +2 -0
  17. data/docs/DebPackageResponse.md +2 -0
  18. data/docs/DebRelease.md +5 -1
  19. data/docs/DebReleaseArchitectureResponse.md +2 -0
  20. data/docs/DebReleaseComponentResponse.md +2 -0
  21. data/docs/DebReleaseFileResponse.md +2 -0
  22. data/docs/DebReleaseResponse.md +7 -1
  23. data/docs/DebSourceIndexResponse.md +2 -0
  24. data/docs/DebSourcePackageReleaseComponentResponse.md +2 -0
  25. data/docs/DebSourcePackageResponse.md +2 -0
  26. data/docs/DebVerbatimPublicationResponse.md +2 -0
  27. data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
  28. data/docs/PaginateddebAptDistributionResponseList.md +2 -2
  29. data/docs/PaginateddebAptPublicationResponseList.md +2 -2
  30. data/docs/PaginateddebAptRemoteResponseList.md +2 -2
  31. data/docs/PaginateddebAptRepositoryResponseList.md +2 -2
  32. data/docs/PaginateddebGenericContentResponseList.md +2 -2
  33. data/docs/PaginateddebInstallerFileIndexResponseList.md +2 -2
  34. data/docs/PaginateddebInstallerPackageResponseList.md +2 -2
  35. data/docs/PaginateddebPackageIndexResponseList.md +2 -2
  36. data/docs/PaginateddebPackageReleaseComponentResponseList.md +2 -2
  37. data/docs/PaginateddebPackageResponseList.md +2 -2
  38. data/docs/PaginateddebReleaseArchitectureResponseList.md +2 -2
  39. data/docs/PaginateddebReleaseComponentResponseList.md +2 -2
  40. data/docs/PaginateddebReleaseFileResponseList.md +2 -2
  41. data/docs/PaginateddebReleaseResponseList.md +2 -2
  42. data/docs/PaginateddebSourceIndexResponseList.md +2 -2
  43. data/docs/PaginateddebSourcePackageReleaseComponentResponseList.md +2 -2
  44. data/docs/PaginateddebSourcePackageResponseList.md +2 -2
  45. data/docs/PaginateddebVerbatimPublicationResponseList.md +2 -2
  46. data/docs/RepositoryVersionResponse.md +2 -0
  47. data/lib/pulp_deb_client/api/content_release_architectures_api.rb +5 -5
  48. data/lib/pulp_deb_client/api/content_release_components_api.rb +5 -5
  49. data/lib/pulp_deb_client/api/content_releases_api.rb +5 -5
  50. data/lib/pulp_deb_client/models/copy.rb +1 -1
  51. data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +11 -1
  52. data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +11 -1
  53. data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +11 -11
  54. data/lib/pulp_deb_client/models/deb_apt_remote_response_hidden_fields.rb +10 -0
  55. data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +11 -1
  56. data/lib/pulp_deb_client/models/deb_generic_content_response.rb +11 -1
  57. data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +11 -1
  58. data/lib/pulp_deb_client/models/deb_installer_package_response.rb +11 -1
  59. data/lib/pulp_deb_client/models/deb_package_index_response.rb +11 -1
  60. data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +11 -1
  61. data/lib/pulp_deb_client/models/deb_package_response.rb +11 -1
  62. data/lib/pulp_deb_client/models/deb_release.rb +27 -5
  63. data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +11 -1
  64. data/lib/pulp_deb_client/models/deb_release_component_response.rb +11 -1
  65. data/lib/pulp_deb_client/models/deb_release_file_response.rb +11 -1
  66. data/lib/pulp_deb_client/models/deb_release_response.rb +37 -5
  67. data/lib/pulp_deb_client/models/deb_source_index_response.rb +11 -1
  68. data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +11 -1
  69. data/lib/pulp_deb_client/models/deb_source_package_response.rb +11 -1
  70. data/lib/pulp_deb_client/models/deb_verbatim_publication_response.rb +11 -1
  71. data/lib/pulp_deb_client/models/paginated_repository_version_response_list.rb +10 -0
  72. data/lib/pulp_deb_client/models/paginateddeb_apt_distribution_response_list.rb +10 -0
  73. data/lib/pulp_deb_client/models/paginateddeb_apt_publication_response_list.rb +10 -0
  74. data/lib/pulp_deb_client/models/paginateddeb_apt_remote_response_list.rb +10 -0
  75. data/lib/pulp_deb_client/models/paginateddeb_apt_repository_response_list.rb +10 -0
  76. data/lib/pulp_deb_client/models/paginateddeb_generic_content_response_list.rb +10 -0
  77. data/lib/pulp_deb_client/models/paginateddeb_installer_file_index_response_list.rb +10 -0
  78. data/lib/pulp_deb_client/models/paginateddeb_installer_package_response_list.rb +10 -0
  79. data/lib/pulp_deb_client/models/paginateddeb_package_index_response_list.rb +10 -0
  80. data/lib/pulp_deb_client/models/paginateddeb_package_release_component_response_list.rb +10 -0
  81. data/lib/pulp_deb_client/models/paginateddeb_package_response_list.rb +10 -0
  82. data/lib/pulp_deb_client/models/paginateddeb_release_architecture_response_list.rb +10 -0
  83. data/lib/pulp_deb_client/models/paginateddeb_release_component_response_list.rb +10 -0
  84. data/lib/pulp_deb_client/models/paginateddeb_release_file_response_list.rb +10 -0
  85. data/lib/pulp_deb_client/models/paginateddeb_release_response_list.rb +10 -0
  86. data/lib/pulp_deb_client/models/paginateddeb_source_index_response_list.rb +10 -0
  87. data/lib/pulp_deb_client/models/paginateddeb_source_package_release_component_response_list.rb +10 -0
  88. data/lib/pulp_deb_client/models/paginateddeb_source_package_response_list.rb +10 -0
  89. data/lib/pulp_deb_client/models/paginateddeb_verbatim_publication_response_list.rb +10 -0
  90. data/lib/pulp_deb_client/models/repository_version_response.rb +11 -1
  91. data/lib/pulp_deb_client/version.rb +1 -1
  92. data/spec/api/content_release_architectures_api_spec.rb +2 -2
  93. data/spec/api/content_release_components_api_spec.rb +2 -2
  94. data/spec/api/content_releases_api_spec.rb +2 -2
  95. data/spec/models/deb_apt_distribution_response_spec.rb +6 -0
  96. data/spec/models/deb_apt_publication_response_spec.rb +6 -0
  97. data/spec/models/deb_apt_remote_response_spec.rb +6 -6
  98. data/spec/models/deb_apt_repository_response_spec.rb +6 -0
  99. data/spec/models/deb_generic_content_response_spec.rb +6 -0
  100. data/spec/models/deb_installer_file_index_response_spec.rb +6 -0
  101. data/spec/models/deb_installer_package_response_spec.rb +6 -0
  102. data/spec/models/deb_package_index_response_spec.rb +6 -0
  103. data/spec/models/deb_package_release_component_response_spec.rb +6 -0
  104. data/spec/models/deb_package_response_spec.rb +6 -0
  105. data/spec/models/deb_release_architecture_response_spec.rb +6 -0
  106. data/spec/models/deb_release_component_response_spec.rb +6 -0
  107. data/spec/models/deb_release_file_response_spec.rb +6 -0
  108. data/spec/models/deb_release_response_spec.rb +18 -0
  109. data/spec/models/deb_release_spec.rb +12 -0
  110. data/spec/models/deb_source_index_response_spec.rb +6 -0
  111. data/spec/models/deb_source_package_release_component_response_spec.rb +6 -0
  112. data/spec/models/deb_source_package_response_spec.rb +6 -0
  113. data/spec/models/deb_verbatim_publication_response_spec.rb +6 -0
  114. data/spec/models/repository_version_response_spec.rb +6 -0
  115. metadata +73 -73
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | | [optional]
7
+ **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<DebPackageReleaseComponentResponse>**](DebPackageReleaseComponentResponse.md) | | [optional]
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** | | [optional]
7
+ **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<DebPackageResponse>**](DebPackageResponse.md) | | [optional]
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** | | [optional]
7
+ **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<DebReleaseArchitectureResponse>**](DebReleaseArchitectureResponse.md) | | [optional]
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** | | [optional]
7
+ **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<DebReleaseComponentResponse>**](DebReleaseComponentResponse.md) | | [optional]
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** | | [optional]
7
+ **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<DebReleaseFileResponse>**](DebReleaseFileResponse.md) | | [optional]
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** | | [optional]
7
+ **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<DebReleaseResponse>**](DebReleaseResponse.md) | | [optional]
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** | | [optional]
7
+ **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<DebSourceIndexResponse>**](DebSourceIndexResponse.md) | | [optional]
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** | | [optional]
7
+ **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<DebSourcePackageReleaseComponentResponse>**](DebSourcePackageReleaseComponentResponse.md) | | [optional]
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** | | [optional]
7
+ **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<DebSourcePackageResponse>**](DebSourcePackageResponse.md) | | [optional]
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** | | [optional]
7
+ **count** | **Integer** | |
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<DebVerbatimPublicationResponse>**](DebVerbatimPublicationResponse.md) | | [optional]
10
+ **results** | [**Array<DebVerbatimPublicationResponse>**](DebVerbatimPublicationResponse.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -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
- # A ReleaseArchitecture represents a single dpkg architecture string. Associated artifacts: None; contains only metadata. Every ReleaseArchitecture is always associated with exactly one Release. This indicates that the release/distribution in question supports this architecture.
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 [DebReleaseArchitectureResponse]
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
- # A ReleaseArchitecture represents a single dpkg architecture string. Associated artifacts: None; contains only metadata. Every ReleaseArchitecture is always associated with exactly one Release. This indicates that the release/distribution in question supports this architecture.
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<(DebReleaseArchitectureResponse, Integer, Hash)>] DebReleaseArchitectureResponse data, response status code and response headers
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] || 'DebReleaseArchitectureResponse'
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
- # A ReleaseComponent represents a single APT repository component. Associated artifacts: None; contains only metadata.
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 [DebReleaseComponentResponse]
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
- # A ReleaseComponent represents a single APT repository component. Associated artifacts: None; contains only metadata.
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<(DebReleaseComponentResponse, Integer, Hash)>] DebReleaseComponentResponse data, response status code and response headers
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] || 'DebReleaseComponentResponse'
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
23
- # The Release contains release file fields, that are not relevant to the APT repo structure. Associated artifacts: None; contains only metadata. By non-structure relevant release file fields, we mean anything other than the Components and Architectures fields. These are handled by their own models and are not part of this model. Note that the distribution field is part of this model, but is not added to any published release files. The \"distribution\" is defined as the path between 'dists/' and some 'Release' file. As such, it encodes the path to the relevant release file within the APT repository. It is often (but not always) equal to the \"codename\" or the \"suite\".
23
+ # Trigger an asynchronous task to create content,optionally create new repository version.
24
24
  # @param deb_release [DebRelease]
25
25
  # @param [Hash] opts the optional parameters
26
- # @return [DebReleaseResponse]
26
+ # @return [AsyncOperationResponse]
27
27
  def create(deb_release, opts = {})
28
28
  data, _status_code, _headers = create_with_http_info(deb_release, opts)
29
29
  data
30
30
  end
31
31
 
32
32
  # Create a release
33
- # The Release contains release file fields, that are not relevant to the APT repo structure. Associated artifacts: None; contains only metadata. By non-structure relevant release file fields, we mean anything other than the Components and Architectures fields. These are handled by their own models and are not part of this model. Note that the distribution field is part of this model, but is not added to any published release files. The \&quot;distribution\&quot; is defined as the path between &#39;dists/&#39; and some &#39;Release&#39; file. As such, it encodes the path to the relevant release file within the APT repository. It is often (but not always) equal to the \&quot;codename\&quot; or the \&quot;suite\&quot;.
33
+ # Trigger an asynchronous task to create content,optionally create new repository version.
34
34
  # @param deb_release [DebRelease]
35
35
  # @param [Hash] opts the optional parameters
36
- # @return [Array<(DebReleaseResponse, Integer, Hash)>] DebReleaseResponse data, response status code and response headers
36
+ # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
37
37
  def create_with_http_info(deb_release, opts = {})
38
38
  if @api_client.config.debugging
39
39
  @api_client.config.logger.debug 'Calling API: ContentReleasesApi.create ...'
@@ -62,7 +62,7 @@ module PulpDebClient
62
62
  post_body = opts[:body] || @api_client.object_to_http_body(deb_release)
63
63
 
64
64
  # return_type
65
- return_type = opts[:return_type] || 'DebReleaseResponse'
65
+ return_type = opts[:return_type] || 'AsyncOperationResponse'
66
66
 
67
67
  # auth_names
68
68
  auth_names = opts[:auth_names] || ['basicAuth']
@@ -36,7 +36,7 @@ module PulpDebClient
36
36
  # Attribute type mapping.
37
37
  def self.openapi_types
38
38
  {
39
- :'config' => :'Object',
39
+ :'config' => :'AnyType',
40
40
  :'structured' => :'Boolean',
41
41
  :'dependency_solving' => :'Boolean'
42
42
  }
@@ -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
@@ -20,6 +20,9 @@ module PulpDebClient
20
20
  # Timestamp of creation.
21
21
  attr_accessor :pulp_created
22
22
 
23
+ # Timestamp of the most recent update of the remote.
24
+ attr_accessor :pulp_last_updated
25
+
23
26
  # A unique name for this remote.
24
27
  attr_accessor :name
25
28
 
@@ -40,9 +43,6 @@ module PulpDebClient
40
43
 
41
44
  attr_accessor :pulp_labels
42
45
 
43
- # Timestamp of the most recent update of the remote.
44
- attr_accessor :pulp_last_updated
45
-
46
46
  # Total number of simultaneous connections. If not set then the default value will be used.
47
47
  attr_accessor :download_concurrency
48
48
 
@@ -102,6 +102,7 @@ module PulpDebClient
102
102
  {
103
103
  :'pulp_href' => :'pulp_href',
104
104
  :'pulp_created' => :'pulp_created',
105
+ :'pulp_last_updated' => :'pulp_last_updated',
105
106
  :'name' => :'name',
106
107
  :'url' => :'url',
107
108
  :'ca_cert' => :'ca_cert',
@@ -109,7 +110,6 @@ module PulpDebClient
109
110
  :'tls_validation' => :'tls_validation',
110
111
  :'proxy_url' => :'proxy_url',
111
112
  :'pulp_labels' => :'pulp_labels',
112
- :'pulp_last_updated' => :'pulp_last_updated',
113
113
  :'download_concurrency' => :'download_concurrency',
114
114
  :'max_retries' => :'max_retries',
115
115
  :'policy' => :'policy',
@@ -136,6 +136,7 @@ module PulpDebClient
136
136
  {
137
137
  :'pulp_href' => :'String',
138
138
  :'pulp_created' => :'DateTime',
139
+ :'pulp_last_updated' => :'DateTime',
139
140
  :'name' => :'String',
140
141
  :'url' => :'String',
141
142
  :'ca_cert' => :'String',
@@ -143,7 +144,6 @@ module PulpDebClient
143
144
  :'tls_validation' => :'Boolean',
144
145
  :'proxy_url' => :'String',
145
146
  :'pulp_labels' => :'Hash<String, String>',
146
- :'pulp_last_updated' => :'DateTime',
147
147
  :'download_concurrency' => :'Integer',
148
148
  :'max_retries' => :'Integer',
149
149
  :'policy' => :'PolicyEnum',
@@ -207,6 +207,10 @@ module PulpDebClient
207
207
  self.pulp_created = attributes[:'pulp_created']
208
208
  end
209
209
 
210
+ if attributes.key?(:'pulp_last_updated')
211
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
212
+ end
213
+
210
214
  if attributes.key?(:'name')
211
215
  self.name = attributes[:'name']
212
216
  end
@@ -237,10 +241,6 @@ module PulpDebClient
237
241
  end
238
242
  end
239
243
 
240
- if attributes.key?(:'pulp_last_updated')
241
- self.pulp_last_updated = attributes[:'pulp_last_updated']
242
- end
243
-
244
244
  if attributes.key?(:'download_concurrency')
245
245
  self.download_concurrency = attributes[:'download_concurrency']
246
246
  end
@@ -428,6 +428,7 @@ module PulpDebClient
428
428
  self.class == o.class &&
429
429
  pulp_href == o.pulp_href &&
430
430
  pulp_created == o.pulp_created &&
431
+ pulp_last_updated == o.pulp_last_updated &&
431
432
  name == o.name &&
432
433
  url == o.url &&
433
434
  ca_cert == o.ca_cert &&
@@ -435,7 +436,6 @@ module PulpDebClient
435
436
  tls_validation == o.tls_validation &&
436
437
  proxy_url == o.proxy_url &&
437
438
  pulp_labels == o.pulp_labels &&
438
- pulp_last_updated == o.pulp_last_updated &&
439
439
  download_concurrency == o.download_concurrency &&
440
440
  max_retries == o.max_retries &&
441
441
  policy == o.policy &&
@@ -465,7 +465,7 @@ module PulpDebClient
465
465
  # Calculates hash code according to all attributes.
466
466
  # @return [Integer] Hash code
467
467
  def hash
468
- [pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, pulp_last_updated, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, hidden_fields, distributions, components, architectures, sync_sources, sync_udebs, sync_installer, gpgkey, ignore_missing_package_indices].hash
468
+ [pulp_href, pulp_created, pulp_last_updated, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, hidden_fields, distributions, components, architectures, sync_sources, sync_udebs, sync_installer, gpgkey, ignore_missing_package_indices].hash
469
469
  end
470
470
 
471
471
  # Builds the object from hash
@@ -68,12 +68,22 @@ module PulpDebClient
68
68
  # @return Array for valid properties with the reasons
69
69
  def list_invalid_properties
70
70
  invalid_properties = Array.new
71
+ if @name.nil?
72
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
73
+ end
74
+
75
+ if @is_set.nil?
76
+ invalid_properties.push('invalid value for "is_set", is_set cannot be nil.')
77
+ end
78
+
71
79
  invalid_properties
72
80
  end
73
81
 
74
82
  # Check to see if the all the properties in the model are valid
75
83
  # @return true if the model is valid
76
84
  def valid?
85
+ return false if @name.nil?
86
+ return false if @is_set.nil?
77
87
  true
78
88
  end
79
89
 
@@ -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 :versions_href
24
27
 
25
28
  attr_accessor :pulp_labels
@@ -52,6 +55,7 @@ module PulpDebClient
52
55
  {
53
56
  :'pulp_href' => :'pulp_href',
54
57
  :'pulp_created' => :'pulp_created',
58
+ :'pulp_last_updated' => :'pulp_last_updated',
55
59
  :'versions_href' => :'versions_href',
56
60
  :'pulp_labels' => :'pulp_labels',
57
61
  :'latest_version_href' => :'latest_version_href',
@@ -70,6 +74,7 @@ module PulpDebClient
70
74
  {
71
75
  :'pulp_href' => :'String',
72
76
  :'pulp_created' => :'DateTime',
77
+ :'pulp_last_updated' => :'DateTime',
73
78
  :'versions_href' => :'String',
74
79
  :'pulp_labels' => :'Hash<String, String>',
75
80
  :'latest_version_href' => :'String',
@@ -116,6 +121,10 @@ module PulpDebClient
116
121
  self.pulp_created = attributes[:'pulp_created']
117
122
  end
118
123
 
124
+ if attributes.key?(:'pulp_last_updated')
125
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
126
+ end
127
+
119
128
  if attributes.key?(:'versions_href')
120
129
  self.versions_href = attributes[:'versions_href']
121
130
  end
@@ -201,6 +210,7 @@ module PulpDebClient
201
210
  self.class == o.class &&
202
211
  pulp_href == o.pulp_href &&
203
212
  pulp_created == o.pulp_created &&
213
+ pulp_last_updated == o.pulp_last_updated &&
204
214
  versions_href == o.versions_href &&
205
215
  pulp_labels == o.pulp_labels &&
206
216
  latest_version_href == o.latest_version_href &&
@@ -222,7 +232,7 @@ module PulpDebClient
222
232
  # Calculates hash code according to all attributes.
223
233
  # @return [Integer] Hash code
224
234
  def hash
225
- [pulp_href, pulp_created, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, publish_upstream_release_fields, signing_service, signing_service_release_overrides].hash
235
+ [pulp_href, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, publish_upstream_release_fields, signing_service, signing_service_release_overrides].hash
226
236
  end
227
237
 
228
238
  # 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
  # Artifact file representing the physical content
24
27
  attr_accessor :artifact
25
28
 
@@ -49,6 +52,7 @@ module PulpDebClient
49
52
  {
50
53
  :'pulp_href' => :'pulp_href',
51
54
  :'pulp_created' => :'pulp_created',
55
+ :'pulp_last_updated' => :'pulp_last_updated',
52
56
  :'artifact' => :'artifact',
53
57
  :'relative_path' => :'relative_path',
54
58
  :'md5' => :'md5',
@@ -65,6 +69,7 @@ module PulpDebClient
65
69
  {
66
70
  :'pulp_href' => :'String',
67
71
  :'pulp_created' => :'DateTime',
72
+ :'pulp_last_updated' => :'DateTime',
68
73
  :'artifact' => :'String',
69
74
  :'relative_path' => :'String',
70
75
  :'md5' => :'String',
@@ -105,6 +110,10 @@ module PulpDebClient
105
110
  self.pulp_created = attributes[:'pulp_created']
106
111
  end
107
112
 
113
+ if attributes.key?(:'pulp_last_updated')
114
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
115
+ end
116
+
108
117
  if attributes.key?(:'artifact')
109
118
  self.artifact = attributes[:'artifact']
110
119
  end
@@ -163,6 +172,7 @@ module PulpDebClient
163
172
  self.class == o.class &&
164
173
  pulp_href == o.pulp_href &&
165
174
  pulp_created == o.pulp_created &&
175
+ pulp_last_updated == o.pulp_last_updated &&
166
176
  artifact == o.artifact &&
167
177
  relative_path == o.relative_path &&
168
178
  md5 == o.md5 &&
@@ -182,7 +192,7 @@ module PulpDebClient
182
192
  # Calculates hash code according to all attributes.
183
193
  # @return [Integer] Hash code
184
194
  def hash
185
- [pulp_href, pulp_created, artifact, relative_path, md5, sha1, sha224, sha256, sha384, sha512].hash
195
+ [pulp_href, pulp_created, pulp_last_updated, artifact, relative_path, md5, sha1, sha224, sha256, sha384, sha512].hash
186
196
  end
187
197
 
188
198
  # Builds the object from hash