pulp_ansible_client 0.24.1 → 0.24.3
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 +16 -4
- data/docs/AnsibleAnsibleCollectionDeprecated.md +2 -0
- data/docs/AnsibleAnsibleCollectionDeprecatedResponse.md +2 -0
- data/docs/AnsibleCollectionVersionResponse.md +6 -4
- data/docs/AnsibleCollectionVersionSignatureResponse.md +2 -0
- data/docs/AnsibleGitRemote.md +30 -30
- data/docs/AnsibleGitRemoteResponse.md +28 -28
- data/docs/AnsibleRole.md +2 -0
- data/docs/AnsibleRoleResponse.md +6 -4
- data/docs/ContentCollectionDeprecationsApi.md +148 -0
- data/docs/ContentCollectionMarksApi.md +150 -2
- data/docs/ContentCollectionSignaturesApi.md +152 -2
- data/docs/ContentCollectionVersionsApi.md +156 -6
- data/docs/ContentNamespacesApi.md +150 -2
- data/docs/ContentRolesApi.md +150 -2
- data/docs/DistributionsAnsibleApi.md +4 -2
- data/docs/PatchedansibleGitRemote.md +30 -30
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +4 -2
- data/docs/PulpAnsibleApiV3NamespacesApi.md +2 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +4 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +2 -2
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +4 -2
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +2 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +4 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +2 -2
- data/docs/RemotesGitApi.md +2 -2
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +151 -0
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +154 -3
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +157 -3
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +163 -9
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +154 -3
- data/lib/pulp_ansible_client/api/content_roles_api.rb +154 -3
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +6 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +6 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +6 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +6 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +6 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_ansible_collection_deprecated.rb +13 -1
- data/lib/pulp_ansible_client/models/ansible_ansible_collection_deprecated_response.rb +13 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +33 -21
- data/lib/pulp_ansible_client/models/ansible_collection_version_signature_response.rb +13 -1
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +248 -248
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +165 -165
- data/lib/pulp_ansible_client/models/ansible_role.rb +13 -1
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +29 -17
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +239 -239
- data/lib/pulp_ansible_client/models/unset_label.rb +1 -1
- data/lib/pulp_ansible_client/models/unset_label_response.rb +1 -1
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_deprecations_api_spec.rb +27 -0
- data/spec/api/content_collection_marks_api_spec.rb +28 -1
- data/spec/api/content_collection_signatures_api_spec.rb +29 -1
- data/spec/api/content_collection_versions_api_spec.rb +31 -3
- data/spec/api/content_namespaces_api_spec.rb +28 -1
- data/spec/api/content_roles_api_spec.rb +28 -1
- data/spec/api/distributions_ansible_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +1 -1
- data/spec/models/ansible_ansible_collection_deprecated_response_spec.rb +6 -0
- data/spec/models/ansible_ansible_collection_deprecated_spec.rb +6 -0
- data/spec/models/ansible_collection_version_response_spec.rb +10 -4
- 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 +20 -20
- data/spec/models/ansible_role_response_spec.rb +9 -3
- data/spec/models/ansible_role_spec.rb +6 -0
- data/spec/models/patchedansible_git_remote_spec.rb +20 -20
- metadata +123 -123
@@ -16,20 +16,23 @@ require 'time'
|
|
16
16
|
module PulpAnsibleClient
|
17
17
|
# A serializer for Role versions.
|
18
18
|
class AnsibleRoleResponse
|
19
|
-
# 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.
|
20
|
-
attr_accessor :pulp_last_updated
|
21
|
-
|
22
19
|
# The Pulp Resource Name (PRN).
|
23
20
|
attr_accessor :prn
|
24
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
25
|
# Timestamp of creation.
|
26
26
|
attr_accessor :pulp_created
|
27
27
|
|
28
|
-
|
28
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
29
|
+
attr_accessor :pulp_labels
|
29
30
|
|
30
31
|
# Artifact file representing the physical content
|
31
32
|
attr_accessor :artifact
|
32
33
|
|
34
|
+
attr_accessor :pulp_href
|
35
|
+
|
33
36
|
attr_accessor :version
|
34
37
|
|
35
38
|
attr_accessor :name
|
@@ -39,11 +42,12 @@ module PulpAnsibleClient
|
|
39
42
|
# Attribute mapping from ruby-style variable name to JSON key.
|
40
43
|
def self.attribute_map
|
41
44
|
{
|
42
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
43
45
|
:'prn' => :'prn',
|
46
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
44
47
|
:'pulp_created' => :'pulp_created',
|
45
|
-
:'
|
48
|
+
:'pulp_labels' => :'pulp_labels',
|
46
49
|
:'artifact' => :'artifact',
|
50
|
+
:'pulp_href' => :'pulp_href',
|
47
51
|
:'version' => :'version',
|
48
52
|
:'name' => :'name',
|
49
53
|
:'namespace' => :'namespace'
|
@@ -58,11 +62,12 @@ module PulpAnsibleClient
|
|
58
62
|
# Attribute type mapping.
|
59
63
|
def self.openapi_types
|
60
64
|
{
|
61
|
-
:'pulp_last_updated' => :'Time',
|
62
65
|
:'prn' => :'String',
|
66
|
+
:'pulp_last_updated' => :'Time',
|
63
67
|
:'pulp_created' => :'Time',
|
64
|
-
:'
|
68
|
+
:'pulp_labels' => :'Hash<String, String>',
|
65
69
|
:'artifact' => :'String',
|
70
|
+
:'pulp_href' => :'String',
|
66
71
|
:'version' => :'String',
|
67
72
|
:'name' => :'String',
|
68
73
|
:'namespace' => :'String'
|
@@ -90,20 +95,22 @@ module PulpAnsibleClient
|
|
90
95
|
h[k.to_sym] = v
|
91
96
|
}
|
92
97
|
|
93
|
-
if attributes.key?(:'pulp_last_updated')
|
94
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
95
|
-
end
|
96
|
-
|
97
98
|
if attributes.key?(:'prn')
|
98
99
|
self.prn = attributes[:'prn']
|
99
100
|
end
|
100
101
|
|
102
|
+
if attributes.key?(:'pulp_last_updated')
|
103
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
104
|
+
end
|
105
|
+
|
101
106
|
if attributes.key?(:'pulp_created')
|
102
107
|
self.pulp_created = attributes[:'pulp_created']
|
103
108
|
end
|
104
109
|
|
105
|
-
if attributes.key?(:'
|
106
|
-
|
110
|
+
if attributes.key?(:'pulp_labels')
|
111
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
112
|
+
self.pulp_labels = value
|
113
|
+
end
|
107
114
|
end
|
108
115
|
|
109
116
|
if attributes.key?(:'artifact')
|
@@ -112,6 +119,10 @@ module PulpAnsibleClient
|
|
112
119
|
self.artifact = nil
|
113
120
|
end
|
114
121
|
|
122
|
+
if attributes.key?(:'pulp_href')
|
123
|
+
self.pulp_href = attributes[:'pulp_href']
|
124
|
+
end
|
125
|
+
|
115
126
|
if attributes.key?(:'version')
|
116
127
|
self.version = attributes[:'version']
|
117
128
|
else
|
@@ -171,11 +182,12 @@ module PulpAnsibleClient
|
|
171
182
|
def ==(o)
|
172
183
|
return true if self.equal?(o)
|
173
184
|
self.class == o.class &&
|
174
|
-
pulp_last_updated == o.pulp_last_updated &&
|
175
185
|
prn == o.prn &&
|
186
|
+
pulp_last_updated == o.pulp_last_updated &&
|
176
187
|
pulp_created == o.pulp_created &&
|
177
|
-
|
188
|
+
pulp_labels == o.pulp_labels &&
|
178
189
|
artifact == o.artifact &&
|
190
|
+
pulp_href == o.pulp_href &&
|
179
191
|
version == o.version &&
|
180
192
|
name == o.name &&
|
181
193
|
namespace == o.namespace
|
@@ -190,7 +202,7 @@ module PulpAnsibleClient
|
|
190
202
|
# Calculates hash code according to all attributes.
|
191
203
|
# @return [Integer] Hash code
|
192
204
|
def hash
|
193
|
-
[
|
205
|
+
[prn, pulp_last_updated, pulp_created, pulp_labels, artifact, pulp_href, version, name, namespace].hash
|
194
206
|
end
|
195
207
|
|
196
208
|
# Builds the object from hash
|