pulp_deb_client 3.3.1 → 3.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (119) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/ContentGenericContentsApi.md +10 -8
  4. data/docs/ContentInstallerFileIndicesApi.md +10 -8
  5. data/docs/ContentInstallerPackagesApi.md +10 -8
  6. data/docs/ContentPackageIndicesApi.md +10 -8
  7. data/docs/ContentPackageReleaseComponentsApi.md +10 -8
  8. data/docs/ContentPackagesApi.md +10 -8
  9. data/docs/ContentReleaseArchitecturesApi.md +10 -8
  10. data/docs/ContentReleaseComponentsApi.md +10 -8
  11. data/docs/ContentReleaseFilesApi.md +10 -8
  12. data/docs/ContentReleasesApi.md +10 -8
  13. data/docs/ContentSourceIndicesApi.md +10 -8
  14. data/docs/ContentSourcePackagesApi.md +10 -8
  15. data/docs/ContentSourceReleaseComponentsApi.md +10 -8
  16. data/docs/DebAptDistributionResponse.md +4 -0
  17. data/docs/DebAptPublicationResponse.md +2 -0
  18. data/docs/DebAptRemoteResponse.md +2 -0
  19. data/docs/DebAptRepositoryResponse.md +2 -0
  20. data/docs/DebGenericContentResponse.md +2 -0
  21. data/docs/DebInstallerFileIndexResponse.md +2 -0
  22. data/docs/DebInstallerPackageResponse.md +2 -0
  23. data/docs/DebPackageIndexResponse.md +2 -0
  24. data/docs/DebPackageReleaseComponentResponse.md +2 -0
  25. data/docs/DebPackageResponse.md +2 -0
  26. data/docs/DebReleaseArchitectureResponse.md +2 -0
  27. data/docs/DebReleaseComponentResponse.md +2 -0
  28. data/docs/DebReleaseFileResponse.md +2 -0
  29. data/docs/DebReleaseResponse.md +2 -0
  30. data/docs/DebSourceIndexResponse.md +2 -0
  31. data/docs/DebSourcePackageReleaseComponentResponse.md +2 -0
  32. data/docs/DebSourcePackageResponse.md +2 -0
  33. data/docs/DebVerbatimPublicationResponse.md +2 -0
  34. data/docs/DistributionsAptApi.md +4 -2
  35. data/docs/PublicationsAptApi.md +12 -10
  36. data/docs/PublicationsVerbatimApi.md +12 -10
  37. data/docs/RemotesAptApi.md +4 -2
  38. data/docs/RepositoriesAptApi.md +8 -6
  39. data/docs/RepositoriesAptVersionsApi.md +8 -6
  40. data/docs/RepositoryVersionResponse.md +2 -0
  41. data/lib/pulp_deb_client/api/content_generic_contents_api.rb +11 -8
  42. data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +11 -8
  43. data/lib/pulp_deb_client/api/content_installer_packages_api.rb +11 -8
  44. data/lib/pulp_deb_client/api/content_package_indices_api.rb +11 -8
  45. data/lib/pulp_deb_client/api/content_package_release_components_api.rb +11 -8
  46. data/lib/pulp_deb_client/api/content_packages_api.rb +11 -8
  47. data/lib/pulp_deb_client/api/content_release_architectures_api.rb +11 -8
  48. data/lib/pulp_deb_client/api/content_release_components_api.rb +11 -8
  49. data/lib/pulp_deb_client/api/content_release_files_api.rb +11 -8
  50. data/lib/pulp_deb_client/api/content_releases_api.rb +11 -8
  51. data/lib/pulp_deb_client/api/content_source_indices_api.rb +11 -8
  52. data/lib/pulp_deb_client/api/content_source_packages_api.rb +11 -8
  53. data/lib/pulp_deb_client/api/content_source_release_components_api.rb +11 -8
  54. data/lib/pulp_deb_client/api/distributions_apt_api.rb +5 -2
  55. data/lib/pulp_deb_client/api/publications_apt_api.rb +14 -11
  56. data/lib/pulp_deb_client/api/publications_verbatim_api.rb +14 -11
  57. data/lib/pulp_deb_client/api/remotes_apt_api.rb +5 -2
  58. data/lib/pulp_deb_client/api/repositories_apt_api.rb +9 -6
  59. data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +10 -7
  60. data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +21 -1
  61. data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +11 -1
  62. data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +11 -1
  63. data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +11 -1
  64. data/lib/pulp_deb_client/models/deb_generic_content_response.rb +11 -1
  65. data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +11 -1
  66. data/lib/pulp_deb_client/models/deb_installer_package_response.rb +11 -1
  67. data/lib/pulp_deb_client/models/deb_package_index_response.rb +11 -1
  68. data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +11 -1
  69. data/lib/pulp_deb_client/models/deb_package_response.rb +11 -1
  70. data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +11 -1
  71. data/lib/pulp_deb_client/models/deb_release_component_response.rb +11 -1
  72. data/lib/pulp_deb_client/models/deb_release_file_response.rb +11 -1
  73. data/lib/pulp_deb_client/models/deb_release_response.rb +11 -1
  74. data/lib/pulp_deb_client/models/deb_source_index_response.rb +11 -1
  75. data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +11 -1
  76. data/lib/pulp_deb_client/models/deb_source_package_response.rb +11 -1
  77. data/lib/pulp_deb_client/models/deb_verbatim_publication_response.rb +11 -1
  78. data/lib/pulp_deb_client/models/repository_add_remove_content.rb +1 -1
  79. data/lib/pulp_deb_client/models/repository_version_response.rb +12 -2
  80. data/lib/pulp_deb_client/version.rb +1 -1
  81. data/spec/api/content_generic_contents_api_spec.rb +5 -4
  82. data/spec/api/content_installer_file_indices_api_spec.rb +5 -4
  83. data/spec/api/content_installer_packages_api_spec.rb +5 -4
  84. data/spec/api/content_package_indices_api_spec.rb +5 -4
  85. data/spec/api/content_package_release_components_api_spec.rb +5 -4
  86. data/spec/api/content_packages_api_spec.rb +5 -4
  87. data/spec/api/content_release_architectures_api_spec.rb +5 -4
  88. data/spec/api/content_release_components_api_spec.rb +5 -4
  89. data/spec/api/content_release_files_api_spec.rb +5 -4
  90. data/spec/api/content_releases_api_spec.rb +5 -4
  91. data/spec/api/content_source_indices_api_spec.rb +5 -4
  92. data/spec/api/content_source_packages_api_spec.rb +5 -4
  93. data/spec/api/content_source_release_components_api_spec.rb +5 -4
  94. data/spec/api/distributions_apt_api_spec.rb +2 -1
  95. data/spec/api/publications_apt_api_spec.rb +6 -5
  96. data/spec/api/publications_verbatim_api_spec.rb +6 -5
  97. data/spec/api/remotes_apt_api_spec.rb +2 -1
  98. data/spec/api/repositories_apt_api_spec.rb +4 -3
  99. data/spec/api/repositories_apt_versions_api_spec.rb +4 -3
  100. data/spec/models/deb_apt_distribution_response_spec.rb +12 -0
  101. data/spec/models/deb_apt_publication_response_spec.rb +6 -0
  102. data/spec/models/deb_apt_remote_response_spec.rb +6 -0
  103. data/spec/models/deb_apt_repository_response_spec.rb +6 -0
  104. data/spec/models/deb_generic_content_response_spec.rb +6 -0
  105. data/spec/models/deb_installer_file_index_response_spec.rb +6 -0
  106. data/spec/models/deb_installer_package_response_spec.rb +6 -0
  107. data/spec/models/deb_package_index_response_spec.rb +6 -0
  108. data/spec/models/deb_package_release_component_response_spec.rb +6 -0
  109. data/spec/models/deb_package_response_spec.rb +6 -0
  110. data/spec/models/deb_release_architecture_response_spec.rb +6 -0
  111. data/spec/models/deb_release_component_response_spec.rb +6 -0
  112. data/spec/models/deb_release_file_response_spec.rb +6 -0
  113. data/spec/models/deb_release_response_spec.rb +6 -0
  114. data/spec/models/deb_source_index_response_spec.rb +6 -0
  115. data/spec/models/deb_source_package_release_component_response_spec.rb +6 -0
  116. data/spec/models/deb_source_package_response_spec.rb +6 -0
  117. data/spec/models/deb_verbatim_publication_response_spec.rb +6 -0
  118. data/spec/models/repository_version_response_spec.rb +6 -0
  119. metadata +71 -71
@@ -85,8 +85,8 @@ module PulpDebClient
85
85
  # An AptRepositoryVersion represents a single APT repository version as stored by Pulp. It may be used as the basis for the creation of Pulp distributions in order to actually serve the content contained within the repository version.
86
86
  # @param deb_apt_repository_href [String]
87
87
  # @param [Hash] opts the optional parameters
88
- # @option opts [String] :content Content Unit referenced by HREF
89
- # @option opts [String] :content__in Content Unit referenced by HREF
88
+ # @option opts [String] :content Content Unit referenced by HREF/PRN
89
+ # @option opts [Array<String>] :content__in Multiple values may be separated by commas.
90
90
  # @option opts [Integer] :limit Number of results to return per page.
91
91
  # @option opts [Integer] :number Filter results where number matches value
92
92
  # @option opts [Integer] :number__gt Filter results where number is greater than value
@@ -96,6 +96,7 @@ module PulpDebClient
96
96
  # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
97
97
  # @option opts [Integer] :offset The initial index from which to return the results.
98
98
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;number&#x60; - Number * &#x60;-number&#x60; - Number (descending) * &#x60;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;info&#x60; - Info * &#x60;-info&#x60; - Info (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
99
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
99
100
  # @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
100
101
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
101
102
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
@@ -103,7 +104,7 @@ module PulpDebClient
103
104
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
104
105
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
105
106
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
106
- # @option opts [String] :q
107
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
107
108
  # @option opts [Array<String>] :fields A list of fields to include in the response.
108
109
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
109
110
  # @return [PaginatedRepositoryVersionResponseList]
@@ -116,8 +117,8 @@ module PulpDebClient
116
117
  # An AptRepositoryVersion represents a single APT repository version as stored by Pulp. It may be used as the basis for the creation of Pulp distributions in order to actually serve the content contained within the repository version.
117
118
  # @param deb_apt_repository_href [String]
118
119
  # @param [Hash] opts the optional parameters
119
- # @option opts [String] :content Content Unit referenced by HREF
120
- # @option opts [String] :content__in Content Unit referenced by HREF
120
+ # @option opts [String] :content Content Unit referenced by HREF/PRN
121
+ # @option opts [Array<String>] :content__in Multiple values may be separated by commas.
121
122
  # @option opts [Integer] :limit Number of results to return per page.
122
123
  # @option opts [Integer] :number Filter results where number matches value
123
124
  # @option opts [Integer] :number__gt Filter results where number is greater than value
@@ -127,6 +128,7 @@ module PulpDebClient
127
128
  # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
128
129
  # @option opts [Integer] :offset The initial index from which to return the results.
129
130
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;number&#x60; - Number * &#x60;-number&#x60; - Number (descending) * &#x60;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;info&#x60; - Info * &#x60;-info&#x60; - Info (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
131
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
130
132
  # @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
131
133
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
132
134
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
@@ -134,7 +136,7 @@ module PulpDebClient
134
136
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
135
137
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
136
138
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
137
- # @option opts [String] :q
139
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
138
140
  # @option opts [Array<String>] :fields A list of fields to include in the response.
139
141
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
140
142
  # @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
@@ -156,7 +158,7 @@ module PulpDebClient
156
158
  # query parameters
157
159
  query_params = opts[:query_params] || {}
158
160
  query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
159
- query_params[:'content__in'] = opts[:'content__in'] if !opts[:'content__in'].nil?
161
+ query_params[:'content__in'] = @api_client.build_collection_param(opts[:'content__in'], :csv) if !opts[:'content__in'].nil?
160
162
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
161
163
  query_params[:'number'] = opts[:'number'] if !opts[:'number'].nil?
162
164
  query_params[:'number__gt'] = opts[:'number__gt'] if !opts[:'number__gt'].nil?
@@ -166,6 +168,7 @@ module PulpDebClient
166
168
  query_params[:'number__range'] = @api_client.build_collection_param(opts[:'number__range'], :csv) if !opts[:'number__range'].nil?
167
169
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
168
170
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
171
+ query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
169
172
  query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
170
173
  query_params[:'pulp_created__gt'] = opts[:'pulp_created__gt'] if !opts[:'pulp_created__gt'].nil?
171
174
  query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
@@ -17,6 +17,9 @@ module PulpDebClient
17
17
  class DebAptDistributionResponse
18
18
  attr_accessor :pulp_href
19
19
 
20
+ # The Pulp Resource Name (PRN).
21
+ attr_accessor :prn
22
+
20
23
  # Timestamp of creation.
21
24
  attr_accessor :pulp_created
22
25
 
@@ -32,6 +35,9 @@ module PulpDebClient
32
35
  # An optional content-guard.
33
36
  attr_accessor :content_guard
34
37
 
38
+ # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
39
+ attr_accessor :no_content_change_since
40
+
35
41
  # Whether this distribution should be shown in the content app.
36
42
  attr_accessor :hidden
37
43
 
@@ -50,11 +56,13 @@ module PulpDebClient
50
56
  def self.attribute_map
51
57
  {
52
58
  :'pulp_href' => :'pulp_href',
59
+ :'prn' => :'prn',
53
60
  :'pulp_created' => :'pulp_created',
54
61
  :'pulp_last_updated' => :'pulp_last_updated',
55
62
  :'base_path' => :'base_path',
56
63
  :'base_url' => :'base_url',
57
64
  :'content_guard' => :'content_guard',
65
+ :'no_content_change_since' => :'no_content_change_since',
58
66
  :'hidden' => :'hidden',
59
67
  :'pulp_labels' => :'pulp_labels',
60
68
  :'name' => :'name',
@@ -67,11 +75,13 @@ module PulpDebClient
67
75
  def self.openapi_types
68
76
  {
69
77
  :'pulp_href' => :'String',
78
+ :'prn' => :'String',
70
79
  :'pulp_created' => :'DateTime',
71
80
  :'pulp_last_updated' => :'DateTime',
72
81
  :'base_path' => :'String',
73
82
  :'base_url' => :'String',
74
83
  :'content_guard' => :'String',
84
+ :'no_content_change_since' => :'String',
75
85
  :'hidden' => :'Boolean',
76
86
  :'pulp_labels' => :'Hash<String, String>',
77
87
  :'name' => :'String',
@@ -108,6 +118,10 @@ module PulpDebClient
108
118
  self.pulp_href = attributes[:'pulp_href']
109
119
  end
110
120
 
121
+ if attributes.key?(:'prn')
122
+ self.prn = attributes[:'prn']
123
+ end
124
+
111
125
  if attributes.key?(:'pulp_created')
112
126
  self.pulp_created = attributes[:'pulp_created']
113
127
  end
@@ -128,6 +142,10 @@ module PulpDebClient
128
142
  self.content_guard = attributes[:'content_guard']
129
143
  end
130
144
 
145
+ if attributes.key?(:'no_content_change_since')
146
+ self.no_content_change_since = attributes[:'no_content_change_since']
147
+ end
148
+
131
149
  if attributes.key?(:'hidden')
132
150
  self.hidden = attributes[:'hidden']
133
151
  else
@@ -182,11 +200,13 @@ module PulpDebClient
182
200
  return true if self.equal?(o)
183
201
  self.class == o.class &&
184
202
  pulp_href == o.pulp_href &&
203
+ prn == o.prn &&
185
204
  pulp_created == o.pulp_created &&
186
205
  pulp_last_updated == o.pulp_last_updated &&
187
206
  base_path == o.base_path &&
188
207
  base_url == o.base_url &&
189
208
  content_guard == o.content_guard &&
209
+ no_content_change_since == o.no_content_change_since &&
190
210
  hidden == o.hidden &&
191
211
  pulp_labels == o.pulp_labels &&
192
212
  name == o.name &&
@@ -203,7 +223,7 @@ module PulpDebClient
203
223
  # Calculates hash code according to all attributes.
204
224
  # @return [Integer] Hash code
205
225
  def hash
206
- [pulp_href, pulp_created, pulp_last_updated, base_path, base_url, content_guard, hidden, pulp_labels, name, repository, publication].hash
226
+ [pulp_href, prn, pulp_created, pulp_last_updated, base_path, base_url, content_guard, no_content_change_since, hidden, pulp_labels, name, repository, publication].hash
207
227
  end
208
228
 
209
229
  # Builds the object from hash
@@ -17,6 +17,9 @@ module PulpDebClient
17
17
  class DebAptPublicationResponse
18
18
  attr_accessor :pulp_href
19
19
 
20
+ # The Pulp Resource Name (PRN).
21
+ attr_accessor :prn
22
+
20
23
  # Timestamp of creation.
21
24
  attr_accessor :pulp_created
22
25
 
@@ -43,6 +46,7 @@ module PulpDebClient
43
46
  def self.attribute_map
44
47
  {
45
48
  :'pulp_href' => :'pulp_href',
49
+ :'prn' => :'prn',
46
50
  :'pulp_created' => :'pulp_created',
47
51
  :'pulp_last_updated' => :'pulp_last_updated',
48
52
  :'repository_version' => :'repository_version',
@@ -58,6 +62,7 @@ module PulpDebClient
58
62
  def self.openapi_types
59
63
  {
60
64
  :'pulp_href' => :'String',
65
+ :'prn' => :'String',
61
66
  :'pulp_created' => :'DateTime',
62
67
  :'pulp_last_updated' => :'DateTime',
63
68
  :'repository_version' => :'String',
@@ -94,6 +99,10 @@ module PulpDebClient
94
99
  self.pulp_href = attributes[:'pulp_href']
95
100
  end
96
101
 
102
+ if attributes.key?(:'prn')
103
+ self.prn = attributes[:'prn']
104
+ end
105
+
97
106
  if attributes.key?(:'pulp_created')
98
107
  self.pulp_created = attributes[:'pulp_created']
99
108
  end
@@ -150,6 +159,7 @@ module PulpDebClient
150
159
  return true if self.equal?(o)
151
160
  self.class == o.class &&
152
161
  pulp_href == o.pulp_href &&
162
+ prn == o.prn &&
153
163
  pulp_created == o.pulp_created &&
154
164
  pulp_last_updated == o.pulp_last_updated &&
155
165
  repository_version == o.repository_version &&
@@ -169,7 +179,7 @@ module PulpDebClient
169
179
  # Calculates hash code according to all attributes.
170
180
  # @return [Integer] Hash code
171
181
  def hash
172
- [pulp_href, pulp_created, pulp_last_updated, repository_version, repository, simple, structured, signing_service, publish_upstream_release_fields].hash
182
+ [pulp_href, prn, pulp_created, pulp_last_updated, repository_version, repository, simple, structured, signing_service, publish_upstream_release_fields].hash
173
183
  end
174
184
 
175
185
  # Builds the object from hash
@@ -17,6 +17,9 @@ module PulpDebClient
17
17
  class DebAptRemoteResponse
18
18
  attr_accessor :pulp_href
19
19
 
20
+ # The Pulp Resource Name (PRN).
21
+ attr_accessor :prn
22
+
20
23
  # Timestamp of creation.
21
24
  attr_accessor :pulp_created
22
25
 
@@ -101,6 +104,7 @@ module PulpDebClient
101
104
  def self.attribute_map
102
105
  {
103
106
  :'pulp_href' => :'pulp_href',
107
+ :'prn' => :'prn',
104
108
  :'pulp_created' => :'pulp_created',
105
109
  :'pulp_last_updated' => :'pulp_last_updated',
106
110
  :'name' => :'name',
@@ -135,6 +139,7 @@ module PulpDebClient
135
139
  def self.openapi_types
136
140
  {
137
141
  :'pulp_href' => :'String',
142
+ :'prn' => :'String',
138
143
  :'pulp_created' => :'DateTime',
139
144
  :'pulp_last_updated' => :'DateTime',
140
145
  :'name' => :'String',
@@ -203,6 +208,10 @@ module PulpDebClient
203
208
  self.pulp_href = attributes[:'pulp_href']
204
209
  end
205
210
 
211
+ if attributes.key?(:'prn')
212
+ self.prn = attributes[:'prn']
213
+ end
214
+
206
215
  if attributes.key?(:'pulp_created')
207
216
  self.pulp_created = attributes[:'pulp_created']
208
217
  end
@@ -427,6 +436,7 @@ module PulpDebClient
427
436
  return true if self.equal?(o)
428
437
  self.class == o.class &&
429
438
  pulp_href == o.pulp_href &&
439
+ prn == o.prn &&
430
440
  pulp_created == o.pulp_created &&
431
441
  pulp_last_updated == o.pulp_last_updated &&
432
442
  name == o.name &&
@@ -465,7 +475,7 @@ module PulpDebClient
465
475
  # Calculates hash code according to all attributes.
466
476
  # @return [Integer] Hash code
467
477
  def 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
478
+ [pulp_href, prn, 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
479
  end
470
480
 
471
481
  # Builds the object from hash
@@ -17,6 +17,9 @@ module PulpDebClient
17
17
  class DebAptRepositoryResponse
18
18
  attr_accessor :pulp_href
19
19
 
20
+ # The Pulp Resource Name (PRN).
21
+ attr_accessor :prn
22
+
20
23
  # Timestamp of creation.
21
24
  attr_accessor :pulp_created
22
25
 
@@ -54,6 +57,7 @@ module PulpDebClient
54
57
  def self.attribute_map
55
58
  {
56
59
  :'pulp_href' => :'pulp_href',
60
+ :'prn' => :'prn',
57
61
  :'pulp_created' => :'pulp_created',
58
62
  :'pulp_last_updated' => :'pulp_last_updated',
59
63
  :'versions_href' => :'versions_href',
@@ -73,6 +77,7 @@ module PulpDebClient
73
77
  def self.openapi_types
74
78
  {
75
79
  :'pulp_href' => :'String',
80
+ :'prn' => :'String',
76
81
  :'pulp_created' => :'DateTime',
77
82
  :'pulp_last_updated' => :'DateTime',
78
83
  :'versions_href' => :'String',
@@ -117,6 +122,10 @@ module PulpDebClient
117
122
  self.pulp_href = attributes[:'pulp_href']
118
123
  end
119
124
 
125
+ if attributes.key?(:'prn')
126
+ self.prn = attributes[:'prn']
127
+ end
128
+
120
129
  if attributes.key?(:'pulp_created')
121
130
  self.pulp_created = attributes[:'pulp_created']
122
131
  end
@@ -209,6 +218,7 @@ module PulpDebClient
209
218
  return true if self.equal?(o)
210
219
  self.class == o.class &&
211
220
  pulp_href == o.pulp_href &&
221
+ prn == o.prn &&
212
222
  pulp_created == o.pulp_created &&
213
223
  pulp_last_updated == o.pulp_last_updated &&
214
224
  versions_href == o.versions_href &&
@@ -232,7 +242,7 @@ module PulpDebClient
232
242
  # Calculates hash code according to all attributes.
233
243
  # @return [Integer] Hash code
234
244
  def 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
245
+ [pulp_href, prn, 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
236
246
  end
237
247
 
238
248
  # Builds the object from hash
@@ -17,6 +17,9 @@ module PulpDebClient
17
17
  class DebGenericContentResponse
18
18
  attr_accessor :pulp_href
19
19
 
20
+ # The Pulp Resource Name (PRN).
21
+ attr_accessor :prn
22
+
20
23
  # Timestamp of creation.
21
24
  attr_accessor :pulp_created
22
25
 
@@ -51,6 +54,7 @@ module PulpDebClient
51
54
  def self.attribute_map
52
55
  {
53
56
  :'pulp_href' => :'pulp_href',
57
+ :'prn' => :'prn',
54
58
  :'pulp_created' => :'pulp_created',
55
59
  :'pulp_last_updated' => :'pulp_last_updated',
56
60
  :'artifact' => :'artifact',
@@ -68,6 +72,7 @@ module PulpDebClient
68
72
  def self.openapi_types
69
73
  {
70
74
  :'pulp_href' => :'String',
75
+ :'prn' => :'String',
71
76
  :'pulp_created' => :'DateTime',
72
77
  :'pulp_last_updated' => :'DateTime',
73
78
  :'artifact' => :'String',
@@ -106,6 +111,10 @@ module PulpDebClient
106
111
  self.pulp_href = attributes[:'pulp_href']
107
112
  end
108
113
 
114
+ if attributes.key?(:'prn')
115
+ self.prn = attributes[:'prn']
116
+ end
117
+
109
118
  if attributes.key?(:'pulp_created')
110
119
  self.pulp_created = attributes[:'pulp_created']
111
120
  end
@@ -171,6 +180,7 @@ module PulpDebClient
171
180
  return true if self.equal?(o)
172
181
  self.class == o.class &&
173
182
  pulp_href == o.pulp_href &&
183
+ prn == o.prn &&
174
184
  pulp_created == o.pulp_created &&
175
185
  pulp_last_updated == o.pulp_last_updated &&
176
186
  artifact == o.artifact &&
@@ -192,7 +202,7 @@ module PulpDebClient
192
202
  # Calculates hash code according to all attributes.
193
203
  # @return [Integer] Hash code
194
204
  def hash
195
- [pulp_href, pulp_created, pulp_last_updated, artifact, relative_path, md5, sha1, sha224, sha256, sha384, sha512].hash
205
+ [pulp_href, prn, pulp_created, pulp_last_updated, artifact, relative_path, md5, sha1, sha224, sha256, sha384, sha512].hash
196
206
  end
197
207
 
198
208
  # Builds the object from hash
@@ -17,6 +17,9 @@ module PulpDebClient
17
17
  class DebInstallerFileIndexResponse
18
18
  attr_accessor :pulp_href
19
19
 
20
+ # The Pulp Resource Name (PRN).
21
+ attr_accessor :prn
22
+
20
23
  # Timestamp of creation.
21
24
  attr_accessor :pulp_created
22
25
 
@@ -39,6 +42,7 @@ module PulpDebClient
39
42
  def self.attribute_map
40
43
  {
41
44
  :'pulp_href' => :'pulp_href',
45
+ :'prn' => :'prn',
42
46
  :'pulp_created' => :'pulp_created',
43
47
  :'pulp_last_updated' => :'pulp_last_updated',
44
48
  :'artifacts' => :'artifacts',
@@ -52,6 +56,7 @@ module PulpDebClient
52
56
  def self.openapi_types
53
57
  {
54
58
  :'pulp_href' => :'String',
59
+ :'prn' => :'String',
55
60
  :'pulp_created' => :'DateTime',
56
61
  :'pulp_last_updated' => :'DateTime',
57
62
  :'artifacts' => :'Object',
@@ -86,6 +91,10 @@ module PulpDebClient
86
91
  self.pulp_href = attributes[:'pulp_href']
87
92
  end
88
93
 
94
+ if attributes.key?(:'prn')
95
+ self.prn = attributes[:'prn']
96
+ end
97
+
89
98
  if attributes.key?(:'pulp_created')
90
99
  self.pulp_created = attributes[:'pulp_created']
91
100
  end
@@ -145,6 +154,7 @@ module PulpDebClient
145
154
  return true if self.equal?(o)
146
155
  self.class == o.class &&
147
156
  pulp_href == o.pulp_href &&
157
+ prn == o.prn &&
148
158
  pulp_created == o.pulp_created &&
149
159
  pulp_last_updated == o.pulp_last_updated &&
150
160
  artifacts == o.artifacts &&
@@ -162,7 +172,7 @@ module PulpDebClient
162
172
  # Calculates hash code according to all attributes.
163
173
  # @return [Integer] Hash code
164
174
  def hash
165
- [pulp_href, pulp_created, pulp_last_updated, artifacts, component, architecture, relative_path].hash
175
+ [pulp_href, prn, pulp_created, pulp_last_updated, artifacts, component, architecture, relative_path].hash
166
176
  end
167
177
 
168
178
  # Builds the object from hash
@@ -17,6 +17,9 @@ module PulpDebClient
17
17
  class DebInstallerPackageResponse
18
18
  attr_accessor :pulp_href
19
19
 
20
+ # The Pulp Resource Name (PRN).
21
+ attr_accessor :prn
22
+
20
23
  # Timestamp of creation.
21
24
  attr_accessor :pulp_created
22
25
 
@@ -109,6 +112,7 @@ module PulpDebClient
109
112
  def self.attribute_map
110
113
  {
111
114
  :'pulp_href' => :'pulp_href',
115
+ :'prn' => :'prn',
112
116
  :'pulp_created' => :'pulp_created',
113
117
  :'pulp_last_updated' => :'pulp_last_updated',
114
118
  :'artifact' => :'artifact',
@@ -155,6 +159,7 @@ module PulpDebClient
155
159
  def self.openapi_types
156
160
  {
157
161
  :'pulp_href' => :'String',
162
+ :'prn' => :'String',
158
163
  :'pulp_created' => :'DateTime',
159
164
  :'pulp_last_updated' => :'DateTime',
160
165
  :'artifact' => :'String',
@@ -222,6 +227,10 @@ module PulpDebClient
222
227
  self.pulp_href = attributes[:'pulp_href']
223
228
  end
224
229
 
230
+ if attributes.key?(:'prn')
231
+ self.prn = attributes[:'prn']
232
+ end
233
+
225
234
  if attributes.key?(:'pulp_created')
226
235
  self.pulp_created = attributes[:'pulp_created']
227
236
  end
@@ -398,6 +407,7 @@ module PulpDebClient
398
407
  return true if self.equal?(o)
399
408
  self.class == o.class &&
400
409
  pulp_href == o.pulp_href &&
410
+ prn == o.prn &&
401
411
  pulp_created == o.pulp_created &&
402
412
  pulp_last_updated == o.pulp_last_updated &&
403
413
  artifact == o.artifact &&
@@ -448,7 +458,7 @@ module PulpDebClient
448
458
  # Calculates hash code according to all attributes.
449
459
  # @return [Integer] Hash code
450
460
  def 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
461
+ [pulp_href, prn, 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
452
462
  end
453
463
 
454
464
  # Builds the object from hash
@@ -17,6 +17,9 @@ module PulpDebClient
17
17
  class DebPackageIndexResponse
18
18
  attr_accessor :pulp_href
19
19
 
20
+ # The Pulp Resource Name (PRN).
21
+ attr_accessor :prn
22
+
20
23
  # Timestamp of creation.
21
24
  attr_accessor :pulp_created
22
25
 
@@ -39,6 +42,7 @@ module PulpDebClient
39
42
  def self.attribute_map
40
43
  {
41
44
  :'pulp_href' => :'pulp_href',
45
+ :'prn' => :'prn',
42
46
  :'pulp_created' => :'pulp_created',
43
47
  :'pulp_last_updated' => :'pulp_last_updated',
44
48
  :'artifacts' => :'artifacts',
@@ -52,6 +56,7 @@ module PulpDebClient
52
56
  def self.openapi_types
53
57
  {
54
58
  :'pulp_href' => :'String',
59
+ :'prn' => :'String',
55
60
  :'pulp_created' => :'DateTime',
56
61
  :'pulp_last_updated' => :'DateTime',
57
62
  :'artifacts' => :'Object',
@@ -86,6 +91,10 @@ module PulpDebClient
86
91
  self.pulp_href = attributes[:'pulp_href']
87
92
  end
88
93
 
94
+ if attributes.key?(:'prn')
95
+ self.prn = attributes[:'prn']
96
+ end
97
+
89
98
  if attributes.key?(:'pulp_created')
90
99
  self.pulp_created = attributes[:'pulp_created']
91
100
  end
@@ -135,6 +144,7 @@ module PulpDebClient
135
144
  return true if self.equal?(o)
136
145
  self.class == o.class &&
137
146
  pulp_href == o.pulp_href &&
147
+ prn == o.prn &&
138
148
  pulp_created == o.pulp_created &&
139
149
  pulp_last_updated == o.pulp_last_updated &&
140
150
  artifacts == o.artifacts &&
@@ -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, pulp_last_updated, artifacts, component, architecture, relative_path].hash
165
+ [pulp_href, prn, pulp_created, pulp_last_updated, artifacts, component, architecture, relative_path].hash
156
166
  end
157
167
 
158
168
  # Builds the object from hash
@@ -17,6 +17,9 @@ module PulpDebClient
17
17
  class DebPackageReleaseComponentResponse
18
18
  attr_accessor :pulp_href
19
19
 
20
+ # The Pulp Resource Name (PRN).
21
+ attr_accessor :prn
22
+
20
23
  # Timestamp of creation.
21
24
  attr_accessor :pulp_created
22
25
 
@@ -33,6 +36,7 @@ module PulpDebClient
33
36
  def self.attribute_map
34
37
  {
35
38
  :'pulp_href' => :'pulp_href',
39
+ :'prn' => :'prn',
36
40
  :'pulp_created' => :'pulp_created',
37
41
  :'pulp_last_updated' => :'pulp_last_updated',
38
42
  :'package' => :'package',
@@ -44,6 +48,7 @@ module PulpDebClient
44
48
  def self.openapi_types
45
49
  {
46
50
  :'pulp_href' => :'String',
51
+ :'prn' => :'String',
47
52
  :'pulp_created' => :'DateTime',
48
53
  :'pulp_last_updated' => :'DateTime',
49
54
  :'package' => :'String',
@@ -76,6 +81,10 @@ module PulpDebClient
76
81
  self.pulp_href = attributes[:'pulp_href']
77
82
  end
78
83
 
84
+ if attributes.key?(:'prn')
85
+ self.prn = attributes[:'prn']
86
+ end
87
+
79
88
  if attributes.key?(:'pulp_created')
80
89
  self.pulp_created = attributes[:'pulp_created']
81
90
  end
@@ -122,6 +131,7 @@ module PulpDebClient
122
131
  return true if self.equal?(o)
123
132
  self.class == o.class &&
124
133
  pulp_href == o.pulp_href &&
134
+ prn == o.prn &&
125
135
  pulp_created == o.pulp_created &&
126
136
  pulp_last_updated == o.pulp_last_updated &&
127
137
  package == o.package &&
@@ -137,7 +147,7 @@ module PulpDebClient
137
147
  # Calculates hash code according to all attributes.
138
148
  # @return [Integer] Hash code
139
149
  def hash
140
- [pulp_href, pulp_created, pulp_last_updated, package, release_component].hash
150
+ [pulp_href, prn, pulp_created, pulp_last_updated, package, release_component].hash
141
151
  end
142
152
 
143
153
  # Builds the object from hash
@@ -17,6 +17,9 @@ module PulpDebClient
17
17
  class DebPackageResponse
18
18
  attr_accessor :pulp_href
19
19
 
20
+ # The Pulp Resource Name (PRN).
21
+ attr_accessor :prn
22
+
20
23
  # Timestamp of creation.
21
24
  attr_accessor :pulp_created
22
25
 
@@ -115,6 +118,7 @@ module PulpDebClient
115
118
  def self.attribute_map
116
119
  {
117
120
  :'pulp_href' => :'pulp_href',
121
+ :'prn' => :'prn',
118
122
  :'pulp_created' => :'pulp_created',
119
123
  :'pulp_last_updated' => :'pulp_last_updated',
120
124
  :'artifact' => :'artifact',
@@ -163,6 +167,7 @@ module PulpDebClient
163
167
  def self.openapi_types
164
168
  {
165
169
  :'pulp_href' => :'String',
170
+ :'prn' => :'String',
166
171
  :'pulp_created' => :'DateTime',
167
172
  :'pulp_last_updated' => :'DateTime',
168
173
  :'artifact' => :'String',
@@ -232,6 +237,10 @@ module PulpDebClient
232
237
  self.pulp_href = attributes[:'pulp_href']
233
238
  end
234
239
 
240
+ if attributes.key?(:'prn')
241
+ self.prn = attributes[:'prn']
242
+ end
243
+
235
244
  if attributes.key?(:'pulp_created')
236
245
  self.pulp_created = attributes[:'pulp_created']
237
246
  end
@@ -416,6 +425,7 @@ module PulpDebClient
416
425
  return true if self.equal?(o)
417
426
  self.class == o.class &&
418
427
  pulp_href == o.pulp_href &&
428
+ prn == o.prn &&
419
429
  pulp_created == o.pulp_created &&
420
430
  pulp_last_updated == o.pulp_last_updated &&
421
431
  artifact == o.artifact &&
@@ -468,7 +478,7 @@ module PulpDebClient
468
478
  # Calculates hash code according to all attributes.
469
479
  # @return [Integer] Hash code
470
480
  def 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
481
+ [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
472
482
  end
473
483
 
474
484
  # Builds the object from hash