pulp_rpm_client 3.25.5 → 3.26.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ArtifactResponse.md +2 -0
- data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
- data/docs/PaginatedrpmDistributionTreeResponseList.md +2 -2
- data/docs/PaginatedrpmModulemdDefaultsResponseList.md +2 -2
- data/docs/PaginatedrpmModulemdObsoleteResponseList.md +2 -2
- data/docs/PaginatedrpmModulemdResponseList.md +2 -2
- data/docs/PaginatedrpmPackageCategoryResponseList.md +2 -2
- data/docs/PaginatedrpmPackageEnvironmentResponseList.md +2 -2
- data/docs/PaginatedrpmPackageGroupResponseList.md +2 -2
- data/docs/PaginatedrpmPackageLangpacksResponseList.md +2 -2
- data/docs/PaginatedrpmPackageResponseList.md +2 -2
- data/docs/PaginatedrpmRepoMetadataFileResponseList.md +2 -2
- data/docs/PaginatedrpmRpmAlternateContentSourceResponseList.md +2 -2
- data/docs/PaginatedrpmRpmDistributionResponseList.md +2 -2
- data/docs/PaginatedrpmRpmPublicationResponseList.md +2 -2
- data/docs/PaginatedrpmRpmRemoteResponseList.md +2 -2
- data/docs/PaginatedrpmRpmRepositoryResponseList.md +2 -2
- data/docs/PaginatedrpmUlnRemoteResponseList.md +2 -2
- data/docs/PaginatedrpmUpdateRecordResponseList.md +2 -2
- data/docs/RepositoryVersionResponse.md +2 -0
- data/docs/RpmModulemdDefaultsResponse.md +2 -0
- data/docs/RpmModulemdObsoleteResponse.md +2 -0
- data/docs/RpmModulemdResponse.md +2 -0
- data/docs/RpmPackageCategoryResponse.md +2 -0
- data/docs/RpmPackageEnvironmentResponse.md +2 -0
- data/docs/RpmPackageGroupResponse.md +2 -0
- data/docs/RpmPackageLangpacksResponse.md +2 -0
- data/docs/RpmPackageResponse.md +2 -0
- data/docs/RpmRepoMetadataFileResponse.md +2 -0
- data/docs/RpmRpmAlternateContentSourceResponse.md +2 -0
- data/docs/RpmRpmDistributionResponse.md +2 -0
- data/docs/RpmRpmPublicationResponse.md +2 -0
- data/docs/RpmRpmRemoteResponse.md +2 -2
- data/docs/RpmRpmRemoteResponseHiddenFields.md +2 -2
- data/docs/RpmRpmRepositoryResponse.md +2 -0
- data/docs/RpmUlnRemoteResponse.md +2 -2
- data/docs/RpmUpdateRecordResponse.md +2 -0
- data/lib/pulp_rpm_client/models/artifact_response.rb +11 -1
- data/lib/pulp_rpm_client/models/paginated_repository_version_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_distribution_tree_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_defaults_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_obsolete_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_package_category_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_package_environment_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_package_group_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_package_langpacks_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_package_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_repo_metadata_file_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_alternate_content_source_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_distribution_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_publication_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_remote_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_repository_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_uln_remote_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/paginatedrpm_update_record_response_list.rb +10 -0
- data/lib/pulp_rpm_client/models/repository_version_response.rb +11 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +11 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +11 -1
- data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +11 -1
- data/lib/pulp_rpm_client/models/rpm_package_category_response.rb +11 -1
- data/lib/pulp_rpm_client/models/rpm_package_environment_response.rb +11 -1
- data/lib/pulp_rpm_client/models/rpm_package_group_response.rb +11 -1
- data/lib/pulp_rpm_client/models/rpm_package_langpacks_response.rb +11 -1
- data/lib/pulp_rpm_client/models/rpm_package_response.rb +11 -1
- data/lib/pulp_rpm_client/models/rpm_repo_metadata_file_response.rb +11 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_alternate_content_source_response.rb +11 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +11 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +11 -1
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +11 -11
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response_hidden_fields.rb +10 -0
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +11 -1
- data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +11 -11
- data/lib/pulp_rpm_client/models/rpm_update_record_response.rb +11 -1
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/spec/models/artifact_response_spec.rb +6 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- data/spec/models/rpm_modulemd_defaults_response_spec.rb +6 -0
- data/spec/models/rpm_modulemd_obsolete_response_spec.rb +6 -0
- data/spec/models/rpm_modulemd_response_spec.rb +6 -0
- data/spec/models/rpm_package_category_response_spec.rb +6 -0
- data/spec/models/rpm_package_environment_response_spec.rb +6 -0
- data/spec/models/rpm_package_group_response_spec.rb +6 -0
- data/spec/models/rpm_package_langpacks_response_spec.rb +6 -0
- data/spec/models/rpm_package_response_spec.rb +6 -0
- data/spec/models/rpm_repo_metadata_file_response_spec.rb +6 -0
- data/spec/models/rpm_rpm_alternate_content_source_response_spec.rb +6 -0
- data/spec/models/rpm_rpm_distribution_response_spec.rb +6 -0
- data/spec/models/rpm_rpm_publication_response_spec.rb +6 -0
- data/spec/models/rpm_rpm_remote_response_spec.rb +6 -6
- data/spec/models/rpm_rpm_repository_response_spec.rb +6 -0
- data/spec/models/rpm_uln_remote_response_spec.rb +6 -6
- data/spec/models/rpm_update_record_response_spec.rb +6 -0
- metadata +1 -1
@@ -20,6 +20,9 @@ module PulpRpmClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
22
|
|
23
|
+
# 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.
|
24
|
+
attr_accessor :pulp_last_updated
|
25
|
+
|
23
26
|
# Modulemd name.
|
24
27
|
attr_accessor :name
|
25
28
|
|
@@ -58,6 +61,7 @@ module PulpRpmClient
|
|
58
61
|
{
|
59
62
|
:'pulp_href' => :'pulp_href',
|
60
63
|
:'pulp_created' => :'pulp_created',
|
64
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
61
65
|
:'name' => :'name',
|
62
66
|
:'stream' => :'stream',
|
63
67
|
:'version' => :'version',
|
@@ -77,6 +81,7 @@ module PulpRpmClient
|
|
77
81
|
{
|
78
82
|
:'pulp_href' => :'String',
|
79
83
|
:'pulp_created' => :'DateTime',
|
84
|
+
:'pulp_last_updated' => :'DateTime',
|
80
85
|
:'name' => :'String',
|
81
86
|
:'stream' => :'String',
|
82
87
|
:'version' => :'String',
|
@@ -123,6 +128,10 @@ module PulpRpmClient
|
|
123
128
|
self.pulp_created = attributes[:'pulp_created']
|
124
129
|
end
|
125
130
|
|
131
|
+
if attributes.key?(:'pulp_last_updated')
|
132
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
133
|
+
end
|
134
|
+
|
126
135
|
if attributes.key?(:'name')
|
127
136
|
self.name = attributes[:'name']
|
128
137
|
end
|
@@ -220,6 +229,7 @@ module PulpRpmClient
|
|
220
229
|
self.class == o.class &&
|
221
230
|
pulp_href == o.pulp_href &&
|
222
231
|
pulp_created == o.pulp_created &&
|
232
|
+
pulp_last_updated == o.pulp_last_updated &&
|
223
233
|
name == o.name &&
|
224
234
|
stream == o.stream &&
|
225
235
|
version == o.version &&
|
@@ -242,7 +252,7 @@ module PulpRpmClient
|
|
242
252
|
# Calculates hash code according to all attributes.
|
243
253
|
# @return [Integer] Hash code
|
244
254
|
def hash
|
245
|
-
[pulp_href, pulp_created, name, stream, version, static_context, context, arch, artifacts, dependencies, packages, profiles, description].hash
|
255
|
+
[pulp_href, pulp_created, pulp_last_updated, name, stream, version, static_context, context, arch, artifacts, dependencies, packages, profiles, description].hash
|
246
256
|
end
|
247
257
|
|
248
258
|
# Builds the object from hash
|
@@ -20,6 +20,9 @@ module PulpRpmClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
22
|
|
23
|
+
# 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.
|
24
|
+
attr_accessor :pulp_last_updated
|
25
|
+
|
23
26
|
# Category id.
|
24
27
|
attr_accessor :id
|
25
28
|
|
@@ -49,6 +52,7 @@ module PulpRpmClient
|
|
49
52
|
{
|
50
53
|
:'pulp_href' => :'pulp_href',
|
51
54
|
:'pulp_created' => :'pulp_created',
|
55
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
52
56
|
:'id' => :'id',
|
53
57
|
:'name' => :'name',
|
54
58
|
:'description' => :'description',
|
@@ -65,6 +69,7 @@ module PulpRpmClient
|
|
65
69
|
{
|
66
70
|
:'pulp_href' => :'String',
|
67
71
|
:'pulp_created' => :'DateTime',
|
72
|
+
:'pulp_last_updated' => :'DateTime',
|
68
73
|
:'id' => :'String',
|
69
74
|
:'name' => :'String',
|
70
75
|
:'description' => :'String',
|
@@ -109,6 +114,10 @@ module PulpRpmClient
|
|
109
114
|
self.pulp_created = attributes[:'pulp_created']
|
110
115
|
end
|
111
116
|
|
117
|
+
if attributes.key?(:'pulp_last_updated')
|
118
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
119
|
+
end
|
120
|
+
|
112
121
|
if attributes.key?(:'id')
|
113
122
|
self.id = attributes[:'id']
|
114
123
|
end
|
@@ -182,6 +191,7 @@ module PulpRpmClient
|
|
182
191
|
self.class == o.class &&
|
183
192
|
pulp_href == o.pulp_href &&
|
184
193
|
pulp_created == o.pulp_created &&
|
194
|
+
pulp_last_updated == o.pulp_last_updated &&
|
185
195
|
id == o.id &&
|
186
196
|
name == o.name &&
|
187
197
|
description == o.description &&
|
@@ -201,7 +211,7 @@ module PulpRpmClient
|
|
201
211
|
# Calculates hash code according to all attributes.
|
202
212
|
# @return [Integer] Hash code
|
203
213
|
def hash
|
204
|
-
[pulp_href, pulp_created, id, name, description, display_order, group_ids, desc_by_lang, name_by_lang, digest].hash
|
214
|
+
[pulp_href, pulp_created, pulp_last_updated, id, name, description, display_order, group_ids, desc_by_lang, name_by_lang, digest].hash
|
205
215
|
end
|
206
216
|
|
207
217
|
# Builds the object from hash
|
@@ -20,6 +20,9 @@ module PulpRpmClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
22
|
|
23
|
+
# 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.
|
24
|
+
attr_accessor :pulp_last_updated
|
25
|
+
|
23
26
|
# Environment id.
|
24
27
|
attr_accessor :id
|
25
28
|
|
@@ -52,6 +55,7 @@ module PulpRpmClient
|
|
52
55
|
{
|
53
56
|
:'pulp_href' => :'pulp_href',
|
54
57
|
:'pulp_created' => :'pulp_created',
|
58
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
55
59
|
:'id' => :'id',
|
56
60
|
:'name' => :'name',
|
57
61
|
:'description' => :'description',
|
@@ -69,6 +73,7 @@ module PulpRpmClient
|
|
69
73
|
{
|
70
74
|
:'pulp_href' => :'String',
|
71
75
|
:'pulp_created' => :'DateTime',
|
76
|
+
:'pulp_last_updated' => :'DateTime',
|
72
77
|
:'id' => :'String',
|
73
78
|
:'name' => :'String',
|
74
79
|
:'description' => :'String',
|
@@ -115,6 +120,10 @@ module PulpRpmClient
|
|
115
120
|
self.pulp_created = attributes[:'pulp_created']
|
116
121
|
end
|
117
122
|
|
123
|
+
if attributes.key?(:'pulp_last_updated')
|
124
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
125
|
+
end
|
126
|
+
|
118
127
|
if attributes.key?(:'id')
|
119
128
|
self.id = attributes[:'id']
|
120
129
|
end
|
@@ -192,6 +201,7 @@ module PulpRpmClient
|
|
192
201
|
self.class == o.class &&
|
193
202
|
pulp_href == o.pulp_href &&
|
194
203
|
pulp_created == o.pulp_created &&
|
204
|
+
pulp_last_updated == o.pulp_last_updated &&
|
195
205
|
id == o.id &&
|
196
206
|
name == o.name &&
|
197
207
|
description == o.description &&
|
@@ -212,7 +222,7 @@ module PulpRpmClient
|
|
212
222
|
# Calculates hash code according to all attributes.
|
213
223
|
# @return [Integer] Hash code
|
214
224
|
def hash
|
215
|
-
[pulp_href, pulp_created, id, name, description, display_order, group_ids, option_ids, desc_by_lang, name_by_lang, digest].hash
|
225
|
+
[pulp_href, pulp_created, pulp_last_updated, id, name, description, display_order, group_ids, option_ids, desc_by_lang, name_by_lang, digest].hash
|
216
226
|
end
|
217
227
|
|
218
228
|
# Builds the object from hash
|
@@ -20,6 +20,9 @@ module PulpRpmClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
22
|
|
23
|
+
# 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.
|
24
|
+
attr_accessor :pulp_last_updated
|
25
|
+
|
23
26
|
# PackageGroup id.
|
24
27
|
attr_accessor :id
|
25
28
|
|
@@ -58,6 +61,7 @@ module PulpRpmClient
|
|
58
61
|
{
|
59
62
|
:'pulp_href' => :'pulp_href',
|
60
63
|
:'pulp_created' => :'pulp_created',
|
64
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
61
65
|
:'id' => :'id',
|
62
66
|
:'default' => :'default',
|
63
67
|
:'user_visible' => :'user_visible',
|
@@ -77,6 +81,7 @@ module PulpRpmClient
|
|
77
81
|
{
|
78
82
|
:'pulp_href' => :'String',
|
79
83
|
:'pulp_created' => :'DateTime',
|
84
|
+
:'pulp_last_updated' => :'DateTime',
|
80
85
|
:'id' => :'String',
|
81
86
|
:'default' => :'Boolean',
|
82
87
|
:'user_visible' => :'Boolean',
|
@@ -124,6 +129,10 @@ module PulpRpmClient
|
|
124
129
|
self.pulp_created = attributes[:'pulp_created']
|
125
130
|
end
|
126
131
|
|
132
|
+
if attributes.key?(:'pulp_last_updated')
|
133
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
134
|
+
end
|
135
|
+
|
127
136
|
if attributes.key?(:'id')
|
128
137
|
self.id = attributes[:'id']
|
129
138
|
end
|
@@ -209,6 +218,7 @@ module PulpRpmClient
|
|
209
218
|
self.class == o.class &&
|
210
219
|
pulp_href == o.pulp_href &&
|
211
220
|
pulp_created == o.pulp_created &&
|
221
|
+
pulp_last_updated == o.pulp_last_updated &&
|
212
222
|
id == o.id &&
|
213
223
|
default == o.default &&
|
214
224
|
user_visible == o.user_visible &&
|
@@ -231,7 +241,7 @@ module PulpRpmClient
|
|
231
241
|
# Calculates hash code according to all attributes.
|
232
242
|
# @return [Integer] Hash code
|
233
243
|
def hash
|
234
|
-
[pulp_href, pulp_created, id, default, user_visible, display_order, name, description, packages, biarch_only, desc_by_lang, name_by_lang, digest].hash
|
244
|
+
[pulp_href, pulp_created, pulp_last_updated, id, default, user_visible, display_order, name, description, packages, biarch_only, desc_by_lang, name_by_lang, digest].hash
|
235
245
|
end
|
236
246
|
|
237
247
|
# Builds the object from hash
|
@@ -20,6 +20,9 @@ module PulpRpmClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
22
|
|
23
|
+
# 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.
|
24
|
+
attr_accessor :pulp_last_updated
|
25
|
+
|
23
26
|
# Langpacks matches.
|
24
27
|
attr_accessor :matches
|
25
28
|
|
@@ -31,6 +34,7 @@ module PulpRpmClient
|
|
31
34
|
{
|
32
35
|
:'pulp_href' => :'pulp_href',
|
33
36
|
:'pulp_created' => :'pulp_created',
|
37
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
34
38
|
:'matches' => :'matches',
|
35
39
|
:'digest' => :'digest'
|
36
40
|
}
|
@@ -41,6 +45,7 @@ module PulpRpmClient
|
|
41
45
|
{
|
42
46
|
:'pulp_href' => :'String',
|
43
47
|
:'pulp_created' => :'DateTime',
|
48
|
+
:'pulp_last_updated' => :'DateTime',
|
44
49
|
:'matches' => :'Object',
|
45
50
|
:'digest' => :'String'
|
46
51
|
}
|
@@ -77,6 +82,10 @@ module PulpRpmClient
|
|
77
82
|
self.pulp_created = attributes[:'pulp_created']
|
78
83
|
end
|
79
84
|
|
85
|
+
if attributes.key?(:'pulp_last_updated')
|
86
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
87
|
+
end
|
88
|
+
|
80
89
|
if attributes.key?(:'matches')
|
81
90
|
self.matches = attributes[:'matches']
|
82
91
|
end
|
@@ -106,6 +115,7 @@ module PulpRpmClient
|
|
106
115
|
self.class == o.class &&
|
107
116
|
pulp_href == o.pulp_href &&
|
108
117
|
pulp_created == o.pulp_created &&
|
118
|
+
pulp_last_updated == o.pulp_last_updated &&
|
109
119
|
matches == o.matches &&
|
110
120
|
digest == o.digest
|
111
121
|
end
|
@@ -119,7 +129,7 @@ module PulpRpmClient
|
|
119
129
|
# Calculates hash code according to all attributes.
|
120
130
|
# @return [Integer] Hash code
|
121
131
|
def hash
|
122
|
-
[pulp_href, pulp_created, matches, digest].hash
|
132
|
+
[pulp_href, pulp_created, pulp_last_updated, matches, digest].hash
|
123
133
|
end
|
124
134
|
|
125
135
|
# Builds the object from hash
|
@@ -20,6 +20,9 @@ module PulpRpmClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
22
|
|
23
|
+
# 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.
|
24
|
+
attr_accessor :pulp_last_updated
|
25
|
+
|
23
26
|
# The MD5 checksum if available.
|
24
27
|
attr_accessor :md5
|
25
28
|
|
@@ -154,6 +157,7 @@ module PulpRpmClient
|
|
154
157
|
{
|
155
158
|
:'pulp_href' => :'pulp_href',
|
156
159
|
:'pulp_created' => :'pulp_created',
|
160
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
157
161
|
:'md5' => :'md5',
|
158
162
|
:'sha1' => :'sha1',
|
159
163
|
:'sha224' => :'sha224',
|
@@ -205,6 +209,7 @@ module PulpRpmClient
|
|
205
209
|
{
|
206
210
|
:'pulp_href' => :'String',
|
207
211
|
:'pulp_created' => :'DateTime',
|
212
|
+
:'pulp_last_updated' => :'DateTime',
|
208
213
|
:'md5' => :'String',
|
209
214
|
:'sha1' => :'String',
|
210
215
|
:'sha224' => :'String',
|
@@ -280,6 +285,10 @@ module PulpRpmClient
|
|
280
285
|
self.pulp_created = attributes[:'pulp_created']
|
281
286
|
end
|
282
287
|
|
288
|
+
if attributes.key?(:'pulp_last_updated')
|
289
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
290
|
+
end
|
291
|
+
|
283
292
|
if attributes.key?(:'md5')
|
284
293
|
self.md5 = attributes[:'md5']
|
285
294
|
end
|
@@ -473,6 +482,7 @@ module PulpRpmClient
|
|
473
482
|
self.class == o.class &&
|
474
483
|
pulp_href == o.pulp_href &&
|
475
484
|
pulp_created == o.pulp_created &&
|
485
|
+
pulp_last_updated == o.pulp_last_updated &&
|
476
486
|
md5 == o.md5 &&
|
477
487
|
sha1 == o.sha1 &&
|
478
488
|
sha224 == o.sha224 &&
|
@@ -527,7 +537,7 @@ module PulpRpmClient
|
|
527
537
|
# Calculates hash code according to all attributes.
|
528
538
|
# @return [Integer] Hash code
|
529
539
|
def hash
|
530
|
-
[pulp_href, pulp_created, md5, sha1, sha224, sha256, sha384, sha512, artifact, name, epoch, version, release, arch, pkg_id, checksum_type, summary, description, url, changelogs, files, requires, provides, conflicts, obsoletes, suggests, enhances, recommends, supplements, location_base, location_href, rpm_buildhost, rpm_group, rpm_license, rpm_packager, rpm_sourcerpm, rpm_vendor, rpm_header_start, rpm_header_end, is_modular, size_archive, size_installed, size_package, time_build, time_file].hash
|
540
|
+
[pulp_href, pulp_created, pulp_last_updated, md5, sha1, sha224, sha256, sha384, sha512, artifact, name, epoch, version, release, arch, pkg_id, checksum_type, summary, description, url, changelogs, files, requires, provides, conflicts, obsoletes, suggests, enhances, recommends, supplements, location_base, location_href, rpm_buildhost, rpm_group, rpm_license, rpm_packager, rpm_sourcerpm, rpm_vendor, rpm_header_start, rpm_header_end, is_modular, size_archive, size_installed, size_package, time_build, time_file].hash
|
531
541
|
end
|
532
542
|
|
533
543
|
# Builds the object from hash
|
@@ -20,6 +20,9 @@ module PulpRpmClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
22
|
|
23
|
+
# 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.
|
24
|
+
attr_accessor :pulp_last_updated
|
25
|
+
|
23
26
|
# The MD5 checksum if available.
|
24
27
|
attr_accessor :md5
|
25
28
|
|
@@ -58,6 +61,7 @@ module PulpRpmClient
|
|
58
61
|
{
|
59
62
|
:'pulp_href' => :'pulp_href',
|
60
63
|
:'pulp_created' => :'pulp_created',
|
64
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
61
65
|
:'md5' => :'md5',
|
62
66
|
:'sha1' => :'sha1',
|
63
67
|
:'sha224' => :'sha224',
|
@@ -77,6 +81,7 @@ module PulpRpmClient
|
|
77
81
|
{
|
78
82
|
:'pulp_href' => :'String',
|
79
83
|
:'pulp_created' => :'DateTime',
|
84
|
+
:'pulp_last_updated' => :'DateTime',
|
80
85
|
:'md5' => :'String',
|
81
86
|
:'sha1' => :'String',
|
82
87
|
:'sha224' => :'String',
|
@@ -120,6 +125,10 @@ module PulpRpmClient
|
|
120
125
|
self.pulp_created = attributes[:'pulp_created']
|
121
126
|
end
|
122
127
|
|
128
|
+
if attributes.key?(:'pulp_last_updated')
|
129
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
130
|
+
end
|
131
|
+
|
123
132
|
if attributes.key?(:'md5')
|
124
133
|
self.md5 = attributes[:'md5']
|
125
134
|
end
|
@@ -205,6 +214,7 @@ module PulpRpmClient
|
|
205
214
|
self.class == o.class &&
|
206
215
|
pulp_href == o.pulp_href &&
|
207
216
|
pulp_created == o.pulp_created &&
|
217
|
+
pulp_last_updated == o.pulp_last_updated &&
|
208
218
|
md5 == o.md5 &&
|
209
219
|
sha1 == o.sha1 &&
|
210
220
|
sha224 == o.sha224 &&
|
@@ -227,7 +237,7 @@ module PulpRpmClient
|
|
227
237
|
# Calculates hash code according to all attributes.
|
228
238
|
# @return [Integer] Hash code
|
229
239
|
def hash
|
230
|
-
[pulp_href, pulp_created, md5, sha1, sha224, sha256, sha384, sha512, artifact, relative_path, data_type, checksum_type, checksum].hash
|
240
|
+
[pulp_href, pulp_created, pulp_last_updated, md5, sha1, sha224, sha256, sha384, sha512, artifact, relative_path, data_type, checksum_type, checksum].hash
|
231
241
|
end
|
232
242
|
|
233
243
|
# Builds the object from hash
|
@@ -20,6 +20,9 @@ module PulpRpmClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
22
|
|
23
|
+
# 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.
|
24
|
+
attr_accessor :pulp_last_updated
|
25
|
+
|
23
26
|
# Name of Alternate Content Source.
|
24
27
|
attr_accessor :name
|
25
28
|
|
@@ -37,6 +40,7 @@ module PulpRpmClient
|
|
37
40
|
{
|
38
41
|
:'pulp_href' => :'pulp_href',
|
39
42
|
:'pulp_created' => :'pulp_created',
|
43
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
40
44
|
:'name' => :'name',
|
41
45
|
:'last_refreshed' => :'last_refreshed',
|
42
46
|
:'paths' => :'paths',
|
@@ -49,6 +53,7 @@ module PulpRpmClient
|
|
49
53
|
{
|
50
54
|
:'pulp_href' => :'String',
|
51
55
|
:'pulp_created' => :'DateTime',
|
56
|
+
:'pulp_last_updated' => :'DateTime',
|
52
57
|
:'name' => :'String',
|
53
58
|
:'last_refreshed' => :'DateTime',
|
54
59
|
:'paths' => :'Array<String>',
|
@@ -86,6 +91,10 @@ module PulpRpmClient
|
|
86
91
|
self.pulp_created = attributes[:'pulp_created']
|
87
92
|
end
|
88
93
|
|
94
|
+
if attributes.key?(:'pulp_last_updated')
|
95
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
96
|
+
end
|
97
|
+
|
89
98
|
if attributes.key?(:'name')
|
90
99
|
self.name = attributes[:'name']
|
91
100
|
end
|
@@ -135,6 +144,7 @@ module PulpRpmClient
|
|
135
144
|
self.class == o.class &&
|
136
145
|
pulp_href == o.pulp_href &&
|
137
146
|
pulp_created == o.pulp_created &&
|
147
|
+
pulp_last_updated == o.pulp_last_updated &&
|
138
148
|
name == o.name &&
|
139
149
|
last_refreshed == o.last_refreshed &&
|
140
150
|
paths == o.paths &&
|
@@ -150,7 +160,7 @@ module PulpRpmClient
|
|
150
160
|
# Calculates hash code according to all attributes.
|
151
161
|
# @return [Integer] Hash code
|
152
162
|
def hash
|
153
|
-
[pulp_href, pulp_created, name, last_refreshed, paths, remote].hash
|
163
|
+
[pulp_href, pulp_created, pulp_last_updated, name, last_refreshed, paths, remote].hash
|
154
164
|
end
|
155
165
|
|
156
166
|
# Builds the object from hash
|
@@ -20,6 +20,9 @@ module PulpRpmClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
22
|
|
23
|
+
# 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.
|
24
|
+
attr_accessor :pulp_last_updated
|
25
|
+
|
23
26
|
# 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
27
|
attr_accessor :base_path
|
25
28
|
|
@@ -51,6 +54,7 @@ module PulpRpmClient
|
|
51
54
|
{
|
52
55
|
:'pulp_href' => :'pulp_href',
|
53
56
|
:'pulp_created' => :'pulp_created',
|
57
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
54
58
|
:'base_path' => :'base_path',
|
55
59
|
:'base_url' => :'base_url',
|
56
60
|
:'content_guard' => :'content_guard',
|
@@ -68,6 +72,7 @@ module PulpRpmClient
|
|
68
72
|
{
|
69
73
|
:'pulp_href' => :'String',
|
70
74
|
:'pulp_created' => :'DateTime',
|
75
|
+
:'pulp_last_updated' => :'DateTime',
|
71
76
|
:'base_path' => :'String',
|
72
77
|
:'base_url' => :'String',
|
73
78
|
:'content_guard' => :'String',
|
@@ -112,6 +117,10 @@ module PulpRpmClient
|
|
112
117
|
self.pulp_created = attributes[:'pulp_created']
|
113
118
|
end
|
114
119
|
|
120
|
+
if attributes.key?(:'pulp_last_updated')
|
121
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
122
|
+
end
|
123
|
+
|
115
124
|
if attributes.key?(:'base_path')
|
116
125
|
self.base_path = attributes[:'base_path']
|
117
126
|
end
|
@@ -185,6 +194,7 @@ module PulpRpmClient
|
|
185
194
|
self.class == o.class &&
|
186
195
|
pulp_href == o.pulp_href &&
|
187
196
|
pulp_created == o.pulp_created &&
|
197
|
+
pulp_last_updated == o.pulp_last_updated &&
|
188
198
|
base_path == o.base_path &&
|
189
199
|
base_url == o.base_url &&
|
190
200
|
content_guard == o.content_guard &&
|
@@ -205,7 +215,7 @@ module PulpRpmClient
|
|
205
215
|
# Calculates hash code according to all attributes.
|
206
216
|
# @return [Integer] Hash code
|
207
217
|
def hash
|
208
|
-
[pulp_href, pulp_created, base_path, base_url, content_guard, hidden, pulp_labels, name, repository, publication, generate_repo_config].hash
|
218
|
+
[pulp_href, pulp_created, pulp_last_updated, base_path, base_url, content_guard, hidden, pulp_labels, name, repository, publication, generate_repo_config].hash
|
209
219
|
end
|
210
220
|
|
211
221
|
# Builds the object from hash
|
@@ -20,6 +20,9 @@ module PulpRpmClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
22
|
|
23
|
+
# 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.
|
24
|
+
attr_accessor :pulp_last_updated
|
25
|
+
|
23
26
|
attr_accessor :repository_version
|
24
27
|
|
25
28
|
# A URI of the repository to be published.
|
@@ -54,6 +57,7 @@ module PulpRpmClient
|
|
54
57
|
{
|
55
58
|
:'pulp_href' => :'pulp_href',
|
56
59
|
:'pulp_created' => :'pulp_created',
|
60
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
57
61
|
:'repository_version' => :'repository_version',
|
58
62
|
:'repository' => :'repository',
|
59
63
|
:'checksum_type' => :'checksum_type',
|
@@ -72,6 +76,7 @@ module PulpRpmClient
|
|
72
76
|
{
|
73
77
|
:'pulp_href' => :'String',
|
74
78
|
:'pulp_created' => :'DateTime',
|
79
|
+
:'pulp_last_updated' => :'DateTime',
|
75
80
|
:'repository_version' => :'String',
|
76
81
|
:'repository' => :'String',
|
77
82
|
:'checksum_type' => :'PackageChecksumTypeEnum',
|
@@ -116,6 +121,10 @@ module PulpRpmClient
|
|
116
121
|
self.pulp_created = attributes[:'pulp_created']
|
117
122
|
end
|
118
123
|
|
124
|
+
if attributes.key?(:'pulp_last_updated')
|
125
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
126
|
+
end
|
127
|
+
|
119
128
|
if attributes.key?(:'repository_version')
|
120
129
|
self.repository_version = attributes[:'repository_version']
|
121
130
|
end
|
@@ -227,6 +236,7 @@ module PulpRpmClient
|
|
227
236
|
self.class == o.class &&
|
228
237
|
pulp_href == o.pulp_href &&
|
229
238
|
pulp_created == o.pulp_created &&
|
239
|
+
pulp_last_updated == o.pulp_last_updated &&
|
230
240
|
repository_version == o.repository_version &&
|
231
241
|
repository == o.repository &&
|
232
242
|
checksum_type == o.checksum_type &&
|
@@ -248,7 +258,7 @@ module PulpRpmClient
|
|
248
258
|
# Calculates hash code according to all attributes.
|
249
259
|
# @return [Integer] Hash code
|
250
260
|
def hash
|
251
|
-
[pulp_href, pulp_created, repository_version, repository, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata, repo_config, compression_type].hash
|
261
|
+
[pulp_href, pulp_created, pulp_last_updated, repository_version, repository, checksum_type, metadata_checksum_type, package_checksum_type, gpgcheck, repo_gpgcheck, sqlite_metadata, repo_config, compression_type].hash
|
252
262
|
end
|
253
263
|
|
254
264
|
# Builds the object from hash
|
@@ -20,6 +20,9 @@ module PulpRpmClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
22
|
|
23
|
+
# Timestamp of the most recent update of the remote.
|
24
|
+
attr_accessor :pulp_last_updated
|
25
|
+
|
23
26
|
# A unique name for this remote.
|
24
27
|
attr_accessor :name
|
25
28
|
|
@@ -40,9 +43,6 @@ module PulpRpmClient
|
|
40
43
|
|
41
44
|
attr_accessor :pulp_labels
|
42
45
|
|
43
|
-
# Timestamp of the most recent update of the remote.
|
44
|
-
attr_accessor :pulp_last_updated
|
45
|
-
|
46
46
|
# Total number of simultaneous connections. If not set then the default value will be used.
|
47
47
|
attr_accessor :download_concurrency
|
48
48
|
|
@@ -81,6 +81,7 @@ module PulpRpmClient
|
|
81
81
|
{
|
82
82
|
:'pulp_href' => :'pulp_href',
|
83
83
|
:'pulp_created' => :'pulp_created',
|
84
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
84
85
|
:'name' => :'name',
|
85
86
|
:'url' => :'url',
|
86
87
|
:'ca_cert' => :'ca_cert',
|
@@ -88,7 +89,6 @@ module PulpRpmClient
|
|
88
89
|
:'tls_validation' => :'tls_validation',
|
89
90
|
:'proxy_url' => :'proxy_url',
|
90
91
|
:'pulp_labels' => :'pulp_labels',
|
91
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
92
92
|
:'download_concurrency' => :'download_concurrency',
|
93
93
|
:'max_retries' => :'max_retries',
|
94
94
|
:'policy' => :'policy',
|
@@ -108,6 +108,7 @@ module PulpRpmClient
|
|
108
108
|
{
|
109
109
|
:'pulp_href' => :'String',
|
110
110
|
:'pulp_created' => :'DateTime',
|
111
|
+
:'pulp_last_updated' => :'DateTime',
|
111
112
|
:'name' => :'String',
|
112
113
|
:'url' => :'String',
|
113
114
|
:'ca_cert' => :'String',
|
@@ -115,7 +116,6 @@ module PulpRpmClient
|
|
115
116
|
:'tls_validation' => :'Boolean',
|
116
117
|
:'proxy_url' => :'String',
|
117
118
|
:'pulp_labels' => :'Hash<String, String>',
|
118
|
-
:'pulp_last_updated' => :'DateTime',
|
119
119
|
:'download_concurrency' => :'Integer',
|
120
120
|
:'max_retries' => :'Integer',
|
121
121
|
:'policy' => :'PolicyEnum',
|
@@ -170,6 +170,10 @@ module PulpRpmClient
|
|
170
170
|
self.pulp_created = attributes[:'pulp_created']
|
171
171
|
end
|
172
172
|
|
173
|
+
if attributes.key?(:'pulp_last_updated')
|
174
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
175
|
+
end
|
176
|
+
|
173
177
|
if attributes.key?(:'name')
|
174
178
|
self.name = attributes[:'name']
|
175
179
|
end
|
@@ -200,10 +204,6 @@ module PulpRpmClient
|
|
200
204
|
end
|
201
205
|
end
|
202
206
|
|
203
|
-
if attributes.key?(:'pulp_last_updated')
|
204
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
205
|
-
end
|
206
|
-
|
207
207
|
if attributes.key?(:'download_concurrency')
|
208
208
|
self.download_concurrency = attributes[:'download_concurrency']
|
209
209
|
end
|
@@ -358,6 +358,7 @@ module PulpRpmClient
|
|
358
358
|
self.class == o.class &&
|
359
359
|
pulp_href == o.pulp_href &&
|
360
360
|
pulp_created == o.pulp_created &&
|
361
|
+
pulp_last_updated == o.pulp_last_updated &&
|
361
362
|
name == o.name &&
|
362
363
|
url == o.url &&
|
363
364
|
ca_cert == o.ca_cert &&
|
@@ -365,7 +366,6 @@ module PulpRpmClient
|
|
365
366
|
tls_validation == o.tls_validation &&
|
366
367
|
proxy_url == o.proxy_url &&
|
367
368
|
pulp_labels == o.pulp_labels &&
|
368
|
-
pulp_last_updated == o.pulp_last_updated &&
|
369
369
|
download_concurrency == o.download_concurrency &&
|
370
370
|
max_retries == o.max_retries &&
|
371
371
|
policy == o.policy &&
|
@@ -388,7 +388,7 @@ module PulpRpmClient
|
|
388
388
|
# Calculates hash code according to all attributes.
|
389
389
|
# @return [Integer] Hash code
|
390
390
|
def hash
|
391
|
-
[pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels,
|
391
|
+
[pulp_href, pulp_created, pulp_last_updated, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, hidden_fields, sles_auth_token].hash
|
392
392
|
end
|
393
393
|
|
394
394
|
# Builds the object from hash
|
@@ -68,12 +68,22 @@ module PulpRpmClient
|
|
68
68
|
# @return Array for valid properties with the reasons
|
69
69
|
def list_invalid_properties
|
70
70
|
invalid_properties = Array.new
|
71
|
+
if @name.nil?
|
72
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
73
|
+
end
|
74
|
+
|
75
|
+
if @is_set.nil?
|
76
|
+
invalid_properties.push('invalid value for "is_set", is_set cannot be nil.')
|
77
|
+
end
|
78
|
+
|
71
79
|
invalid_properties
|
72
80
|
end
|
73
81
|
|
74
82
|
# Check to see if the all the properties in the model are valid
|
75
83
|
# @return true if the model is valid
|
76
84
|
def valid?
|
85
|
+
return false if @name.nil?
|
86
|
+
return false if @is_set.nil?
|
77
87
|
true
|
78
88
|
end
|
79
89
|
|