pulp_ansible_client 0.25.0 → 0.26.0
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 +8 -8
- data/docs/AnsibleGitRemote.md +24 -24
- data/docs/AnsibleGitRemoteResponse.md +26 -26
- data/docs/AnsibleRole.md +2 -2
- data/docs/AnsibleRoleResponse.md +8 -8
- data/docs/ContentCollectionVersionsApi.md +8 -8
- data/docs/PatchedansibleGitRemote.md +24 -24
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +2 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +2 -2
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +2 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +2 -2
- data/docs/RemotesGitApi.md +2 -2
- data/docs/TagResponse.md +1 -1
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +12 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +37 -37
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +232 -232
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +159 -159
- data/lib/pulp_ansible_client/models/ansible_role.rb +13 -13
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +39 -39
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +223 -223
- data/lib/pulp_ansible_client/models/tag_response.rb +1 -0
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +4 -4
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -1
- data/spec/models/ansible_collection_version_response_spec.rb +6 -6
- 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 +6 -6
- data/spec/models/ansible_role_spec.rb +3 -3
- 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 Role versions.
|
18
18
|
class AnsibleRoleResponse
|
19
|
-
#
|
20
|
-
attr_accessor :
|
21
|
-
|
22
|
-
# The Pulp Resource Name (PRN).
|
23
|
-
attr_accessor :prn
|
19
|
+
# Artifact file representing the physical content
|
20
|
+
attr_accessor :artifact
|
24
21
|
|
25
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.
|
26
23
|
attr_accessor :pulp_last_updated
|
27
24
|
|
28
|
-
attr_accessor :pulp_href
|
29
|
-
|
30
|
-
# Artifact file representing the physical content
|
31
|
-
attr_accessor :artifact
|
32
|
-
|
33
25
|
# Timestamp of creation.
|
34
26
|
attr_accessor :pulp_created
|
35
27
|
|
28
|
+
# The Pulp Resource Name (PRN).
|
29
|
+
attr_accessor :prn
|
30
|
+
|
31
|
+
attr_accessor :pulp_href
|
32
|
+
|
33
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
34
|
+
attr_accessor :pulp_labels
|
35
|
+
|
36
36
|
attr_accessor :version
|
37
37
|
|
38
38
|
attr_accessor :name
|
@@ -42,12 +42,12 @@ module PulpAnsibleClient
|
|
42
42
|
# Attribute mapping from ruby-style variable name to JSON key.
|
43
43
|
def self.attribute_map
|
44
44
|
{
|
45
|
-
:'pulp_labels' => :'pulp_labels',
|
46
|
-
:'prn' => :'prn',
|
47
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
48
|
-
:'pulp_href' => :'pulp_href',
|
49
45
|
:'artifact' => :'artifact',
|
46
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
50
47
|
:'pulp_created' => :'pulp_created',
|
48
|
+
:'prn' => :'prn',
|
49
|
+
:'pulp_href' => :'pulp_href',
|
50
|
+
:'pulp_labels' => :'pulp_labels',
|
51
51
|
:'version' => :'version',
|
52
52
|
:'name' => :'name',
|
53
53
|
:'namespace' => :'namespace'
|
@@ -62,12 +62,12 @@ module PulpAnsibleClient
|
|
62
62
|
# Attribute type mapping.
|
63
63
|
def self.openapi_types
|
64
64
|
{
|
65
|
-
:'pulp_labels' => :'Hash<String, String>',
|
66
|
-
:'prn' => :'String',
|
67
|
-
:'pulp_last_updated' => :'Time',
|
68
|
-
:'pulp_href' => :'String',
|
69
65
|
:'artifact' => :'String',
|
66
|
+
:'pulp_last_updated' => :'Time',
|
70
67
|
:'pulp_created' => :'Time',
|
68
|
+
:'prn' => :'String',
|
69
|
+
:'pulp_href' => :'String',
|
70
|
+
:'pulp_labels' => :'Hash<String, String>',
|
71
71
|
:'version' => :'String',
|
72
72
|
:'name' => :'String',
|
73
73
|
:'namespace' => :'String'
|
@@ -95,32 +95,32 @@ module PulpAnsibleClient
|
|
95
95
|
h[k.to_sym] = v
|
96
96
|
}
|
97
97
|
|
98
|
-
if attributes.key?(:'
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
end
|
103
|
-
|
104
|
-
if attributes.key?(:'prn')
|
105
|
-
self.prn = attributes[:'prn']
|
98
|
+
if attributes.key?(:'artifact')
|
99
|
+
self.artifact = attributes[:'artifact']
|
100
|
+
else
|
101
|
+
self.artifact = nil
|
106
102
|
end
|
107
103
|
|
108
104
|
if attributes.key?(:'pulp_last_updated')
|
109
105
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
110
106
|
end
|
111
107
|
|
112
|
-
if attributes.key?(:'
|
113
|
-
self.
|
108
|
+
if attributes.key?(:'pulp_created')
|
109
|
+
self.pulp_created = attributes[:'pulp_created']
|
114
110
|
end
|
115
111
|
|
116
|
-
if attributes.key?(:'
|
117
|
-
self.
|
118
|
-
else
|
119
|
-
self.artifact = nil
|
112
|
+
if attributes.key?(:'prn')
|
113
|
+
self.prn = attributes[:'prn']
|
120
114
|
end
|
121
115
|
|
122
|
-
if attributes.key?(:'
|
123
|
-
self.
|
116
|
+
if attributes.key?(:'pulp_href')
|
117
|
+
self.pulp_href = attributes[:'pulp_href']
|
118
|
+
end
|
119
|
+
|
120
|
+
if attributes.key?(:'pulp_labels')
|
121
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
122
|
+
self.pulp_labels = value
|
123
|
+
end
|
124
124
|
end
|
125
125
|
|
126
126
|
if attributes.key?(:'version')
|
@@ -182,12 +182,12 @@ module PulpAnsibleClient
|
|
182
182
|
def ==(o)
|
183
183
|
return true if self.equal?(o)
|
184
184
|
self.class == o.class &&
|
185
|
-
pulp_labels == o.pulp_labels &&
|
186
|
-
prn == o.prn &&
|
187
|
-
pulp_last_updated == o.pulp_last_updated &&
|
188
|
-
pulp_href == o.pulp_href &&
|
189
185
|
artifact == o.artifact &&
|
186
|
+
pulp_last_updated == o.pulp_last_updated &&
|
190
187
|
pulp_created == o.pulp_created &&
|
188
|
+
prn == o.prn &&
|
189
|
+
pulp_href == o.pulp_href &&
|
190
|
+
pulp_labels == o.pulp_labels &&
|
191
191
|
version == o.version &&
|
192
192
|
name == o.name &&
|
193
193
|
namespace == o.namespace
|
@@ -202,7 +202,7 @@ module PulpAnsibleClient
|
|
202
202
|
# Calculates hash code according to all attributes.
|
203
203
|
# @return [Integer] Hash code
|
204
204
|
def hash
|
205
|
-
[
|
205
|
+
[artifact, pulp_last_updated, pulp_created, prn, pulp_href, pulp_labels, version, name, namespace].hash
|
206
206
|
end
|
207
207
|
|
208
208
|
# Builds the object from hash
|