pulpcore_client 3.72.0 → 3.73.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 (126) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -5
  3. data/docs/ArtifactDistributionResponse.md +14 -14
  4. data/docs/ContentApi.md +2 -0
  5. data/docs/ContentOpenpgpPublickeyApi.md +152 -2
  6. data/docs/ContentOpenpgpPublicsubkeyApi.md +4 -2
  7. data/docs/ContentOpenpgpSignatureApi.md +4 -2
  8. data/docs/ContentOpenpgpUserattributeApi.md +4 -2
  9. data/docs/ContentOpenpgpUseridApi.md +4 -2
  10. data/docs/FilesystemExportResponse.md +1 -1
  11. data/docs/GenericRemoteResponse.md +2 -2
  12. data/docs/GenericRemoteResponsePolicyEnum.md +15 -0
  13. data/docs/GroupRoleResponse.md +1 -1
  14. data/docs/MultipleArtifactContentResponse.md +2 -0
  15. data/docs/NestedOpenPGPPublicSubkeyResponse.md +1 -1
  16. data/docs/NestedOpenPGPUserAttributeResponse.md +1 -1
  17. data/docs/NestedOpenPGPUserIDResponse.md +1 -1
  18. data/docs/OpenPGPPublicKeyResponse.md +5 -3
  19. data/docs/OpenPGPPublicSubkeyResponse.md +3 -1
  20. data/docs/OpenPGPSignatureResponse.md +2 -0
  21. data/docs/OpenPGPUserAttributeResponse.md +3 -1
  22. data/docs/OpenPGPUserIDResponse.md +3 -1
  23. data/docs/PatchedUpstreamPulp.md +3 -1
  24. data/docs/{PolicyEnum.md → Policy357Enum.md} +2 -2
  25. data/docs/PulpExportResponse.md +1 -1
  26. data/docs/Purge.md +1 -1
  27. data/docs/RBACContentGuardResponse.md +2 -2
  28. data/docs/TaskGroupResponse.md +2 -2
  29. data/docs/TaskResponse.md +4 -4
  30. data/docs/UploadDetailResponse.md +1 -1
  31. data/docs/UpstreamPulp.md +3 -1
  32. data/docs/UpstreamPulpResponse.md +4 -2
  33. data/docs/UpstreamPulpsApi.md +2 -2
  34. data/docs/UserResponse.md +2 -2
  35. data/docs/UserRoleResponse.md +1 -1
  36. data/lib/pulpcore_client/api/content_api.rb +3 -0
  37. data/lib/pulpcore_client/api/content_openpgp_publickey_api.rb +157 -3
  38. data/lib/pulpcore_client/api/content_openpgp_publicsubkey_api.rb +6 -3
  39. data/lib/pulpcore_client/api/content_openpgp_signature_api.rb +6 -3
  40. data/lib/pulpcore_client/api/content_openpgp_userattribute_api.rb +6 -3
  41. data/lib/pulpcore_client/api/content_openpgp_userid_api.rb +6 -3
  42. data/lib/pulpcore_client/api/upstream_pulps_api.rb +3 -3
  43. data/lib/pulpcore_client/models/artifact_distribution_response.rb +70 -70
  44. data/lib/pulpcore_client/models/generic_remote_response.rb +16 -1
  45. data/lib/pulpcore_client/models/{policy_enum.rb → generic_remote_response_policy_enum.rb} +3 -3
  46. data/lib/pulpcore_client/models/multiple_artifact_content_response.rb +13 -1
  47. data/lib/pulpcore_client/models/nested_open_pgp_signature.rb +9 -0
  48. data/lib/pulpcore_client/models/nested_open_pgp_signature_response.rb +15 -0
  49. data/lib/pulpcore_client/models/open_pgp_keyring.rb +15 -0
  50. data/lib/pulpcore_client/models/open_pgp_keyring_response.rb +15 -0
  51. data/lib/pulpcore_client/models/open_pgp_public_key_response.rb +13 -1
  52. data/lib/pulpcore_client/models/open_pgp_public_subkey_response.rb +13 -1
  53. data/lib/pulpcore_client/models/open_pgp_signature_response.rb +28 -1
  54. data/lib/pulpcore_client/models/open_pgp_user_attribute_response.rb +13 -1
  55. data/lib/pulpcore_client/models/open_pgp_user_id_response.rb +13 -1
  56. data/lib/pulpcore_client/models/paginated_access_policy_response_list.rb +2 -0
  57. data/lib/pulpcore_client/models/paginated_artifact_distribution_response_list.rb +2 -0
  58. data/lib/pulpcore_client/models/paginated_artifact_response_list.rb +2 -0
  59. data/lib/pulpcore_client/models/paginated_composite_content_guard_response_list.rb +2 -0
  60. data/lib/pulpcore_client/models/paginated_content_guard_response_list.rb +2 -0
  61. data/lib/pulpcore_client/models/paginated_content_redirect_content_guard_response_list.rb +2 -0
  62. data/lib/pulpcore_client/models/paginated_distribution_response_list.rb +2 -0
  63. data/lib/pulpcore_client/models/paginated_domain_response_list.rb +2 -0
  64. data/lib/pulpcore_client/models/paginated_filesystem_export_response_list.rb +2 -0
  65. data/lib/pulpcore_client/models/paginated_filesystem_exporter_response_list.rb +2 -0
  66. data/lib/pulpcore_client/models/paginated_generic_remote_response_list.rb +2 -0
  67. data/lib/pulpcore_client/models/paginated_group_response_list.rb +2 -0
  68. data/lib/pulpcore_client/models/paginated_group_role_response_list.rb +2 -0
  69. data/lib/pulpcore_client/models/paginated_group_user_response_list.rb +2 -0
  70. data/lib/pulpcore_client/models/paginated_header_content_guard_response_list.rb +2 -0
  71. data/lib/pulpcore_client/models/paginated_import_response_list.rb +2 -0
  72. data/lib/pulpcore_client/models/paginated_multiple_artifact_content_response_list.rb +2 -0
  73. data/lib/pulpcore_client/models/paginated_open_pgp_distribution_response_list.rb +2 -0
  74. data/lib/pulpcore_client/models/paginated_open_pgp_keyring_response_list.rb +2 -0
  75. data/lib/pulpcore_client/models/paginated_open_pgp_public_key_response_list.rb +2 -0
  76. data/lib/pulpcore_client/models/paginated_open_pgp_public_subkey_response_list.rb +2 -0
  77. data/lib/pulpcore_client/models/paginated_open_pgp_signature_response_list.rb +2 -0
  78. data/lib/pulpcore_client/models/paginated_open_pgp_user_attribute_response_list.rb +2 -0
  79. data/lib/pulpcore_client/models/paginated_open_pgp_user_id_response_list.rb +2 -0
  80. data/lib/pulpcore_client/models/paginated_publication_response_list.rb +2 -0
  81. data/lib/pulpcore_client/models/paginated_pulp_export_response_list.rb +2 -0
  82. data/lib/pulpcore_client/models/paginated_pulp_exporter_response_list.rb +2 -0
  83. data/lib/pulpcore_client/models/paginated_pulp_importer_response_list.rb +2 -0
  84. data/lib/pulpcore_client/models/paginated_rbac_content_guard_response_list.rb +2 -0
  85. data/lib/pulpcore_client/models/paginated_repository_response_list.rb +2 -0
  86. data/lib/pulpcore_client/models/paginated_repository_version_response_list.rb +2 -0
  87. data/lib/pulpcore_client/models/paginated_role_response_list.rb +2 -0
  88. data/lib/pulpcore_client/models/paginated_signing_service_response_list.rb +2 -0
  89. data/lib/pulpcore_client/models/paginated_task_group_response_list.rb +2 -0
  90. data/lib/pulpcore_client/models/paginated_task_response_list.rb +2 -0
  91. data/lib/pulpcore_client/models/paginated_task_schedule_response_list.rb +2 -0
  92. data/lib/pulpcore_client/models/paginated_upload_response_list.rb +2 -0
  93. data/lib/pulpcore_client/models/paginated_upstream_pulp_response_list.rb +2 -0
  94. data/lib/pulpcore_client/models/paginated_user_response_list.rb +2 -0
  95. data/lib/pulpcore_client/models/paginated_user_role_response_list.rb +2 -0
  96. data/lib/pulpcore_client/models/paginated_worker_response_list.rb +2 -0
  97. data/lib/pulpcore_client/models/patched_open_pgp_keyring.rb +15 -0
  98. data/lib/pulpcore_client/models/patched_upstream_pulp.rb +37 -5
  99. data/lib/pulpcore_client/models/policy357_enum.rb +41 -0
  100. data/lib/pulpcore_client/models/purge.rb +0 -2
  101. data/lib/pulpcore_client/models/repository_response.rb +15 -0
  102. data/lib/pulpcore_client/models/storage_response.rb +45 -0
  103. data/lib/pulpcore_client/models/upstream_pulp.rb +37 -5
  104. data/lib/pulpcore_client/models/upstream_pulp_response.rb +36 -4
  105. data/lib/pulpcore_client/version.rb +1 -1
  106. data/lib/pulpcore_client.rb +2 -1
  107. data/spec/api/content_api_spec.rb +1 -0
  108. data/spec/api/content_openpgp_publickey_api_spec.rb +29 -1
  109. data/spec/api/content_openpgp_publicsubkey_api_spec.rb +2 -1
  110. data/spec/api/content_openpgp_signature_api_spec.rb +2 -1
  111. data/spec/api/content_openpgp_userattribute_api_spec.rb +2 -1
  112. data/spec/api/content_openpgp_userid_api_spec.rb +2 -1
  113. data/spec/api/upstream_pulps_api_spec.rb +1 -1
  114. data/spec/models/artifact_distribution_response_spec.rb +10 -10
  115. data/spec/models/generic_remote_response_policy_enum_spec.rb +30 -0
  116. data/spec/models/multiple_artifact_content_response_spec.rb +6 -0
  117. data/spec/models/open_pgp_public_key_response_spec.rb +6 -0
  118. data/spec/models/open_pgp_public_subkey_response_spec.rb +6 -0
  119. data/spec/models/open_pgp_signature_response_spec.rb +6 -0
  120. data/spec/models/open_pgp_user_attribute_response_spec.rb +6 -0
  121. data/spec/models/open_pgp_user_id_response_spec.rb +6 -0
  122. data/spec/models/patched_upstream_pulp_spec.rb +6 -0
  123. data/spec/models/{policy_enum_spec.rb → policy357_enum_spec.rb} +6 -6
  124. data/spec/models/upstream_pulp_response_spec.rb +6 -0
  125. data/spec/models/upstream_pulp_spec.rb +6 -0
  126. metadata +194 -190
@@ -124,6 +124,10 @@ module PulpcoreClient
124
124
  def list_invalid_properties
125
125
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
126
126
  invalid_properties = Array.new
127
+ if !@issuer.nil? && @issuer.to_s.length > 16
128
+ invalid_properties.push('invalid value for "issuer", the character length must be smaller than or equal to 16.')
129
+ end
130
+
127
131
  if @created.nil?
128
132
  invalid_properties.push('invalid value for "created", created cannot be nil.')
129
133
  end
@@ -139,11 +143,22 @@ module PulpcoreClient
139
143
  # @return true if the model is valid
140
144
  def valid?
141
145
  warn '[DEPRECATED] the `valid?` method is obsolete'
146
+ return false if !@issuer.nil? && @issuer.to_s.length > 16
142
147
  return false if @created.nil?
143
148
  return false if @expired.nil?
144
149
  true
145
150
  end
146
151
 
152
+ # Custom attribute writer method with validation
153
+ # @param [Object] issuer Value to be assigned
154
+ def issuer=(issuer)
155
+ if !issuer.nil? && issuer.to_s.length > 16
156
+ fail ArgumentError, 'invalid value for "issuer", the character length must be smaller than or equal to 16.'
157
+ end
158
+
159
+ @issuer = issuer
160
+ end
161
+
147
162
  # Checks equality by comparing each attribute.
148
163
  # @param [Object] Object to be compared
149
164
  def ==(o)
@@ -123,6 +123,10 @@ module PulpcoreClient
123
123
  invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
124
124
  end
125
125
 
126
+ if !@retain_repo_versions.nil? && @retain_repo_versions < 1
127
+ invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
128
+ end
129
+
126
130
  invalid_properties
127
131
  end
128
132
 
@@ -133,6 +137,7 @@ module PulpcoreClient
133
137
  return false if @name.nil?
134
138
  return false if @name.to_s.length < 1
135
139
  return false if !@description.nil? && @description.to_s.length < 1
140
+ return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
136
141
  true
137
142
  end
138
143
 
@@ -160,6 +165,16 @@ module PulpcoreClient
160
165
  @description = description
161
166
  end
162
167
 
168
+ # Custom attribute writer method with validation
169
+ # @param [Object] retain_repo_versions Value to be assigned
170
+ def retain_repo_versions=(retain_repo_versions)
171
+ if !retain_repo_versions.nil? && retain_repo_versions < 1
172
+ fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
173
+ end
174
+
175
+ @retain_repo_versions = retain_repo_versions
176
+ end
177
+
163
178
  # Checks equality by comparing each attribute.
164
179
  # @param [Object] Object to be compared
165
180
  def ==(o)
@@ -166,6 +166,10 @@ module PulpcoreClient
166
166
  invalid_properties.push('invalid value for "name", name cannot be nil.')
167
167
  end
168
168
 
169
+ if !@retain_repo_versions.nil? && @retain_repo_versions < 1
170
+ invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
171
+ end
172
+
169
173
  invalid_properties
170
174
  end
171
175
 
@@ -174,9 +178,20 @@ module PulpcoreClient
174
178
  def valid?
175
179
  warn '[DEPRECATED] the `valid?` method is obsolete'
176
180
  return false if @name.nil?
181
+ return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
177
182
  true
178
183
  end
179
184
 
185
+ # Custom attribute writer method with validation
186
+ # @param [Object] retain_repo_versions Value to be assigned
187
+ def retain_repo_versions=(retain_repo_versions)
188
+ if !retain_repo_versions.nil? && retain_repo_versions < 1
189
+ fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
190
+ end
191
+
192
+ @retain_repo_versions = retain_repo_versions
193
+ end
194
+
180
195
  # Checks equality by comparing each attribute.
181
196
  # @param [Object] Object to be compared
182
197
  def ==(o)
@@ -27,6 +27,9 @@ module PulpcoreClient
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 :fingerprint
31
34
 
32
35
  attr_accessor :created
@@ -44,6 +47,7 @@ module PulpcoreClient
44
47
  :'prn' => :'prn',
45
48
  :'pulp_created' => :'pulp_created',
46
49
  :'pulp_last_updated' => :'pulp_last_updated',
50
+ :'pulp_labels' => :'pulp_labels',
47
51
  :'fingerprint' => :'fingerprint',
48
52
  :'created' => :'created',
49
53
  :'user_ids' => :'user_ids',
@@ -64,6 +68,7 @@ module PulpcoreClient
64
68
  :'prn' => :'String',
65
69
  :'pulp_created' => :'Time',
66
70
  :'pulp_last_updated' => :'Time',
71
+ :'pulp_labels' => :'Hash<String, String>',
67
72
  :'fingerprint' => :'String',
68
73
  :'created' => :'Time',
69
74
  :'user_ids' => :'Array<NestedOpenPGPUserIDResponse>',
@@ -109,6 +114,12 @@ module PulpcoreClient
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?(:'fingerprint')
113
124
  self.fingerprint = attributes[:'fingerprint']
114
125
  end
@@ -179,6 +190,7 @@ module PulpcoreClient
179
190
  prn == o.prn &&
180
191
  pulp_created == o.pulp_created &&
181
192
  pulp_last_updated == o.pulp_last_updated &&
193
+ pulp_labels == o.pulp_labels &&
182
194
  fingerprint == o.fingerprint &&
183
195
  created == o.created &&
184
196
  user_ids == o.user_ids &&
@@ -195,7 +207,7 @@ module PulpcoreClient
195
207
  # Calculates hash code according to all attributes.
196
208
  # @return [Integer] Hash code
197
209
  def hash
198
- [pulp_href, prn, pulp_created, pulp_last_updated, fingerprint, created, user_ids, user_attributes, public_subkeys].hash
210
+ [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, fingerprint, created, user_ids, user_attributes, public_subkeys].hash
199
211
  end
200
212
 
201
213
  # Builds the object from hash
@@ -27,6 +27,9 @@ module PulpcoreClient
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 :fingerprint
31
34
 
32
35
  attr_accessor :created
@@ -42,6 +45,7 @@ module PulpcoreClient
42
45
  :'prn' => :'prn',
43
46
  :'pulp_created' => :'pulp_created',
44
47
  :'pulp_last_updated' => :'pulp_last_updated',
48
+ :'pulp_labels' => :'pulp_labels',
45
49
  :'fingerprint' => :'fingerprint',
46
50
  :'created' => :'created',
47
51
  :'signatures' => :'signatures',
@@ -61,6 +65,7 @@ module PulpcoreClient
61
65
  :'prn' => :'String',
62
66
  :'pulp_created' => :'Time',
63
67
  :'pulp_last_updated' => :'Time',
68
+ :'pulp_labels' => :'Hash<String, String>',
64
69
  :'fingerprint' => :'String',
65
70
  :'created' => :'Time',
66
71
  :'signatures' => :'Array<NestedOpenPGPSignatureResponse>',
@@ -105,6 +110,12 @@ module PulpcoreClient
105
110
  self.pulp_last_updated = attributes[:'pulp_last_updated']
106
111
  end
107
112
 
113
+ if attributes.key?(:'pulp_labels')
114
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
115
+ self.pulp_labels = value
116
+ end
117
+ end
118
+
108
119
  if attributes.key?(:'fingerprint')
109
120
  self.fingerprint = attributes[:'fingerprint']
110
121
  else
@@ -181,6 +192,7 @@ module PulpcoreClient
181
192
  prn == o.prn &&
182
193
  pulp_created == o.pulp_created &&
183
194
  pulp_last_updated == o.pulp_last_updated &&
195
+ pulp_labels == o.pulp_labels &&
184
196
  fingerprint == o.fingerprint &&
185
197
  created == o.created &&
186
198
  signatures == o.signatures &&
@@ -196,7 +208,7 @@ module PulpcoreClient
196
208
  # Calculates hash code according to all attributes.
197
209
  # @return [Integer] Hash code
198
210
  def hash
199
- [pulp_href, prn, pulp_created, pulp_last_updated, fingerprint, created, signatures, public_key].hash
211
+ [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, fingerprint, created, signatures, public_key].hash
200
212
  end
201
213
 
202
214
  # Builds the object from hash
@@ -27,6 +27,9 @@ module PulpcoreClient
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 :issuer
31
34
 
32
35
  attr_accessor :created
@@ -50,6 +53,7 @@ module PulpcoreClient
50
53
  :'prn' => :'prn',
51
54
  :'pulp_created' => :'pulp_created',
52
55
  :'pulp_last_updated' => :'pulp_last_updated',
56
+ :'pulp_labels' => :'pulp_labels',
53
57
  :'issuer' => :'issuer',
54
58
  :'created' => :'created',
55
59
  :'expiration_time' => :'expiration_time',
@@ -73,6 +77,7 @@ module PulpcoreClient
73
77
  :'prn' => :'String',
74
78
  :'pulp_created' => :'Time',
75
79
  :'pulp_last_updated' => :'Time',
80
+ :'pulp_labels' => :'Hash<String, String>',
76
81
  :'issuer' => :'String',
77
82
  :'created' => :'Time',
78
83
  :'expiration_time' => :'String',
@@ -125,6 +130,12 @@ module PulpcoreClient
125
130
  self.pulp_last_updated = attributes[:'pulp_last_updated']
126
131
  end
127
132
 
133
+ if attributes.key?(:'pulp_labels')
134
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
135
+ self.pulp_labels = value
136
+ end
137
+ end
138
+
128
139
  if attributes.key?(:'issuer')
129
140
  self.issuer = attributes[:'issuer']
130
141
  end
@@ -167,6 +178,10 @@ module PulpcoreClient
167
178
  def list_invalid_properties
168
179
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
169
180
  invalid_properties = Array.new
181
+ if !@issuer.nil? && @issuer.to_s.length > 16
182
+ invalid_properties.push('invalid value for "issuer", the character length must be smaller than or equal to 16.')
183
+ end
184
+
170
185
  if @created.nil?
171
186
  invalid_properties.push('invalid value for "created", created cannot be nil.')
172
187
  end
@@ -182,11 +197,22 @@ module PulpcoreClient
182
197
  # @return true if the model is valid
183
198
  def valid?
184
199
  warn '[DEPRECATED] the `valid?` method is obsolete'
200
+ return false if !@issuer.nil? && @issuer.to_s.length > 16
185
201
  return false if @created.nil?
186
202
  return false if @expired.nil?
187
203
  true
188
204
  end
189
205
 
206
+ # Custom attribute writer method with validation
207
+ # @param [Object] issuer Value to be assigned
208
+ def issuer=(issuer)
209
+ if !issuer.nil? && issuer.to_s.length > 16
210
+ fail ArgumentError, 'invalid value for "issuer", the character length must be smaller than or equal to 16.'
211
+ end
212
+
213
+ @issuer = issuer
214
+ end
215
+
190
216
  # Checks equality by comparing each attribute.
191
217
  # @param [Object] Object to be compared
192
218
  def ==(o)
@@ -196,6 +222,7 @@ module PulpcoreClient
196
222
  prn == o.prn &&
197
223
  pulp_created == o.pulp_created &&
198
224
  pulp_last_updated == o.pulp_last_updated &&
225
+ pulp_labels == o.pulp_labels &&
199
226
  issuer == o.issuer &&
200
227
  created == o.created &&
201
228
  expiration_time == o.expiration_time &&
@@ -215,7 +242,7 @@ module PulpcoreClient
215
242
  # Calculates hash code according to all attributes.
216
243
  # @return [Integer] Hash code
217
244
  def hash
218
- [pulp_href, prn, pulp_created, pulp_last_updated, issuer, created, expiration_time, signers_user_id, key_expiration_time, expired, key_expired, signed_content].hash
245
+ [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, issuer, created, expiration_time, signers_user_id, key_expiration_time, expired, key_expired, signed_content].hash
219
246
  end
220
247
 
221
248
  # Builds the object from hash
@@ -27,6 +27,9 @@ module PulpcoreClient
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 :sha256
31
34
 
32
35
  attr_accessor :signatures
@@ -40,6 +43,7 @@ module PulpcoreClient
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
  :'sha256' => :'sha256',
44
48
  :'signatures' => :'signatures',
45
49
  :'public_key' => :'public_key'
@@ -58,6 +62,7 @@ module PulpcoreClient
58
62
  :'prn' => :'String',
59
63
  :'pulp_created' => :'Time',
60
64
  :'pulp_last_updated' => :'Time',
65
+ :'pulp_labels' => :'Hash<String, String>',
61
66
  :'sha256' => :'String',
62
67
  :'signatures' => :'Array<NestedOpenPGPSignatureResponse>',
63
68
  :'public_key' => :'String'
@@ -101,6 +106,12 @@ module PulpcoreClient
101
106
  self.pulp_last_updated = attributes[:'pulp_last_updated']
102
107
  end
103
108
 
109
+ if attributes.key?(:'pulp_labels')
110
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
111
+ self.pulp_labels = value
112
+ end
113
+ end
114
+
104
115
  if attributes.key?(:'sha256')
105
116
  self.sha256 = attributes[:'sha256']
106
117
  else
@@ -166,6 +177,7 @@ module PulpcoreClient
166
177
  prn == o.prn &&
167
178
  pulp_created == o.pulp_created &&
168
179
  pulp_last_updated == o.pulp_last_updated &&
180
+ pulp_labels == o.pulp_labels &&
169
181
  sha256 == o.sha256 &&
170
182
  signatures == o.signatures &&
171
183
  public_key == o.public_key
@@ -180,7 +192,7 @@ module PulpcoreClient
180
192
  # Calculates hash code according to all attributes.
181
193
  # @return [Integer] Hash code
182
194
  def hash
183
- [pulp_href, prn, pulp_created, pulp_last_updated, sha256, signatures, public_key].hash
195
+ [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, sha256, signatures, public_key].hash
184
196
  end
185
197
 
186
198
  # Builds the object from hash
@@ -27,6 +27,9 @@ module PulpcoreClient
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 :user_id
31
34
 
32
35
  attr_accessor :signatures
@@ -40,6 +43,7 @@ module PulpcoreClient
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
  :'user_id' => :'user_id',
44
48
  :'signatures' => :'signatures',
45
49
  :'public_key' => :'public_key'
@@ -58,6 +62,7 @@ module PulpcoreClient
58
62
  :'prn' => :'String',
59
63
  :'pulp_created' => :'Time',
60
64
  :'pulp_last_updated' => :'Time',
65
+ :'pulp_labels' => :'Hash<String, String>',
61
66
  :'user_id' => :'String',
62
67
  :'signatures' => :'Array<NestedOpenPGPSignatureResponse>',
63
68
  :'public_key' => :'String'
@@ -101,6 +106,12 @@ module PulpcoreClient
101
106
  self.pulp_last_updated = attributes[:'pulp_last_updated']
102
107
  end
103
108
 
109
+ if attributes.key?(:'pulp_labels')
110
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
111
+ self.pulp_labels = value
112
+ end
113
+ end
114
+
104
115
  if attributes.key?(:'user_id')
105
116
  self.user_id = attributes[:'user_id']
106
117
  else
@@ -147,6 +158,7 @@ module PulpcoreClient
147
158
  prn == o.prn &&
148
159
  pulp_created == o.pulp_created &&
149
160
  pulp_last_updated == o.pulp_last_updated &&
161
+ pulp_labels == o.pulp_labels &&
150
162
  user_id == o.user_id &&
151
163
  signatures == o.signatures &&
152
164
  public_key == o.public_key
@@ -161,7 +173,7 @@ module PulpcoreClient
161
173
  # Calculates hash code according to all attributes.
162
174
  # @return [Integer] Hash code
163
175
  def hash
164
- [pulp_href, prn, pulp_created, pulp_last_updated, user_id, signatures, public_key].hash
176
+ [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, user_id, signatures, public_key].hash
165
177
  end
166
178
 
167
179
  # Builds the object from hash
@@ -51,6 +51,8 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'_next',
55
+ :'previous',
54
56
  ])
55
57
  end
56
58
 
@@ -51,6 +51,8 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'_next',
55
+ :'previous',
54
56
  ])
55
57
  end
56
58
 
@@ -51,6 +51,8 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'_next',
55
+ :'previous',
54
56
  ])
55
57
  end
56
58
 
@@ -51,6 +51,8 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'_next',
55
+ :'previous',
54
56
  ])
55
57
  end
56
58
 
@@ -51,6 +51,8 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'_next',
55
+ :'previous',
54
56
  ])
55
57
  end
56
58
 
@@ -51,6 +51,8 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'_next',
55
+ :'previous',
54
56
  ])
55
57
  end
56
58
 
@@ -51,6 +51,8 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'_next',
55
+ :'previous',
54
56
  ])
55
57
  end
56
58
 
@@ -51,6 +51,8 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'_next',
55
+ :'previous',
54
56
  ])
55
57
  end
56
58
 
@@ -51,6 +51,8 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'_next',
55
+ :'previous',
54
56
  ])
55
57
  end
56
58
 
@@ -51,6 +51,8 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'_next',
55
+ :'previous',
54
56
  ])
55
57
  end
56
58
 
@@ -51,6 +51,8 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'_next',
55
+ :'previous',
54
56
  ])
55
57
  end
56
58
 
@@ -51,6 +51,8 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'_next',
55
+ :'previous',
54
56
  ])
55
57
  end
56
58
 
@@ -51,6 +51,8 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'_next',
55
+ :'previous',
54
56
  ])
55
57
  end
56
58
 
@@ -51,6 +51,8 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'_next',
55
+ :'previous',
54
56
  ])
55
57
  end
56
58
 
@@ -51,6 +51,8 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'_next',
55
+ :'previous',
54
56
  ])
55
57
  end
56
58
 
@@ -51,6 +51,8 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'_next',
55
+ :'previous',
54
56
  ])
55
57
  end
56
58
 
@@ -51,6 +51,8 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'_next',
55
+ :'previous',
54
56
  ])
55
57
  end
56
58
 
@@ -51,6 +51,8 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'_next',
55
+ :'previous',
54
56
  ])
55
57
  end
56
58
 
@@ -51,6 +51,8 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'_next',
55
+ :'previous',
54
56
  ])
55
57
  end
56
58
 
@@ -51,6 +51,8 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'_next',
55
+ :'previous',
54
56
  ])
55
57
  end
56
58
 
@@ -51,6 +51,8 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'_next',
55
+ :'previous',
54
56
  ])
55
57
  end
56
58
 
@@ -51,6 +51,8 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'_next',
55
+ :'previous',
54
56
  ])
55
57
  end
56
58
 
@@ -51,6 +51,8 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'_next',
55
+ :'previous',
54
56
  ])
55
57
  end
56
58
 
@@ -51,6 +51,8 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'_next',
55
+ :'previous',
54
56
  ])
55
57
  end
56
58
 
@@ -51,6 +51,8 @@ module PulpcoreClient
51
51
  # List of attributes with nullable: true
52
52
  def self.openapi_nullable
53
53
  Set.new([
54
+ :'_next',
55
+ :'previous',
54
56
  ])
55
57
  end
56
58