pulp_ansible_client 0.24.11 → 0.24.13
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 +28 -28
- data/docs/AnsibleGitRemoteResponse.md +24 -24
- data/docs/AnsibleRole.md +2 -2
- data/docs/AnsibleRoleResponse.md +6 -6
- data/docs/ContentCollectionVersionsApi.md +6 -6
- data/docs/PatchedansibleGitRemote.md +28 -28
- data/docs/RemotesGitApi.md +2 -2
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -9
- 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 +28 -28
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +252 -252
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +149 -149
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +30 -30
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +244 -244
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +3 -3
- 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 +20 -20
- data/spec/models/ansible_role_response_spec.rb +6 -6
- data/spec/models/ansible_role_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +20 -20
- metadata +124 -124
|
@@ -16,23 +16,23 @@ require 'time'
|
|
|
16
16
|
module PulpAnsibleClient
|
|
17
17
|
# A serializer for CollectionVersion Content.
|
|
18
18
|
class AnsibleCollectionVersionResponse
|
|
19
|
-
# The Pulp Resource Name (PRN).
|
|
20
|
-
attr_accessor :prn
|
|
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
19
|
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
26
20
|
attr_accessor :pulp_labels
|
|
27
21
|
|
|
22
|
+
# Artifact file representing the physical content
|
|
23
|
+
attr_accessor :artifact
|
|
24
|
+
|
|
28
25
|
# Timestamp of creation.
|
|
29
26
|
attr_accessor :pulp_created
|
|
30
27
|
|
|
31
|
-
#
|
|
32
|
-
attr_accessor :
|
|
28
|
+
# 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.
|
|
29
|
+
attr_accessor :pulp_last_updated
|
|
33
30
|
|
|
34
31
|
attr_accessor :pulp_href
|
|
35
32
|
|
|
33
|
+
# The Pulp Resource Name (PRN).
|
|
34
|
+
attr_accessor :prn
|
|
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
|
-
:'prn' => :'prn',
|
|
99
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
100
98
|
:'pulp_labels' => :'pulp_labels',
|
|
101
|
-
:'pulp_created' => :'pulp_created',
|
|
102
99
|
:'artifact' => :'artifact',
|
|
100
|
+
:'pulp_created' => :'pulp_created',
|
|
101
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
103
102
|
:'pulp_href' => :'pulp_href',
|
|
103
|
+
:'prn' => :'prn',
|
|
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
|
-
:'prn' => :'String',
|
|
136
|
-
:'pulp_last_updated' => :'Time',
|
|
137
135
|
:'pulp_labels' => :'Hash<String, String>',
|
|
138
|
-
:'pulp_created' => :'Time',
|
|
139
136
|
:'artifact' => :'String',
|
|
137
|
+
:'pulp_created' => :'Time',
|
|
138
|
+
:'pulp_last_updated' => :'Time',
|
|
140
139
|
:'pulp_href' => :'String',
|
|
140
|
+
:'prn' => :'String',
|
|
141
141
|
:'sha256' => :'String',
|
|
142
142
|
:'md5' => :'String',
|
|
143
143
|
:'sha1' => :'String',
|
|
@@ -183,32 +183,32 @@ module PulpAnsibleClient
|
|
|
183
183
|
h[k.to_sym] = v
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
-
if attributes.key?(:'prn')
|
|
187
|
-
self.prn = attributes[:'prn']
|
|
188
|
-
end
|
|
189
|
-
|
|
190
|
-
if attributes.key?(:'pulp_last_updated')
|
|
191
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
192
|
-
end
|
|
193
|
-
|
|
194
186
|
if attributes.key?(:'pulp_labels')
|
|
195
187
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
196
188
|
self.pulp_labels = value
|
|
197
189
|
end
|
|
198
190
|
end
|
|
199
191
|
|
|
192
|
+
if attributes.key?(:'artifact')
|
|
193
|
+
self.artifact = attributes[:'artifact']
|
|
194
|
+
end
|
|
195
|
+
|
|
200
196
|
if attributes.key?(:'pulp_created')
|
|
201
197
|
self.pulp_created = attributes[:'pulp_created']
|
|
202
198
|
end
|
|
203
199
|
|
|
204
|
-
if attributes.key?(:'
|
|
205
|
-
self.
|
|
200
|
+
if attributes.key?(:'pulp_last_updated')
|
|
201
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
206
202
|
end
|
|
207
203
|
|
|
208
204
|
if attributes.key?(:'pulp_href')
|
|
209
205
|
self.pulp_href = attributes[:'pulp_href']
|
|
210
206
|
end
|
|
211
207
|
|
|
208
|
+
if attributes.key?(:'prn')
|
|
209
|
+
self.prn = attributes[:'prn']
|
|
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
|
-
prn == o.prn &&
|
|
468
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
469
467
|
pulp_labels == o.pulp_labels &&
|
|
470
|
-
pulp_created == o.pulp_created &&
|
|
471
468
|
artifact == o.artifact &&
|
|
469
|
+
pulp_created == o.pulp_created &&
|
|
470
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
472
471
|
pulp_href == o.pulp_href &&
|
|
472
|
+
prn == o.prn &&
|
|
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_labels, artifact, pulp_created, pulp_last_updated, pulp_href, prn, 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
|