pulp_ansible_client 0.30.0 → 0.30.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/AnsibleCollectionVersionResponse.md +4 -4
- data/docs/AnsibleGitRemote.md +28 -28
- data/docs/AnsibleGitRemoteResponse.md +26 -26
- data/docs/AnsibleRepositorySyncURL.md +1 -1
- data/docs/AnsibleRole.md +4 -4
- data/docs/AnsibleRoleResponse.md +4 -4
- data/docs/CollectionSummaryResponse.md +1 -1
- data/docs/ContentCollectionDeprecationsApi.md +4 -0
- data/docs/ContentCollectionMarksApi.md +4 -0
- data/docs/ContentCollectionSignaturesApi.md +4 -0
- data/docs/ContentCollectionVersionsApi.md +14 -10
- data/docs/ContentNamespacesApi.md +4 -0
- data/docs/ContentRolesApi.md +4 -0
- data/docs/PatchedansibleGitRemote.md +28 -28
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +4 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +4 -0
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +4 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +4 -0
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +6 -0
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +6 -0
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +6 -0
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +21 -15
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +6 -0
- data/lib/pulp_ansible_client/api/content_roles_api.rb +6 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +6 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +6 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +6 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +6 -0
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +18 -18
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +254 -254
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +146 -146
- data/lib/pulp_ansible_client/models/ansible_repository_sync_url.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_role.rb +18 -18
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +18 -18
- data/lib/pulp_ansible_client/models/collection_summary_response.rb +1 -1
- data/lib/pulp_ansible_client/models/nested_role.rb +1 -1
- data/lib/pulp_ansible_client/models/nested_role_response.rb +1 -1
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +249 -249
- data/lib/pulp_ansible_client/models/repository.rb +1 -1
- data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +1 -1
- data/lib/pulp_ansible_client/models/repository_response.rb +1 -1
- data/lib/pulp_ansible_client/models/repository_version_response.rb +1 -1
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_deprecations_api_spec.rb +2 -0
- data/spec/api/content_collection_marks_api_spec.rb +2 -0
- data/spec/api/content_collection_signatures_api_spec.rb +2 -0
- data/spec/api/content_collection_versions_api_spec.rb +7 -5
- data/spec/api/content_namespaces_api_spec.rb +2 -0
- data/spec/api/content_roles_api_spec.rb +2 -0
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +2 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +2 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +2 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +2 -0
- data/spec/models/ansible_collection_version_response_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 +3 -3
- data/spec/models/ansible_role_spec.rb +3 -3
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +125 -125
|
@@ -114,6 +114,7 @@ module PulpAnsibleClient
|
|
|
114
114
|
# @param path [String]
|
|
115
115
|
# @param [Hash] opts the optional parameters
|
|
116
116
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
117
|
+
# @option opts [Array<String>] :added_between
|
|
117
118
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
118
119
|
# @option opts [String] :name2
|
|
119
120
|
# @option opts [String] :namespace2
|
|
@@ -125,6 +126,7 @@ module PulpAnsibleClient
|
|
|
125
126
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
126
127
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
127
128
|
# @option opts [String] :q
|
|
129
|
+
# @option opts [Array<String>] :removed_between
|
|
128
130
|
# @option opts [String] :repository_version
|
|
129
131
|
# @option opts [String] :repository_version_added
|
|
130
132
|
# @option opts [String] :repository_version_removed
|
|
@@ -145,6 +147,7 @@ module PulpAnsibleClient
|
|
|
145
147
|
# @param path [String]
|
|
146
148
|
# @param [Hash] opts the optional parameters
|
|
147
149
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
150
|
+
# @option opts [Array<String>] :added_between
|
|
148
151
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
149
152
|
# @option opts [String] :name2
|
|
150
153
|
# @option opts [String] :namespace2
|
|
@@ -156,6 +159,7 @@ module PulpAnsibleClient
|
|
|
156
159
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
157
160
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
158
161
|
# @option opts [String] :q
|
|
162
|
+
# @option opts [Array<String>] :removed_between
|
|
159
163
|
# @option opts [String] :repository_version
|
|
160
164
|
# @option opts [String] :repository_version_added
|
|
161
165
|
# @option opts [String] :repository_version_removed
|
|
@@ -193,6 +197,7 @@ module PulpAnsibleClient
|
|
|
193
197
|
|
|
194
198
|
# query parameters
|
|
195
199
|
query_params = opts[:query_params] || {}
|
|
200
|
+
query_params[:'added_between'] = @api_client.build_collection_param(opts[:'added_between'], :csv) if !opts[:'added_between'].nil?
|
|
196
201
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
197
202
|
query_params[:'name'] = opts[:'name2'] if !opts[:'name2'].nil?
|
|
198
203
|
query_params[:'namespace'] = opts[:'namespace2'] if !opts[:'namespace2'].nil?
|
|
@@ -204,6 +209,7 @@ module PulpAnsibleClient
|
|
|
204
209
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
|
205
210
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
|
206
211
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
|
212
|
+
query_params[:'removed_between'] = @api_client.build_collection_param(opts[:'removed_between'], :csv) if !opts[:'removed_between'].nil?
|
|
207
213
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
|
208
214
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
|
209
215
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
|
@@ -100,6 +100,7 @@ module PulpAnsibleClient
|
|
|
100
100
|
# @param namespace [String]
|
|
101
101
|
# @param [Hash] opts the optional parameters
|
|
102
102
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
103
|
+
# @option opts [Array<String>] :added_between
|
|
103
104
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
104
105
|
# @option opts [String] :name2
|
|
105
106
|
# @option opts [String] :namespace2
|
|
@@ -111,6 +112,7 @@ module PulpAnsibleClient
|
|
|
111
112
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
112
113
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
113
114
|
# @option opts [String] :q
|
|
115
|
+
# @option opts [Array<String>] :removed_between
|
|
114
116
|
# @option opts [String] :repository_version
|
|
115
117
|
# @option opts [String] :repository_version_added
|
|
116
118
|
# @option opts [String] :repository_version_removed
|
|
@@ -129,6 +131,7 @@ module PulpAnsibleClient
|
|
|
129
131
|
# @param namespace [String]
|
|
130
132
|
# @param [Hash] opts the optional parameters
|
|
131
133
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
134
|
+
# @option opts [Array<String>] :added_between
|
|
132
135
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
133
136
|
# @option opts [String] :name2
|
|
134
137
|
# @option opts [String] :namespace2
|
|
@@ -140,6 +143,7 @@ module PulpAnsibleClient
|
|
|
140
143
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
141
144
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
142
145
|
# @option opts [String] :q
|
|
146
|
+
# @option opts [Array<String>] :removed_between
|
|
143
147
|
# @option opts [String] :repository_version
|
|
144
148
|
# @option opts [String] :repository_version_added
|
|
145
149
|
# @option opts [String] :repository_version_removed
|
|
@@ -169,6 +173,7 @@ module PulpAnsibleClient
|
|
|
169
173
|
|
|
170
174
|
# query parameters
|
|
171
175
|
query_params = opts[:query_params] || {}
|
|
176
|
+
query_params[:'added_between'] = @api_client.build_collection_param(opts[:'added_between'], :csv) if !opts[:'added_between'].nil?
|
|
172
177
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
173
178
|
query_params[:'name'] = opts[:'name2'] if !opts[:'name2'].nil?
|
|
174
179
|
query_params[:'namespace'] = opts[:'namespace2'] if !opts[:'namespace2'].nil?
|
|
@@ -180,6 +185,7 @@ module PulpAnsibleClient
|
|
|
180
185
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
|
181
186
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
|
182
187
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
|
188
|
+
query_params[:'removed_between'] = @api_client.build_collection_param(opts[:'removed_between'], :csv) if !opts[:'removed_between'].nil?
|
|
183
189
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
|
184
190
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
|
185
191
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
|
@@ -107,6 +107,7 @@ module PulpAnsibleClient
|
|
|
107
107
|
# @param namespace [String]
|
|
108
108
|
# @param [Hash] opts the optional parameters
|
|
109
109
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
110
|
+
# @option opts [Array<String>] :added_between
|
|
110
111
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
111
112
|
# @option opts [String] :name2
|
|
112
113
|
# @option opts [String] :namespace2
|
|
@@ -118,6 +119,7 @@ module PulpAnsibleClient
|
|
|
118
119
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
119
120
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
120
121
|
# @option opts [String] :q
|
|
122
|
+
# @option opts [Array<String>] :removed_between
|
|
121
123
|
# @option opts [String] :repository_version
|
|
122
124
|
# @option opts [String] :repository_version_added
|
|
123
125
|
# @option opts [String] :repository_version_removed
|
|
@@ -137,6 +139,7 @@ module PulpAnsibleClient
|
|
|
137
139
|
# @param namespace [String]
|
|
138
140
|
# @param [Hash] opts the optional parameters
|
|
139
141
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
142
|
+
# @option opts [Array<String>] :added_between
|
|
140
143
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
141
144
|
# @option opts [String] :name2
|
|
142
145
|
# @option opts [String] :namespace2
|
|
@@ -148,6 +151,7 @@ module PulpAnsibleClient
|
|
|
148
151
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
149
152
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
150
153
|
# @option opts [String] :q
|
|
154
|
+
# @option opts [Array<String>] :removed_between
|
|
151
155
|
# @option opts [String] :repository_version
|
|
152
156
|
# @option opts [String] :repository_version_added
|
|
153
157
|
# @option opts [String] :repository_version_removed
|
|
@@ -181,6 +185,7 @@ module PulpAnsibleClient
|
|
|
181
185
|
|
|
182
186
|
# query parameters
|
|
183
187
|
query_params = opts[:query_params] || {}
|
|
188
|
+
query_params[:'added_between'] = @api_client.build_collection_param(opts[:'added_between'], :csv) if !opts[:'added_between'].nil?
|
|
184
189
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
185
190
|
query_params[:'name'] = opts[:'name2'] if !opts[:'name2'].nil?
|
|
186
191
|
query_params[:'namespace'] = opts[:'namespace2'] if !opts[:'namespace2'].nil?
|
|
@@ -192,6 +197,7 @@ module PulpAnsibleClient
|
|
|
192
197
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
|
193
198
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
|
194
199
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
|
200
|
+
query_params[:'removed_between'] = @api_client.build_collection_param(opts[:'removed_between'], :csv) if !opts[:'removed_between'].nil?
|
|
195
201
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
|
196
202
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
|
197
203
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
|
@@ -19,16 +19,16 @@ module PulpAnsibleClient
|
|
|
19
19
|
# Artifact file representing the physical content
|
|
20
20
|
attr_accessor :artifact
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
# The Pulp Resource Name (PRN).
|
|
23
|
+
attr_accessor :prn
|
|
23
24
|
|
|
24
|
-
|
|
25
|
-
attr_accessor :pulp_created
|
|
25
|
+
attr_accessor :pulp_href
|
|
26
26
|
|
|
27
27
|
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
28
28
|
attr_accessor :pulp_labels
|
|
29
29
|
|
|
30
|
-
#
|
|
31
|
-
attr_accessor :
|
|
30
|
+
# Timestamp of creation.
|
|
31
|
+
attr_accessor :pulp_created
|
|
32
32
|
|
|
33
33
|
attr_accessor :vuln_report
|
|
34
34
|
|
|
@@ -98,10 +98,10 @@ module PulpAnsibleClient
|
|
|
98
98
|
def self.attribute_map
|
|
99
99
|
{
|
|
100
100
|
:'artifact' => :'artifact',
|
|
101
|
+
:'prn' => :'prn',
|
|
101
102
|
:'pulp_href' => :'pulp_href',
|
|
102
|
-
:'pulp_created' => :'pulp_created',
|
|
103
103
|
:'pulp_labels' => :'pulp_labels',
|
|
104
|
-
:'
|
|
104
|
+
:'pulp_created' => :'pulp_created',
|
|
105
105
|
:'vuln_report' => :'vuln_report',
|
|
106
106
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
107
107
|
:'sha256' => :'sha256',
|
|
@@ -136,10 +136,10 @@ module PulpAnsibleClient
|
|
|
136
136
|
def self.openapi_types
|
|
137
137
|
{
|
|
138
138
|
:'artifact' => :'String',
|
|
139
|
+
:'prn' => :'String',
|
|
139
140
|
:'pulp_href' => :'String',
|
|
140
|
-
:'pulp_created' => :'Time',
|
|
141
141
|
:'pulp_labels' => :'Hash<String, String>',
|
|
142
|
-
:'
|
|
142
|
+
:'pulp_created' => :'Time',
|
|
143
143
|
:'vuln_report' => :'String',
|
|
144
144
|
:'pulp_last_updated' => :'Time',
|
|
145
145
|
:'sha256' => :'String',
|
|
@@ -191,12 +191,12 @@ module PulpAnsibleClient
|
|
|
191
191
|
self.artifact = attributes[:'artifact']
|
|
192
192
|
end
|
|
193
193
|
|
|
194
|
-
if attributes.key?(:'
|
|
195
|
-
self.
|
|
194
|
+
if attributes.key?(:'prn')
|
|
195
|
+
self.prn = attributes[:'prn']
|
|
196
196
|
end
|
|
197
197
|
|
|
198
|
-
if attributes.key?(:'
|
|
199
|
-
self.
|
|
198
|
+
if attributes.key?(:'pulp_href')
|
|
199
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
200
200
|
end
|
|
201
201
|
|
|
202
202
|
if attributes.key?(:'pulp_labels')
|
|
@@ -205,8 +205,8 @@ module PulpAnsibleClient
|
|
|
205
205
|
end
|
|
206
206
|
end
|
|
207
207
|
|
|
208
|
-
if attributes.key?(:'
|
|
209
|
-
self.
|
|
208
|
+
if attributes.key?(:'pulp_created')
|
|
209
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
210
210
|
end
|
|
211
211
|
|
|
212
212
|
if attributes.key?(:'vuln_report')
|
|
@@ -473,10 +473,10 @@ module PulpAnsibleClient
|
|
|
473
473
|
return true if self.equal?(o)
|
|
474
474
|
self.class == o.class &&
|
|
475
475
|
artifact == o.artifact &&
|
|
476
|
+
prn == o.prn &&
|
|
476
477
|
pulp_href == o.pulp_href &&
|
|
477
|
-
pulp_created == o.pulp_created &&
|
|
478
478
|
pulp_labels == o.pulp_labels &&
|
|
479
|
-
|
|
479
|
+
pulp_created == o.pulp_created &&
|
|
480
480
|
vuln_report == o.vuln_report &&
|
|
481
481
|
pulp_last_updated == o.pulp_last_updated &&
|
|
482
482
|
sha256 == o.sha256 &&
|
|
@@ -510,7 +510,7 @@ module PulpAnsibleClient
|
|
|
510
510
|
# Calculates hash code according to all attributes.
|
|
511
511
|
# @return [Integer] Hash code
|
|
512
512
|
def hash
|
|
513
|
-
[artifact,
|
|
513
|
+
[artifact, prn, pulp_href, pulp_labels, pulp_created, vuln_report, pulp_last_updated, sha256, md5, sha1, sha224, sha384, sha512, id, authors, dependencies, description, documentation, homepage, issues, license, name, namespace, origin_repository, tags, version, requires_ansible].hash
|
|
514
514
|
end
|
|
515
515
|
|
|
516
516
|
# Builds the object from hash
|