pulp_ansible_client 0.28.8 → 0.29.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/AnsibleAnsibleDistribution.md +3 -5
- data/docs/AnsibleAnsibleDistributionResponse.md +4 -12
- data/docs/AnsibleCollectionVersionResponse.md +12 -4
- data/docs/AnsibleGitRemote.md +22 -22
- data/docs/AnsibleGitRemoteResponse.md +24 -24
- data/docs/AnsibleRole.md +2 -2
- data/docs/AnsibleRoleResponse.md +4 -4
- data/docs/ContentCollectionVersionsApi.md +8 -8
- data/docs/PatchedansibleAnsibleDistribution.md +3 -5
- data/docs/PatchedansibleGitRemote.md +22 -22
- data/docs/RemotesGitApi.md +2 -2
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +12 -12
- 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 +16 -28
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +20 -62
- 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 +62 -20
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +189 -189
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +131 -131
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +20 -20
- data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +16 -28
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +184 -184
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +4 -4
- data/spec/models/ansible_ansible_distribution_response_spec.rb +4 -28
- data/spec/models/ansible_ansible_distribution_spec.rb +4 -10
- data/spec/models/ansible_collection_version_response_spec.rb +30 -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 +2 -2
- data/spec/models/patchedansible_ansible_distribution_spec.rb +4 -10
- data/spec/models/patchedansible_git_remote_spec.rb +18 -18
- metadata +122 -122
|
@@ -22,11 +22,6 @@ 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
|
-
|
|
30
25
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
31
26
|
attr_accessor :name
|
|
32
27
|
|
|
@@ -36,16 +31,17 @@ module PulpAnsibleClient
|
|
|
36
31
|
# RepositoryVersion to be served
|
|
37
32
|
attr_accessor :repository_version
|
|
38
33
|
|
|
34
|
+
attr_accessor :pulp_labels
|
|
35
|
+
|
|
39
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
40
37
|
def self.attribute_map
|
|
41
38
|
{
|
|
42
39
|
:'base_path' => :'base_path',
|
|
43
40
|
:'content_guard' => :'content_guard',
|
|
44
|
-
:'hidden' => :'hidden',
|
|
45
|
-
:'pulp_labels' => :'pulp_labels',
|
|
46
41
|
:'name' => :'name',
|
|
47
42
|
:'repository' => :'repository',
|
|
48
|
-
:'repository_version' => :'repository_version'
|
|
43
|
+
:'repository_version' => :'repository_version',
|
|
44
|
+
:'pulp_labels' => :'pulp_labels'
|
|
49
45
|
}
|
|
50
46
|
end
|
|
51
47
|
|
|
@@ -59,11 +55,10 @@ module PulpAnsibleClient
|
|
|
59
55
|
{
|
|
60
56
|
:'base_path' => :'String',
|
|
61
57
|
:'content_guard' => :'String',
|
|
62
|
-
:'hidden' => :'Boolean',
|
|
63
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
64
58
|
:'name' => :'String',
|
|
65
59
|
:'repository' => :'String',
|
|
66
|
-
:'repository_version' => :'String'
|
|
60
|
+
:'repository_version' => :'String',
|
|
61
|
+
:'pulp_labels' => :'Hash<String, String>'
|
|
67
62
|
}
|
|
68
63
|
end
|
|
69
64
|
|
|
@@ -72,7 +67,7 @@ module PulpAnsibleClient
|
|
|
72
67
|
Set.new([
|
|
73
68
|
:'content_guard',
|
|
74
69
|
:'repository',
|
|
75
|
-
:'repository_version'
|
|
70
|
+
:'repository_version',
|
|
76
71
|
])
|
|
77
72
|
end
|
|
78
73
|
|
|
@@ -99,18 +94,6 @@ module PulpAnsibleClient
|
|
|
99
94
|
self.content_guard = attributes[:'content_guard']
|
|
100
95
|
end
|
|
101
96
|
|
|
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
|
-
|
|
114
97
|
if attributes.key?(:'name')
|
|
115
98
|
self.name = attributes[:'name']
|
|
116
99
|
end
|
|
@@ -122,6 +105,12 @@ module PulpAnsibleClient
|
|
|
122
105
|
if attributes.key?(:'repository_version')
|
|
123
106
|
self.repository_version = attributes[:'repository_version']
|
|
124
107
|
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
|
|
125
114
|
end
|
|
126
115
|
|
|
127
116
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -184,11 +173,10 @@ module PulpAnsibleClient
|
|
|
184
173
|
self.class == o.class &&
|
|
185
174
|
base_path == o.base_path &&
|
|
186
175
|
content_guard == o.content_guard &&
|
|
187
|
-
hidden == o.hidden &&
|
|
188
|
-
pulp_labels == o.pulp_labels &&
|
|
189
176
|
name == o.name &&
|
|
190
177
|
repository == o.repository &&
|
|
191
|
-
repository_version == o.repository_version
|
|
178
|
+
repository_version == o.repository_version &&
|
|
179
|
+
pulp_labels == o.pulp_labels
|
|
192
180
|
end
|
|
193
181
|
|
|
194
182
|
# @see the `==` method
|
|
@@ -200,7 +188,7 @@ module PulpAnsibleClient
|
|
|
200
188
|
# Calculates hash code according to all attributes.
|
|
201
189
|
# @return [Integer] Hash code
|
|
202
190
|
def hash
|
|
203
|
-
[base_path, content_guard,
|
|
191
|
+
[base_path, content_guard, name, repository, repository_version, pulp_labels].hash
|
|
204
192
|
end
|
|
205
193
|
|
|
206
194
|
# Builds the object from hash
|