pulp_ansible_client 0.24.11 → 0.24.12
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 +24 -24
- data/docs/AnsibleRole.md +2 -2
- data/docs/AnsibleRoleResponse.md +6 -6
- data/docs/ContentCollectionVersionsApi.md +4 -4
- data/docs/PatchedansibleGitRemote.md +24 -24
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +2 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +2 -2
- data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata_response.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +27 -27
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +216 -216
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +129 -129
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +27 -27
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +212 -212
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +2 -2
- data/spec/models/ansible_collection_version_response_spec.rb +6 -6
- data/spec/models/ansible_git_remote_response_spec.rb +19 -19
- data/spec/models/ansible_git_remote_spec.rb +18 -18
- data/spec/models/ansible_role_response_spec.rb +6 -6
- data/spec/models/ansible_role_spec.rb +3 -3
- data/spec/models/patchedansible_git_remote_spec.rb +18 -18
- metadata +119 -119
|
@@ -16,23 +16,23 @@ require 'time'
|
|
|
16
16
|
module PulpAnsibleClient
|
|
17
17
|
# A serializer for CollectionVersion Content.
|
|
18
18
|
class AnsibleCollectionVersionResponse
|
|
19
|
+
attr_accessor :pulp_href
|
|
20
|
+
|
|
21
|
+
# Timestamp of creation.
|
|
22
|
+
attr_accessor :pulp_created
|
|
23
|
+
|
|
19
24
|
# The Pulp Resource Name (PRN).
|
|
20
25
|
attr_accessor :prn
|
|
21
26
|
|
|
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
27
|
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
26
28
|
attr_accessor :pulp_labels
|
|
27
29
|
|
|
28
|
-
# Timestamp of
|
|
29
|
-
attr_accessor :
|
|
30
|
+
# 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.
|
|
31
|
+
attr_accessor :pulp_last_updated
|
|
30
32
|
|
|
31
33
|
# Artifact file representing the physical content
|
|
32
34
|
attr_accessor :artifact
|
|
33
35
|
|
|
34
|
-
attr_accessor :pulp_href
|
|
35
|
-
|
|
36
36
|
# The SHA-256 checksum if available.
|
|
37
37
|
attr_accessor :sha256
|
|
38
38
|
|
|
@@ -95,12 +95,12 @@ module PulpAnsibleClient
|
|
|
95
95
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
96
96
|
def self.attribute_map
|
|
97
97
|
{
|
|
98
|
+
:'pulp_href' => :'pulp_href',
|
|
99
|
+
:'pulp_created' => :'pulp_created',
|
|
98
100
|
:'prn' => :'prn',
|
|
99
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
100
101
|
:'pulp_labels' => :'pulp_labels',
|
|
101
|
-
:'
|
|
102
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
102
103
|
:'artifact' => :'artifact',
|
|
103
|
-
:'pulp_href' => :'pulp_href',
|
|
104
104
|
:'sha256' => :'sha256',
|
|
105
105
|
:'md5' => :'md5',
|
|
106
106
|
:'sha1' => :'sha1',
|
|
@@ -132,12 +132,12 @@ module PulpAnsibleClient
|
|
|
132
132
|
# Attribute type mapping.
|
|
133
133
|
def self.openapi_types
|
|
134
134
|
{
|
|
135
|
+
:'pulp_href' => :'String',
|
|
136
|
+
:'pulp_created' => :'Time',
|
|
135
137
|
:'prn' => :'String',
|
|
136
|
-
:'pulp_last_updated' => :'Time',
|
|
137
138
|
:'pulp_labels' => :'Hash<String, String>',
|
|
138
|
-
:'
|
|
139
|
+
:'pulp_last_updated' => :'Time',
|
|
139
140
|
:'artifact' => :'String',
|
|
140
|
-
:'pulp_href' => :'String',
|
|
141
141
|
:'sha256' => :'String',
|
|
142
142
|
:'md5' => :'String',
|
|
143
143
|
:'sha1' => :'String',
|
|
@@ -183,12 +183,16 @@ module PulpAnsibleClient
|
|
|
183
183
|
h[k.to_sym] = v
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
-
if attributes.key?(:'
|
|
187
|
-
self.
|
|
186
|
+
if attributes.key?(:'pulp_href')
|
|
187
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
188
188
|
end
|
|
189
189
|
|
|
190
|
-
if attributes.key?(:'
|
|
191
|
-
self.
|
|
190
|
+
if attributes.key?(:'pulp_created')
|
|
191
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
192
|
+
end
|
|
193
|
+
|
|
194
|
+
if attributes.key?(:'prn')
|
|
195
|
+
self.prn = attributes[:'prn']
|
|
192
196
|
end
|
|
193
197
|
|
|
194
198
|
if attributes.key?(:'pulp_labels')
|
|
@@ -197,18 +201,14 @@ module PulpAnsibleClient
|
|
|
197
201
|
end
|
|
198
202
|
end
|
|
199
203
|
|
|
200
|
-
if attributes.key?(:'
|
|
201
|
-
self.
|
|
204
|
+
if attributes.key?(:'pulp_last_updated')
|
|
205
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
202
206
|
end
|
|
203
207
|
|
|
204
208
|
if attributes.key?(:'artifact')
|
|
205
209
|
self.artifact = attributes[:'artifact']
|
|
206
210
|
end
|
|
207
211
|
|
|
208
|
-
if attributes.key?(:'pulp_href')
|
|
209
|
-
self.pulp_href = attributes[:'pulp_href']
|
|
210
|
-
end
|
|
211
|
-
|
|
212
212
|
if attributes.key?(:'sha256')
|
|
213
213
|
self.sha256 = attributes[:'sha256']
|
|
214
214
|
end
|
|
@@ -464,12 +464,12 @@ module PulpAnsibleClient
|
|
|
464
464
|
def ==(o)
|
|
465
465
|
return true if self.equal?(o)
|
|
466
466
|
self.class == o.class &&
|
|
467
|
+
pulp_href == o.pulp_href &&
|
|
468
|
+
pulp_created == o.pulp_created &&
|
|
467
469
|
prn == o.prn &&
|
|
468
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
469
470
|
pulp_labels == o.pulp_labels &&
|
|
470
|
-
|
|
471
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
471
472
|
artifact == o.artifact &&
|
|
472
|
-
pulp_href == o.pulp_href &&
|
|
473
473
|
sha256 == o.sha256 &&
|
|
474
474
|
md5 == o.md5 &&
|
|
475
475
|
sha1 == o.sha1 &&
|
|
@@ -501,7 +501,7 @@ module PulpAnsibleClient
|
|
|
501
501
|
# Calculates hash code according to all attributes.
|
|
502
502
|
# @return [Integer] Hash code
|
|
503
503
|
def hash
|
|
504
|
-
[
|
|
504
|
+
[pulp_href, pulp_created, prn, pulp_labels, pulp_last_updated, artifact, sha256, md5, sha1, sha224, sha384, sha512, id, authors, dependencies, description, documentation, homepage, issues, license, name, namespace, origin_repository, tags, version, requires_ansible].hash
|
|
505
505
|
end
|
|
506
506
|
|
|
507
507
|
# Builds the object from hash
|