pulpcore_client 3.72.0 → 3.72.2
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.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ArtifactDistributionResponse.md +14 -14
- data/docs/FilesystemExportResponse.md +1 -1
- data/docs/GenericRemoteResponse.md +1 -1
- data/docs/GroupRoleResponse.md +1 -1
- data/docs/NestedOpenPGPPublicSubkeyResponse.md +1 -1
- data/docs/NestedOpenPGPUserAttributeResponse.md +1 -1
- data/docs/NestedOpenPGPUserIDResponse.md +1 -1
- data/docs/OpenPGPPublicKeyResponse.md +3 -3
- data/docs/OpenPGPPublicSubkeyResponse.md +1 -1
- data/docs/OpenPGPUserAttributeResponse.md +1 -1
- data/docs/OpenPGPUserIDResponse.md +1 -1
- data/docs/PulpExportResponse.md +1 -1
- data/docs/Purge.md +1 -1
- data/docs/RBACContentGuardResponse.md +2 -2
- data/docs/TaskGroupResponse.md +2 -2
- data/docs/TaskResponse.md +4 -4
- data/docs/UploadDetailResponse.md +1 -1
- data/docs/UpstreamPulpResponse.md +1 -1
- data/docs/UserResponse.md +2 -2
- data/docs/UserRoleResponse.md +1 -1
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +68 -68
- data/lib/pulpcore_client/models/generic_remote_response.rb +15 -0
- data/lib/pulpcore_client/models/nested_open_pgp_signature.rb +9 -0
- data/lib/pulpcore_client/models/nested_open_pgp_signature_response.rb +15 -0
- data/lib/pulpcore_client/models/open_pgp_keyring.rb +15 -0
- data/lib/pulpcore_client/models/open_pgp_keyring_response.rb +15 -0
- data/lib/pulpcore_client/models/open_pgp_signature_response.rb +15 -0
- data/lib/pulpcore_client/models/paginated_access_policy_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_artifact_distribution_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_artifact_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_composite_content_guard_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_content_guard_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_content_redirect_content_guard_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_distribution_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_domain_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_filesystem_export_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_filesystem_exporter_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_generic_remote_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_group_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_group_role_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_group_user_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_header_content_guard_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_import_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_multiple_artifact_content_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_open_pgp_distribution_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_open_pgp_keyring_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_open_pgp_public_key_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_open_pgp_public_subkey_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_open_pgp_signature_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_open_pgp_user_attribute_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_open_pgp_user_id_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_publication_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_pulp_export_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_pulp_exporter_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_pulp_importer_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_rbac_content_guard_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_repository_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_repository_version_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_role_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_signing_service_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_task_group_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_task_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_task_schedule_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_upload_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_upstream_pulp_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_user_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_user_role_response_list.rb +2 -0
- data/lib/pulpcore_client/models/paginated_worker_response_list.rb +2 -0
- data/lib/pulpcore_client/models/patched_open_pgp_keyring.rb +15 -0
- data/lib/pulpcore_client/models/purge.rb +0 -2
- data/lib/pulpcore_client/models/repository_response.rb +15 -0
- data/lib/pulpcore_client/models/storage_response.rb +45 -0
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/models/artifact_distribution_response_spec.rb +11 -11
- metadata +187 -187
@@ -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)
|
@@ -167,6 +167,10 @@ module PulpcoreClient
|
|
167
167
|
def list_invalid_properties
|
168
168
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
169
169
|
invalid_properties = Array.new
|
170
|
+
if !@issuer.nil? && @issuer.to_s.length > 16
|
171
|
+
invalid_properties.push('invalid value for "issuer", the character length must be smaller than or equal to 16.')
|
172
|
+
end
|
173
|
+
|
170
174
|
if @created.nil?
|
171
175
|
invalid_properties.push('invalid value for "created", created cannot be nil.')
|
172
176
|
end
|
@@ -182,11 +186,22 @@ module PulpcoreClient
|
|
182
186
|
# @return true if the model is valid
|
183
187
|
def valid?
|
184
188
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
189
|
+
return false if !@issuer.nil? && @issuer.to_s.length > 16
|
185
190
|
return false if @created.nil?
|
186
191
|
return false if @expired.nil?
|
187
192
|
true
|
188
193
|
end
|
189
194
|
|
195
|
+
# Custom attribute writer method with validation
|
196
|
+
# @param [Object] issuer Value to be assigned
|
197
|
+
def issuer=(issuer)
|
198
|
+
if !issuer.nil? && issuer.to_s.length > 16
|
199
|
+
fail ArgumentError, 'invalid value for "issuer", the character length must be smaller than or equal to 16.'
|
200
|
+
end
|
201
|
+
|
202
|
+
@issuer = issuer
|
203
|
+
end
|
204
|
+
|
190
205
|
# Checks equality by comparing each attribute.
|
191
206
|
# @param [Object] Object to be compared
|
192
207
|
def ==(o)
|
@@ -117,6 +117,10 @@ module PulpcoreClient
|
|
117
117
|
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
118
118
|
end
|
119
119
|
|
120
|
+
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
121
|
+
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
122
|
+
end
|
123
|
+
|
120
124
|
invalid_properties
|
121
125
|
end
|
122
126
|
|
@@ -126,6 +130,7 @@ module PulpcoreClient
|
|
126
130
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
127
131
|
return false if !@name.nil? && @name.to_s.length < 1
|
128
132
|
return false if !@description.nil? && @description.to_s.length < 1
|
133
|
+
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
129
134
|
true
|
130
135
|
end
|
131
136
|
|
@@ -153,6 +158,16 @@ module PulpcoreClient
|
|
153
158
|
@description = description
|
154
159
|
end
|
155
160
|
|
161
|
+
# Custom attribute writer method with validation
|
162
|
+
# @param [Object] retain_repo_versions Value to be assigned
|
163
|
+
def retain_repo_versions=(retain_repo_versions)
|
164
|
+
if !retain_repo_versions.nil? && retain_repo_versions < 1
|
165
|
+
fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
|
166
|
+
end
|
167
|
+
|
168
|
+
@retain_repo_versions = retain_repo_versions
|
169
|
+
end
|
170
|
+
|
156
171
|
# Checks equality by comparing each attribute.
|
157
172
|
# @param [Object] Object to be compared
|
158
173
|
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)
|