pulp_deb_client 3.5.1 → 3.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +32 -4
  3. data/docs/ContentGenericContentsApi.md +166 -2
  4. data/docs/ContentInstallerFileIndicesApi.md +170 -6
  5. data/docs/ContentInstallerPackagesApi.md +166 -2
  6. data/docs/ContentPackageIndicesApi.md +170 -6
  7. data/docs/ContentPackageReleaseComponentsApi.md +170 -6
  8. data/docs/ContentPackagesApi.md +166 -2
  9. data/docs/ContentReleaseArchitecturesApi.md +170 -6
  10. data/docs/ContentReleaseComponentsApi.md +170 -6
  11. data/docs/ContentReleaseFilesApi.md +170 -6
  12. data/docs/ContentReleasesApi.md +170 -6
  13. data/docs/ContentSourceIndicesApi.md +170 -6
  14. data/docs/ContentSourcePackagesApi.md +170 -6
  15. data/docs/ContentSourceReleaseComponentsApi.md +170 -6
  16. data/docs/DebAptDistribution.md +3 -1
  17. data/docs/DebAptDistributionResponse.md +3 -1
  18. data/docs/DebAptPublication.md +2 -0
  19. data/docs/DebAptPublicationResponse.md +2 -0
  20. data/docs/DebCopyApi.md +8 -4
  21. data/docs/DebGenericContentResponse.md +2 -0
  22. data/docs/DebInstallerFileIndex.md +2 -0
  23. data/docs/DebInstallerFileIndexResponse.md +2 -0
  24. data/docs/DebInstallerPackageResponse.md +2 -0
  25. data/docs/DebPackageIndex.md +2 -0
  26. data/docs/DebPackageIndexResponse.md +2 -0
  27. data/docs/DebPackageReleaseComponent.md +2 -0
  28. data/docs/DebPackageReleaseComponentResponse.md +2 -0
  29. data/docs/DebPackageResponse.md +2 -0
  30. data/docs/DebRelease.md +2 -0
  31. data/docs/DebReleaseArchitecture.md +2 -0
  32. data/docs/DebReleaseArchitectureResponse.md +2 -0
  33. data/docs/DebReleaseComponent.md +2 -0
  34. data/docs/DebReleaseComponentResponse.md +2 -0
  35. data/docs/DebReleaseFile.md +2 -0
  36. data/docs/DebReleaseFileResponse.md +2 -0
  37. data/docs/DebReleaseResponse.md +2 -0
  38. data/docs/DebSourceIndex.md +2 -0
  39. data/docs/DebSourceIndexResponse.md +2 -0
  40. data/docs/DebSourcePackage.md +2 -0
  41. data/docs/DebSourcePackageReleaseComponent.md +2 -0
  42. data/docs/DebSourcePackageReleaseComponentResponse.md +2 -0
  43. data/docs/DebSourcePackageResponse.md +2 -0
  44. data/docs/DistributionsAptApi.md +76 -34
  45. data/docs/PatcheddebAptDistribution.md +3 -1
  46. data/docs/PublicationsAptApi.md +44 -18
  47. data/docs/PublicationsVerbatimApi.md +44 -18
  48. data/docs/RemotesAptApi.md +72 -32
  49. data/docs/RepositoriesAptApi.md +88 -40
  50. data/docs/RepositoriesAptVersionsApi.md +22 -10
  51. data/lib/pulp_deb_client/api/content_generic_contents_api.rb +172 -3
  52. data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +169 -3
  53. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +172 -3
  54. data/lib/pulp_deb_client/api/content_package_indices_api.rb +169 -3
  55. data/lib/pulp_deb_client/api/content_package_release_components_api.rb +169 -3
  56. data/lib/pulp_deb_client/api/content_packages_api.rb +172 -3
  57. data/lib/pulp_deb_client/api/content_release_architectures_api.rb +169 -3
  58. data/lib/pulp_deb_client/api/content_release_components_api.rb +169 -3
  59. data/lib/pulp_deb_client/api/content_release_files_api.rb +169 -3
  60. data/lib/pulp_deb_client/api/content_releases_api.rb +169 -3
  61. data/lib/pulp_deb_client/api/content_source_indices_api.rb +169 -3
  62. data/lib/pulp_deb_client/api/content_source_packages_api.rb +169 -3
  63. data/lib/pulp_deb_client/api/content_source_release_components_api.rb +169 -3
  64. data/lib/pulp_deb_client/api/deb_copy_api.rb +3 -0
  65. data/lib/pulp_deb_client/api/distributions_apt_api.rb +42 -3
  66. data/lib/pulp_deb_client/api/publications_apt_api.rb +30 -3
  67. data/lib/pulp_deb_client/api/publications_verbatim_api.rb +30 -3
  68. data/lib/pulp_deb_client/api/remotes_apt_api.rb +36 -0
  69. data/lib/pulp_deb_client/api/repositories_apt_api.rb +42 -0
  70. data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +15 -3
  71. data/lib/pulp_deb_client/models/deb_apt_distribution.rb +14 -5
  72. data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +14 -5
  73. data/lib/pulp_deb_client/models/deb_apt_publication.rb +10 -1
  74. data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +10 -1
  75. data/lib/pulp_deb_client/models/deb_generic_content_response.rb +13 -1
  76. data/lib/pulp_deb_client/models/deb_installer_file_index.rb +13 -1
  77. data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +13 -1
  78. data/lib/pulp_deb_client/models/deb_installer_package_response.rb +13 -1
  79. data/lib/pulp_deb_client/models/deb_package_index.rb +13 -1
  80. data/lib/pulp_deb_client/models/deb_package_index_response.rb +13 -1
  81. data/lib/pulp_deb_client/models/deb_package_release_component.rb +13 -1
  82. data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +13 -1
  83. data/lib/pulp_deb_client/models/deb_package_response.rb +13 -1
  84. data/lib/pulp_deb_client/models/deb_release.rb +13 -1
  85. data/lib/pulp_deb_client/models/deb_release_architecture.rb +13 -1
  86. data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +13 -1
  87. data/lib/pulp_deb_client/models/deb_release_component.rb +13 -1
  88. data/lib/pulp_deb_client/models/deb_release_component_response.rb +13 -1
  89. data/lib/pulp_deb_client/models/deb_release_file.rb +13 -1
  90. data/lib/pulp_deb_client/models/deb_release_file_response.rb +13 -1
  91. data/lib/pulp_deb_client/models/deb_release_response.rb +13 -1
  92. data/lib/pulp_deb_client/models/deb_source_index.rb +13 -1
  93. data/lib/pulp_deb_client/models/deb_source_index_response.rb +13 -1
  94. data/lib/pulp_deb_client/models/deb_source_package.rb +13 -1
  95. data/lib/pulp_deb_client/models/deb_source_package_release_component.rb +13 -1
  96. data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +13 -1
  97. data/lib/pulp_deb_client/models/deb_source_package_response.rb +13 -1
  98. data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +14 -5
  99. data/lib/pulp_deb_client/models/unset_label.rb +1 -1
  100. data/lib/pulp_deb_client/models/unset_label_response.rb +1 -1
  101. data/lib/pulp_deb_client/version.rb +1 -1
  102. data/pulp_deb_client.gemspec +0 -1
  103. data/spec/api/content_generic_contents_api_spec.rb +34 -1
  104. data/spec/api/content_installer_file_indices_api_spec.rb +33 -1
  105. data/spec/api/content_installer_packages_api_spec.rb +34 -1
  106. data/spec/api/content_package_indices_api_spec.rb +33 -1
  107. data/spec/api/content_package_release_components_api_spec.rb +33 -1
  108. data/spec/api/content_packages_api_spec.rb +34 -1
  109. data/spec/api/content_release_architectures_api_spec.rb +33 -1
  110. data/spec/api/content_release_components_api_spec.rb +33 -1
  111. data/spec/api/content_release_files_api_spec.rb +33 -1
  112. data/spec/api/content_releases_api_spec.rb +33 -1
  113. data/spec/api/content_source_indices_api_spec.rb +33 -1
  114. data/spec/api/content_source_packages_api_spec.rb +33 -1
  115. data/spec/api/content_source_release_components_api_spec.rb +33 -1
  116. data/spec/api/deb_copy_api_spec.rb +1 -0
  117. data/spec/api/distributions_apt_api_spec.rb +14 -1
  118. data/spec/api/publications_apt_api_spec.rb +10 -1
  119. data/spec/api/publications_verbatim_api_spec.rb +10 -1
  120. data/spec/api/remotes_apt_api_spec.rb +12 -0
  121. data/spec/api/repositories_apt_api_spec.rb +14 -0
  122. data/spec/api/repositories_apt_versions_api_spec.rb +5 -1
  123. data/spec/models/deb_apt_distribution_response_spec.rb +6 -0
  124. data/spec/models/deb_apt_distribution_spec.rb +6 -0
  125. data/spec/models/deb_apt_publication_response_spec.rb +6 -0
  126. data/spec/models/deb_apt_publication_spec.rb +6 -0
  127. data/spec/models/deb_generic_content_response_spec.rb +6 -0
  128. data/spec/models/deb_installer_file_index_response_spec.rb +6 -0
  129. data/spec/models/deb_installer_file_index_spec.rb +6 -0
  130. data/spec/models/deb_installer_package_response_spec.rb +6 -0
  131. data/spec/models/deb_package_index_response_spec.rb +6 -0
  132. data/spec/models/deb_package_index_spec.rb +6 -0
  133. data/spec/models/deb_package_release_component_response_spec.rb +6 -0
  134. data/spec/models/deb_package_release_component_spec.rb +6 -0
  135. data/spec/models/deb_package_response_spec.rb +6 -0
  136. data/spec/models/deb_release_architecture_response_spec.rb +6 -0
  137. data/spec/models/deb_release_architecture_spec.rb +6 -0
  138. data/spec/models/deb_release_component_response_spec.rb +6 -0
  139. data/spec/models/deb_release_component_spec.rb +6 -0
  140. data/spec/models/deb_release_file_response_spec.rb +6 -0
  141. data/spec/models/deb_release_file_spec.rb +6 -0
  142. data/spec/models/deb_release_response_spec.rb +6 -0
  143. data/spec/models/deb_release_spec.rb +6 -0
  144. data/spec/models/deb_source_index_response_spec.rb +6 -0
  145. data/spec/models/deb_source_index_spec.rb +6 -0
  146. data/spec/models/deb_source_package_release_component_response_spec.rb +6 -0
  147. data/spec/models/deb_source_package_release_component_spec.rb +6 -0
  148. data/spec/models/deb_source_package_response_spec.rb +6 -0
  149. data/spec/models/deb_source_package_spec.rb +6 -0
  150. data/spec/models/patcheddeb_apt_distribution_spec.rb +6 -0
  151. metadata +76 -96
@@ -27,6 +27,9 @@ module PulpDebClient
27
27
  # 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.
28
28
  attr_accessor :pulp_last_updated
29
29
 
30
+ # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
31
+ attr_accessor :pulp_labels
32
+
30
33
  # A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
31
34
  attr_accessor :artifacts
32
35
 
@@ -46,6 +49,7 @@ module PulpDebClient
46
49
  :'prn' => :'prn',
47
50
  :'pulp_created' => :'pulp_created',
48
51
  :'pulp_last_updated' => :'pulp_last_updated',
52
+ :'pulp_labels' => :'pulp_labels',
49
53
  :'artifacts' => :'artifacts',
50
54
  :'component' => :'component',
51
55
  :'architecture' => :'architecture',
@@ -65,6 +69,7 @@ module PulpDebClient
65
69
  :'prn' => :'String',
66
70
  :'pulp_created' => :'Time',
67
71
  :'pulp_last_updated' => :'Time',
72
+ :'pulp_labels' => :'Hash<String, String>',
68
73
  :'artifacts' => :'Object',
69
74
  :'component' => :'String',
70
75
  :'architecture' => :'String',
@@ -109,6 +114,12 @@ module PulpDebClient
109
114
  self.pulp_last_updated = attributes[:'pulp_last_updated']
110
115
  end
111
116
 
117
+ if attributes.key?(:'pulp_labels')
118
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
119
+ self.pulp_labels = value
120
+ end
121
+ end
122
+
112
123
  if attributes.key?(:'artifacts')
113
124
  self.artifacts = attributes[:'artifacts']
114
125
  else
@@ -157,6 +168,7 @@ module PulpDebClient
157
168
  prn == o.prn &&
158
169
  pulp_created == o.pulp_created &&
159
170
  pulp_last_updated == o.pulp_last_updated &&
171
+ pulp_labels == o.pulp_labels &&
160
172
  artifacts == o.artifacts &&
161
173
  component == o.component &&
162
174
  architecture == o.architecture &&
@@ -172,7 +184,7 @@ module PulpDebClient
172
184
  # Calculates hash code according to all attributes.
173
185
  # @return [Integer] Hash code
174
186
  def hash
175
- [pulp_href, prn, pulp_created, pulp_last_updated, artifacts, component, architecture, relative_path].hash
187
+ [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifacts, component, architecture, relative_path].hash
176
188
  end
177
189
 
178
190
  # Builds the object from hash
@@ -19,6 +19,9 @@ module PulpDebClient
19
19
  # A URI of a repository the new content unit should be associated with.
20
20
  attr_accessor :repository
21
21
 
22
+ # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
23
+ attr_accessor :pulp_labels
24
+
22
25
  # Package that is contained in release_comonent.
23
26
  attr_accessor :package
24
27
 
@@ -29,6 +32,7 @@ module PulpDebClient
29
32
  def self.attribute_map
30
33
  {
31
34
  :'repository' => :'repository',
35
+ :'pulp_labels' => :'pulp_labels',
32
36
  :'package' => :'package',
33
37
  :'release_component' => :'release_component'
34
38
  }
@@ -43,6 +47,7 @@ module PulpDebClient
43
47
  def self.openapi_types
44
48
  {
45
49
  :'repository' => :'String',
50
+ :'pulp_labels' => :'Hash<String, String>',
46
51
  :'package' => :'String',
47
52
  :'release_component' => :'String'
48
53
  }
@@ -73,6 +78,12 @@ module PulpDebClient
73
78
  self.repository = attributes[:'repository']
74
79
  end
75
80
 
81
+ if attributes.key?(:'pulp_labels')
82
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
83
+ self.pulp_labels = value
84
+ end
85
+ end
86
+
76
87
  if attributes.key?(:'package')
77
88
  self.package = attributes[:'package']
78
89
  else
@@ -117,6 +128,7 @@ module PulpDebClient
117
128
  return true if self.equal?(o)
118
129
  self.class == o.class &&
119
130
  repository == o.repository &&
131
+ pulp_labels == o.pulp_labels &&
120
132
  package == o.package &&
121
133
  release_component == o.release_component
122
134
  end
@@ -130,7 +142,7 @@ module PulpDebClient
130
142
  # Calculates hash code according to all attributes.
131
143
  # @return [Integer] Hash code
132
144
  def hash
133
- [repository, package, release_component].hash
145
+ [repository, pulp_labels, package, release_component].hash
134
146
  end
135
147
 
136
148
  # Builds the object from hash
@@ -27,6 +27,9 @@ module PulpDebClient
27
27
  # 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.
28
28
  attr_accessor :pulp_last_updated
29
29
 
30
+ # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
31
+ attr_accessor :pulp_labels
32
+
30
33
  # Package that is contained in release_comonent.
31
34
  attr_accessor :package
32
35
 
@@ -40,6 +43,7 @@ module PulpDebClient
40
43
  :'prn' => :'prn',
41
44
  :'pulp_created' => :'pulp_created',
42
45
  :'pulp_last_updated' => :'pulp_last_updated',
46
+ :'pulp_labels' => :'pulp_labels',
43
47
  :'package' => :'package',
44
48
  :'release_component' => :'release_component'
45
49
  }
@@ -57,6 +61,7 @@ module PulpDebClient
57
61
  :'prn' => :'String',
58
62
  :'pulp_created' => :'Time',
59
63
  :'pulp_last_updated' => :'Time',
64
+ :'pulp_labels' => :'Hash<String, String>',
60
65
  :'package' => :'String',
61
66
  :'release_component' => :'String'
62
67
  }
@@ -99,6 +104,12 @@ module PulpDebClient
99
104
  self.pulp_last_updated = attributes[:'pulp_last_updated']
100
105
  end
101
106
 
107
+ if attributes.key?(:'pulp_labels')
108
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
109
+ self.pulp_labels = value
110
+ end
111
+ end
112
+
102
113
  if attributes.key?(:'package')
103
114
  self.package = attributes[:'package']
104
115
  else
@@ -146,6 +157,7 @@ module PulpDebClient
146
157
  prn == o.prn &&
147
158
  pulp_created == o.pulp_created &&
148
159
  pulp_last_updated == o.pulp_last_updated &&
160
+ pulp_labels == o.pulp_labels &&
149
161
  package == o.package &&
150
162
  release_component == o.release_component
151
163
  end
@@ -159,7 +171,7 @@ module PulpDebClient
159
171
  # Calculates hash code according to all attributes.
160
172
  # @return [Integer] Hash code
161
173
  def hash
162
- [pulp_href, prn, pulp_created, pulp_last_updated, package, release_component].hash
174
+ [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, package, release_component].hash
163
175
  end
164
176
 
165
177
  # Builds the object from hash
@@ -27,6 +27,9 @@ module PulpDebClient
27
27
  # 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.
28
28
  attr_accessor :pulp_last_updated
29
29
 
30
+ # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
31
+ attr_accessor :pulp_labels
32
+
30
33
  # Artifact file representing the physical content
31
34
  attr_accessor :artifact
32
35
 
@@ -122,6 +125,7 @@ module PulpDebClient
122
125
  :'prn' => :'prn',
123
126
  :'pulp_created' => :'pulp_created',
124
127
  :'pulp_last_updated' => :'pulp_last_updated',
128
+ :'pulp_labels' => :'pulp_labels',
125
129
  :'artifact' => :'artifact',
126
130
  :'relative_path' => :'relative_path',
127
131
  :'distribution' => :'distribution',
@@ -176,6 +180,7 @@ module PulpDebClient
176
180
  :'prn' => :'String',
177
181
  :'pulp_created' => :'Time',
178
182
  :'pulp_last_updated' => :'Time',
183
+ :'pulp_labels' => :'Hash<String, String>',
179
184
  :'artifact' => :'String',
180
185
  :'relative_path' => :'String',
181
186
  :'distribution' => :'String',
@@ -255,6 +260,12 @@ module PulpDebClient
255
260
  self.pulp_last_updated = attributes[:'pulp_last_updated']
256
261
  end
257
262
 
263
+ if attributes.key?(:'pulp_labels')
264
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
265
+ self.pulp_labels = value
266
+ end
267
+ end
268
+
258
269
  if attributes.key?(:'artifact')
259
270
  self.artifact = attributes[:'artifact']
260
271
  end
@@ -436,6 +447,7 @@ module PulpDebClient
436
447
  prn == o.prn &&
437
448
  pulp_created == o.pulp_created &&
438
449
  pulp_last_updated == o.pulp_last_updated &&
450
+ pulp_labels == o.pulp_labels &&
439
451
  artifact == o.artifact &&
440
452
  relative_path == o.relative_path &&
441
453
  distribution == o.distribution &&
@@ -486,7 +498,7 @@ module PulpDebClient
486
498
  # Calculates hash code according to all attributes.
487
499
  # @return [Integer] Hash code
488
500
  def hash
489
- [pulp_href, prn, 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
501
+ [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, 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
490
502
  end
491
503
 
492
504
  # Builds the object from hash
@@ -19,6 +19,9 @@ module PulpDebClient
19
19
  # A URI of a repository the new content unit should be associated with.
20
20
  attr_accessor :repository
21
21
 
22
+ # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
23
+ attr_accessor :pulp_labels
24
+
22
25
  attr_accessor :codename
23
26
 
24
27
  attr_accessor :suite
@@ -41,6 +44,7 @@ module PulpDebClient
41
44
  def self.attribute_map
42
45
  {
43
46
  :'repository' => :'repository',
47
+ :'pulp_labels' => :'pulp_labels',
44
48
  :'codename' => :'codename',
45
49
  :'suite' => :'suite',
46
50
  :'distribution' => :'distribution',
@@ -62,6 +66,7 @@ module PulpDebClient
62
66
  def self.openapi_types
63
67
  {
64
68
  :'repository' => :'String',
69
+ :'pulp_labels' => :'Hash<String, String>',
65
70
  :'codename' => :'String',
66
71
  :'suite' => :'String',
67
72
  :'distribution' => :'String',
@@ -103,6 +108,12 @@ module PulpDebClient
103
108
  self.repository = attributes[:'repository']
104
109
  end
105
110
 
111
+ if attributes.key?(:'pulp_labels')
112
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
113
+ self.pulp_labels = value
114
+ end
115
+ end
116
+
106
117
  if attributes.key?(:'codename')
107
118
  self.codename = attributes[:'codename']
108
119
  else
@@ -303,6 +314,7 @@ module PulpDebClient
303
314
  return true if self.equal?(o)
304
315
  self.class == o.class &&
305
316
  repository == o.repository &&
317
+ pulp_labels == o.pulp_labels &&
306
318
  codename == o.codename &&
307
319
  suite == o.suite &&
308
320
  distribution == o.distribution &&
@@ -323,7 +335,7 @@ module PulpDebClient
323
335
  # Calculates hash code according to all attributes.
324
336
  # @return [Integer] Hash code
325
337
  def hash
326
- [repository, codename, suite, distribution, version, origin, label, description, architectures, components].hash
338
+ [repository, pulp_labels, codename, suite, distribution, version, origin, label, description, architectures, components].hash
327
339
  end
328
340
 
329
341
  # Builds the object from hash
@@ -19,6 +19,9 @@ module PulpDebClient
19
19
  # A URI of a repository the new content unit should be associated with.
20
20
  attr_accessor :repository
21
21
 
22
+ # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
23
+ attr_accessor :pulp_labels
24
+
22
25
  # Name of the architecture.
23
26
  attr_accessor :architecture
24
27
 
@@ -29,6 +32,7 @@ module PulpDebClient
29
32
  def self.attribute_map
30
33
  {
31
34
  :'repository' => :'repository',
35
+ :'pulp_labels' => :'pulp_labels',
32
36
  :'architecture' => :'architecture',
33
37
  :'distribution' => :'distribution'
34
38
  }
@@ -43,6 +47,7 @@ module PulpDebClient
43
47
  def self.openapi_types
44
48
  {
45
49
  :'repository' => :'String',
50
+ :'pulp_labels' => :'Hash<String, String>',
46
51
  :'architecture' => :'String',
47
52
  :'distribution' => :'String'
48
53
  }
@@ -73,6 +78,12 @@ module PulpDebClient
73
78
  self.repository = attributes[:'repository']
74
79
  end
75
80
 
81
+ if attributes.key?(:'pulp_labels')
82
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
83
+ self.pulp_labels = value
84
+ end
85
+ end
86
+
76
87
  if attributes.key?(:'architecture')
77
88
  self.architecture = attributes[:'architecture']
78
89
  else
@@ -155,6 +166,7 @@ module PulpDebClient
155
166
  return true if self.equal?(o)
156
167
  self.class == o.class &&
157
168
  repository == o.repository &&
169
+ pulp_labels == o.pulp_labels &&
158
170
  architecture == o.architecture &&
159
171
  distribution == o.distribution
160
172
  end
@@ -168,7 +180,7 @@ module PulpDebClient
168
180
  # Calculates hash code according to all attributes.
169
181
  # @return [Integer] Hash code
170
182
  def hash
171
- [repository, architecture, distribution].hash
183
+ [repository, pulp_labels, architecture, distribution].hash
172
184
  end
173
185
 
174
186
  # Builds the object from hash
@@ -27,6 +27,9 @@ module PulpDebClient
27
27
  # 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.
28
28
  attr_accessor :pulp_last_updated
29
29
 
30
+ # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
31
+ attr_accessor :pulp_labels
32
+
30
33
  # Name of the architecture.
31
34
  attr_accessor :architecture
32
35
 
@@ -40,6 +43,7 @@ module PulpDebClient
40
43
  :'prn' => :'prn',
41
44
  :'pulp_created' => :'pulp_created',
42
45
  :'pulp_last_updated' => :'pulp_last_updated',
46
+ :'pulp_labels' => :'pulp_labels',
43
47
  :'architecture' => :'architecture',
44
48
  :'distribution' => :'distribution'
45
49
  }
@@ -57,6 +61,7 @@ module PulpDebClient
57
61
  :'prn' => :'String',
58
62
  :'pulp_created' => :'Time',
59
63
  :'pulp_last_updated' => :'Time',
64
+ :'pulp_labels' => :'Hash<String, String>',
60
65
  :'architecture' => :'String',
61
66
  :'distribution' => :'String'
62
67
  }
@@ -99,6 +104,12 @@ module PulpDebClient
99
104
  self.pulp_last_updated = attributes[:'pulp_last_updated']
100
105
  end
101
106
 
107
+ if attributes.key?(:'pulp_labels')
108
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
109
+ self.pulp_labels = value
110
+ end
111
+ end
112
+
102
113
  if attributes.key?(:'architecture')
103
114
  self.architecture = attributes[:'architecture']
104
115
  else
@@ -146,6 +157,7 @@ module PulpDebClient
146
157
  prn == o.prn &&
147
158
  pulp_created == o.pulp_created &&
148
159
  pulp_last_updated == o.pulp_last_updated &&
160
+ pulp_labels == o.pulp_labels &&
149
161
  architecture == o.architecture &&
150
162
  distribution == o.distribution
151
163
  end
@@ -159,7 +171,7 @@ module PulpDebClient
159
171
  # Calculates hash code according to all attributes.
160
172
  # @return [Integer] Hash code
161
173
  def hash
162
- [pulp_href, prn, pulp_created, pulp_last_updated, architecture, distribution].hash
174
+ [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, architecture, distribution].hash
163
175
  end
164
176
 
165
177
  # Builds the object from hash
@@ -19,6 +19,9 @@ module PulpDebClient
19
19
  # A URI of a repository the new content unit should be associated with.
20
20
  attr_accessor :repository
21
21
 
22
+ # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
23
+ attr_accessor :pulp_labels
24
+
22
25
  # Name of the component.
23
26
  attr_accessor :component
24
27
 
@@ -29,6 +32,7 @@ module PulpDebClient
29
32
  def self.attribute_map
30
33
  {
31
34
  :'repository' => :'repository',
35
+ :'pulp_labels' => :'pulp_labels',
32
36
  :'component' => :'component',
33
37
  :'distribution' => :'distribution'
34
38
  }
@@ -43,6 +47,7 @@ module PulpDebClient
43
47
  def self.openapi_types
44
48
  {
45
49
  :'repository' => :'String',
50
+ :'pulp_labels' => :'Hash<String, String>',
46
51
  :'component' => :'String',
47
52
  :'distribution' => :'String'
48
53
  }
@@ -73,6 +78,12 @@ module PulpDebClient
73
78
  self.repository = attributes[:'repository']
74
79
  end
75
80
 
81
+ if attributes.key?(:'pulp_labels')
82
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
83
+ self.pulp_labels = value
84
+ end
85
+ end
86
+
76
87
  if attributes.key?(:'component')
77
88
  self.component = attributes[:'component']
78
89
  else
@@ -155,6 +166,7 @@ module PulpDebClient
155
166
  return true if self.equal?(o)
156
167
  self.class == o.class &&
157
168
  repository == o.repository &&
169
+ pulp_labels == o.pulp_labels &&
158
170
  component == o.component &&
159
171
  distribution == o.distribution
160
172
  end
@@ -168,7 +180,7 @@ module PulpDebClient
168
180
  # Calculates hash code according to all attributes.
169
181
  # @return [Integer] Hash code
170
182
  def hash
171
- [repository, component, distribution].hash
183
+ [repository, pulp_labels, component, distribution].hash
172
184
  end
173
185
 
174
186
  # Builds the object from hash
@@ -27,6 +27,9 @@ module PulpDebClient
27
27
  # 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.
28
28
  attr_accessor :pulp_last_updated
29
29
 
30
+ # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
31
+ attr_accessor :pulp_labels
32
+
30
33
  # Name of the component.
31
34
  attr_accessor :component
32
35
 
@@ -43,6 +46,7 @@ module PulpDebClient
43
46
  :'prn' => :'prn',
44
47
  :'pulp_created' => :'pulp_created',
45
48
  :'pulp_last_updated' => :'pulp_last_updated',
49
+ :'pulp_labels' => :'pulp_labels',
46
50
  :'component' => :'component',
47
51
  :'distribution' => :'distribution',
48
52
  :'plain_component' => :'plain_component'
@@ -61,6 +65,7 @@ module PulpDebClient
61
65
  :'prn' => :'String',
62
66
  :'pulp_created' => :'Time',
63
67
  :'pulp_last_updated' => :'Time',
68
+ :'pulp_labels' => :'Hash<String, String>',
64
69
  :'component' => :'String',
65
70
  :'distribution' => :'String',
66
71
  :'plain_component' => :'String'
@@ -104,6 +109,12 @@ module PulpDebClient
104
109
  self.pulp_last_updated = attributes[:'pulp_last_updated']
105
110
  end
106
111
 
112
+ if attributes.key?(:'pulp_labels')
113
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
114
+ self.pulp_labels = value
115
+ end
116
+ end
117
+
107
118
  if attributes.key?(:'component')
108
119
  self.component = attributes[:'component']
109
120
  else
@@ -155,6 +166,7 @@ module PulpDebClient
155
166
  prn == o.prn &&
156
167
  pulp_created == o.pulp_created &&
157
168
  pulp_last_updated == o.pulp_last_updated &&
169
+ pulp_labels == o.pulp_labels &&
158
170
  component == o.component &&
159
171
  distribution == o.distribution &&
160
172
  plain_component == o.plain_component
@@ -169,7 +181,7 @@ module PulpDebClient
169
181
  # Calculates hash code according to all attributes.
170
182
  # @return [Integer] Hash code
171
183
  def hash
172
- [pulp_href, prn, pulp_created, pulp_last_updated, component, distribution, plain_component].hash
184
+ [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, component, distribution, plain_component].hash
173
185
  end
174
186
 
175
187
  # Builds the object from hash
@@ -19,6 +19,9 @@ module PulpDebClient
19
19
  # A URI of a repository the new content unit should be associated with.
20
20
  attr_accessor :repository
21
21
 
22
+ # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
23
+ attr_accessor :pulp_labels
24
+
22
25
  # A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
23
26
  attr_accessor :artifacts
24
27
 
@@ -38,6 +41,7 @@ module PulpDebClient
38
41
  def self.attribute_map
39
42
  {
40
43
  :'repository' => :'repository',
44
+ :'pulp_labels' => :'pulp_labels',
41
45
  :'artifacts' => :'artifacts',
42
46
  :'codename' => :'codename',
43
47
  :'suite' => :'suite',
@@ -55,6 +59,7 @@ module PulpDebClient
55
59
  def self.openapi_types
56
60
  {
57
61
  :'repository' => :'String',
62
+ :'pulp_labels' => :'Hash<String, String>',
58
63
  :'artifacts' => :'Object',
59
64
  :'codename' => :'String',
60
65
  :'suite' => :'String',
@@ -88,6 +93,12 @@ module PulpDebClient
88
93
  self.repository = attributes[:'repository']
89
94
  end
90
95
 
96
+ if attributes.key?(:'pulp_labels')
97
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
98
+ self.pulp_labels = value
99
+ end
100
+ end
101
+
91
102
  if attributes.key?(:'artifacts')
92
103
  self.artifacts = attributes[:'artifacts']
93
104
  else
@@ -220,6 +231,7 @@ module PulpDebClient
220
231
  return true if self.equal?(o)
221
232
  self.class == o.class &&
222
233
  repository == o.repository &&
234
+ pulp_labels == o.pulp_labels &&
223
235
  artifacts == o.artifacts &&
224
236
  codename == o.codename &&
225
237
  suite == o.suite &&
@@ -236,7 +248,7 @@ module PulpDebClient
236
248
  # Calculates hash code according to all attributes.
237
249
  # @return [Integer] Hash code
238
250
  def hash
239
- [repository, artifacts, codename, suite, distribution, relative_path].hash
251
+ [repository, pulp_labels, artifacts, codename, suite, distribution, relative_path].hash
240
252
  end
241
253
 
242
254
  # Builds the object from hash
@@ -27,6 +27,9 @@ module PulpDebClient
27
27
  # 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.
28
28
  attr_accessor :pulp_last_updated
29
29
 
30
+ # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
31
+ attr_accessor :pulp_labels
32
+
30
33
  # A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
31
34
  attr_accessor :artifacts
32
35
 
@@ -49,6 +52,7 @@ module PulpDebClient
49
52
  :'prn' => :'prn',
50
53
  :'pulp_created' => :'pulp_created',
51
54
  :'pulp_last_updated' => :'pulp_last_updated',
55
+ :'pulp_labels' => :'pulp_labels',
52
56
  :'artifacts' => :'artifacts',
53
57
  :'codename' => :'codename',
54
58
  :'suite' => :'suite',
@@ -69,6 +73,7 @@ module PulpDebClient
69
73
  :'prn' => :'String',
70
74
  :'pulp_created' => :'Time',
71
75
  :'pulp_last_updated' => :'Time',
76
+ :'pulp_labels' => :'Hash<String, String>',
72
77
  :'artifacts' => :'Object',
73
78
  :'codename' => :'String',
74
79
  :'suite' => :'String',
@@ -114,6 +119,12 @@ module PulpDebClient
114
119
  self.pulp_last_updated = attributes[:'pulp_last_updated']
115
120
  end
116
121
 
122
+ if attributes.key?(:'pulp_labels')
123
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
124
+ self.pulp_labels = value
125
+ end
126
+ end
127
+
117
128
  if attributes.key?(:'artifacts')
118
129
  self.artifacts = attributes[:'artifacts']
119
130
  else
@@ -173,6 +184,7 @@ module PulpDebClient
173
184
  prn == o.prn &&
174
185
  pulp_created == o.pulp_created &&
175
186
  pulp_last_updated == o.pulp_last_updated &&
187
+ pulp_labels == o.pulp_labels &&
176
188
  artifacts == o.artifacts &&
177
189
  codename == o.codename &&
178
190
  suite == o.suite &&
@@ -189,7 +201,7 @@ module PulpDebClient
189
201
  # Calculates hash code according to all attributes.
190
202
  # @return [Integer] Hash code
191
203
  def hash
192
- [pulp_href, prn, pulp_created, pulp_last_updated, artifacts, codename, suite, distribution, relative_path].hash
204
+ [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifacts, codename, suite, distribution, relative_path].hash
193
205
  end
194
206
 
195
207
  # Builds the object from hash
@@ -27,6 +27,9 @@ module PulpDebClient
27
27
  # 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.
28
28
  attr_accessor :pulp_last_updated
29
29
 
30
+ # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
31
+ attr_accessor :pulp_labels
32
+
30
33
  attr_accessor :codename
31
34
 
32
35
  attr_accessor :suite
@@ -52,6 +55,7 @@ module PulpDebClient
52
55
  :'prn' => :'prn',
53
56
  :'pulp_created' => :'pulp_created',
54
57
  :'pulp_last_updated' => :'pulp_last_updated',
58
+ :'pulp_labels' => :'pulp_labels',
55
59
  :'codename' => :'codename',
56
60
  :'suite' => :'suite',
57
61
  :'distribution' => :'distribution',
@@ -76,6 +80,7 @@ module PulpDebClient
76
80
  :'prn' => :'String',
77
81
  :'pulp_created' => :'Time',
78
82
  :'pulp_last_updated' => :'Time',
83
+ :'pulp_labels' => :'Hash<String, String>',
79
84
  :'codename' => :'String',
80
85
  :'suite' => :'String',
81
86
  :'distribution' => :'String',
@@ -129,6 +134,12 @@ module PulpDebClient
129
134
  self.pulp_last_updated = attributes[:'pulp_last_updated']
130
135
  end
131
136
 
137
+ if attributes.key?(:'pulp_labels')
138
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
139
+ self.pulp_labels = value
140
+ end
141
+ end
142
+
132
143
  if attributes.key?(:'codename')
133
144
  self.codename = attributes[:'codename']
134
145
  else
@@ -215,6 +226,7 @@ module PulpDebClient
215
226
  prn == o.prn &&
216
227
  pulp_created == o.pulp_created &&
217
228
  pulp_last_updated == o.pulp_last_updated &&
229
+ pulp_labels == o.pulp_labels &&
218
230
  codename == o.codename &&
219
231
  suite == o.suite &&
220
232
  distribution == o.distribution &&
@@ -235,7 +247,7 @@ module PulpDebClient
235
247
  # Calculates hash code according to all attributes.
236
248
  # @return [Integer] Hash code
237
249
  def hash
238
- [pulp_href, prn, pulp_created, pulp_last_updated, codename, suite, distribution, version, origin, label, description, architectures, components].hash
250
+ [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, codename, suite, distribution, version, origin, label, description, architectures, components].hash
239
251
  end
240
252
 
241
253
  # Builds the object from hash