pulp_ansible_client 0.20.11 → 0.21.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 +8 -8
- data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +2 -2
- data/docs/AnsibleCollectionVersion.md +3 -3
- data/docs/AnsibleCollectionVersionSignature.md +3 -1
- data/docs/AnsibleCollectionsApi.md +1 -1
- data/docs/AnsibleCopyApi.md +1 -1
- data/docs/AnsibleGitRemote.md +24 -24
- data/docs/AnsibleGitRemoteResponse.md +20 -20
- data/docs/AnsibleRole.md +3 -3
- data/docs/AnsibleRoleResponse.md +3 -3
- data/docs/ApiCollectionsApi.md +1 -1
- data/docs/ApiRolesApi.md +1 -1
- data/docs/CollectionImportApi.md +1 -1
- data/docs/ContentCollectionDeprecationsApi.md +1 -1
- data/docs/ContentCollectionMarksApi.md +1 -1
- data/docs/ContentCollectionSignaturesApi.md +8 -6
- data/docs/ContentCollectionVersionsApi.md +5 -5
- data/docs/ContentNamespacesApi.md +1 -1
- data/docs/ContentRolesApi.md +1 -1
- data/docs/DistributionsAnsibleApi.md +1 -1
- data/docs/GalaxyDetailApi.md +1 -1
- data/docs/PatchedansibleGitRemote.md +24 -24
- data/docs/PulpAnsibleApiApi.md +1 -1
- data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3Api.md +1 -1
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3NamespacesApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +1 -1
- data/docs/{ApiPluginAnsibleSearchCollectionVersionsApi.md → PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md} +17 -18
- data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +1 -1
- data/docs/PulpAnsibleDefaultApiApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3Api.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +3 -4
- data/docs/PulpAnsibleTagsApi.md +1 -1
- data/docs/RemotesCollectionApi.md +1 -1
- data/docs/RemotesGitApi.md +1 -1
- data/docs/RemotesRoleApi.md +1 -1
- data/docs/RepositoriesAnsibleApi.md +1 -1
- data/docs/RepositoriesAnsibleVersionsApi.md +1 -1
- data/docs/TagResponse.md +3 -1
- data/docs/VersionsApi.md +1 -1
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +9 -10
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +5 -5
- data/lib/pulp_ansible_client/api/{api_plugin_ansible_search_collection_versions_api.rb → pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api.rb} +24 -26
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +0 -2
- data/lib/pulp_ansible_client/configuration.rb +2 -2
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +0 -10
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +12 -12
- data/lib/pulp_ansible_client/models/ansible_collection_version_signature.rb +12 -7
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +198 -198
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +101 -101
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +10 -10
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +186 -186
- data/lib/pulp_ansible_client/models/tag_response.rb +13 -4
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +1 -1
- data/spec/api/content_collection_signatures_api_spec.rb +2 -1
- data/spec/api/content_collection_versions_api_spec.rb +2 -2
- data/spec/api/{api_plugin_ansible_search_collection_versions_api_spec.rb → pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api_spec.rb} +8 -9
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +0 -1
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/ansible_collection_version_signature_spec.rb +6 -0
- data/spec/models/ansible_collection_version_spec.rb +3 -3
- data/spec/models/ansible_git_remote_response_spec.rb +19 -19
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_response_spec.rb +2 -2
- data/spec/models/ansible_role_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- data/spec/models/tag_response_spec.rb +6 -0
- metadata +152 -152
@@ -15,61 +15,61 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for Git Collection Remotes.
|
17
17
|
class AnsibleGitRemoteResponse
|
18
|
-
# A PEM encoded
|
19
|
-
attr_accessor :
|
18
|
+
# A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
|
19
|
+
attr_accessor :ca_cert
|
20
20
|
|
21
|
-
|
21
|
+
# Timestamp of the most recent update of the remote.
|
22
|
+
attr_accessor :pulp_last_updated
|
22
23
|
|
23
|
-
#
|
24
|
-
attr_accessor :
|
24
|
+
# The URL of an external content source.
|
25
|
+
attr_accessor :url
|
26
|
+
|
27
|
+
# If True, TLS peer validation must be performed.
|
28
|
+
attr_accessor :tls_validation
|
29
|
+
|
30
|
+
attr_accessor :pulp_href
|
25
31
|
|
26
32
|
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
27
33
|
attr_accessor :sock_read_timeout
|
28
34
|
|
29
|
-
#
|
30
|
-
attr_accessor :
|
35
|
+
# Timestamp of creation.
|
36
|
+
attr_accessor :pulp_created
|
37
|
+
|
38
|
+
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
39
|
+
attr_accessor :max_retries
|
31
40
|
|
32
41
|
# A unique name for this remote.
|
33
42
|
attr_accessor :name
|
34
43
|
|
44
|
+
# Headers for aiohttp.Clientsession
|
45
|
+
attr_accessor :headers
|
46
|
+
|
35
47
|
# Limits requests per second for each concurrent downloader
|
36
48
|
attr_accessor :rate_limit
|
37
49
|
|
50
|
+
# A PEM encoded client certificate used for authentication.
|
51
|
+
attr_accessor :client_cert
|
52
|
+
|
38
53
|
# aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
39
54
|
attr_accessor :sock_connect_timeout
|
40
55
|
|
41
|
-
|
56
|
+
# List of hidden (write only) fields
|
57
|
+
attr_accessor :hidden_fields
|
42
58
|
|
43
59
|
# aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
44
60
|
attr_accessor :connect_timeout
|
45
61
|
|
46
|
-
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
47
|
-
attr_accessor :max_retries
|
48
|
-
|
49
62
|
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
50
63
|
attr_accessor :total_timeout
|
51
64
|
|
52
|
-
|
53
|
-
attr_accessor :pulp_last_updated
|
54
|
-
|
55
|
-
# Timestamp of creation.
|
56
|
-
attr_accessor :pulp_created
|
57
|
-
|
58
|
-
# A PEM encoded CA certificate used to validate the server certificate presented by the remote server.
|
59
|
-
attr_accessor :ca_cert
|
65
|
+
attr_accessor :pulp_labels
|
60
66
|
|
61
67
|
# The proxy URL. Format: scheme://host:port
|
62
68
|
attr_accessor :proxy_url
|
63
69
|
|
64
|
-
# If True, TLS peer validation must be performed.
|
65
|
-
attr_accessor :tls_validation
|
66
|
-
|
67
70
|
# Total number of simultaneous connections. If not set then the default value will be used.
|
68
71
|
attr_accessor :download_concurrency
|
69
72
|
|
70
|
-
# List of hidden (write only) fields
|
71
|
-
attr_accessor :hidden_fields
|
72
|
-
|
73
73
|
# If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL.
|
74
74
|
attr_accessor :metadata_only
|
75
75
|
|
@@ -79,25 +79,25 @@ module PulpAnsibleClient
|
|
79
79
|
# Attribute mapping from ruby-style variable name to JSON key.
|
80
80
|
def self.attribute_map
|
81
81
|
{
|
82
|
-
:'
|
82
|
+
:'ca_cert' => :'ca_cert',
|
83
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
84
|
+
:'url' => :'url',
|
85
|
+
:'tls_validation' => :'tls_validation',
|
83
86
|
:'pulp_href' => :'pulp_href',
|
84
|
-
:'headers' => :'headers',
|
85
87
|
:'sock_read_timeout' => :'sock_read_timeout',
|
86
|
-
:'
|
88
|
+
:'pulp_created' => :'pulp_created',
|
89
|
+
:'max_retries' => :'max_retries',
|
87
90
|
:'name' => :'name',
|
91
|
+
:'headers' => :'headers',
|
88
92
|
:'rate_limit' => :'rate_limit',
|
93
|
+
:'client_cert' => :'client_cert',
|
89
94
|
:'sock_connect_timeout' => :'sock_connect_timeout',
|
90
|
-
:'
|
95
|
+
:'hidden_fields' => :'hidden_fields',
|
91
96
|
:'connect_timeout' => :'connect_timeout',
|
92
|
-
:'max_retries' => :'max_retries',
|
93
97
|
:'total_timeout' => :'total_timeout',
|
94
|
-
:'
|
95
|
-
:'pulp_created' => :'pulp_created',
|
96
|
-
:'ca_cert' => :'ca_cert',
|
98
|
+
:'pulp_labels' => :'pulp_labels',
|
97
99
|
:'proxy_url' => :'proxy_url',
|
98
|
-
:'tls_validation' => :'tls_validation',
|
99
100
|
:'download_concurrency' => :'download_concurrency',
|
100
|
-
:'hidden_fields' => :'hidden_fields',
|
101
101
|
:'metadata_only' => :'metadata_only',
|
102
102
|
:'git_ref' => :'git_ref'
|
103
103
|
}
|
@@ -106,25 +106,25 @@ module PulpAnsibleClient
|
|
106
106
|
# Attribute type mapping.
|
107
107
|
def self.openapi_types
|
108
108
|
{
|
109
|
-
:'
|
109
|
+
:'ca_cert' => :'String',
|
110
|
+
:'pulp_last_updated' => :'DateTime',
|
111
|
+
:'url' => :'String',
|
112
|
+
:'tls_validation' => :'Boolean',
|
110
113
|
:'pulp_href' => :'String',
|
111
|
-
:'headers' => :'Array<Object>',
|
112
114
|
:'sock_read_timeout' => :'Float',
|
113
|
-
:'
|
115
|
+
:'pulp_created' => :'DateTime',
|
116
|
+
:'max_retries' => :'Integer',
|
114
117
|
:'name' => :'String',
|
118
|
+
:'headers' => :'Array<Object>',
|
115
119
|
:'rate_limit' => :'Integer',
|
120
|
+
:'client_cert' => :'String',
|
116
121
|
:'sock_connect_timeout' => :'Float',
|
117
|
-
:'
|
122
|
+
:'hidden_fields' => :'Array<AnsibleCollectionRemoteResponseHiddenFields>',
|
118
123
|
:'connect_timeout' => :'Float',
|
119
|
-
:'max_retries' => :'Integer',
|
120
124
|
:'total_timeout' => :'Float',
|
121
|
-
:'
|
122
|
-
:'pulp_created' => :'DateTime',
|
123
|
-
:'ca_cert' => :'String',
|
125
|
+
:'pulp_labels' => :'Hash<String, String>',
|
124
126
|
:'proxy_url' => :'String',
|
125
|
-
:'tls_validation' => :'Boolean',
|
126
127
|
:'download_concurrency' => :'Integer',
|
127
|
-
:'hidden_fields' => :'Array<AnsibleCollectionRemoteResponseHiddenFields>',
|
128
128
|
:'metadata_only' => :'Boolean',
|
129
129
|
:'git_ref' => :'String'
|
130
130
|
}
|
@@ -133,14 +133,14 @@ module PulpAnsibleClient
|
|
133
133
|
# List of attributes with nullable: true
|
134
134
|
def self.openapi_nullable
|
135
135
|
Set.new([
|
136
|
-
:'
|
136
|
+
:'ca_cert',
|
137
137
|
:'sock_read_timeout',
|
138
|
+
:'max_retries',
|
138
139
|
:'rate_limit',
|
140
|
+
:'client_cert',
|
139
141
|
:'sock_connect_timeout',
|
140
142
|
:'connect_timeout',
|
141
|
-
:'max_retries',
|
142
143
|
:'total_timeout',
|
143
|
-
:'ca_cert',
|
144
144
|
:'proxy_url',
|
145
145
|
:'download_concurrency',
|
146
146
|
])
|
@@ -161,43 +161,63 @@ module PulpAnsibleClient
|
|
161
161
|
h[k.to_sym] = v
|
162
162
|
}
|
163
163
|
|
164
|
-
if attributes.key?(:'
|
165
|
-
self.
|
164
|
+
if attributes.key?(:'ca_cert')
|
165
|
+
self.ca_cert = attributes[:'ca_cert']
|
166
166
|
end
|
167
167
|
|
168
|
-
if attributes.key?(:'
|
169
|
-
self.
|
168
|
+
if attributes.key?(:'pulp_last_updated')
|
169
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
170
170
|
end
|
171
171
|
|
172
|
-
if attributes.key?(:'
|
173
|
-
|
174
|
-
|
175
|
-
|
172
|
+
if attributes.key?(:'url')
|
173
|
+
self.url = attributes[:'url']
|
174
|
+
end
|
175
|
+
|
176
|
+
if attributes.key?(:'tls_validation')
|
177
|
+
self.tls_validation = attributes[:'tls_validation']
|
178
|
+
end
|
179
|
+
|
180
|
+
if attributes.key?(:'pulp_href')
|
181
|
+
self.pulp_href = attributes[:'pulp_href']
|
176
182
|
end
|
177
183
|
|
178
184
|
if attributes.key?(:'sock_read_timeout')
|
179
185
|
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
180
186
|
end
|
181
187
|
|
182
|
-
if attributes.key?(:'
|
183
|
-
self.
|
188
|
+
if attributes.key?(:'pulp_created')
|
189
|
+
self.pulp_created = attributes[:'pulp_created']
|
190
|
+
end
|
191
|
+
|
192
|
+
if attributes.key?(:'max_retries')
|
193
|
+
self.max_retries = attributes[:'max_retries']
|
184
194
|
end
|
185
195
|
|
186
196
|
if attributes.key?(:'name')
|
187
197
|
self.name = attributes[:'name']
|
188
198
|
end
|
189
199
|
|
200
|
+
if attributes.key?(:'headers')
|
201
|
+
if (value = attributes[:'headers']).is_a?(Array)
|
202
|
+
self.headers = value
|
203
|
+
end
|
204
|
+
end
|
205
|
+
|
190
206
|
if attributes.key?(:'rate_limit')
|
191
207
|
self.rate_limit = attributes[:'rate_limit']
|
192
208
|
end
|
193
209
|
|
210
|
+
if attributes.key?(:'client_cert')
|
211
|
+
self.client_cert = attributes[:'client_cert']
|
212
|
+
end
|
213
|
+
|
194
214
|
if attributes.key?(:'sock_connect_timeout')
|
195
215
|
self.sock_connect_timeout = attributes[:'sock_connect_timeout']
|
196
216
|
end
|
197
217
|
|
198
|
-
if attributes.key?(:'
|
199
|
-
if (value = attributes[:'
|
200
|
-
self.
|
218
|
+
if attributes.key?(:'hidden_fields')
|
219
|
+
if (value = attributes[:'hidden_fields']).is_a?(Array)
|
220
|
+
self.hidden_fields = value
|
201
221
|
end
|
202
222
|
end
|
203
223
|
|
@@ -205,44 +225,24 @@ module PulpAnsibleClient
|
|
205
225
|
self.connect_timeout = attributes[:'connect_timeout']
|
206
226
|
end
|
207
227
|
|
208
|
-
if attributes.key?(:'max_retries')
|
209
|
-
self.max_retries = attributes[:'max_retries']
|
210
|
-
end
|
211
|
-
|
212
228
|
if attributes.key?(:'total_timeout')
|
213
229
|
self.total_timeout = attributes[:'total_timeout']
|
214
230
|
end
|
215
231
|
|
216
|
-
if attributes.key?(:'
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
if attributes.key?(:'pulp_created')
|
221
|
-
self.pulp_created = attributes[:'pulp_created']
|
222
|
-
end
|
223
|
-
|
224
|
-
if attributes.key?(:'ca_cert')
|
225
|
-
self.ca_cert = attributes[:'ca_cert']
|
232
|
+
if attributes.key?(:'pulp_labels')
|
233
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
234
|
+
self.pulp_labels = value
|
235
|
+
end
|
226
236
|
end
|
227
237
|
|
228
238
|
if attributes.key?(:'proxy_url')
|
229
239
|
self.proxy_url = attributes[:'proxy_url']
|
230
240
|
end
|
231
241
|
|
232
|
-
if attributes.key?(:'tls_validation')
|
233
|
-
self.tls_validation = attributes[:'tls_validation']
|
234
|
-
end
|
235
|
-
|
236
242
|
if attributes.key?(:'download_concurrency')
|
237
243
|
self.download_concurrency = attributes[:'download_concurrency']
|
238
244
|
end
|
239
245
|
|
240
|
-
if attributes.key?(:'hidden_fields')
|
241
|
-
if (value = attributes[:'hidden_fields']).is_a?(Array)
|
242
|
-
self.hidden_fields = value
|
243
|
-
end
|
244
|
-
end
|
245
|
-
|
246
246
|
if attributes.key?(:'metadata_only')
|
247
247
|
self.metadata_only = attributes[:'metadata_only']
|
248
248
|
end
|
@@ -256,14 +256,14 @@ module PulpAnsibleClient
|
|
256
256
|
# @return Array for valid properties with the reasons
|
257
257
|
def list_invalid_properties
|
258
258
|
invalid_properties = Array.new
|
259
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
260
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
261
|
-
end
|
262
|
-
|
263
259
|
if @url.nil?
|
264
260
|
invalid_properties.push('invalid value for "url", url cannot be nil.')
|
265
261
|
end
|
266
262
|
|
263
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
264
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
|
265
|
+
end
|
266
|
+
|
267
267
|
if @name.nil?
|
268
268
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
269
269
|
end
|
@@ -290,8 +290,8 @@ module PulpAnsibleClient
|
|
290
290
|
# Check to see if the all the properties in the model are valid
|
291
291
|
# @return true if the model is valid
|
292
292
|
def valid?
|
293
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
294
293
|
return false if @url.nil?
|
294
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
295
295
|
return false if @name.nil?
|
296
296
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
297
297
|
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
@@ -355,25 +355,25 @@ module PulpAnsibleClient
|
|
355
355
|
def ==(o)
|
356
356
|
return true if self.equal?(o)
|
357
357
|
self.class == o.class &&
|
358
|
-
|
358
|
+
ca_cert == o.ca_cert &&
|
359
|
+
pulp_last_updated == o.pulp_last_updated &&
|
360
|
+
url == o.url &&
|
361
|
+
tls_validation == o.tls_validation &&
|
359
362
|
pulp_href == o.pulp_href &&
|
360
|
-
headers == o.headers &&
|
361
363
|
sock_read_timeout == o.sock_read_timeout &&
|
362
|
-
|
364
|
+
pulp_created == o.pulp_created &&
|
365
|
+
max_retries == o.max_retries &&
|
363
366
|
name == o.name &&
|
367
|
+
headers == o.headers &&
|
364
368
|
rate_limit == o.rate_limit &&
|
369
|
+
client_cert == o.client_cert &&
|
365
370
|
sock_connect_timeout == o.sock_connect_timeout &&
|
366
|
-
|
371
|
+
hidden_fields == o.hidden_fields &&
|
367
372
|
connect_timeout == o.connect_timeout &&
|
368
|
-
max_retries == o.max_retries &&
|
369
373
|
total_timeout == o.total_timeout &&
|
370
|
-
|
371
|
-
pulp_created == o.pulp_created &&
|
372
|
-
ca_cert == o.ca_cert &&
|
374
|
+
pulp_labels == o.pulp_labels &&
|
373
375
|
proxy_url == o.proxy_url &&
|
374
|
-
tls_validation == o.tls_validation &&
|
375
376
|
download_concurrency == o.download_concurrency &&
|
376
|
-
hidden_fields == o.hidden_fields &&
|
377
377
|
metadata_only == o.metadata_only &&
|
378
378
|
git_ref == o.git_ref
|
379
379
|
end
|
@@ -387,7 +387,7 @@ module PulpAnsibleClient
|
|
387
387
|
# Calculates hash code according to all attributes.
|
388
388
|
# @return [Integer] Hash code
|
389
389
|
def hash
|
390
|
-
[
|
390
|
+
[ca_cert, pulp_last_updated, url, tls_validation, pulp_href, sock_read_timeout, pulp_created, max_retries, name, headers, rate_limit, client_cert, sock_connect_timeout, hidden_fields, connect_timeout, total_timeout, pulp_labels, proxy_url, download_concurrency, metadata_only, git_ref].hash
|
391
391
|
end
|
392
392
|
|
393
393
|
# Builds the object from hash
|
@@ -15,12 +15,12 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for Role versions.
|
17
17
|
class AnsibleRole
|
18
|
-
# A URI of a repository the new content unit should be associated with.
|
19
|
-
attr_accessor :repository
|
20
|
-
|
21
18
|
# Artifact file representing the physical content
|
22
19
|
attr_accessor :artifact
|
23
20
|
|
21
|
+
# A URI of a repository the new content unit should be associated with.
|
22
|
+
attr_accessor :repository
|
23
|
+
|
24
24
|
attr_accessor :version
|
25
25
|
|
26
26
|
attr_accessor :name
|
@@ -30,8 +30,8 @@ module PulpAnsibleClient
|
|
30
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
31
31
|
def self.attribute_map
|
32
32
|
{
|
33
|
-
:'repository' => :'repository',
|
34
33
|
:'artifact' => :'artifact',
|
34
|
+
:'repository' => :'repository',
|
35
35
|
:'version' => :'version',
|
36
36
|
:'name' => :'name',
|
37
37
|
:'namespace' => :'namespace'
|
@@ -41,8 +41,8 @@ module PulpAnsibleClient
|
|
41
41
|
# Attribute type mapping.
|
42
42
|
def self.openapi_types
|
43
43
|
{
|
44
|
-
:'repository' => :'String',
|
45
44
|
:'artifact' => :'String',
|
45
|
+
:'repository' => :'String',
|
46
46
|
:'version' => :'String',
|
47
47
|
:'name' => :'String',
|
48
48
|
:'namespace' => :'String'
|
@@ -70,14 +70,14 @@ module PulpAnsibleClient
|
|
70
70
|
h[k.to_sym] = v
|
71
71
|
}
|
72
72
|
|
73
|
-
if attributes.key?(:'repository')
|
74
|
-
self.repository = attributes[:'repository']
|
75
|
-
end
|
76
|
-
|
77
73
|
if attributes.key?(:'artifact')
|
78
74
|
self.artifact = attributes[:'artifact']
|
79
75
|
end
|
80
76
|
|
77
|
+
if attributes.key?(:'repository')
|
78
|
+
self.repository = attributes[:'repository']
|
79
|
+
end
|
80
|
+
|
81
81
|
if attributes.key?(:'version')
|
82
82
|
self.version = attributes[:'version']
|
83
83
|
end
|
@@ -186,8 +186,8 @@ module PulpAnsibleClient
|
|
186
186
|
def ==(o)
|
187
187
|
return true if self.equal?(o)
|
188
188
|
self.class == o.class &&
|
189
|
-
repository == o.repository &&
|
190
189
|
artifact == o.artifact &&
|
190
|
+
repository == o.repository &&
|
191
191
|
version == o.version &&
|
192
192
|
name == o.name &&
|
193
193
|
namespace == o.namespace
|
@@ -202,7 +202,7 @@ module PulpAnsibleClient
|
|
202
202
|
# Calculates hash code according to all attributes.
|
203
203
|
# @return [Integer] Hash code
|
204
204
|
def hash
|
205
|
-
[
|
205
|
+
[artifact, repository, version, name, namespace].hash
|
206
206
|
end
|
207
207
|
|
208
208
|
# Builds the object from hash
|
@@ -15,11 +15,11 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for Role versions.
|
17
17
|
class AnsibleRoleResponse
|
18
|
-
attr_accessor :pulp_href
|
19
|
-
|
20
18
|
# Artifact file representing the physical content
|
21
19
|
attr_accessor :artifact
|
22
20
|
|
21
|
+
attr_accessor :pulp_href
|
22
|
+
|
23
23
|
# Timestamp of creation.
|
24
24
|
attr_accessor :pulp_created
|
25
25
|
|
@@ -32,8 +32,8 @@ module PulpAnsibleClient
|
|
32
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
33
33
|
def self.attribute_map
|
34
34
|
{
|
35
|
-
:'pulp_href' => :'pulp_href',
|
36
35
|
:'artifact' => :'artifact',
|
36
|
+
:'pulp_href' => :'pulp_href',
|
37
37
|
:'pulp_created' => :'pulp_created',
|
38
38
|
:'version' => :'version',
|
39
39
|
:'name' => :'name',
|
@@ -44,8 +44,8 @@ module PulpAnsibleClient
|
|
44
44
|
# Attribute type mapping.
|
45
45
|
def self.openapi_types
|
46
46
|
{
|
47
|
-
:'pulp_href' => :'String',
|
48
47
|
:'artifact' => :'String',
|
48
|
+
:'pulp_href' => :'String',
|
49
49
|
:'pulp_created' => :'DateTime',
|
50
50
|
:'version' => :'String',
|
51
51
|
:'name' => :'String',
|
@@ -74,14 +74,14 @@ module PulpAnsibleClient
|
|
74
74
|
h[k.to_sym] = v
|
75
75
|
}
|
76
76
|
|
77
|
-
if attributes.key?(:'pulp_href')
|
78
|
-
self.pulp_href = attributes[:'pulp_href']
|
79
|
-
end
|
80
|
-
|
81
77
|
if attributes.key?(:'artifact')
|
82
78
|
self.artifact = attributes[:'artifact']
|
83
79
|
end
|
84
80
|
|
81
|
+
if attributes.key?(:'pulp_href')
|
82
|
+
self.pulp_href = attributes[:'pulp_href']
|
83
|
+
end
|
84
|
+
|
85
85
|
if attributes.key?(:'pulp_created')
|
86
86
|
self.pulp_created = attributes[:'pulp_created']
|
87
87
|
end
|
@@ -137,8 +137,8 @@ module PulpAnsibleClient
|
|
137
137
|
def ==(o)
|
138
138
|
return true if self.equal?(o)
|
139
139
|
self.class == o.class &&
|
140
|
-
pulp_href == o.pulp_href &&
|
141
140
|
artifact == o.artifact &&
|
141
|
+
pulp_href == o.pulp_href &&
|
142
142
|
pulp_created == o.pulp_created &&
|
143
143
|
version == o.version &&
|
144
144
|
name == o.name &&
|
@@ -154,7 +154,7 @@ module PulpAnsibleClient
|
|
154
154
|
# Calculates hash code according to all attributes.
|
155
155
|
# @return [Integer] Hash code
|
156
156
|
def hash
|
157
|
-
[
|
157
|
+
[artifact, pulp_href, pulp_created, version, name, namespace].hash
|
158
158
|
end
|
159
159
|
|
160
160
|
# Builds the object from hash
|