pulp_ansible_client 0.30.0 → 0.30.2
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 +6 -6
- data/docs/AnsibleGitRemote.md +24 -24
- data/docs/AnsibleGitRemoteResponse.md +22 -22
- data/docs/AnsibleRepositorySyncURL.md +1 -1
- data/docs/AnsibleRole.md +2 -2
- data/docs/AnsibleRoleResponse.md +6 -6
- 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 +10 -6
- data/docs/ContentNamespacesApi.md +4 -0
- data/docs/ContentRolesApi.md +4 -0
- data/docs/PatchedansibleGitRemote.md +24 -24
- 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/docs/RemotesGitApi.md +2 -2
- 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 +15 -9
- 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 +27 -27
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +242 -242
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +145 -145
- data/lib/pulp_ansible_client/models/ansible_repository_sync_url.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_role.rb +13 -13
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +29 -29
- 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 +235 -235
- 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 +5 -3
- 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 +5 -5
- 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 +5 -5
- data/spec/models/ansible_role_spec.rb +3 -3
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +127 -127
|
@@ -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?
|
|
@@ -16,25 +16,25 @@ require 'time'
|
|
|
16
16
|
module PulpAnsibleClient
|
|
17
17
|
# A serializer for CollectionVersion Content.
|
|
18
18
|
class AnsibleCollectionVersionResponse
|
|
19
|
-
#
|
|
20
|
-
attr_accessor :
|
|
19
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
20
|
+
attr_accessor :pulp_labels
|
|
21
21
|
|
|
22
22
|
attr_accessor :pulp_href
|
|
23
23
|
|
|
24
24
|
# Timestamp of creation.
|
|
25
25
|
attr_accessor :pulp_created
|
|
26
26
|
|
|
27
|
-
#
|
|
28
|
-
attr_accessor :
|
|
29
|
-
|
|
30
|
-
# The Pulp Resource Name (PRN).
|
|
31
|
-
attr_accessor :prn
|
|
27
|
+
# Artifact file representing the physical content
|
|
28
|
+
attr_accessor :artifact
|
|
32
29
|
|
|
33
30
|
attr_accessor :vuln_report
|
|
34
31
|
|
|
35
32
|
# 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.
|
|
36
33
|
attr_accessor :pulp_last_updated
|
|
37
34
|
|
|
35
|
+
# The Pulp Resource Name (PRN).
|
|
36
|
+
attr_accessor :prn
|
|
37
|
+
|
|
38
38
|
# The SHA-256 checksum if available.
|
|
39
39
|
attr_accessor :sha256
|
|
40
40
|
|
|
@@ -97,13 +97,13 @@ module PulpAnsibleClient
|
|
|
97
97
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
98
98
|
def self.attribute_map
|
|
99
99
|
{
|
|
100
|
-
:'
|
|
100
|
+
:'pulp_labels' => :'pulp_labels',
|
|
101
101
|
:'pulp_href' => :'pulp_href',
|
|
102
102
|
:'pulp_created' => :'pulp_created',
|
|
103
|
-
:'
|
|
104
|
-
:'prn' => :'prn',
|
|
103
|
+
:'artifact' => :'artifact',
|
|
105
104
|
:'vuln_report' => :'vuln_report',
|
|
106
105
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
106
|
+
:'prn' => :'prn',
|
|
107
107
|
:'sha256' => :'sha256',
|
|
108
108
|
:'md5' => :'md5',
|
|
109
109
|
:'sha1' => :'sha1',
|
|
@@ -135,13 +135,13 @@ module PulpAnsibleClient
|
|
|
135
135
|
# Attribute type mapping.
|
|
136
136
|
def self.openapi_types
|
|
137
137
|
{
|
|
138
|
-
:'
|
|
138
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
139
139
|
:'pulp_href' => :'String',
|
|
140
140
|
:'pulp_created' => :'Time',
|
|
141
|
-
:'
|
|
142
|
-
:'prn' => :'String',
|
|
141
|
+
:'artifact' => :'String',
|
|
143
142
|
:'vuln_report' => :'String',
|
|
144
143
|
:'pulp_last_updated' => :'Time',
|
|
144
|
+
:'prn' => :'String',
|
|
145
145
|
:'sha256' => :'String',
|
|
146
146
|
:'md5' => :'String',
|
|
147
147
|
:'sha1' => :'String',
|
|
@@ -187,8 +187,10 @@ module PulpAnsibleClient
|
|
|
187
187
|
h[k.to_sym] = v
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
if attributes.key?(:'
|
|
191
|
-
|
|
190
|
+
if attributes.key?(:'pulp_labels')
|
|
191
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
192
|
+
self.pulp_labels = value
|
|
193
|
+
end
|
|
192
194
|
end
|
|
193
195
|
|
|
194
196
|
if attributes.key?(:'pulp_href')
|
|
@@ -199,14 +201,8 @@ module PulpAnsibleClient
|
|
|
199
201
|
self.pulp_created = attributes[:'pulp_created']
|
|
200
202
|
end
|
|
201
203
|
|
|
202
|
-
if attributes.key?(:'
|
|
203
|
-
|
|
204
|
-
self.pulp_labels = value
|
|
205
|
-
end
|
|
206
|
-
end
|
|
207
|
-
|
|
208
|
-
if attributes.key?(:'prn')
|
|
209
|
-
self.prn = attributes[:'prn']
|
|
204
|
+
if attributes.key?(:'artifact')
|
|
205
|
+
self.artifact = attributes[:'artifact']
|
|
210
206
|
end
|
|
211
207
|
|
|
212
208
|
if attributes.key?(:'vuln_report')
|
|
@@ -217,6 +213,10 @@ module PulpAnsibleClient
|
|
|
217
213
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
218
214
|
end
|
|
219
215
|
|
|
216
|
+
if attributes.key?(:'prn')
|
|
217
|
+
self.prn = attributes[:'prn']
|
|
218
|
+
end
|
|
219
|
+
|
|
220
220
|
if attributes.key?(:'sha256')
|
|
221
221
|
self.sha256 = attributes[:'sha256']
|
|
222
222
|
end
|
|
@@ -472,13 +472,13 @@ module PulpAnsibleClient
|
|
|
472
472
|
def ==(o)
|
|
473
473
|
return true if self.equal?(o)
|
|
474
474
|
self.class == o.class &&
|
|
475
|
-
|
|
475
|
+
pulp_labels == o.pulp_labels &&
|
|
476
476
|
pulp_href == o.pulp_href &&
|
|
477
477
|
pulp_created == o.pulp_created &&
|
|
478
|
-
|
|
479
|
-
prn == o.prn &&
|
|
478
|
+
artifact == o.artifact &&
|
|
480
479
|
vuln_report == o.vuln_report &&
|
|
481
480
|
pulp_last_updated == o.pulp_last_updated &&
|
|
481
|
+
prn == o.prn &&
|
|
482
482
|
sha256 == o.sha256 &&
|
|
483
483
|
md5 == o.md5 &&
|
|
484
484
|
sha1 == o.sha1 &&
|
|
@@ -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
|
-
[
|
|
513
|
+
[pulp_labels, pulp_href, pulp_created, artifact, vuln_report, pulp_last_updated, prn, 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
|