pulp_ansible_client 0.16.2 → 0.17.0.dev1676344220
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pulp_ansible_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +8 -7
- data/docs/AnsibleAnsibleRepository.md +1 -1
- data/docs/AnsibleAnsibleRepositoryResponse.md +4 -2
- data/docs/AnsibleCollectionRemote.md +1 -1
- data/docs/AnsibleCollectionRemoteResponse.md +4 -2
- data/docs/AnsibleCollectionVersion.md +5 -5
- data/docs/AnsibleCollectionVersionResponse.md +4 -4
- data/docs/AnsibleCollectionsApi.md +2 -6
- data/docs/AnsibleGitRemote.md +28 -28
- data/docs/AnsibleGitRemoteResponse.md +27 -27
- data/docs/AnsibleRoleRemote.md +1 -1
- data/docs/AnsibleRoleRemoteResponse.md +1 -1
- data/docs/AnsibleRoleResponse.md +4 -4
- data/docs/CollectionRefResponse.md +1 -1
- data/docs/CollectionResponse.md +6 -6
- data/docs/CollectionVersionListResponse.md +1 -1
- data/docs/CollectionVersionResponse.md +4 -4
- data/docs/ContentCollectionDeprecationsApi.md +2 -6
- data/docs/ContentCollectionSignaturesApi.md +2 -6
- data/docs/ContentCollectionVersionsApi.md +6 -10
- data/docs/ContentRolesApi.md +2 -6
- data/docs/DistributionsAnsibleApi.md +2 -6
- data/docs/GalaxyCollectionResponse.md +4 -4
- data/docs/GalaxyCollectionVersionResponse.md +4 -4
- data/docs/GalaxyRoleResponse.md +1 -1
- data/docs/GalaxyRoleVersionResponse.md +1 -1
- data/docs/PatchedansibleAnsibleRepository.md +1 -1
- data/docs/PatchedansibleCollectionRemote.md +1 -1
- data/docs/PatchedansibleGitRemote.md +28 -28
- data/docs/PatchedansibleRoleRemote.md +1 -1
- data/docs/ProgressReportResponse.md +27 -0
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +2 -6
- data/docs/PulpAnsibleApiV3CollectionsApi.md +2 -6
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +2 -6
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -6
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +2 -6
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +2 -6
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +2 -6
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +2 -6
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +2 -6
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -6
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +2 -6
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +2 -6
- data/docs/RemotesCollectionApi.md +10 -6
- data/docs/RemotesGitApi.md +2 -6
- data/docs/RemotesRoleApi.md +2 -6
- data/docs/RepositoriesAnsibleApi.md +2 -6
- data/docs/RepositoriesAnsibleVersionsApi.md +2 -4
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/Task.md +19 -0
- data/docs/TaskResponse.md +45 -0
- data/docs/UnpaginatedCollectionVersionResponse.md +4 -4
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +2 -8
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +2 -8
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +2 -8
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +8 -14
- data/lib/pulp_ansible_client/api/content_roles_api.rb +2 -8
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +2 -8
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +15 -9
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +2 -8
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +2 -8
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +2 -8
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +2 -5
- data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +15 -6
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +14 -5
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +18 -18
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +15 -15
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +246 -246
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +148 -148
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +15 -15
- data/lib/pulp_ansible_client/models/collection_ref_response.rb +0 -1
- data/lib/pulp_ansible_client/models/collection_response.rb +0 -6
- data/lib/pulp_ansible_client/models/collection_version_list_response.rb +0 -1
- data/lib/pulp_ansible_client/models/collection_version_response.rb +0 -4
- data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +0 -4
- data/lib/pulp_ansible_client/models/galaxy_collection_version_response.rb +0 -4
- data/lib/pulp_ansible_client/models/galaxy_role_response.rb +0 -1
- data/lib/pulp_ansible_client/models/galaxy_role_version_response.rb +0 -1
- data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +1 -1
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +1 -1
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +237 -237
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +1 -1
- data/lib/pulp_ansible_client/models/progress_report_response.rb +259 -0
- data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +2 -2
- data/lib/pulp_ansible_client/models/task.rb +266 -0
- data/lib/pulp_ansible_client/models/task_response.rb +366 -0
- data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +0 -4
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +3 -0
- data/spec/api/ansible_collections_api_spec.rb +1 -3
- data/spec/api/content_collection_deprecations_api_spec.rb +1 -3
- data/spec/api/content_collection_signatures_api_spec.rb +1 -3
- data/spec/api/content_collection_versions_api_spec.rb +3 -5
- data/spec/api/content_roles_api_spec.rb +1 -3
- data/spec/api/distributions_ansible_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -3
- data/spec/api/remotes_collection_api_spec.rb +5 -3
- data/spec/api/remotes_git_api_spec.rb +1 -3
- data/spec/api/remotes_role_api_spec.rb +1 -3
- data/spec/api/repositories_ansible_api_spec.rb +1 -3
- data/spec/api/repositories_ansible_versions_api_spec.rb +1 -2
- data/spec/models/ansible_ansible_repository_response_spec.rb +6 -0
- data/spec/models/ansible_collection_remote_response_spec.rb +6 -0
- data/spec/models/ansible_collection_version_response_spec.rb +2 -2
- 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/patchedansible_git_remote_spec.rb +19 -19
- data/spec/models/progress_report_response_spec.rb +71 -0
- data/spec/models/task_response_spec.rb +125 -0
- data/spec/models/task_spec.rb +47 -0
- metadata +114 -102
@@ -155,9 +155,7 @@ module PulpAnsibleClient
|
|
155
155
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
156
156
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
157
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
158
|
-
# @option opts [Array<String>] :ordering Ordering
|
159
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
160
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
158
|
+
# @option opts [Array<String>] :ordering Ordering
|
161
159
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
162
160
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
163
161
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
@@ -186,9 +184,7 @@ module PulpAnsibleClient
|
|
186
184
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
187
185
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
188
186
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
189
|
-
# @option opts [Array<String>] :ordering Ordering
|
190
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
191
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
187
|
+
# @option opts [Array<String>] :ordering Ordering
|
192
188
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
193
189
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
194
190
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
@@ -223,8 +219,6 @@ module PulpAnsibleClient
|
|
223
219
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
224
220
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
225
221
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
226
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
227
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
228
222
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
229
223
|
query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
|
230
224
|
query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
|
@@ -95,14 +95,13 @@ module PulpAnsibleClient
|
|
95
95
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
96
96
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
97
97
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
98
|
-
# @option opts [Array<String>] :ordering Ordering
|
98
|
+
# @option opts [Array<String>] :ordering Ordering
|
99
99
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
100
100
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
101
101
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
102
102
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
103
103
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
104
104
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
105
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
106
105
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
107
106
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
108
107
|
# @return [PaginatedRepositoryVersionResponseList]
|
@@ -125,14 +124,13 @@ module PulpAnsibleClient
|
|
125
124
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
126
125
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
127
126
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
128
|
-
# @option opts [Array<String>] :ordering Ordering
|
127
|
+
# @option opts [Array<String>] :ordering Ordering
|
129
128
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
130
129
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
131
130
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
132
131
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
133
132
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
134
133
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
135
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
136
134
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
137
135
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
138
136
|
# @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
|
@@ -170,7 +168,6 @@ module PulpAnsibleClient
|
|
170
168
|
query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
|
171
169
|
query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
|
172
170
|
query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
|
173
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
174
171
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
175
172
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
176
173
|
|
@@ -23,7 +23,7 @@ module PulpAnsibleClient
|
|
23
23
|
# An optional description.
|
24
24
|
attr_accessor :description
|
25
25
|
|
26
|
-
# Retain X versions of the repository. Default is null which retains all versions.
|
26
|
+
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
27
27
|
attr_accessor :retain_repo_versions
|
28
28
|
|
29
29
|
# An optional remote to use by default when syncing.
|
@@ -32,7 +32,7 @@ module PulpAnsibleClient
|
|
32
32
|
# An optional description.
|
33
33
|
attr_accessor :description
|
34
34
|
|
35
|
-
# Retain X versions of the repository. Default is null which retains all versions.
|
35
|
+
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
36
36
|
attr_accessor :retain_repo_versions
|
37
37
|
|
38
38
|
# An optional remote to use by default when syncing.
|
@@ -44,6 +44,8 @@ module PulpAnsibleClient
|
|
44
44
|
# Gpg public key to verify collection signatures against
|
45
45
|
attr_accessor :gpgkey
|
46
46
|
|
47
|
+
attr_accessor :last_sync_task
|
48
|
+
|
47
49
|
# Attribute mapping from ruby-style variable name to JSON key.
|
48
50
|
def self.attribute_map
|
49
51
|
{
|
@@ -57,7 +59,8 @@ module PulpAnsibleClient
|
|
57
59
|
:'retain_repo_versions' => :'retain_repo_versions',
|
58
60
|
:'remote' => :'remote',
|
59
61
|
:'last_synced_metadata_time' => :'last_synced_metadata_time',
|
60
|
-
:'gpgkey' => :'gpgkey'
|
62
|
+
:'gpgkey' => :'gpgkey',
|
63
|
+
:'last_sync_task' => :'last_sync_task'
|
61
64
|
}
|
62
65
|
end
|
63
66
|
|
@@ -74,7 +77,8 @@ module PulpAnsibleClient
|
|
74
77
|
:'retain_repo_versions' => :'Integer',
|
75
78
|
:'remote' => :'String',
|
76
79
|
:'last_synced_metadata_time' => :'DateTime',
|
77
|
-
:'gpgkey' => :'String'
|
80
|
+
:'gpgkey' => :'String',
|
81
|
+
:'last_sync_task' => :'TaskResponse'
|
78
82
|
}
|
79
83
|
end
|
80
84
|
|
@@ -85,7 +89,7 @@ module PulpAnsibleClient
|
|
85
89
|
:'retain_repo_versions',
|
86
90
|
:'remote',
|
87
91
|
:'last_synced_metadata_time',
|
88
|
-
:'gpgkey'
|
92
|
+
:'gpgkey',
|
89
93
|
])
|
90
94
|
end
|
91
95
|
|
@@ -149,6 +153,10 @@ module PulpAnsibleClient
|
|
149
153
|
if attributes.key?(:'gpgkey')
|
150
154
|
self.gpgkey = attributes[:'gpgkey']
|
151
155
|
end
|
156
|
+
|
157
|
+
if attributes.key?(:'last_sync_task')
|
158
|
+
self.last_sync_task = attributes[:'last_sync_task']
|
159
|
+
end
|
152
160
|
end
|
153
161
|
|
154
162
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -199,7 +207,8 @@ module PulpAnsibleClient
|
|
199
207
|
retain_repo_versions == o.retain_repo_versions &&
|
200
208
|
remote == o.remote &&
|
201
209
|
last_synced_metadata_time == o.last_synced_metadata_time &&
|
202
|
-
gpgkey == o.gpgkey
|
210
|
+
gpgkey == o.gpgkey &&
|
211
|
+
last_sync_task == o.last_sync_task
|
203
212
|
end
|
204
213
|
|
205
214
|
# @see the `==` method
|
@@ -211,7 +220,7 @@ module PulpAnsibleClient
|
|
211
220
|
# Calculates hash code according to all attributes.
|
212
221
|
# @return [Integer] Hash code
|
213
222
|
def hash
|
214
|
-
[pulp_href, pulp_created, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, last_synced_metadata_time, gpgkey].hash
|
223
|
+
[pulp_href, pulp_created, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, last_synced_metadata_time, gpgkey, last_sync_task].hash
|
215
224
|
end
|
216
225
|
|
217
226
|
# Builds the object from hash
|
@@ -56,7 +56,7 @@ module PulpAnsibleClient
|
|
56
56
|
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
57
57
|
attr_accessor :max_retries
|
58
58
|
|
59
|
-
# The policy to use when downloading content.
|
59
|
+
# The policy to use when downloading content.
|
60
60
|
attr_accessor :policy
|
61
61
|
|
62
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.
|
@@ -49,7 +49,7 @@ module PulpAnsibleClient
|
|
49
49
|
# Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
|
50
50
|
attr_accessor :max_retries
|
51
51
|
|
52
|
-
# The policy to use when downloading content.
|
52
|
+
# The policy to use when downloading content.
|
53
53
|
attr_accessor :policy
|
54
54
|
|
55
55
|
# aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
|
@@ -85,6 +85,8 @@ module PulpAnsibleClient
|
|
85
85
|
# Sync only collections that have a signature
|
86
86
|
attr_accessor :signed_only
|
87
87
|
|
88
|
+
attr_accessor :last_sync_task
|
89
|
+
|
88
90
|
# Attribute mapping from ruby-style variable name to JSON key.
|
89
91
|
def self.attribute_map
|
90
92
|
{
|
@@ -111,7 +113,8 @@ module PulpAnsibleClient
|
|
111
113
|
:'requirements_file' => :'requirements_file',
|
112
114
|
:'auth_url' => :'auth_url',
|
113
115
|
:'sync_dependencies' => :'sync_dependencies',
|
114
|
-
:'signed_only' => :'signed_only'
|
116
|
+
:'signed_only' => :'signed_only',
|
117
|
+
:'last_sync_task' => :'last_sync_task'
|
115
118
|
}
|
116
119
|
end
|
117
120
|
|
@@ -141,7 +144,8 @@ module PulpAnsibleClient
|
|
141
144
|
:'requirements_file' => :'String',
|
142
145
|
:'auth_url' => :'String',
|
143
146
|
:'sync_dependencies' => :'Boolean',
|
144
|
-
:'signed_only' => :'Boolean'
|
147
|
+
:'signed_only' => :'Boolean',
|
148
|
+
:'last_sync_task' => :'TaskResponse'
|
145
149
|
}
|
146
150
|
end
|
147
151
|
|
@@ -283,6 +287,10 @@ module PulpAnsibleClient
|
|
283
287
|
else
|
284
288
|
self.signed_only = false
|
285
289
|
end
|
290
|
+
|
291
|
+
if attributes.key?(:'last_sync_task')
|
292
|
+
self.last_sync_task = attributes[:'last_sync_task']
|
293
|
+
end
|
286
294
|
end
|
287
295
|
|
288
296
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -426,7 +434,8 @@ module PulpAnsibleClient
|
|
426
434
|
requirements_file == o.requirements_file &&
|
427
435
|
auth_url == o.auth_url &&
|
428
436
|
sync_dependencies == o.sync_dependencies &&
|
429
|
-
signed_only == o.signed_only
|
437
|
+
signed_only == o.signed_only &&
|
438
|
+
last_sync_task == o.last_sync_task
|
430
439
|
end
|
431
440
|
|
432
441
|
# @see the `==` method
|
@@ -438,7 +447,7 @@ module PulpAnsibleClient
|
|
438
447
|
# Calculates hash code according to all attributes.
|
439
448
|
# @return [Integer] Hash code
|
440
449
|
def hash
|
441
|
-
[pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, pulp_last_updated, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, hidden_fields, requirements_file, auth_url, sync_dependencies, signed_only].hash
|
450
|
+
[pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, pulp_last_updated, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, hidden_fields, requirements_file, auth_url, sync_dependencies, signed_only, last_sync_task].hash
|
442
451
|
end
|
443
452
|
|
444
453
|
# Builds the object from hash
|
@@ -15,17 +15,17 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for CollectionVersion Content.
|
17
17
|
class AnsibleCollectionVersion
|
18
|
+
# Artifact file representing the physical content
|
19
|
+
attr_accessor :artifact
|
20
|
+
|
18
21
|
# A URI of a repository the new content unit should be associated with.
|
19
22
|
attr_accessor :repository
|
20
23
|
|
21
|
-
# An uploaded file that may be turned into the artifact of the content unit.
|
22
|
-
attr_accessor :file
|
23
|
-
|
24
24
|
# An uncommitted upload that may be turned into the artifact of the content unit.
|
25
25
|
attr_accessor :upload
|
26
26
|
|
27
|
-
#
|
28
|
-
attr_accessor :
|
27
|
+
# An uploaded file that may be turned into the artifact of the content unit.
|
28
|
+
attr_accessor :file
|
29
29
|
|
30
30
|
# The name of the collection.
|
31
31
|
attr_accessor :expected_name
|
@@ -39,10 +39,10 @@ module PulpAnsibleClient
|
|
39
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
40
40
|
def self.attribute_map
|
41
41
|
{
|
42
|
+
:'artifact' => :'artifact',
|
42
43
|
:'repository' => :'repository',
|
43
|
-
:'file' => :'file',
|
44
44
|
:'upload' => :'upload',
|
45
|
-
:'
|
45
|
+
:'file' => :'file',
|
46
46
|
:'expected_name' => :'expected_name',
|
47
47
|
:'expected_namespace' => :'expected_namespace',
|
48
48
|
:'expected_version' => :'expected_version'
|
@@ -52,10 +52,10 @@ module PulpAnsibleClient
|
|
52
52
|
# Attribute type mapping.
|
53
53
|
def self.openapi_types
|
54
54
|
{
|
55
|
+
:'artifact' => :'String',
|
55
56
|
:'repository' => :'String',
|
56
|
-
:'file' => :'File',
|
57
57
|
:'upload' => :'String',
|
58
|
-
:'
|
58
|
+
:'file' => :'File',
|
59
59
|
:'expected_name' => :'String',
|
60
60
|
:'expected_namespace' => :'String',
|
61
61
|
:'expected_version' => :'String'
|
@@ -83,20 +83,20 @@ module PulpAnsibleClient
|
|
83
83
|
h[k.to_sym] = v
|
84
84
|
}
|
85
85
|
|
86
|
-
if attributes.key?(:'
|
87
|
-
self.
|
86
|
+
if attributes.key?(:'artifact')
|
87
|
+
self.artifact = attributes[:'artifact']
|
88
88
|
end
|
89
89
|
|
90
|
-
if attributes.key?(:'
|
91
|
-
self.
|
90
|
+
if attributes.key?(:'repository')
|
91
|
+
self.repository = attributes[:'repository']
|
92
92
|
end
|
93
93
|
|
94
94
|
if attributes.key?(:'upload')
|
95
95
|
self.upload = attributes[:'upload']
|
96
96
|
end
|
97
97
|
|
98
|
-
if attributes.key?(:'
|
99
|
-
self.
|
98
|
+
if attributes.key?(:'file')
|
99
|
+
self.file = attributes[:'file']
|
100
100
|
end
|
101
101
|
|
102
102
|
if attributes.key?(:'expected_name')
|
@@ -202,10 +202,10 @@ module PulpAnsibleClient
|
|
202
202
|
def ==(o)
|
203
203
|
return true if self.equal?(o)
|
204
204
|
self.class == o.class &&
|
205
|
+
artifact == o.artifact &&
|
205
206
|
repository == o.repository &&
|
206
|
-
file == o.file &&
|
207
207
|
upload == o.upload &&
|
208
|
-
|
208
|
+
file == o.file &&
|
209
209
|
expected_name == o.expected_name &&
|
210
210
|
expected_namespace == o.expected_namespace &&
|
211
211
|
expected_version == o.expected_version
|
@@ -220,7 +220,7 @@ module PulpAnsibleClient
|
|
220
220
|
# Calculates hash code according to all attributes.
|
221
221
|
# @return [Integer] Hash code
|
222
222
|
def hash
|
223
|
-
[
|
223
|
+
[artifact, repository, upload, file, expected_name, expected_namespace, expected_version].hash
|
224
224
|
end
|
225
225
|
|
226
226
|
# Builds the object from hash
|
@@ -15,13 +15,13 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for CollectionVersion Content.
|
17
17
|
class AnsibleCollectionVersionResponse
|
18
|
-
#
|
19
|
-
attr_accessor :
|
18
|
+
# Artifact file representing the physical content
|
19
|
+
attr_accessor :artifact
|
20
20
|
|
21
21
|
attr_accessor :pulp_href
|
22
22
|
|
23
|
-
#
|
24
|
-
attr_accessor :
|
23
|
+
# Timestamp of creation.
|
24
|
+
attr_accessor :pulp_created
|
25
25
|
|
26
26
|
# The SHA-256 checksum if available.
|
27
27
|
attr_accessor :sha256
|
@@ -97,9 +97,9 @@ module PulpAnsibleClient
|
|
97
97
|
# Attribute mapping from ruby-style variable name to JSON key.
|
98
98
|
def self.attribute_map
|
99
99
|
{
|
100
|
-
:'pulp_created' => :'pulp_created',
|
101
|
-
:'pulp_href' => :'pulp_href',
|
102
100
|
:'artifact' => :'artifact',
|
101
|
+
:'pulp_href' => :'pulp_href',
|
102
|
+
:'pulp_created' => :'pulp_created',
|
103
103
|
:'sha256' => :'sha256',
|
104
104
|
:'md5' => :'md5',
|
105
105
|
:'sha1' => :'sha1',
|
@@ -130,9 +130,9 @@ module PulpAnsibleClient
|
|
130
130
|
# Attribute type mapping.
|
131
131
|
def self.openapi_types
|
132
132
|
{
|
133
|
-
:'pulp_created' => :'DateTime',
|
134
|
-
:'pulp_href' => :'String',
|
135
133
|
:'artifact' => :'String',
|
134
|
+
:'pulp_href' => :'String',
|
135
|
+
:'pulp_created' => :'DateTime',
|
136
136
|
:'sha256' => :'String',
|
137
137
|
:'md5' => :'String',
|
138
138
|
:'sha1' => :'String',
|
@@ -182,16 +182,16 @@ module PulpAnsibleClient
|
|
182
182
|
h[k.to_sym] = v
|
183
183
|
}
|
184
184
|
|
185
|
-
if attributes.key?(:'
|
186
|
-
self.
|
185
|
+
if attributes.key?(:'artifact')
|
186
|
+
self.artifact = attributes[:'artifact']
|
187
187
|
end
|
188
188
|
|
189
189
|
if attributes.key?(:'pulp_href')
|
190
190
|
self.pulp_href = attributes[:'pulp_href']
|
191
191
|
end
|
192
192
|
|
193
|
-
if attributes.key?(:'
|
194
|
-
self.
|
193
|
+
if attributes.key?(:'pulp_created')
|
194
|
+
self.pulp_created = attributes[:'pulp_created']
|
195
195
|
end
|
196
196
|
|
197
197
|
if attributes.key?(:'sha256')
|
@@ -435,9 +435,9 @@ module PulpAnsibleClient
|
|
435
435
|
def ==(o)
|
436
436
|
return true if self.equal?(o)
|
437
437
|
self.class == o.class &&
|
438
|
-
pulp_created == o.pulp_created &&
|
439
|
-
pulp_href == o.pulp_href &&
|
440
438
|
artifact == o.artifact &&
|
439
|
+
pulp_href == o.pulp_href &&
|
440
|
+
pulp_created == o.pulp_created &&
|
441
441
|
sha256 == o.sha256 &&
|
442
442
|
md5 == o.md5 &&
|
443
443
|
sha1 == o.sha1 &&
|
@@ -473,7 +473,7 @@ module PulpAnsibleClient
|
|
473
473
|
# Calculates hash code according to all attributes.
|
474
474
|
# @return [Integer] Hash code
|
475
475
|
def hash
|
476
|
-
[
|
476
|
+
[artifact, pulp_href, pulp_created, sha256, md5, sha1, sha224, sha384, sha512, id, authors, contents, dependencies, description, docs_blob, manifest, files, documentation, homepage, issues, license, name, namespace, origin_repository, tags, version, requires_ansible].hash
|
477
477
|
end
|
478
478
|
|
479
479
|
# Builds the object from hash
|