pulp_ansible_client 0.27.1 → 0.28.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.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/AnsibleAnsibleCollectionDeprecatedResponse.md +2 -0
- data/docs/AnsibleAnsibleRepositoryResponse.md +1 -1
- data/docs/AnsibleCollectionRemoteResponse.md +1 -1
- data/docs/AnsibleCollectionVersionResponse.md +12 -10
- data/docs/AnsibleCollectionVersionSignatureResponse.md +2 -0
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +27 -27
- data/docs/AnsibleRole.md +2 -2
- data/docs/AnsibleRoleRemoteResponse.md +1 -1
- data/docs/AnsibleRoleResponse.md +8 -6
- data/docs/CollectionMetadataResponse.md +4 -4
- data/docs/CollectionSummaryResponse.md +2 -2
- data/docs/CollectionVersionListResponse.md +1 -1
- data/docs/CollectionVersionResponse.md +1 -1
- data/docs/ContentCollectionVersionsApi.md +6 -6
- data/docs/PatchedansibleGitRemote.md +26 -26
- data/docs/RemotesGitApi.md +2 -2
- data/docs/RepositoryVersionResponse.md +3 -1
- data/docs/UnpaginatedCollectionVersionResponse.md +1 -1
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -9
- data/lib/pulp_ansible_client/models/ansible_ansible_collection_deprecated_response.rb +10 -1
- data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +0 -15
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +0 -15
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +0 -33
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +0 -30
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +39 -45
- data/lib/pulp_ansible_client/models/ansible_collection_version_signature_response.rb +10 -1
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +209 -224
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +140 -155
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +0 -15
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +0 -15
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +39 -30
- data/lib/pulp_ansible_client/models/collection_summary_response.rb +0 -15
- data/lib/pulp_ansible_client/models/collection_version_list_response.rb +0 -15
- data/lib/pulp_ansible_client/models/collection_version_response.rb +0 -15
- data/lib/pulp_ansible_client/models/paginated_collection_response_list_links.rb +0 -4
- data/lib/pulp_ansible_client/models/paginated_galaxy_role_response_list.rb +0 -2
- data/lib/pulp_ansible_client/models/paginated_galaxy_role_version_response_list.rb +0 -2
- data/lib/pulp_ansible_client/models/paginated_repository_version_response_list.rb +0 -2
- data/lib/pulp_ansible_client/models/paginated_tag_response_list.rb +0 -2
- data/lib/pulp_ansible_client/models/paginatedansible_ansible_collection_deprecated_response_list.rb +0 -2
- data/lib/pulp_ansible_client/models/paginatedansible_ansible_distribution_response_list.rb +0 -2
- data/lib/pulp_ansible_client/models/paginatedansible_ansible_namespace_metadata_response_list.rb +0 -2
- data/lib/pulp_ansible_client/models/paginatedansible_ansible_repository_response_list.rb +0 -2
- data/lib/pulp_ansible_client/models/paginatedansible_collection_remote_response_list.rb +0 -2
- data/lib/pulp_ansible_client/models/paginatedansible_collection_response_list.rb +0 -2
- data/lib/pulp_ansible_client/models/paginatedansible_collection_version_mark_response_list.rb +0 -2
- data/lib/pulp_ansible_client/models/paginatedansible_collection_version_response_list.rb +0 -2
- data/lib/pulp_ansible_client/models/paginatedansible_collection_version_signature_response_list.rb +0 -2
- data/lib/pulp_ansible_client/models/paginatedansible_git_remote_response_list.rb +0 -2
- data/lib/pulp_ansible_client/models/paginatedansible_role_remote_response_list.rb +0 -2
- data/lib/pulp_ansible_client/models/paginatedansible_role_response_list.rb +0 -2
- data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +0 -15
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +0 -33
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +197 -212
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +0 -15
- data/lib/pulp_ansible_client/models/repository.rb +0 -15
- data/lib/pulp_ansible_client/models/repository_response.rb +0 -15
- data/lib/pulp_ansible_client/models/repository_version_response.rb +13 -4
- data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +0 -15
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +3 -3
- data/spec/models/ansible_ansible_collection_deprecated_response_spec.rb +6 -0
- data/spec/models/ansible_collection_version_response_spec.rb +11 -5
- data/spec/models/ansible_collection_version_signature_response_spec.rb +6 -0
- data/spec/models/ansible_git_remote_response_spec.rb +20 -20
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_response_spec.rb +11 -5
- data/spec/models/ansible_role_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +122 -122
@@ -16,23 +16,25 @@ require 'time'
|
|
16
16
|
module PulpAnsibleClient
|
17
17
|
# A serializer for Role versions.
|
18
18
|
class AnsibleRoleResponse
|
19
|
-
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
20
|
-
attr_accessor :pulp_labels
|
21
|
-
|
22
|
-
# 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.
|
23
|
-
attr_accessor :pulp_last_updated
|
24
|
-
|
25
19
|
# The Pulp Resource Name (PRN).
|
26
20
|
attr_accessor :prn
|
27
21
|
|
28
|
-
# Timestamp of
|
29
|
-
attr_accessor :
|
22
|
+
# 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.
|
23
|
+
attr_accessor :pulp_last_updated
|
30
24
|
|
31
25
|
attr_accessor :pulp_href
|
32
26
|
|
27
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
28
|
+
attr_accessor :pulp_labels
|
29
|
+
|
33
30
|
# Artifact file representing the physical content
|
34
31
|
attr_accessor :artifact
|
35
32
|
|
33
|
+
# Timestamp of creation.
|
34
|
+
attr_accessor :pulp_created
|
35
|
+
|
36
|
+
attr_accessor :vuln_report
|
37
|
+
|
36
38
|
attr_accessor :version
|
37
39
|
|
38
40
|
attr_accessor :name
|
@@ -42,12 +44,13 @@ module PulpAnsibleClient
|
|
42
44
|
# Attribute mapping from ruby-style variable name to JSON key.
|
43
45
|
def self.attribute_map
|
44
46
|
{
|
45
|
-
:'pulp_labels' => :'pulp_labels',
|
46
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
47
47
|
:'prn' => :'prn',
|
48
|
-
:'
|
48
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
49
49
|
:'pulp_href' => :'pulp_href',
|
50
|
+
:'pulp_labels' => :'pulp_labels',
|
50
51
|
:'artifact' => :'artifact',
|
52
|
+
:'pulp_created' => :'pulp_created',
|
53
|
+
:'vuln_report' => :'vuln_report',
|
51
54
|
:'version' => :'version',
|
52
55
|
:'name' => :'name',
|
53
56
|
:'namespace' => :'namespace'
|
@@ -62,12 +65,13 @@ module PulpAnsibleClient
|
|
62
65
|
# Attribute type mapping.
|
63
66
|
def self.openapi_types
|
64
67
|
{
|
65
|
-
:'pulp_labels' => :'Hash<String, String>',
|
66
|
-
:'pulp_last_updated' => :'Time',
|
67
68
|
:'prn' => :'String',
|
68
|
-
:'
|
69
|
+
:'pulp_last_updated' => :'Time',
|
69
70
|
:'pulp_href' => :'String',
|
71
|
+
:'pulp_labels' => :'Hash<String, String>',
|
70
72
|
:'artifact' => :'String',
|
73
|
+
:'pulp_created' => :'Time',
|
74
|
+
:'vuln_report' => :'String',
|
71
75
|
:'version' => :'String',
|
72
76
|
:'name' => :'String',
|
73
77
|
:'namespace' => :'String'
|
@@ -95,34 +99,38 @@ module PulpAnsibleClient
|
|
95
99
|
h[k.to_sym] = v
|
96
100
|
}
|
97
101
|
|
98
|
-
if attributes.key?(:'pulp_labels')
|
99
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
100
|
-
self.pulp_labels = value
|
101
|
-
end
|
102
|
-
end
|
103
|
-
|
104
|
-
if attributes.key?(:'pulp_last_updated')
|
105
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
106
|
-
end
|
107
|
-
|
108
102
|
if attributes.key?(:'prn')
|
109
103
|
self.prn = attributes[:'prn']
|
110
104
|
end
|
111
105
|
|
112
|
-
if attributes.key?(:'
|
113
|
-
self.
|
106
|
+
if attributes.key?(:'pulp_last_updated')
|
107
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
114
108
|
end
|
115
109
|
|
116
110
|
if attributes.key?(:'pulp_href')
|
117
111
|
self.pulp_href = attributes[:'pulp_href']
|
118
112
|
end
|
119
113
|
|
114
|
+
if attributes.key?(:'pulp_labels')
|
115
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
116
|
+
self.pulp_labels = value
|
117
|
+
end
|
118
|
+
end
|
119
|
+
|
120
120
|
if attributes.key?(:'artifact')
|
121
121
|
self.artifact = attributes[:'artifact']
|
122
122
|
else
|
123
123
|
self.artifact = nil
|
124
124
|
end
|
125
125
|
|
126
|
+
if attributes.key?(:'pulp_created')
|
127
|
+
self.pulp_created = attributes[:'pulp_created']
|
128
|
+
end
|
129
|
+
|
130
|
+
if attributes.key?(:'vuln_report')
|
131
|
+
self.vuln_report = attributes[:'vuln_report']
|
132
|
+
end
|
133
|
+
|
126
134
|
if attributes.key?(:'version')
|
127
135
|
self.version = attributes[:'version']
|
128
136
|
else
|
@@ -182,12 +190,13 @@ module PulpAnsibleClient
|
|
182
190
|
def ==(o)
|
183
191
|
return true if self.equal?(o)
|
184
192
|
self.class == o.class &&
|
185
|
-
pulp_labels == o.pulp_labels &&
|
186
|
-
pulp_last_updated == o.pulp_last_updated &&
|
187
193
|
prn == o.prn &&
|
188
|
-
|
194
|
+
pulp_last_updated == o.pulp_last_updated &&
|
189
195
|
pulp_href == o.pulp_href &&
|
196
|
+
pulp_labels == o.pulp_labels &&
|
190
197
|
artifact == o.artifact &&
|
198
|
+
pulp_created == o.pulp_created &&
|
199
|
+
vuln_report == o.vuln_report &&
|
191
200
|
version == o.version &&
|
192
201
|
name == o.name &&
|
193
202
|
namespace == o.namespace
|
@@ -202,7 +211,7 @@ module PulpAnsibleClient
|
|
202
211
|
# Calculates hash code according to all attributes.
|
203
212
|
# @return [Integer] Hash code
|
204
213
|
def hash
|
205
|
-
[
|
214
|
+
[prn, pulp_last_updated, pulp_href, pulp_labels, artifact, pulp_created, vuln_report, version, name, namespace].hash
|
206
215
|
end
|
207
216
|
|
208
217
|
# Builds the object from hash
|
@@ -165,10 +165,6 @@ module PulpAnsibleClient
|
|
165
165
|
invalid_properties.push('invalid value for "version", the character length must be smaller than or equal to 128.')
|
166
166
|
end
|
167
167
|
|
168
|
-
if !@requires_ansible.nil? && @requires_ansible.to_s.length > 255
|
169
|
-
invalid_properties.push('invalid value for "requires_ansible", the character length must be smaller than or equal to 255.')
|
170
|
-
end
|
171
|
-
|
172
168
|
invalid_properties
|
173
169
|
end
|
174
170
|
|
@@ -179,7 +175,6 @@ module PulpAnsibleClient
|
|
179
175
|
return false if !@namespace.nil? && @namespace.to_s.length > 64
|
180
176
|
return false if !@name.nil? && @name.to_s.length > 64
|
181
177
|
return false if !@version.nil? && @version.to_s.length > 128
|
182
|
-
return false if !@requires_ansible.nil? && @requires_ansible.to_s.length > 255
|
183
178
|
true
|
184
179
|
end
|
185
180
|
|
@@ -225,16 +220,6 @@ module PulpAnsibleClient
|
|
225
220
|
@version = version
|
226
221
|
end
|
227
222
|
|
228
|
-
# Custom attribute writer method with validation
|
229
|
-
# @param [Object] requires_ansible Value to be assigned
|
230
|
-
def requires_ansible=(requires_ansible)
|
231
|
-
if !requires_ansible.nil? && requires_ansible.to_s.length > 255
|
232
|
-
fail ArgumentError, 'invalid value for "requires_ansible", the character length must be smaller than or equal to 255.'
|
233
|
-
end
|
234
|
-
|
235
|
-
@requires_ansible = requires_ansible
|
236
|
-
end
|
237
|
-
|
238
223
|
# Checks equality by comparing each attribute.
|
239
224
|
# @param [Object] Object to be compared
|
240
225
|
def ==(o)
|
@@ -135,10 +135,6 @@ module PulpAnsibleClient
|
|
135
135
|
invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
|
136
136
|
end
|
137
137
|
|
138
|
-
if !@requires_ansible.nil? && @requires_ansible.to_s.length > 255
|
139
|
-
invalid_properties.push('invalid value for "requires_ansible", the character length must be smaller than or equal to 255.')
|
140
|
-
end
|
141
|
-
|
142
138
|
invalid_properties
|
143
139
|
end
|
144
140
|
|
@@ -150,7 +146,6 @@ module PulpAnsibleClient
|
|
150
146
|
return false if @version.to_s.length > 128
|
151
147
|
return false if @created_at.nil?
|
152
148
|
return false if @updated_at.nil?
|
153
|
-
return false if !@requires_ansible.nil? && @requires_ansible.to_s.length > 255
|
154
149
|
true
|
155
150
|
end
|
156
151
|
|
@@ -168,16 +163,6 @@ module PulpAnsibleClient
|
|
168
163
|
@version = version
|
169
164
|
end
|
170
165
|
|
171
|
-
# Custom attribute writer method with validation
|
172
|
-
# @param [Object] requires_ansible Value to be assigned
|
173
|
-
def requires_ansible=(requires_ansible)
|
174
|
-
if !requires_ansible.nil? && requires_ansible.to_s.length > 255
|
175
|
-
fail ArgumentError, 'invalid value for "requires_ansible", the character length must be smaller than or equal to 255.'
|
176
|
-
end
|
177
|
-
|
178
|
-
@requires_ansible = requires_ansible
|
179
|
-
end
|
180
|
-
|
181
166
|
# Checks equality by comparing each attribute.
|
182
167
|
# @param [Object] Object to be compared
|
183
168
|
def ==(o)
|
@@ -232,10 +232,6 @@ module PulpAnsibleClient
|
|
232
232
|
invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
|
233
233
|
end
|
234
234
|
|
235
|
-
if !@requires_ansible.nil? && @requires_ansible.to_s.length > 255
|
236
|
-
invalid_properties.push('invalid value for "requires_ansible", the character length must be smaller than or equal to 255.')
|
237
|
-
end
|
238
|
-
|
239
235
|
if @signatures.nil?
|
240
236
|
invalid_properties.push('invalid value for "signatures", signatures cannot be nil.')
|
241
237
|
end
|
@@ -251,7 +247,6 @@ module PulpAnsibleClient
|
|
251
247
|
return false if @version.to_s.length > 128
|
252
248
|
return false if @created_at.nil?
|
253
249
|
return false if @updated_at.nil?
|
254
|
-
return false if !@requires_ansible.nil? && @requires_ansible.to_s.length > 255
|
255
250
|
return false if @signatures.nil?
|
256
251
|
true
|
257
252
|
end
|
@@ -270,16 +265,6 @@ module PulpAnsibleClient
|
|
270
265
|
@version = version
|
271
266
|
end
|
272
267
|
|
273
|
-
# Custom attribute writer method with validation
|
274
|
-
# @param [Object] requires_ansible Value to be assigned
|
275
|
-
def requires_ansible=(requires_ansible)
|
276
|
-
if !requires_ansible.nil? && requires_ansible.to_s.length > 255
|
277
|
-
fail ArgumentError, 'invalid value for "requires_ansible", the character length must be smaller than or equal to 255.'
|
278
|
-
end
|
279
|
-
|
280
|
-
@requires_ansible = requires_ansible
|
281
|
-
end
|
282
|
-
|
283
268
|
# Checks equality by comparing each attribute.
|
284
269
|
# @param [Object] Object to be compared
|
285
270
|
def ==(o)
|
@@ -145,10 +145,6 @@ module PulpAnsibleClient
|
|
145
145
|
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
146
146
|
end
|
147
147
|
|
148
|
-
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
149
|
-
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
150
|
-
end
|
151
|
-
|
152
148
|
if !@gpgkey.nil? && @gpgkey.to_s.length < 1
|
153
149
|
invalid_properties.push('invalid value for "gpgkey", the character length must be great than or equal to 1.')
|
154
150
|
end
|
@@ -162,7 +158,6 @@ module PulpAnsibleClient
|
|
162
158
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
163
159
|
return false if !@name.nil? && @name.to_s.length < 1
|
164
160
|
return false if !@description.nil? && @description.to_s.length < 1
|
165
|
-
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
166
161
|
return false if !@gpgkey.nil? && @gpgkey.to_s.length < 1
|
167
162
|
true
|
168
163
|
end
|
@@ -191,16 +186,6 @@ module PulpAnsibleClient
|
|
191
186
|
@description = description
|
192
187
|
end
|
193
188
|
|
194
|
-
# Custom attribute writer method with validation
|
195
|
-
# @param [Object] retain_repo_versions Value to be assigned
|
196
|
-
def retain_repo_versions=(retain_repo_versions)
|
197
|
-
if !retain_repo_versions.nil? && retain_repo_versions < 1
|
198
|
-
fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
|
199
|
-
end
|
200
|
-
|
201
|
-
@retain_repo_versions = retain_repo_versions
|
202
|
-
end
|
203
|
-
|
204
189
|
# Custom attribute writer method with validation
|
205
190
|
# @param [Object] gpgkey Value to be assigned
|
206
191
|
def gpgkey=(gpgkey)
|
@@ -377,10 +377,6 @@ module PulpAnsibleClient
|
|
377
377
|
invalid_properties.push('invalid value for "password", the character length must be great than or equal to 1.')
|
378
378
|
end
|
379
379
|
|
380
|
-
if !@download_concurrency.nil? && @download_concurrency < 1
|
381
|
-
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
382
|
-
end
|
383
|
-
|
384
380
|
if !@total_timeout.nil? && @total_timeout < 0.0
|
385
381
|
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
386
382
|
end
|
@@ -401,18 +397,10 @@ module PulpAnsibleClient
|
|
401
397
|
invalid_properties.push('invalid value for "requirements_file", the character length must be great than or equal to 1.')
|
402
398
|
end
|
403
399
|
|
404
|
-
if !@auth_url.nil? && @auth_url.to_s.length > 255
|
405
|
-
invalid_properties.push('invalid value for "auth_url", the character length must be smaller than or equal to 255.')
|
406
|
-
end
|
407
|
-
|
408
400
|
if !@auth_url.nil? && @auth_url.to_s.length < 1
|
409
401
|
invalid_properties.push('invalid value for "auth_url", the character length must be great than or equal to 1.')
|
410
402
|
end
|
411
403
|
|
412
|
-
if !@token.nil? && @token.to_s.length > 2000
|
413
|
-
invalid_properties.push('invalid value for "token", the character length must be smaller than or equal to 2000.')
|
414
|
-
end
|
415
|
-
|
416
404
|
if !@token.nil? && @token.to_s.length < 1
|
417
405
|
invalid_properties.push('invalid value for "token", the character length must be great than or equal to 1.')
|
418
406
|
end
|
@@ -434,15 +422,12 @@ module PulpAnsibleClient
|
|
434
422
|
return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
|
435
423
|
return false if !@username.nil? && @username.to_s.length < 1
|
436
424
|
return false if !@password.nil? && @password.to_s.length < 1
|
437
|
-
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
438
425
|
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
439
426
|
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
440
427
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
441
428
|
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
442
429
|
return false if !@requirements_file.nil? && @requirements_file.to_s.length < 1
|
443
|
-
return false if !@auth_url.nil? && @auth_url.to_s.length > 255
|
444
430
|
return false if !@auth_url.nil? && @auth_url.to_s.length < 1
|
445
|
-
return false if !@token.nil? && @token.to_s.length > 2000
|
446
431
|
return false if !@token.nil? && @token.to_s.length < 1
|
447
432
|
true
|
448
433
|
end
|
@@ -555,16 +540,6 @@ module PulpAnsibleClient
|
|
555
540
|
@password = password
|
556
541
|
end
|
557
542
|
|
558
|
-
# Custom attribute writer method with validation
|
559
|
-
# @param [Object] download_concurrency Value to be assigned
|
560
|
-
def download_concurrency=(download_concurrency)
|
561
|
-
if !download_concurrency.nil? && download_concurrency < 1
|
562
|
-
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
563
|
-
end
|
564
|
-
|
565
|
-
@download_concurrency = download_concurrency
|
566
|
-
end
|
567
|
-
|
568
543
|
# Custom attribute writer method with validation
|
569
544
|
# @param [Object] total_timeout Value to be assigned
|
570
545
|
def total_timeout=(total_timeout)
|
@@ -618,10 +593,6 @@ module PulpAnsibleClient
|
|
618
593
|
# Custom attribute writer method with validation
|
619
594
|
# @param [Object] auth_url Value to be assigned
|
620
595
|
def auth_url=(auth_url)
|
621
|
-
if !auth_url.nil? && auth_url.to_s.length > 255
|
622
|
-
fail ArgumentError, 'invalid value for "auth_url", the character length must be smaller than or equal to 255.'
|
623
|
-
end
|
624
|
-
|
625
596
|
if !auth_url.nil? && auth_url.to_s.length < 1
|
626
597
|
fail ArgumentError, 'invalid value for "auth_url", the character length must be great than or equal to 1.'
|
627
598
|
end
|
@@ -632,10 +603,6 @@ module PulpAnsibleClient
|
|
632
603
|
# Custom attribute writer method with validation
|
633
604
|
# @param [Object] token Value to be assigned
|
634
605
|
def token=(token)
|
635
|
-
if !token.nil? && token.to_s.length > 2000
|
636
|
-
fail ArgumentError, 'invalid value for "token", the character length must be smaller than or equal to 2000.'
|
637
|
-
end
|
638
|
-
|
639
606
|
if !token.nil? && token.to_s.length < 1
|
640
607
|
fail ArgumentError, 'invalid value for "token", the character length must be great than or equal to 1.'
|
641
608
|
end
|