pulp_ansible_client 0.28.7 → 0.28.9
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 +28 -28
- data/docs/AnsibleGitRemoteResponse.md +28 -28
- data/docs/AnsibleRole.md +2 -2
- data/docs/AnsibleRoleResponse.md +8 -8
- data/docs/ContentCollectionVersionsApi.md +6 -6
- data/docs/PatchedansibleGitRemote.md +28 -28
- 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 +37 -37
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +237 -237
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +162 -162
- 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 +231 -231
- 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 +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 +118 -118
|
@@ -16,25 +16,25 @@ 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
|
+
attr_accessor :pulp_href
|
|
23
|
+
|
|
24
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
25
|
+
attr_accessor :pulp_labels
|
|
26
|
+
|
|
19
27
|
# Artifact file representing the physical content
|
|
20
28
|
attr_accessor :artifact
|
|
21
29
|
|
|
30
|
+
attr_accessor :vuln_report
|
|
31
|
+
|
|
22
32
|
# Timestamp of creation.
|
|
23
33
|
attr_accessor :pulp_created
|
|
24
34
|
|
|
25
|
-
attr_accessor :pulp_href
|
|
26
|
-
|
|
27
35
|
# The Pulp Resource Name (PRN).
|
|
28
36
|
attr_accessor :prn
|
|
29
37
|
|
|
30
|
-
attr_accessor :vuln_report
|
|
31
|
-
|
|
32
|
-
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
33
|
-
attr_accessor :pulp_labels
|
|
34
|
-
|
|
35
|
-
# 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
|
-
attr_accessor :pulp_last_updated
|
|
37
|
-
|
|
38
38
|
attr_accessor :version
|
|
39
39
|
|
|
40
40
|
attr_accessor :name
|
|
@@ -44,13 +44,13 @@ module PulpAnsibleClient
|
|
|
44
44
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
45
45
|
def self.attribute_map
|
|
46
46
|
{
|
|
47
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
48
|
+
:'pulp_href' => :'pulp_href',
|
|
49
|
+
:'pulp_labels' => :'pulp_labels',
|
|
47
50
|
:'artifact' => :'artifact',
|
|
51
|
+
:'vuln_report' => :'vuln_report',
|
|
48
52
|
:'pulp_created' => :'pulp_created',
|
|
49
|
-
:'pulp_href' => :'pulp_href',
|
|
50
53
|
:'prn' => :'prn',
|
|
51
|
-
:'vuln_report' => :'vuln_report',
|
|
52
|
-
:'pulp_labels' => :'pulp_labels',
|
|
53
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
54
54
|
:'version' => :'version',
|
|
55
55
|
:'name' => :'name',
|
|
56
56
|
:'namespace' => :'namespace'
|
|
@@ -65,13 +65,13 @@ module PulpAnsibleClient
|
|
|
65
65
|
# Attribute type mapping.
|
|
66
66
|
def self.openapi_types
|
|
67
67
|
{
|
|
68
|
+
:'pulp_last_updated' => :'Time',
|
|
69
|
+
:'pulp_href' => :'String',
|
|
70
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
68
71
|
:'artifact' => :'String',
|
|
72
|
+
:'vuln_report' => :'String',
|
|
69
73
|
:'pulp_created' => :'Time',
|
|
70
|
-
:'pulp_href' => :'String',
|
|
71
74
|
:'prn' => :'String',
|
|
72
|
-
:'vuln_report' => :'String',
|
|
73
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
74
|
-
:'pulp_last_updated' => :'Time',
|
|
75
75
|
:'version' => :'String',
|
|
76
76
|
:'name' => :'String',
|
|
77
77
|
:'namespace' => :'String'
|
|
@@ -99,36 +99,36 @@ module PulpAnsibleClient
|
|
|
99
99
|
h[k.to_sym] = v
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
if attributes.key?(:'
|
|
103
|
-
self.
|
|
104
|
-
else
|
|
105
|
-
self.artifact = nil
|
|
106
|
-
end
|
|
107
|
-
|
|
108
|
-
if attributes.key?(:'pulp_created')
|
|
109
|
-
self.pulp_created = attributes[:'pulp_created']
|
|
102
|
+
if attributes.key?(:'pulp_last_updated')
|
|
103
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
110
104
|
end
|
|
111
105
|
|
|
112
106
|
if attributes.key?(:'pulp_href')
|
|
113
107
|
self.pulp_href = attributes[:'pulp_href']
|
|
114
108
|
end
|
|
115
109
|
|
|
116
|
-
if attributes.key?(:'
|
|
117
|
-
|
|
110
|
+
if attributes.key?(:'pulp_labels')
|
|
111
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
112
|
+
self.pulp_labels = value
|
|
113
|
+
end
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
if attributes.key?(:'artifact')
|
|
117
|
+
self.artifact = attributes[:'artifact']
|
|
118
|
+
else
|
|
119
|
+
self.artifact = nil
|
|
118
120
|
end
|
|
119
121
|
|
|
120
122
|
if attributes.key?(:'vuln_report')
|
|
121
123
|
self.vuln_report = attributes[:'vuln_report']
|
|
122
124
|
end
|
|
123
125
|
|
|
124
|
-
if attributes.key?(:'
|
|
125
|
-
|
|
126
|
-
self.pulp_labels = value
|
|
127
|
-
end
|
|
126
|
+
if attributes.key?(:'pulp_created')
|
|
127
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
128
128
|
end
|
|
129
129
|
|
|
130
|
-
if attributes.key?(:'
|
|
131
|
-
self.
|
|
130
|
+
if attributes.key?(:'prn')
|
|
131
|
+
self.prn = attributes[:'prn']
|
|
132
132
|
end
|
|
133
133
|
|
|
134
134
|
if attributes.key?(:'version')
|
|
@@ -190,13 +190,13 @@ module PulpAnsibleClient
|
|
|
190
190
|
def ==(o)
|
|
191
191
|
return true if self.equal?(o)
|
|
192
192
|
self.class == o.class &&
|
|
193
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
194
|
+
pulp_href == o.pulp_href &&
|
|
195
|
+
pulp_labels == o.pulp_labels &&
|
|
193
196
|
artifact == o.artifact &&
|
|
197
|
+
vuln_report == o.vuln_report &&
|
|
194
198
|
pulp_created == o.pulp_created &&
|
|
195
|
-
pulp_href == o.pulp_href &&
|
|
196
199
|
prn == o.prn &&
|
|
197
|
-
vuln_report == o.vuln_report &&
|
|
198
|
-
pulp_labels == o.pulp_labels &&
|
|
199
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
200
200
|
version == o.version &&
|
|
201
201
|
name == o.name &&
|
|
202
202
|
namespace == o.namespace
|
|
@@ -211,7 +211,7 @@ module PulpAnsibleClient
|
|
|
211
211
|
# Calculates hash code according to all attributes.
|
|
212
212
|
# @return [Integer] Hash code
|
|
213
213
|
def hash
|
|
214
|
-
[
|
|
214
|
+
[pulp_last_updated, pulp_href, pulp_labels, artifact, vuln_report, pulp_created, prn, version, name, namespace].hash
|
|
215
215
|
end
|
|
216
216
|
|
|
217
217
|
# Builds the object from hash
|