pulp_deb_client 3.2.0 → 3.2.1

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.
Files changed (125) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/docs/ContentGenericContentsApi.md +1 -1
  4. data/docs/ContentInstallerFileIndicesApi.md +1 -1
  5. data/docs/ContentInstallerPackagesApi.md +1 -1
  6. data/docs/ContentPackageIndicesApi.md +1 -1
  7. data/docs/ContentPackageReleaseComponentsApi.md +1 -1
  8. data/docs/ContentPackagesApi.md +1 -1
  9. data/docs/ContentReleaseArchitecturesApi.md +1 -1
  10. data/docs/ContentReleaseComponentsApi.md +1 -1
  11. data/docs/ContentReleaseFilesApi.md +1 -1
  12. data/docs/ContentReleasesApi.md +1 -1
  13. data/docs/ContentSourceIndicesApi.md +1 -1
  14. data/docs/ContentSourcePackagesApi.md +1 -1
  15. data/docs/ContentSourceReleaseComponentsApi.md +1 -1
  16. data/docs/DebAptDistributionResponse.md +2 -0
  17. data/docs/DebAptPublicationResponse.md +2 -0
  18. data/docs/DebAptRemoteResponse.md +2 -2
  19. data/docs/DebAptRemoteResponseHiddenFields.md +2 -2
  20. data/docs/DebAptRepositoryResponse.md +2 -0
  21. data/docs/DebCopyApi.md +1 -1
  22. data/docs/DebGenericContentResponse.md +2 -0
  23. data/docs/DebInstallerFileIndexResponse.md +2 -0
  24. data/docs/DebInstallerPackageResponse.md +2 -0
  25. data/docs/DebPackageIndexResponse.md +2 -0
  26. data/docs/DebPackageReleaseComponentResponse.md +2 -0
  27. data/docs/DebPackageResponse.md +2 -0
  28. data/docs/DebReleaseArchitectureResponse.md +2 -0
  29. data/docs/DebReleaseComponentResponse.md +2 -0
  30. data/docs/DebReleaseFileResponse.md +2 -0
  31. data/docs/DebReleaseResponse.md +2 -0
  32. data/docs/DebSourceIndexResponse.md +2 -0
  33. data/docs/DebSourcePackageReleaseComponentResponse.md +2 -0
  34. data/docs/DebSourcePackageResponse.md +2 -0
  35. data/docs/DebVerbatimPublicationResponse.md +2 -0
  36. data/docs/DistributionsAptApi.md +1 -1
  37. data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
  38. data/docs/PaginateddebAptDistributionResponseList.md +2 -2
  39. data/docs/PaginateddebAptPublicationResponseList.md +2 -2
  40. data/docs/PaginateddebAptRemoteResponseList.md +2 -2
  41. data/docs/PaginateddebAptRepositoryResponseList.md +2 -2
  42. data/docs/PaginateddebGenericContentResponseList.md +2 -2
  43. data/docs/PaginateddebInstallerFileIndexResponseList.md +2 -2
  44. data/docs/PaginateddebInstallerPackageResponseList.md +2 -2
  45. data/docs/PaginateddebPackageIndexResponseList.md +2 -2
  46. data/docs/PaginateddebPackageReleaseComponentResponseList.md +2 -2
  47. data/docs/PaginateddebPackageResponseList.md +2 -2
  48. data/docs/PaginateddebReleaseArchitectureResponseList.md +2 -2
  49. data/docs/PaginateddebReleaseComponentResponseList.md +2 -2
  50. data/docs/PaginateddebReleaseFileResponseList.md +2 -2
  51. data/docs/PaginateddebReleaseResponseList.md +2 -2
  52. data/docs/PaginateddebSourceIndexResponseList.md +2 -2
  53. data/docs/PaginateddebSourcePackageReleaseComponentResponseList.md +2 -2
  54. data/docs/PaginateddebSourcePackageResponseList.md +2 -2
  55. data/docs/PaginateddebVerbatimPublicationResponseList.md +2 -2
  56. data/docs/PublicationsAptApi.md +1 -1
  57. data/docs/PublicationsVerbatimApi.md +1 -1
  58. data/docs/RemotesAptApi.md +1 -1
  59. data/docs/RepositoriesAptApi.md +1 -1
  60. data/docs/RepositoriesAptVersionsApi.md +1 -1
  61. data/docs/RepositoryVersionResponse.md +2 -0
  62. data/lib/pulp_deb_client/configuration.rb +2 -2
  63. data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +11 -1
  64. data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +11 -1
  65. data/lib/pulp_deb_client/models/deb_apt_remote.rb +20 -20
  66. data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +31 -31
  67. data/lib/pulp_deb_client/models/deb_apt_remote_response_hidden_fields.rb +10 -0
  68. data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +11 -1
  69. data/lib/pulp_deb_client/models/deb_generic_content_response.rb +11 -1
  70. data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +11 -1
  71. data/lib/pulp_deb_client/models/deb_installer_package_response.rb +11 -1
  72. data/lib/pulp_deb_client/models/deb_package_index_response.rb +11 -1
  73. data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +11 -1
  74. data/lib/pulp_deb_client/models/deb_package_response.rb +11 -1
  75. data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +11 -1
  76. data/lib/pulp_deb_client/models/deb_release_component_response.rb +11 -1
  77. data/lib/pulp_deb_client/models/deb_release_file_response.rb +11 -1
  78. data/lib/pulp_deb_client/models/deb_release_response.rb +11 -1
  79. data/lib/pulp_deb_client/models/deb_source_index_response.rb +11 -1
  80. data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +11 -1
  81. data/lib/pulp_deb_client/models/deb_source_package_response.rb +11 -1
  82. data/lib/pulp_deb_client/models/deb_verbatim_publication_response.rb +11 -1
  83. data/lib/pulp_deb_client/models/paginated_repository_version_response_list.rb +10 -0
  84. data/lib/pulp_deb_client/models/paginateddeb_apt_distribution_response_list.rb +10 -0
  85. data/lib/pulp_deb_client/models/paginateddeb_apt_publication_response_list.rb +10 -0
  86. data/lib/pulp_deb_client/models/paginateddeb_apt_remote_response_list.rb +10 -0
  87. data/lib/pulp_deb_client/models/paginateddeb_apt_repository_response_list.rb +10 -0
  88. data/lib/pulp_deb_client/models/paginateddeb_generic_content_response_list.rb +10 -0
  89. data/lib/pulp_deb_client/models/paginateddeb_installer_file_index_response_list.rb +10 -0
  90. data/lib/pulp_deb_client/models/paginateddeb_installer_package_response_list.rb +10 -0
  91. data/lib/pulp_deb_client/models/paginateddeb_package_index_response_list.rb +10 -0
  92. data/lib/pulp_deb_client/models/paginateddeb_package_release_component_response_list.rb +10 -0
  93. data/lib/pulp_deb_client/models/paginateddeb_package_response_list.rb +10 -0
  94. data/lib/pulp_deb_client/models/paginateddeb_release_architecture_response_list.rb +10 -0
  95. data/lib/pulp_deb_client/models/paginateddeb_release_component_response_list.rb +10 -0
  96. data/lib/pulp_deb_client/models/paginateddeb_release_file_response_list.rb +10 -0
  97. data/lib/pulp_deb_client/models/paginateddeb_release_response_list.rb +10 -0
  98. data/lib/pulp_deb_client/models/paginateddeb_source_index_response_list.rb +10 -0
  99. data/lib/pulp_deb_client/models/paginateddeb_source_package_release_component_response_list.rb +10 -0
  100. data/lib/pulp_deb_client/models/paginateddeb_source_package_response_list.rb +10 -0
  101. data/lib/pulp_deb_client/models/paginateddeb_verbatim_publication_response_list.rb +10 -0
  102. data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +20 -20
  103. data/lib/pulp_deb_client/models/repository_version_response.rb +11 -1
  104. data/lib/pulp_deb_client/version.rb +1 -1
  105. data/spec/configuration_spec.rb +3 -3
  106. data/spec/models/deb_apt_distribution_response_spec.rb +6 -0
  107. data/spec/models/deb_apt_publication_response_spec.rb +6 -0
  108. data/spec/models/deb_apt_remote_response_spec.rb +6 -6
  109. data/spec/models/deb_apt_repository_response_spec.rb +6 -0
  110. data/spec/models/deb_generic_content_response_spec.rb +6 -0
  111. data/spec/models/deb_installer_file_index_response_spec.rb +6 -0
  112. data/spec/models/deb_installer_package_response_spec.rb +6 -0
  113. data/spec/models/deb_package_index_response_spec.rb +6 -0
  114. data/spec/models/deb_package_release_component_response_spec.rb +6 -0
  115. data/spec/models/deb_package_response_spec.rb +6 -0
  116. data/spec/models/deb_release_architecture_response_spec.rb +6 -0
  117. data/spec/models/deb_release_component_response_spec.rb +6 -0
  118. data/spec/models/deb_release_file_response_spec.rb +6 -0
  119. data/spec/models/deb_release_response_spec.rb +6 -0
  120. data/spec/models/deb_source_index_response_spec.rb +6 -0
  121. data/spec/models/deb_source_package_release_component_response_spec.rb +6 -0
  122. data/spec/models/deb_source_package_response_spec.rb +6 -0
  123. data/spec/models/deb_verbatim_publication_response_spec.rb +6 -0
  124. data/spec/models/repository_version_response_spec.rb +6 -0
  125. metadata +84 -84
@@ -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
@@ -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
  # A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
24
27
  attr_accessor :artifacts
25
28
 
@@ -37,6 +40,7 @@ module PulpDebClient
37
40
  {
38
41
  :'pulp_href' => :'pulp_href',
39
42
  :'pulp_created' => :'pulp_created',
43
+ :'pulp_last_updated' => :'pulp_last_updated',
40
44
  :'artifacts' => :'artifacts',
41
45
  :'component' => :'component',
42
46
  :'architecture' => :'architecture',
@@ -49,6 +53,7 @@ module PulpDebClient
49
53
  {
50
54
  :'pulp_href' => :'String',
51
55
  :'pulp_created' => :'DateTime',
56
+ :'pulp_last_updated' => :'DateTime',
52
57
  :'artifacts' => :'Object',
53
58
  :'component' => :'String',
54
59
  :'architecture' => :'String',
@@ -85,6 +90,10 @@ module PulpDebClient
85
90
  self.pulp_created = attributes[:'pulp_created']
86
91
  end
87
92
 
93
+ if attributes.key?(:'pulp_last_updated')
94
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
95
+ end
96
+
88
97
  if attributes.key?(:'artifacts')
89
98
  self.artifacts = attributes[:'artifacts']
90
99
  end
@@ -137,6 +146,7 @@ module PulpDebClient
137
146
  self.class == o.class &&
138
147
  pulp_href == o.pulp_href &&
139
148
  pulp_created == o.pulp_created &&
149
+ pulp_last_updated == o.pulp_last_updated &&
140
150
  artifacts == o.artifacts &&
141
151
  component == o.component &&
142
152
  architecture == o.architecture &&
@@ -152,7 +162,7 @@ module PulpDebClient
152
162
  # Calculates hash code according to all attributes.
153
163
  # @return [Integer] Hash code
154
164
  def hash
155
- [pulp_href, pulp_created, artifacts, component, architecture, relative_path].hash
165
+ [pulp_href, pulp_created, pulp_last_updated, artifacts, component, architecture, relative_path].hash
156
166
  end
157
167
 
158
168
  # 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
 
@@ -107,6 +110,7 @@ module PulpDebClient
107
110
  {
108
111
  :'pulp_href' => :'pulp_href',
109
112
  :'pulp_created' => :'pulp_created',
113
+ :'pulp_last_updated' => :'pulp_last_updated',
110
114
  :'artifact' => :'artifact',
111
115
  :'relative_path' => :'relative_path',
112
116
  :'md5' => :'md5',
@@ -152,6 +156,7 @@ module PulpDebClient
152
156
  {
153
157
  :'pulp_href' => :'String',
154
158
  :'pulp_created' => :'DateTime',
159
+ :'pulp_last_updated' => :'DateTime',
155
160
  :'artifact' => :'String',
156
161
  :'relative_path' => :'String',
157
162
  :'md5' => :'String',
@@ -221,6 +226,10 @@ module PulpDebClient
221
226
  self.pulp_created = attributes[:'pulp_created']
222
227
  end
223
228
 
229
+ if attributes.key?(:'pulp_last_updated')
230
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
231
+ end
232
+
224
233
  if attributes.key?(:'artifact')
225
234
  self.artifact = attributes[:'artifact']
226
235
  end
@@ -390,6 +399,7 @@ module PulpDebClient
390
399
  self.class == o.class &&
391
400
  pulp_href == o.pulp_href &&
392
401
  pulp_created == o.pulp_created &&
402
+ pulp_last_updated == o.pulp_last_updated &&
393
403
  artifact == o.artifact &&
394
404
  relative_path == o.relative_path &&
395
405
  md5 == o.md5 &&
@@ -438,7 +448,7 @@ module PulpDebClient
438
448
  # Calculates hash code according to all attributes.
439
449
  # @return [Integer] Hash code
440
450
  def hash
441
- [pulp_href, pulp_created, artifact, relative_path, md5, sha1, sha224, sha256, sha384, sha512, package, source, version, architecture, section, priority, origin, tag, bugs, essential, build_essential, installed_size, maintainer, original_maintainer, description, description_md5, homepage, built_using, auto_built_package, multi_arch, breaks, conflicts, depends, recommends, suggests, enhances, pre_depends, provides, replaces].hash
451
+ [pulp_href, pulp_created, pulp_last_updated, artifact, relative_path, md5, sha1, sha224, sha256, sha384, sha512, package, source, version, architecture, section, priority, origin, tag, bugs, essential, build_essential, installed_size, maintainer, original_maintainer, description, description_md5, homepage, built_using, auto_built_package, multi_arch, breaks, conflicts, depends, recommends, suggests, enhances, pre_depends, provides, replaces].hash
442
452
  end
443
453
 
444
454
  # 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
  # A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
24
27
  attr_accessor :artifacts
25
28
 
@@ -37,6 +40,7 @@ module PulpDebClient
37
40
  {
38
41
  :'pulp_href' => :'pulp_href',
39
42
  :'pulp_created' => :'pulp_created',
43
+ :'pulp_last_updated' => :'pulp_last_updated',
40
44
  :'artifacts' => :'artifacts',
41
45
  :'component' => :'component',
42
46
  :'architecture' => :'architecture',
@@ -49,6 +53,7 @@ module PulpDebClient
49
53
  {
50
54
  :'pulp_href' => :'String',
51
55
  :'pulp_created' => :'DateTime',
56
+ :'pulp_last_updated' => :'DateTime',
52
57
  :'artifacts' => :'Object',
53
58
  :'component' => :'String',
54
59
  :'architecture' => :'String',
@@ -85,6 +90,10 @@ module PulpDebClient
85
90
  self.pulp_created = attributes[:'pulp_created']
86
91
  end
87
92
 
93
+ if attributes.key?(:'pulp_last_updated')
94
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
95
+ end
96
+
88
97
  if attributes.key?(:'artifacts')
89
98
  self.artifacts = attributes[:'artifacts']
90
99
  end
@@ -127,6 +136,7 @@ module PulpDebClient
127
136
  self.class == o.class &&
128
137
  pulp_href == o.pulp_href &&
129
138
  pulp_created == o.pulp_created &&
139
+ pulp_last_updated == o.pulp_last_updated &&
130
140
  artifacts == o.artifacts &&
131
141
  component == o.component &&
132
142
  architecture == o.architecture &&
@@ -142,7 +152,7 @@ module PulpDebClient
142
152
  # Calculates hash code according to all attributes.
143
153
  # @return [Integer] Hash code
144
154
  def hash
145
- [pulp_href, pulp_created, artifacts, component, architecture, relative_path].hash
155
+ [pulp_href, pulp_created, pulp_last_updated, artifacts, component, architecture, relative_path].hash
146
156
  end
147
157
 
148
158
  # 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
  # Package that is contained in release_comonent.
24
27
  attr_accessor :package
25
28
 
@@ -31,6 +34,7 @@ module PulpDebClient
31
34
  {
32
35
  :'pulp_href' => :'pulp_href',
33
36
  :'pulp_created' => :'pulp_created',
37
+ :'pulp_last_updated' => :'pulp_last_updated',
34
38
  :'package' => :'package',
35
39
  :'release_component' => :'release_component'
36
40
  }
@@ -41,6 +45,7 @@ module PulpDebClient
41
45
  {
42
46
  :'pulp_href' => :'String',
43
47
  :'pulp_created' => :'DateTime',
48
+ :'pulp_last_updated' => :'DateTime',
44
49
  :'package' => :'String',
45
50
  :'release_component' => :'String'
46
51
  }
@@ -75,6 +80,10 @@ module PulpDebClient
75
80
  self.pulp_created = attributes[:'pulp_created']
76
81
  end
77
82
 
83
+ if attributes.key?(:'pulp_last_updated')
84
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
85
+ end
86
+
78
87
  if attributes.key?(:'package')
79
88
  self.package = attributes[:'package']
80
89
  end
@@ -114,6 +123,7 @@ module PulpDebClient
114
123
  self.class == o.class &&
115
124
  pulp_href == o.pulp_href &&
116
125
  pulp_created == o.pulp_created &&
126
+ pulp_last_updated == o.pulp_last_updated &&
117
127
  package == o.package &&
118
128
  release_component == o.release_component
119
129
  end
@@ -127,7 +137,7 @@ module PulpDebClient
127
137
  # Calculates hash code according to all attributes.
128
138
  # @return [Integer] Hash code
129
139
  def hash
130
- [pulp_href, pulp_created, package, release_component].hash
140
+ [pulp_href, pulp_created, pulp_last_updated, package, release_component].hash
131
141
  end
132
142
 
133
143
  # 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
 
@@ -113,6 +116,7 @@ module PulpDebClient
113
116
  {
114
117
  :'pulp_href' => :'pulp_href',
115
118
  :'pulp_created' => :'pulp_created',
119
+ :'pulp_last_updated' => :'pulp_last_updated',
116
120
  :'artifact' => :'artifact',
117
121
  :'relative_path' => :'relative_path',
118
122
  :'distribution' => :'distribution',
@@ -160,6 +164,7 @@ module PulpDebClient
160
164
  {
161
165
  :'pulp_href' => :'String',
162
166
  :'pulp_created' => :'DateTime',
167
+ :'pulp_last_updated' => :'DateTime',
163
168
  :'artifact' => :'String',
164
169
  :'relative_path' => :'String',
165
170
  :'distribution' => :'String',
@@ -231,6 +236,10 @@ module PulpDebClient
231
236
  self.pulp_created = attributes[:'pulp_created']
232
237
  end
233
238
 
239
+ if attributes.key?(:'pulp_last_updated')
240
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
241
+ end
242
+
234
243
  if attributes.key?(:'artifact')
235
244
  self.artifact = attributes[:'artifact']
236
245
  end
@@ -408,6 +417,7 @@ module PulpDebClient
408
417
  self.class == o.class &&
409
418
  pulp_href == o.pulp_href &&
410
419
  pulp_created == o.pulp_created &&
420
+ pulp_last_updated == o.pulp_last_updated &&
411
421
  artifact == o.artifact &&
412
422
  relative_path == o.relative_path &&
413
423
  distribution == o.distribution &&
@@ -458,7 +468,7 @@ module PulpDebClient
458
468
  # Calculates hash code according to all attributes.
459
469
  # @return [Integer] Hash code
460
470
  def hash
461
- [pulp_href, pulp_created, artifact, relative_path, distribution, component, md5, sha1, sha224, sha256, sha384, sha512, package, source, version, architecture, section, priority, origin, tag, bugs, essential, build_essential, installed_size, maintainer, original_maintainer, description, description_md5, homepage, built_using, auto_built_package, multi_arch, breaks, conflicts, depends, recommends, suggests, enhances, pre_depends, provides, replaces].hash
471
+ [pulp_href, pulp_created, pulp_last_updated, artifact, relative_path, distribution, component, md5, sha1, sha224, sha256, sha384, sha512, package, source, version, architecture, section, priority, origin, tag, bugs, essential, build_essential, installed_size, maintainer, original_maintainer, description, description_md5, homepage, built_using, auto_built_package, multi_arch, breaks, conflicts, depends, recommends, suggests, enhances, pre_depends, provides, replaces].hash
462
472
  end
463
473
 
464
474
  # 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
  # Name of the architecture.
24
27
  attr_accessor :architecture
25
28
 
@@ -31,6 +34,7 @@ module PulpDebClient
31
34
  {
32
35
  :'pulp_href' => :'pulp_href',
33
36
  :'pulp_created' => :'pulp_created',
37
+ :'pulp_last_updated' => :'pulp_last_updated',
34
38
  :'architecture' => :'architecture',
35
39
  :'distribution' => :'distribution'
36
40
  }
@@ -41,6 +45,7 @@ module PulpDebClient
41
45
  {
42
46
  :'pulp_href' => :'String',
43
47
  :'pulp_created' => :'DateTime',
48
+ :'pulp_last_updated' => :'DateTime',
44
49
  :'architecture' => :'String',
45
50
  :'distribution' => :'String'
46
51
  }
@@ -75,6 +80,10 @@ module PulpDebClient
75
80
  self.pulp_created = attributes[:'pulp_created']
76
81
  end
77
82
 
83
+ if attributes.key?(:'pulp_last_updated')
84
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
85
+ end
86
+
78
87
  if attributes.key?(:'architecture')
79
88
  self.architecture = attributes[:'architecture']
80
89
  end
@@ -114,6 +123,7 @@ module PulpDebClient
114
123
  self.class == o.class &&
115
124
  pulp_href == o.pulp_href &&
116
125
  pulp_created == o.pulp_created &&
126
+ pulp_last_updated == o.pulp_last_updated &&
117
127
  architecture == o.architecture &&
118
128
  distribution == o.distribution
119
129
  end
@@ -127,7 +137,7 @@ module PulpDebClient
127
137
  # Calculates hash code according to all attributes.
128
138
  # @return [Integer] Hash code
129
139
  def hash
130
- [pulp_href, pulp_created, architecture, distribution].hash
140
+ [pulp_href, pulp_created, pulp_last_updated, architecture, distribution].hash
131
141
  end
132
142
 
133
143
  # 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
  # Name of the component.
24
27
  attr_accessor :component
25
28
 
@@ -31,6 +34,7 @@ module PulpDebClient
31
34
  {
32
35
  :'pulp_href' => :'pulp_href',
33
36
  :'pulp_created' => :'pulp_created',
37
+ :'pulp_last_updated' => :'pulp_last_updated',
34
38
  :'component' => :'component',
35
39
  :'distribution' => :'distribution'
36
40
  }
@@ -41,6 +45,7 @@ module PulpDebClient
41
45
  {
42
46
  :'pulp_href' => :'String',
43
47
  :'pulp_created' => :'DateTime',
48
+ :'pulp_last_updated' => :'DateTime',
44
49
  :'component' => :'String',
45
50
  :'distribution' => :'String'
46
51
  }
@@ -75,6 +80,10 @@ module PulpDebClient
75
80
  self.pulp_created = attributes[:'pulp_created']
76
81
  end
77
82
 
83
+ if attributes.key?(:'pulp_last_updated')
84
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
85
+ end
86
+
78
87
  if attributes.key?(:'component')
79
88
  self.component = attributes[:'component']
80
89
  end
@@ -114,6 +123,7 @@ module PulpDebClient
114
123
  self.class == o.class &&
115
124
  pulp_href == o.pulp_href &&
116
125
  pulp_created == o.pulp_created &&
126
+ pulp_last_updated == o.pulp_last_updated &&
117
127
  component == o.component &&
118
128
  distribution == o.distribution
119
129
  end
@@ -127,7 +137,7 @@ module PulpDebClient
127
137
  # Calculates hash code according to all attributes.
128
138
  # @return [Integer] Hash code
129
139
  def hash
130
- [pulp_href, pulp_created, component, distribution].hash
140
+ [pulp_href, pulp_created, pulp_last_updated, component, distribution].hash
131
141
  end
132
142
 
133
143
  # 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
  # A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
24
27
  attr_accessor :artifacts
25
28
 
@@ -40,6 +43,7 @@ module PulpDebClient
40
43
  {
41
44
  :'pulp_href' => :'pulp_href',
42
45
  :'pulp_created' => :'pulp_created',
46
+ :'pulp_last_updated' => :'pulp_last_updated',
43
47
  :'artifacts' => :'artifacts',
44
48
  :'codename' => :'codename',
45
49
  :'suite' => :'suite',
@@ -53,6 +57,7 @@ module PulpDebClient
53
57
  {
54
58
  :'pulp_href' => :'String',
55
59
  :'pulp_created' => :'DateTime',
60
+ :'pulp_last_updated' => :'DateTime',
56
61
  :'artifacts' => :'Object',
57
62
  :'codename' => :'String',
58
63
  :'suite' => :'String',
@@ -90,6 +95,10 @@ module PulpDebClient
90
95
  self.pulp_created = attributes[:'pulp_created']
91
96
  end
92
97
 
98
+ if attributes.key?(:'pulp_last_updated')
99
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
100
+ end
101
+
93
102
  if attributes.key?(:'artifacts')
94
103
  self.artifacts = attributes[:'artifacts']
95
104
  end
@@ -141,6 +150,7 @@ module PulpDebClient
141
150
  self.class == o.class &&
142
151
  pulp_href == o.pulp_href &&
143
152
  pulp_created == o.pulp_created &&
153
+ pulp_last_updated == o.pulp_last_updated &&
144
154
  artifacts == o.artifacts &&
145
155
  codename == o.codename &&
146
156
  suite == o.suite &&
@@ -157,7 +167,7 @@ module PulpDebClient
157
167
  # Calculates hash code according to all attributes.
158
168
  # @return [Integer] Hash code
159
169
  def hash
160
- [pulp_href, pulp_created, artifacts, codename, suite, distribution, relative_path].hash
170
+ [pulp_href, pulp_created, pulp_last_updated, artifacts, codename, suite, distribution, relative_path].hash
161
171
  end
162
172
 
163
173
  # 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 :codename
24
27
 
25
28
  attr_accessor :suite
@@ -39,6 +42,7 @@ module PulpDebClient
39
42
  {
40
43
  :'pulp_href' => :'pulp_href',
41
44
  :'pulp_created' => :'pulp_created',
45
+ :'pulp_last_updated' => :'pulp_last_updated',
42
46
  :'codename' => :'codename',
43
47
  :'suite' => :'suite',
44
48
  :'distribution' => :'distribution',
@@ -54,6 +58,7 @@ module PulpDebClient
54
58
  {
55
59
  :'pulp_href' => :'String',
56
60
  :'pulp_created' => :'DateTime',
61
+ :'pulp_last_updated' => :'DateTime',
57
62
  :'codename' => :'String',
58
63
  :'suite' => :'String',
59
64
  :'distribution' => :'String',
@@ -97,6 +102,10 @@ module PulpDebClient
97
102
  self.pulp_created = attributes[:'pulp_created']
98
103
  end
99
104
 
105
+ if attributes.key?(:'pulp_last_updated')
106
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
107
+ end
108
+
100
109
  if attributes.key?(:'codename')
101
110
  self.codename = attributes[:'codename']
102
111
  end
@@ -161,6 +170,7 @@ module PulpDebClient
161
170
  self.class == o.class &&
162
171
  pulp_href == o.pulp_href &&
163
172
  pulp_created == o.pulp_created &&
173
+ pulp_last_updated == o.pulp_last_updated &&
164
174
  codename == o.codename &&
165
175
  suite == o.suite &&
166
176
  distribution == o.distribution &&
@@ -179,7 +189,7 @@ module PulpDebClient
179
189
  # Calculates hash code according to all attributes.
180
190
  # @return [Integer] Hash code
181
191
  def hash
182
- [pulp_href, pulp_created, codename, suite, distribution, version, origin, label, description].hash
192
+ [pulp_href, pulp_created, pulp_last_updated, codename, suite, distribution, version, origin, label, description].hash
183
193
  end
184
194
 
185
195
  # 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
  # A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
24
27
  attr_accessor :artifacts
25
28
 
@@ -37,6 +40,7 @@ module PulpDebClient
37
40
  {
38
41
  :'pulp_href' => :'pulp_href',
39
42
  :'pulp_created' => :'pulp_created',
43
+ :'pulp_last_updated' => :'pulp_last_updated',
40
44
  :'artifacts' => :'artifacts',
41
45
  :'release' => :'release',
42
46
  :'component' => :'component',
@@ -49,6 +53,7 @@ module PulpDebClient
49
53
  {
50
54
  :'pulp_href' => :'String',
51
55
  :'pulp_created' => :'DateTime',
56
+ :'pulp_last_updated' => :'DateTime',
52
57
  :'artifacts' => :'Object',
53
58
  :'release' => :'String',
54
59
  :'component' => :'String',
@@ -85,6 +90,10 @@ module PulpDebClient
85
90
  self.pulp_created = attributes[:'pulp_created']
86
91
  end
87
92
 
93
+ if attributes.key?(:'pulp_last_updated')
94
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
95
+ end
96
+
88
97
  if attributes.key?(:'artifacts')
89
98
  self.artifacts = attributes[:'artifacts']
90
99
  end
@@ -137,6 +146,7 @@ module PulpDebClient
137
146
  self.class == o.class &&
138
147
  pulp_href == o.pulp_href &&
139
148
  pulp_created == o.pulp_created &&
149
+ pulp_last_updated == o.pulp_last_updated &&
140
150
  artifacts == o.artifacts &&
141
151
  release == o.release &&
142
152
  component == o.component &&
@@ -152,7 +162,7 @@ module PulpDebClient
152
162
  # Calculates hash code according to all attributes.
153
163
  # @return [Integer] Hash code
154
164
  def hash
155
- [pulp_href, pulp_created, artifacts, release, component, relative_path].hash
165
+ [pulp_href, pulp_created, pulp_last_updated, artifacts, release, component, relative_path].hash
156
166
  end
157
167
 
158
168
  # Builds the object from hash