pulp_ansible_client 0.22.7 → 0.22.8
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/AnsibleCollectionVersion.md +7 -7
- data/docs/AnsibleCollectionVersionResponse.md +7 -7
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +28 -28
- data/docs/AnsibleRole.md +3 -3
- data/docs/AnsibleRoleResponse.md +5 -5
- data/docs/ContentCollectionVersionsApi.md +6 -6
- data/docs/PatchedansibleAnsibleDistribution.md +5 -3
- data/docs/PatchedansibleGitRemote.md +26 -26
- 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.rb +28 -28
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +25 -25
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +229 -229
- 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 +21 -21
- data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +28 -16
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +220 -220
- 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 +4 -4
- data/spec/models/ansible_collection_version_spec.rb +5 -5
- 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 +4 -4
- data/spec/models/ansible_role_spec.rb +2 -2
- data/spec/models/patchedansible_ansible_distribution_spec.rb +10 -4
- data/spec/models/patchedansible_git_remote_spec.rb +20 -20
- metadata +129 -129
|
@@ -21,6 +21,11 @@ module PulpAnsibleClient
|
|
|
21
21
|
# An optional content-guard.
|
|
22
22
|
attr_accessor :content_guard
|
|
23
23
|
|
|
24
|
+
# Whether this distribution should be shown in the content app.
|
|
25
|
+
attr_accessor :hidden
|
|
26
|
+
|
|
27
|
+
attr_accessor :pulp_labels
|
|
28
|
+
|
|
24
29
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
25
30
|
attr_accessor :name
|
|
26
31
|
|
|
@@ -30,17 +35,16 @@ module PulpAnsibleClient
|
|
|
30
35
|
# RepositoryVersion to be served
|
|
31
36
|
attr_accessor :repository_version
|
|
32
37
|
|
|
33
|
-
attr_accessor :pulp_labels
|
|
34
|
-
|
|
35
38
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
36
39
|
def self.attribute_map
|
|
37
40
|
{
|
|
38
41
|
:'base_path' => :'base_path',
|
|
39
42
|
:'content_guard' => :'content_guard',
|
|
43
|
+
:'hidden' => :'hidden',
|
|
44
|
+
:'pulp_labels' => :'pulp_labels',
|
|
40
45
|
:'name' => :'name',
|
|
41
46
|
:'repository' => :'repository',
|
|
42
|
-
:'repository_version' => :'repository_version'
|
|
43
|
-
:'pulp_labels' => :'pulp_labels'
|
|
47
|
+
:'repository_version' => :'repository_version'
|
|
44
48
|
}
|
|
45
49
|
end
|
|
46
50
|
|
|
@@ -49,10 +53,11 @@ module PulpAnsibleClient
|
|
|
49
53
|
{
|
|
50
54
|
:'base_path' => :'String',
|
|
51
55
|
:'content_guard' => :'String',
|
|
56
|
+
:'hidden' => :'Boolean',
|
|
57
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
52
58
|
:'name' => :'String',
|
|
53
59
|
:'repository' => :'String',
|
|
54
|
-
:'repository_version' => :'String'
|
|
55
|
-
:'pulp_labels' => :'Hash<String, String>'
|
|
60
|
+
:'repository_version' => :'String'
|
|
56
61
|
}
|
|
57
62
|
end
|
|
58
63
|
|
|
@@ -61,7 +66,7 @@ module PulpAnsibleClient
|
|
|
61
66
|
Set.new([
|
|
62
67
|
:'content_guard',
|
|
63
68
|
:'repository',
|
|
64
|
-
:'repository_version'
|
|
69
|
+
:'repository_version'
|
|
65
70
|
])
|
|
66
71
|
end
|
|
67
72
|
|
|
@@ -88,6 +93,18 @@ module PulpAnsibleClient
|
|
|
88
93
|
self.content_guard = attributes[:'content_guard']
|
|
89
94
|
end
|
|
90
95
|
|
|
96
|
+
if attributes.key?(:'hidden')
|
|
97
|
+
self.hidden = attributes[:'hidden']
|
|
98
|
+
else
|
|
99
|
+
self.hidden = false
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
if attributes.key?(:'pulp_labels')
|
|
103
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
104
|
+
self.pulp_labels = value
|
|
105
|
+
end
|
|
106
|
+
end
|
|
107
|
+
|
|
91
108
|
if attributes.key?(:'name')
|
|
92
109
|
self.name = attributes[:'name']
|
|
93
110
|
end
|
|
@@ -99,12 +116,6 @@ module PulpAnsibleClient
|
|
|
99
116
|
if attributes.key?(:'repository_version')
|
|
100
117
|
self.repository_version = attributes[:'repository_version']
|
|
101
118
|
end
|
|
102
|
-
|
|
103
|
-
if attributes.key?(:'pulp_labels')
|
|
104
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
105
|
-
self.pulp_labels = value
|
|
106
|
-
end
|
|
107
|
-
end
|
|
108
119
|
end
|
|
109
120
|
|
|
110
121
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -175,10 +186,11 @@ module PulpAnsibleClient
|
|
|
175
186
|
self.class == o.class &&
|
|
176
187
|
base_path == o.base_path &&
|
|
177
188
|
content_guard == o.content_guard &&
|
|
189
|
+
hidden == o.hidden &&
|
|
190
|
+
pulp_labels == o.pulp_labels &&
|
|
178
191
|
name == o.name &&
|
|
179
192
|
repository == o.repository &&
|
|
180
|
-
repository_version == o.repository_version
|
|
181
|
-
pulp_labels == o.pulp_labels
|
|
193
|
+
repository_version == o.repository_version
|
|
182
194
|
end
|
|
183
195
|
|
|
184
196
|
# @see the `==` method
|
|
@@ -190,7 +202,7 @@ module PulpAnsibleClient
|
|
|
190
202
|
# Calculates hash code according to all attributes.
|
|
191
203
|
# @return [Integer] Hash code
|
|
192
204
|
def hash
|
|
193
|
-
[base_path, content_guard, name, repository, repository_version
|
|
205
|
+
[base_path, content_guard, hidden, pulp_labels, name, repository, repository_version].hash
|
|
194
206
|
end
|
|
195
207
|
|
|
196
208
|
# Builds the object from hash
|
|
@@ -17,41 +17,57 @@ module PulpAnsibleClient
|
|
|
17
17
|
class AnsibleAnsibleDistributionResponse
|
|
18
18
|
attr_accessor :pulp_href
|
|
19
19
|
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
|
21
|
+
attr_accessor :prn
|
|
22
|
+
|
|
20
23
|
# Timestamp of creation.
|
|
21
24
|
attr_accessor :pulp_created
|
|
22
25
|
|
|
26
|
+
# 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.
|
|
27
|
+
attr_accessor :pulp_last_updated
|
|
28
|
+
|
|
23
29
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
24
30
|
attr_accessor :base_path
|
|
25
31
|
|
|
26
32
|
# An optional content-guard.
|
|
27
33
|
attr_accessor :content_guard
|
|
28
34
|
|
|
35
|
+
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
36
|
+
attr_accessor :no_content_change_since
|
|
37
|
+
|
|
38
|
+
# Whether this distribution should be shown in the content app.
|
|
39
|
+
attr_accessor :hidden
|
|
40
|
+
|
|
41
|
+
attr_accessor :pulp_labels
|
|
42
|
+
|
|
29
43
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
30
44
|
attr_accessor :name
|
|
31
45
|
|
|
32
46
|
# The latest RepositoryVersion for this Repository will be served.
|
|
33
47
|
attr_accessor :repository
|
|
34
48
|
|
|
35
|
-
# RepositoryVersion to be served
|
|
36
|
-
attr_accessor :repository_version
|
|
37
|
-
|
|
38
49
|
# The URL of a Collection content source.
|
|
39
50
|
attr_accessor :client_url
|
|
40
51
|
|
|
41
|
-
|
|
52
|
+
# RepositoryVersion to be served
|
|
53
|
+
attr_accessor :repository_version
|
|
42
54
|
|
|
43
55
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
44
56
|
def self.attribute_map
|
|
45
57
|
{
|
|
46
58
|
:'pulp_href' => :'pulp_href',
|
|
59
|
+
:'prn' => :'prn',
|
|
47
60
|
:'pulp_created' => :'pulp_created',
|
|
61
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
48
62
|
:'base_path' => :'base_path',
|
|
49
63
|
:'content_guard' => :'content_guard',
|
|
64
|
+
:'no_content_change_since' => :'no_content_change_since',
|
|
65
|
+
:'hidden' => :'hidden',
|
|
66
|
+
:'pulp_labels' => :'pulp_labels',
|
|
50
67
|
:'name' => :'name',
|
|
51
68
|
:'repository' => :'repository',
|
|
52
|
-
:'repository_version' => :'repository_version',
|
|
53
69
|
:'client_url' => :'client_url',
|
|
54
|
-
:'
|
|
70
|
+
:'repository_version' => :'repository_version'
|
|
55
71
|
}
|
|
56
72
|
end
|
|
57
73
|
|
|
@@ -59,14 +75,18 @@ module PulpAnsibleClient
|
|
|
59
75
|
def self.openapi_types
|
|
60
76
|
{
|
|
61
77
|
:'pulp_href' => :'String',
|
|
78
|
+
:'prn' => :'String',
|
|
62
79
|
:'pulp_created' => :'DateTime',
|
|
80
|
+
:'pulp_last_updated' => :'DateTime',
|
|
63
81
|
:'base_path' => :'String',
|
|
64
82
|
:'content_guard' => :'String',
|
|
83
|
+
:'no_content_change_since' => :'String',
|
|
84
|
+
:'hidden' => :'Boolean',
|
|
85
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
65
86
|
:'name' => :'String',
|
|
66
87
|
:'repository' => :'String',
|
|
67
|
-
:'repository_version' => :'String',
|
|
68
88
|
:'client_url' => :'String',
|
|
69
|
-
:'
|
|
89
|
+
:'repository_version' => :'String'
|
|
70
90
|
}
|
|
71
91
|
end
|
|
72
92
|
|
|
@@ -75,7 +95,7 @@ module PulpAnsibleClient
|
|
|
75
95
|
Set.new([
|
|
76
96
|
:'content_guard',
|
|
77
97
|
:'repository',
|
|
78
|
-
:'repository_version'
|
|
98
|
+
:'repository_version'
|
|
79
99
|
])
|
|
80
100
|
end
|
|
81
101
|
|
|
@@ -98,10 +118,18 @@ module PulpAnsibleClient
|
|
|
98
118
|
self.pulp_href = attributes[:'pulp_href']
|
|
99
119
|
end
|
|
100
120
|
|
|
121
|
+
if attributes.key?(:'prn')
|
|
122
|
+
self.prn = attributes[:'prn']
|
|
123
|
+
end
|
|
124
|
+
|
|
101
125
|
if attributes.key?(:'pulp_created')
|
|
102
126
|
self.pulp_created = attributes[:'pulp_created']
|
|
103
127
|
end
|
|
104
128
|
|
|
129
|
+
if attributes.key?(:'pulp_last_updated')
|
|
130
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
131
|
+
end
|
|
132
|
+
|
|
105
133
|
if attributes.key?(:'base_path')
|
|
106
134
|
self.base_path = attributes[:'base_path']
|
|
107
135
|
end
|
|
@@ -110,6 +138,22 @@ module PulpAnsibleClient
|
|
|
110
138
|
self.content_guard = attributes[:'content_guard']
|
|
111
139
|
end
|
|
112
140
|
|
|
141
|
+
if attributes.key?(:'no_content_change_since')
|
|
142
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
143
|
+
end
|
|
144
|
+
|
|
145
|
+
if attributes.key?(:'hidden')
|
|
146
|
+
self.hidden = attributes[:'hidden']
|
|
147
|
+
else
|
|
148
|
+
self.hidden = false
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
if attributes.key?(:'pulp_labels')
|
|
152
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
153
|
+
self.pulp_labels = value
|
|
154
|
+
end
|
|
155
|
+
end
|
|
156
|
+
|
|
113
157
|
if attributes.key?(:'name')
|
|
114
158
|
self.name = attributes[:'name']
|
|
115
159
|
end
|
|
@@ -118,18 +162,12 @@ module PulpAnsibleClient
|
|
|
118
162
|
self.repository = attributes[:'repository']
|
|
119
163
|
end
|
|
120
164
|
|
|
121
|
-
if attributes.key?(:'repository_version')
|
|
122
|
-
self.repository_version = attributes[:'repository_version']
|
|
123
|
-
end
|
|
124
|
-
|
|
125
165
|
if attributes.key?(:'client_url')
|
|
126
166
|
self.client_url = attributes[:'client_url']
|
|
127
167
|
end
|
|
128
168
|
|
|
129
|
-
if attributes.key?(:'
|
|
130
|
-
|
|
131
|
-
self.pulp_labels = value
|
|
132
|
-
end
|
|
169
|
+
if attributes.key?(:'repository_version')
|
|
170
|
+
self.repository_version = attributes[:'repository_version']
|
|
133
171
|
end
|
|
134
172
|
end
|
|
135
173
|
|
|
@@ -162,14 +200,18 @@ module PulpAnsibleClient
|
|
|
162
200
|
return true if self.equal?(o)
|
|
163
201
|
self.class == o.class &&
|
|
164
202
|
pulp_href == o.pulp_href &&
|
|
203
|
+
prn == o.prn &&
|
|
165
204
|
pulp_created == o.pulp_created &&
|
|
205
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
166
206
|
base_path == o.base_path &&
|
|
167
207
|
content_guard == o.content_guard &&
|
|
208
|
+
no_content_change_since == o.no_content_change_since &&
|
|
209
|
+
hidden == o.hidden &&
|
|
210
|
+
pulp_labels == o.pulp_labels &&
|
|
168
211
|
name == o.name &&
|
|
169
212
|
repository == o.repository &&
|
|
170
|
-
repository_version == o.repository_version &&
|
|
171
213
|
client_url == o.client_url &&
|
|
172
|
-
|
|
214
|
+
repository_version == o.repository_version
|
|
173
215
|
end
|
|
174
216
|
|
|
175
217
|
# @see the `==` method
|
|
@@ -181,7 +223,7 @@ module PulpAnsibleClient
|
|
|
181
223
|
# Calculates hash code according to all attributes.
|
|
182
224
|
# @return [Integer] Hash code
|
|
183
225
|
def hash
|
|
184
|
-
[pulp_href, pulp_created, base_path, content_guard, name, repository,
|
|
226
|
+
[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
|
|
185
227
|
end
|
|
186
228
|
|
|
187
229
|
# Builds the object from hash
|
|
@@ -15,20 +15,20 @@ require 'date'
|
|
|
15
15
|
module PulpAnsibleClient
|
|
16
16
|
# A serializer for CollectionVersion Content.
|
|
17
17
|
class AnsibleCollectionVersion
|
|
18
|
+
# Artifact file representing the physical content
|
|
19
|
+
attr_accessor :artifact
|
|
20
|
+
|
|
21
|
+
# A url that Pulp can download and turn into the content unit.
|
|
22
|
+
attr_accessor :file_url
|
|
23
|
+
|
|
18
24
|
# An uploaded file that may be turned into the content unit.
|
|
19
25
|
attr_accessor :file
|
|
20
26
|
|
|
21
|
-
# An uncommitted upload that may be turned into the content unit.
|
|
22
|
-
attr_accessor :upload
|
|
23
|
-
|
|
24
27
|
# A URI of a repository the new content unit should be associated with.
|
|
25
28
|
attr_accessor :repository
|
|
26
29
|
|
|
27
|
-
#
|
|
28
|
-
attr_accessor :
|
|
29
|
-
|
|
30
|
-
# A url that Pulp can download and turn into the content unit.
|
|
31
|
-
attr_accessor :file_url
|
|
30
|
+
# An uncommitted upload that may be turned into the content unit.
|
|
31
|
+
attr_accessor :upload
|
|
32
32
|
|
|
33
33
|
# The name of the collection.
|
|
34
34
|
attr_accessor :expected_name
|
|
@@ -42,11 +42,11 @@ module PulpAnsibleClient
|
|
|
42
42
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
43
43
|
def self.attribute_map
|
|
44
44
|
{
|
|
45
|
-
:'file' => :'file',
|
|
46
|
-
:'upload' => :'upload',
|
|
47
|
-
:'repository' => :'repository',
|
|
48
45
|
:'artifact' => :'artifact',
|
|
49
46
|
:'file_url' => :'file_url',
|
|
47
|
+
:'file' => :'file',
|
|
48
|
+
:'repository' => :'repository',
|
|
49
|
+
:'upload' => :'upload',
|
|
50
50
|
:'expected_name' => :'expected_name',
|
|
51
51
|
:'expected_namespace' => :'expected_namespace',
|
|
52
52
|
:'expected_version' => :'expected_version'
|
|
@@ -56,11 +56,11 @@ module PulpAnsibleClient
|
|
|
56
56
|
# Attribute type mapping.
|
|
57
57
|
def self.openapi_types
|
|
58
58
|
{
|
|
59
|
-
:'file' => :'File',
|
|
60
|
-
:'upload' => :'String',
|
|
61
|
-
:'repository' => :'String',
|
|
62
59
|
:'artifact' => :'String',
|
|
63
60
|
:'file_url' => :'String',
|
|
61
|
+
:'file' => :'File',
|
|
62
|
+
:'repository' => :'String',
|
|
63
|
+
:'upload' => :'String',
|
|
64
64
|
:'expected_name' => :'String',
|
|
65
65
|
:'expected_namespace' => :'String',
|
|
66
66
|
:'expected_version' => :'String'
|
|
@@ -88,24 +88,24 @@ module PulpAnsibleClient
|
|
|
88
88
|
h[k.to_sym] = v
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
if attributes.key?(:'
|
|
92
|
-
self.
|
|
91
|
+
if attributes.key?(:'artifact')
|
|
92
|
+
self.artifact = attributes[:'artifact']
|
|
93
93
|
end
|
|
94
94
|
|
|
95
|
-
if attributes.key?(:'
|
|
96
|
-
self.
|
|
95
|
+
if attributes.key?(:'file_url')
|
|
96
|
+
self.file_url = attributes[:'file_url']
|
|
97
97
|
end
|
|
98
98
|
|
|
99
|
-
if attributes.key?(:'
|
|
100
|
-
self.
|
|
99
|
+
if attributes.key?(:'file')
|
|
100
|
+
self.file = attributes[:'file']
|
|
101
101
|
end
|
|
102
102
|
|
|
103
|
-
if attributes.key?(:'
|
|
104
|
-
self.
|
|
103
|
+
if attributes.key?(:'repository')
|
|
104
|
+
self.repository = attributes[:'repository']
|
|
105
105
|
end
|
|
106
106
|
|
|
107
|
-
if attributes.key?(:'
|
|
108
|
-
self.
|
|
107
|
+
if attributes.key?(:'upload')
|
|
108
|
+
self.upload = attributes[:'upload']
|
|
109
109
|
end
|
|
110
110
|
|
|
111
111
|
if attributes.key?(:'expected_name')
|
|
@@ -226,11 +226,11 @@ module PulpAnsibleClient
|
|
|
226
226
|
def ==(o)
|
|
227
227
|
return true if self.equal?(o)
|
|
228
228
|
self.class == o.class &&
|
|
229
|
-
file == o.file &&
|
|
230
|
-
upload == o.upload &&
|
|
231
|
-
repository == o.repository &&
|
|
232
229
|
artifact == o.artifact &&
|
|
233
230
|
file_url == o.file_url &&
|
|
231
|
+
file == o.file &&
|
|
232
|
+
repository == o.repository &&
|
|
233
|
+
upload == o.upload &&
|
|
234
234
|
expected_name == o.expected_name &&
|
|
235
235
|
expected_namespace == o.expected_namespace &&
|
|
236
236
|
expected_version == o.expected_version
|
|
@@ -245,7 +245,7 @@ module PulpAnsibleClient
|
|
|
245
245
|
# Calculates hash code according to all attributes.
|
|
246
246
|
# @return [Integer] Hash code
|
|
247
247
|
def hash
|
|
248
|
-
[
|
|
248
|
+
[artifact, file_url, file, repository, upload, expected_name, expected_namespace, expected_version].hash
|
|
249
249
|
end
|
|
250
250
|
|
|
251
251
|
# Builds the object from hash
|
|
@@ -15,19 +15,19 @@ require 'date'
|
|
|
15
15
|
module PulpAnsibleClient
|
|
16
16
|
# A serializer for CollectionVersion Content.
|
|
17
17
|
class AnsibleCollectionVersionResponse
|
|
18
|
-
|
|
18
|
+
# 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.
|
|
19
|
+
attr_accessor :pulp_last_updated
|
|
19
20
|
|
|
20
|
-
#
|
|
21
|
-
attr_accessor :
|
|
21
|
+
# The Pulp Resource Name (PRN).
|
|
22
|
+
attr_accessor :prn
|
|
22
23
|
|
|
23
24
|
# Artifact file representing the physical content
|
|
24
25
|
attr_accessor :artifact
|
|
25
26
|
|
|
26
|
-
|
|
27
|
-
attr_accessor :pulp_last_updated
|
|
27
|
+
attr_accessor :pulp_href
|
|
28
28
|
|
|
29
|
-
#
|
|
30
|
-
attr_accessor :
|
|
29
|
+
# Timestamp of creation.
|
|
30
|
+
attr_accessor :pulp_created
|
|
31
31
|
|
|
32
32
|
# The SHA-256 checksum if available.
|
|
33
33
|
attr_accessor :sha256
|
|
@@ -103,11 +103,11 @@ module PulpAnsibleClient
|
|
|
103
103
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
104
104
|
def self.attribute_map
|
|
105
105
|
{
|
|
106
|
-
:'pulp_href' => :'pulp_href',
|
|
107
|
-
:'pulp_created' => :'pulp_created',
|
|
108
|
-
:'artifact' => :'artifact',
|
|
109
106
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
110
107
|
:'prn' => :'prn',
|
|
108
|
+
:'artifact' => :'artifact',
|
|
109
|
+
:'pulp_href' => :'pulp_href',
|
|
110
|
+
:'pulp_created' => :'pulp_created',
|
|
111
111
|
:'sha256' => :'sha256',
|
|
112
112
|
:'md5' => :'md5',
|
|
113
113
|
:'sha1' => :'sha1',
|
|
@@ -138,11 +138,11 @@ module PulpAnsibleClient
|
|
|
138
138
|
# Attribute type mapping.
|
|
139
139
|
def self.openapi_types
|
|
140
140
|
{
|
|
141
|
-
:'pulp_href' => :'String',
|
|
142
|
-
:'pulp_created' => :'DateTime',
|
|
143
|
-
:'artifact' => :'String',
|
|
144
141
|
:'pulp_last_updated' => :'DateTime',
|
|
145
142
|
:'prn' => :'String',
|
|
143
|
+
:'artifact' => :'String',
|
|
144
|
+
:'pulp_href' => :'String',
|
|
145
|
+
:'pulp_created' => :'DateTime',
|
|
146
146
|
:'sha256' => :'String',
|
|
147
147
|
:'md5' => :'String',
|
|
148
148
|
:'sha1' => :'String',
|
|
@@ -192,24 +192,24 @@ module PulpAnsibleClient
|
|
|
192
192
|
h[k.to_sym] = v
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
if attributes.key?(:'
|
|
196
|
-
self.
|
|
195
|
+
if attributes.key?(:'pulp_last_updated')
|
|
196
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
197
197
|
end
|
|
198
198
|
|
|
199
|
-
if attributes.key?(:'
|
|
200
|
-
self.
|
|
199
|
+
if attributes.key?(:'prn')
|
|
200
|
+
self.prn = attributes[:'prn']
|
|
201
201
|
end
|
|
202
202
|
|
|
203
203
|
if attributes.key?(:'artifact')
|
|
204
204
|
self.artifact = attributes[:'artifact']
|
|
205
205
|
end
|
|
206
206
|
|
|
207
|
-
if attributes.key?(:'
|
|
208
|
-
self.
|
|
207
|
+
if attributes.key?(:'pulp_href')
|
|
208
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
209
209
|
end
|
|
210
210
|
|
|
211
|
-
if attributes.key?(:'
|
|
212
|
-
self.
|
|
211
|
+
if attributes.key?(:'pulp_created')
|
|
212
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
213
213
|
end
|
|
214
214
|
|
|
215
215
|
if attributes.key?(:'sha256')
|
|
@@ -453,11 +453,11 @@ module PulpAnsibleClient
|
|
|
453
453
|
def ==(o)
|
|
454
454
|
return true if self.equal?(o)
|
|
455
455
|
self.class == o.class &&
|
|
456
|
-
pulp_href == o.pulp_href &&
|
|
457
|
-
pulp_created == o.pulp_created &&
|
|
458
|
-
artifact == o.artifact &&
|
|
459
456
|
pulp_last_updated == o.pulp_last_updated &&
|
|
460
457
|
prn == o.prn &&
|
|
458
|
+
artifact == o.artifact &&
|
|
459
|
+
pulp_href == o.pulp_href &&
|
|
460
|
+
pulp_created == o.pulp_created &&
|
|
461
461
|
sha256 == o.sha256 &&
|
|
462
462
|
md5 == o.md5 &&
|
|
463
463
|
sha1 == o.sha1 &&
|
|
@@ -493,7 +493,7 @@ module PulpAnsibleClient
|
|
|
493
493
|
# Calculates hash code according to all attributes.
|
|
494
494
|
# @return [Integer] Hash code
|
|
495
495
|
def hash
|
|
496
|
-
[
|
|
496
|
+
[pulp_last_updated, prn, artifact, pulp_href, pulp_created, sha256, md5, sha1, sha224, sha384, sha512, id, authors, contents, dependencies, description, docs_blob, manifest, files, documentation, homepage, issues, license, name, namespace, origin_repository, tags, version, requires_ansible].hash
|
|
497
497
|
end
|
|
498
498
|
|
|
499
499
|
# Builds the object from hash
|