pulp_ansible_client 0.24.10 → 0.24.11
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 +4 -4
- data/docs/AnsibleGitRemote.md +24 -24
- data/docs/AnsibleGitRemoteResponse.md +26 -26
- data/docs/AnsibleRoleResponse.md +4 -4
- 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/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_collection_version_response.rb +21 -21
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +198 -198
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +147 -147
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +21 -21
- data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +28 -16
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +198 -198
- 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 +6 -6
- 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 +6 -6
- data/spec/models/patchedansible_ansible_distribution_spec.rb +10 -4
- data/spec/models/patchedansible_git_remote_spec.rb +18 -18
- metadata +2 -2
|
@@ -18,41 +18,57 @@ module PulpAnsibleClient
|
|
|
18
18
|
class AnsibleAnsibleDistributionResponse
|
|
19
19
|
attr_accessor :pulp_href
|
|
20
20
|
|
|
21
|
+
# The Pulp Resource Name (PRN).
|
|
22
|
+
attr_accessor :prn
|
|
23
|
+
|
|
21
24
|
# Timestamp of creation.
|
|
22
25
|
attr_accessor :pulp_created
|
|
23
26
|
|
|
27
|
+
# 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.
|
|
28
|
+
attr_accessor :pulp_last_updated
|
|
29
|
+
|
|
24
30
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
25
31
|
attr_accessor :base_path
|
|
26
32
|
|
|
27
33
|
# An optional content-guard.
|
|
28
34
|
attr_accessor :content_guard
|
|
29
35
|
|
|
36
|
+
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
37
|
+
attr_accessor :no_content_change_since
|
|
38
|
+
|
|
39
|
+
# Whether this distribution should be shown in the content app.
|
|
40
|
+
attr_accessor :hidden
|
|
41
|
+
|
|
42
|
+
attr_accessor :pulp_labels
|
|
43
|
+
|
|
30
44
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
31
45
|
attr_accessor :name
|
|
32
46
|
|
|
33
47
|
# The latest RepositoryVersion for this Repository will be served.
|
|
34
48
|
attr_accessor :repository
|
|
35
49
|
|
|
36
|
-
# RepositoryVersion to be served
|
|
37
|
-
attr_accessor :repository_version
|
|
38
|
-
|
|
39
50
|
# The URL of a Collection content source.
|
|
40
51
|
attr_accessor :client_url
|
|
41
52
|
|
|
42
|
-
|
|
53
|
+
# RepositoryVersion to be served
|
|
54
|
+
attr_accessor :repository_version
|
|
43
55
|
|
|
44
56
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
45
57
|
def self.attribute_map
|
|
46
58
|
{
|
|
47
59
|
:'pulp_href' => :'pulp_href',
|
|
60
|
+
:'prn' => :'prn',
|
|
48
61
|
:'pulp_created' => :'pulp_created',
|
|
62
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
49
63
|
:'base_path' => :'base_path',
|
|
50
64
|
:'content_guard' => :'content_guard',
|
|
65
|
+
:'no_content_change_since' => :'no_content_change_since',
|
|
66
|
+
:'hidden' => :'hidden',
|
|
67
|
+
:'pulp_labels' => :'pulp_labels',
|
|
51
68
|
:'name' => :'name',
|
|
52
69
|
:'repository' => :'repository',
|
|
53
|
-
:'repository_version' => :'repository_version',
|
|
54
70
|
:'client_url' => :'client_url',
|
|
55
|
-
:'
|
|
71
|
+
:'repository_version' => :'repository_version'
|
|
56
72
|
}
|
|
57
73
|
end
|
|
58
74
|
|
|
@@ -65,14 +81,18 @@ module PulpAnsibleClient
|
|
|
65
81
|
def self.openapi_types
|
|
66
82
|
{
|
|
67
83
|
:'pulp_href' => :'String',
|
|
84
|
+
:'prn' => :'String',
|
|
68
85
|
:'pulp_created' => :'Time',
|
|
86
|
+
:'pulp_last_updated' => :'Time',
|
|
69
87
|
:'base_path' => :'String',
|
|
70
88
|
:'content_guard' => :'String',
|
|
89
|
+
:'no_content_change_since' => :'String',
|
|
90
|
+
:'hidden' => :'Boolean',
|
|
91
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
71
92
|
:'name' => :'String',
|
|
72
93
|
:'repository' => :'String',
|
|
73
|
-
:'repository_version' => :'String',
|
|
74
94
|
:'client_url' => :'String',
|
|
75
|
-
:'
|
|
95
|
+
:'repository_version' => :'String'
|
|
76
96
|
}
|
|
77
97
|
end
|
|
78
98
|
|
|
@@ -81,7 +101,7 @@ module PulpAnsibleClient
|
|
|
81
101
|
Set.new([
|
|
82
102
|
:'content_guard',
|
|
83
103
|
:'repository',
|
|
84
|
-
:'repository_version'
|
|
104
|
+
:'repository_version'
|
|
85
105
|
])
|
|
86
106
|
end
|
|
87
107
|
|
|
@@ -104,10 +124,18 @@ module PulpAnsibleClient
|
|
|
104
124
|
self.pulp_href = attributes[:'pulp_href']
|
|
105
125
|
end
|
|
106
126
|
|
|
127
|
+
if attributes.key?(:'prn')
|
|
128
|
+
self.prn = attributes[:'prn']
|
|
129
|
+
end
|
|
130
|
+
|
|
107
131
|
if attributes.key?(:'pulp_created')
|
|
108
132
|
self.pulp_created = attributes[:'pulp_created']
|
|
109
133
|
end
|
|
110
134
|
|
|
135
|
+
if attributes.key?(:'pulp_last_updated')
|
|
136
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
137
|
+
end
|
|
138
|
+
|
|
111
139
|
if attributes.key?(:'base_path')
|
|
112
140
|
self.base_path = attributes[:'base_path']
|
|
113
141
|
else
|
|
@@ -118,6 +146,22 @@ module PulpAnsibleClient
|
|
|
118
146
|
self.content_guard = attributes[:'content_guard']
|
|
119
147
|
end
|
|
120
148
|
|
|
149
|
+
if attributes.key?(:'no_content_change_since')
|
|
150
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
151
|
+
end
|
|
152
|
+
|
|
153
|
+
if attributes.key?(:'hidden')
|
|
154
|
+
self.hidden = attributes[:'hidden']
|
|
155
|
+
else
|
|
156
|
+
self.hidden = false
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
if attributes.key?(:'pulp_labels')
|
|
160
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
161
|
+
self.pulp_labels = value
|
|
162
|
+
end
|
|
163
|
+
end
|
|
164
|
+
|
|
121
165
|
if attributes.key?(:'name')
|
|
122
166
|
self.name = attributes[:'name']
|
|
123
167
|
else
|
|
@@ -128,18 +172,12 @@ module PulpAnsibleClient
|
|
|
128
172
|
self.repository = attributes[:'repository']
|
|
129
173
|
end
|
|
130
174
|
|
|
131
|
-
if attributes.key?(:'repository_version')
|
|
132
|
-
self.repository_version = attributes[:'repository_version']
|
|
133
|
-
end
|
|
134
|
-
|
|
135
175
|
if attributes.key?(:'client_url')
|
|
136
176
|
self.client_url = attributes[:'client_url']
|
|
137
177
|
end
|
|
138
178
|
|
|
139
|
-
if attributes.key?(:'
|
|
140
|
-
|
|
141
|
-
self.pulp_labels = value
|
|
142
|
-
end
|
|
179
|
+
if attributes.key?(:'repository_version')
|
|
180
|
+
self.repository_version = attributes[:'repository_version']
|
|
143
181
|
end
|
|
144
182
|
end
|
|
145
183
|
|
|
@@ -174,14 +212,18 @@ module PulpAnsibleClient
|
|
|
174
212
|
return true if self.equal?(o)
|
|
175
213
|
self.class == o.class &&
|
|
176
214
|
pulp_href == o.pulp_href &&
|
|
215
|
+
prn == o.prn &&
|
|
177
216
|
pulp_created == o.pulp_created &&
|
|
217
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
178
218
|
base_path == o.base_path &&
|
|
179
219
|
content_guard == o.content_guard &&
|
|
220
|
+
no_content_change_since == o.no_content_change_since &&
|
|
221
|
+
hidden == o.hidden &&
|
|
222
|
+
pulp_labels == o.pulp_labels &&
|
|
180
223
|
name == o.name &&
|
|
181
224
|
repository == o.repository &&
|
|
182
|
-
repository_version == o.repository_version &&
|
|
183
225
|
client_url == o.client_url &&
|
|
184
|
-
|
|
226
|
+
repository_version == o.repository_version
|
|
185
227
|
end
|
|
186
228
|
|
|
187
229
|
# @see the `==` method
|
|
@@ -193,7 +235,7 @@ module PulpAnsibleClient
|
|
|
193
235
|
# Calculates hash code according to all attributes.
|
|
194
236
|
# @return [Integer] Hash code
|
|
195
237
|
def hash
|
|
196
|
-
[pulp_href, pulp_created, base_path, content_guard, name, repository,
|
|
238
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, base_path, content_guard, no_content_change_since, hidden, pulp_labels, name, repository, client_url, repository_version].hash
|
|
197
239
|
end
|
|
198
240
|
|
|
199
241
|
# Builds the object from hash
|
|
@@ -16,6 +16,12 @@ 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
|
+
|
|
19
25
|
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
20
26
|
attr_accessor :pulp_labels
|
|
21
27
|
|
|
@@ -25,14 +31,8 @@ module PulpAnsibleClient
|
|
|
25
31
|
# Artifact file representing the physical content
|
|
26
32
|
attr_accessor :artifact
|
|
27
33
|
|
|
28
|
-
# The Pulp Resource Name (PRN).
|
|
29
|
-
attr_accessor :prn
|
|
30
|
-
|
|
31
34
|
attr_accessor :pulp_href
|
|
32
35
|
|
|
33
|
-
# 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
|
-
attr_accessor :pulp_last_updated
|
|
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',
|
|
98
100
|
:'pulp_labels' => :'pulp_labels',
|
|
99
101
|
:'pulp_created' => :'pulp_created',
|
|
100
102
|
:'artifact' => :'artifact',
|
|
101
|
-
:'prn' => :'prn',
|
|
102
103
|
:'pulp_href' => :'pulp_href',
|
|
103
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
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',
|
|
135
137
|
:'pulp_labels' => :'Hash<String, String>',
|
|
136
138
|
:'pulp_created' => :'Time',
|
|
137
139
|
:'artifact' => :'String',
|
|
138
|
-
:'prn' => :'String',
|
|
139
140
|
:'pulp_href' => :'String',
|
|
140
|
-
:'pulp_last_updated' => :'Time',
|
|
141
141
|
:'sha256' => :'String',
|
|
142
142
|
:'md5' => :'String',
|
|
143
143
|
:'sha1' => :'String',
|
|
@@ -183,6 +183,14 @@ 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
|
+
|
|
186
194
|
if attributes.key?(:'pulp_labels')
|
|
187
195
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
188
196
|
self.pulp_labels = value
|
|
@@ -197,18 +205,10 @@ module PulpAnsibleClient
|
|
|
197
205
|
self.artifact = attributes[:'artifact']
|
|
198
206
|
end
|
|
199
207
|
|
|
200
|
-
if attributes.key?(:'prn')
|
|
201
|
-
self.prn = attributes[:'prn']
|
|
202
|
-
end
|
|
203
|
-
|
|
204
208
|
if attributes.key?(:'pulp_href')
|
|
205
209
|
self.pulp_href = attributes[:'pulp_href']
|
|
206
210
|
end
|
|
207
211
|
|
|
208
|
-
if attributes.key?(:'pulp_last_updated')
|
|
209
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
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 &&
|
|
467
469
|
pulp_labels == o.pulp_labels &&
|
|
468
470
|
pulp_created == o.pulp_created &&
|
|
469
471
|
artifact == o.artifact &&
|
|
470
|
-
prn == o.prn &&
|
|
471
472
|
pulp_href == o.pulp_href &&
|
|
472
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
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
|
-
[pulp_labels, pulp_created, artifact,
|
|
504
|
+
[prn, pulp_last_updated, pulp_labels, pulp_created, artifact, pulp_href, 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
|