pulp_ansible_client 0.24.10 → 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/AnsibleAnsibleDistribution.md +5 -3
- data/docs/AnsibleAnsibleDistributionResponse.md +12 -4
- data/docs/AnsibleCollectionVersionResponse.md +6 -6
- data/docs/AnsibleGitRemote.md +24 -24
- data/docs/AnsibleGitRemoteResponse.md +26 -26
- data/docs/AnsibleRole.md +2 -2
- data/docs/AnsibleRoleResponse.md +6 -6
- data/docs/ContentCollectionVersionsApi.md +6 -6
- data/docs/PatchedansibleAnsibleDistribution.md +5 -3
- data/docs/PatchedansibleGitRemote.md +24 -24
- 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_distribution.rb +28 -16
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +62 -20
- 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 +26 -26
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +196 -196
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +143 -143
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +28 -28
- data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +28 -16
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +196 -196
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +3 -3
- data/spec/models/ansible_ansible_distribution_response_spec.rb +28 -4
- data/spec/models/ansible_ansible_distribution_spec.rb +10 -4
- data/spec/models/ansible_collection_version_response_spec.rb +5 -5
- data/spec/models/ansible_git_remote_response_spec.rb +20 -20
- data/spec/models/ansible_git_remote_spec.rb +18 -18
- data/spec/models/ansible_role_response_spec.rb +5 -5
- data/spec/models/ansible_role_spec.rb +3 -3
- data/spec/models/patchedansible_ansible_distribution_spec.rb +10 -4
- 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 Role versions.
|
|
18
18
|
class AnsibleRoleResponse
|
|
19
|
-
|
|
20
|
-
attr_accessor :pulp_labels
|
|
19
|
+
attr_accessor :pulp_href
|
|
21
20
|
|
|
22
21
|
# Timestamp of creation.
|
|
23
22
|
attr_accessor :pulp_created
|
|
24
23
|
|
|
25
|
-
# Artifact file representing the physical content
|
|
26
|
-
attr_accessor :artifact
|
|
27
|
-
|
|
28
24
|
# The Pulp Resource Name (PRN).
|
|
29
25
|
attr_accessor :prn
|
|
30
26
|
|
|
31
|
-
|
|
27
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
28
|
+
attr_accessor :pulp_labels
|
|
32
29
|
|
|
33
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.
|
|
34
31
|
attr_accessor :pulp_last_updated
|
|
35
32
|
|
|
33
|
+
# Artifact file representing the physical content
|
|
34
|
+
attr_accessor :artifact
|
|
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
|
-
:'
|
|
45
|
+
:'pulp_href' => :'pulp_href',
|
|
46
46
|
:'pulp_created' => :'pulp_created',
|
|
47
|
-
:'artifact' => :'artifact',
|
|
48
47
|
:'prn' => :'prn',
|
|
49
|
-
:'
|
|
48
|
+
:'pulp_labels' => :'pulp_labels',
|
|
50
49
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
50
|
+
:'artifact' => :'artifact',
|
|
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
|
-
:'
|
|
65
|
+
:'pulp_href' => :'String',
|
|
66
66
|
:'pulp_created' => :'Time',
|
|
67
|
-
:'artifact' => :'String',
|
|
68
67
|
:'prn' => :'String',
|
|
69
|
-
:'
|
|
68
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
70
69
|
:'pulp_last_updated' => :'Time',
|
|
70
|
+
:'artifact' => :'String',
|
|
71
71
|
:'version' => :'String',
|
|
72
72
|
:'name' => :'String',
|
|
73
73
|
:'namespace' => :'String'
|
|
@@ -95,34 +95,34 @@ module PulpAnsibleClient
|
|
|
95
95
|
h[k.to_sym] = v
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
if attributes.key?(:'
|
|
99
|
-
|
|
100
|
-
self.pulp_labels = value
|
|
101
|
-
end
|
|
98
|
+
if attributes.key?(:'pulp_href')
|
|
99
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
102
100
|
end
|
|
103
101
|
|
|
104
102
|
if attributes.key?(:'pulp_created')
|
|
105
103
|
self.pulp_created = attributes[:'pulp_created']
|
|
106
104
|
end
|
|
107
105
|
|
|
108
|
-
if attributes.key?(:'artifact')
|
|
109
|
-
self.artifact = attributes[:'artifact']
|
|
110
|
-
else
|
|
111
|
-
self.artifact = nil
|
|
112
|
-
end
|
|
113
|
-
|
|
114
106
|
if attributes.key?(:'prn')
|
|
115
107
|
self.prn = attributes[:'prn']
|
|
116
108
|
end
|
|
117
109
|
|
|
118
|
-
if attributes.key?(:'
|
|
119
|
-
|
|
110
|
+
if attributes.key?(:'pulp_labels')
|
|
111
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
112
|
+
self.pulp_labels = value
|
|
113
|
+
end
|
|
120
114
|
end
|
|
121
115
|
|
|
122
116
|
if attributes.key?(:'pulp_last_updated')
|
|
123
117
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
124
118
|
end
|
|
125
119
|
|
|
120
|
+
if attributes.key?(:'artifact')
|
|
121
|
+
self.artifact = attributes[:'artifact']
|
|
122
|
+
else
|
|
123
|
+
self.artifact = nil
|
|
124
|
+
end
|
|
125
|
+
|
|
126
126
|
if attributes.key?(:'version')
|
|
127
127
|
self.version = attributes[:'version']
|
|
128
128
|
else
|
|
@@ -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
|
-
|
|
185
|
+
pulp_href == o.pulp_href &&
|
|
186
186
|
pulp_created == o.pulp_created &&
|
|
187
|
-
artifact == o.artifact &&
|
|
188
187
|
prn == o.prn &&
|
|
189
|
-
|
|
188
|
+
pulp_labels == o.pulp_labels &&
|
|
190
189
|
pulp_last_updated == o.pulp_last_updated &&
|
|
190
|
+
artifact == o.artifact &&
|
|
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
|
+
[pulp_href, pulp_created, prn, pulp_labels, pulp_last_updated, artifact, version, name, namespace].hash
|
|
206
206
|
end
|
|
207
207
|
|
|
208
208
|
# Builds the object from hash
|
|
@@ -22,6 +22,11 @@ module PulpAnsibleClient
|
|
|
22
22
|
# An optional content-guard.
|
|
23
23
|
attr_accessor :content_guard
|
|
24
24
|
|
|
25
|
+
# Whether this distribution should be shown in the content app.
|
|
26
|
+
attr_accessor :hidden
|
|
27
|
+
|
|
28
|
+
attr_accessor :pulp_labels
|
|
29
|
+
|
|
25
30
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
26
31
|
attr_accessor :name
|
|
27
32
|
|
|
@@ -31,17 +36,16 @@ module PulpAnsibleClient
|
|
|
31
36
|
# RepositoryVersion to be served
|
|
32
37
|
attr_accessor :repository_version
|
|
33
38
|
|
|
34
|
-
attr_accessor :pulp_labels
|
|
35
|
-
|
|
36
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
37
40
|
def self.attribute_map
|
|
38
41
|
{
|
|
39
42
|
:'base_path' => :'base_path',
|
|
40
43
|
:'content_guard' => :'content_guard',
|
|
44
|
+
:'hidden' => :'hidden',
|
|
45
|
+
:'pulp_labels' => :'pulp_labels',
|
|
41
46
|
:'name' => :'name',
|
|
42
47
|
:'repository' => :'repository',
|
|
43
|
-
:'repository_version' => :'repository_version'
|
|
44
|
-
:'pulp_labels' => :'pulp_labels'
|
|
48
|
+
:'repository_version' => :'repository_version'
|
|
45
49
|
}
|
|
46
50
|
end
|
|
47
51
|
|
|
@@ -55,10 +59,11 @@ module PulpAnsibleClient
|
|
|
55
59
|
{
|
|
56
60
|
:'base_path' => :'String',
|
|
57
61
|
:'content_guard' => :'String',
|
|
62
|
+
:'hidden' => :'Boolean',
|
|
63
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
58
64
|
:'name' => :'String',
|
|
59
65
|
:'repository' => :'String',
|
|
60
|
-
:'repository_version' => :'String'
|
|
61
|
-
:'pulp_labels' => :'Hash<String, String>'
|
|
66
|
+
:'repository_version' => :'String'
|
|
62
67
|
}
|
|
63
68
|
end
|
|
64
69
|
|
|
@@ -67,7 +72,7 @@ module PulpAnsibleClient
|
|
|
67
72
|
Set.new([
|
|
68
73
|
:'content_guard',
|
|
69
74
|
:'repository',
|
|
70
|
-
:'repository_version'
|
|
75
|
+
:'repository_version'
|
|
71
76
|
])
|
|
72
77
|
end
|
|
73
78
|
|
|
@@ -94,6 +99,18 @@ module PulpAnsibleClient
|
|
|
94
99
|
self.content_guard = attributes[:'content_guard']
|
|
95
100
|
end
|
|
96
101
|
|
|
102
|
+
if attributes.key?(:'hidden')
|
|
103
|
+
self.hidden = attributes[:'hidden']
|
|
104
|
+
else
|
|
105
|
+
self.hidden = false
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
if attributes.key?(:'pulp_labels')
|
|
109
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
110
|
+
self.pulp_labels = value
|
|
111
|
+
end
|
|
112
|
+
end
|
|
113
|
+
|
|
97
114
|
if attributes.key?(:'name')
|
|
98
115
|
self.name = attributes[:'name']
|
|
99
116
|
end
|
|
@@ -105,12 +122,6 @@ module PulpAnsibleClient
|
|
|
105
122
|
if attributes.key?(:'repository_version')
|
|
106
123
|
self.repository_version = attributes[:'repository_version']
|
|
107
124
|
end
|
|
108
|
-
|
|
109
|
-
if attributes.key?(:'pulp_labels')
|
|
110
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
111
|
-
self.pulp_labels = value
|
|
112
|
-
end
|
|
113
|
-
end
|
|
114
125
|
end
|
|
115
126
|
|
|
116
127
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -173,10 +184,11 @@ module PulpAnsibleClient
|
|
|
173
184
|
self.class == o.class &&
|
|
174
185
|
base_path == o.base_path &&
|
|
175
186
|
content_guard == o.content_guard &&
|
|
187
|
+
hidden == o.hidden &&
|
|
188
|
+
pulp_labels == o.pulp_labels &&
|
|
176
189
|
name == o.name &&
|
|
177
190
|
repository == o.repository &&
|
|
178
|
-
repository_version == o.repository_version
|
|
179
|
-
pulp_labels == o.pulp_labels
|
|
191
|
+
repository_version == o.repository_version
|
|
180
192
|
end
|
|
181
193
|
|
|
182
194
|
# @see the `==` method
|
|
@@ -188,7 +200,7 @@ module PulpAnsibleClient
|
|
|
188
200
|
# Calculates hash code according to all attributes.
|
|
189
201
|
# @return [Integer] Hash code
|
|
190
202
|
def hash
|
|
191
|
-
[base_path, content_guard, name, repository, repository_version
|
|
203
|
+
[base_path, content_guard, hidden, pulp_labels, name, repository, repository_version].hash
|
|
192
204
|
end
|
|
193
205
|
|
|
194
206
|
# Builds the object from hash
|