pulpcore_client 3.72.0 → 3.72.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +63 -63
- 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 +10 -10
- metadata +187 -187
@@ -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)
|
@@ -96,6 +96,18 @@ module PulpcoreClient
|
|
96
96
|
def list_invalid_properties
|
97
97
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
98
98
|
invalid_properties = Array.new
|
99
|
+
if @total < 0
|
100
|
+
invalid_properties.push('invalid value for "total", must be greater than or equal to 0.')
|
101
|
+
end
|
102
|
+
|
103
|
+
if @used < 0
|
104
|
+
invalid_properties.push('invalid value for "used", must be greater than or equal to 0.')
|
105
|
+
end
|
106
|
+
|
107
|
+
if @free < 0
|
108
|
+
invalid_properties.push('invalid value for "free", must be greater than or equal to 0.')
|
109
|
+
end
|
110
|
+
|
99
111
|
invalid_properties
|
100
112
|
end
|
101
113
|
|
@@ -103,9 +115,42 @@ module PulpcoreClient
|
|
103
115
|
# @return true if the model is valid
|
104
116
|
def valid?
|
105
117
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
118
|
+
return false if @total < 0
|
119
|
+
return false if @used < 0
|
120
|
+
return false if @free < 0
|
106
121
|
true
|
107
122
|
end
|
108
123
|
|
124
|
+
# Custom attribute writer method with validation
|
125
|
+
# @param [Object] total Value to be assigned
|
126
|
+
def total=(total)
|
127
|
+
if !total.nil? && total < 0
|
128
|
+
fail ArgumentError, 'invalid value for "total", must be greater than or equal to 0.'
|
129
|
+
end
|
130
|
+
|
131
|
+
@total = total
|
132
|
+
end
|
133
|
+
|
134
|
+
# Custom attribute writer method with validation
|
135
|
+
# @param [Object] used Value to be assigned
|
136
|
+
def used=(used)
|
137
|
+
if !used.nil? && used < 0
|
138
|
+
fail ArgumentError, 'invalid value for "used", must be greater than or equal to 0.'
|
139
|
+
end
|
140
|
+
|
141
|
+
@used = used
|
142
|
+
end
|
143
|
+
|
144
|
+
# Custom attribute writer method with validation
|
145
|
+
# @param [Object] free Value to be assigned
|
146
|
+
def free=(free)
|
147
|
+
if !free.nil? && free < 0
|
148
|
+
fail ArgumentError, 'invalid value for "free", must be greater than or equal to 0.'
|
149
|
+
end
|
150
|
+
|
151
|
+
@free = free
|
152
|
+
end
|
153
|
+
|
109
154
|
# Checks equality by comparing each attribute.
|
110
155
|
# @param [Object] Object to be compared
|
111
156
|
def ==(o)
|