pulpcore_client 3.46.0 → 3.48.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/AccessPolicyResponse.md +2 -0
- data/docs/ArtifactDistributionResponse.md +10 -8
- data/docs/ArtifactResponse.md +2 -0
- data/docs/CompositeContentGuardResponse.md +2 -0
- data/docs/ContentGuardResponse.md +2 -0
- data/docs/ContentRedirectContentGuardResponse.md +2 -0
- data/docs/DistributionResponse.md +2 -0
- data/docs/DomainResponse.md +2 -0
- data/docs/FilesystemExportResponse.md +2 -0
- data/docs/FilesystemExporterResponse.md +2 -0
- data/docs/GroupRoleResponse.md +2 -0
- data/docs/HeaderContentGuardResponse.md +2 -0
- data/docs/ImportResponse.md +2 -0
- data/docs/MinimalTaskResponse.md +6 -2
- data/docs/MultipleArtifactContentResponse.md +2 -0
- data/docs/PublicationResponse.md +2 -0
- data/docs/PulpExportResponse.md +2 -0
- data/docs/PulpExporterResponse.md +2 -0
- data/docs/PulpImporterResponse.md +2 -0
- data/docs/RBACContentGuardResponse.md +2 -0
- data/docs/RemoteResponse.md +2 -2
- data/docs/RemoteResponseHiddenFields.md +2 -2
- data/docs/RepositoryResponse.md +2 -0
- data/docs/RepositoryVersionResponse.md +2 -0
- data/docs/RoleResponse.md +2 -0
- data/docs/SigningServiceResponse.md +2 -0
- data/docs/TaskResponse.md +6 -2
- data/docs/TaskScheduleResponse.md +2 -0
- data/docs/TasksApi.md +2 -2
- data/docs/UploadDetailResponse.md +2 -0
- data/docs/UploadResponse.md +2 -0
- data/docs/UpstreamPulpResponse.md +2 -2
- data/docs/UserRoleResponse.md +2 -0
- data/docs/WorkerResponse.md +2 -0
- data/lib/pulpcore_client/api/tasks_api.rb +3 -3
- data/lib/pulpcore_client/models/access_policy_response.rb +11 -1
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +47 -37
- data/lib/pulpcore_client/models/artifact_response.rb +11 -1
- data/lib/pulpcore_client/models/composite_content_guard_response.rb +11 -1
- data/lib/pulpcore_client/models/content_guard_response.rb +11 -1
- data/lib/pulpcore_client/models/content_redirect_content_guard_response.rb +11 -1
- data/lib/pulpcore_client/models/distribution_response.rb +11 -1
- data/lib/pulpcore_client/models/domain_response.rb +11 -1
- data/lib/pulpcore_client/models/filesystem_export_response.rb +11 -1
- data/lib/pulpcore_client/models/filesystem_exporter_response.rb +11 -1
- data/lib/pulpcore_client/models/group_role_response.rb +11 -1
- data/lib/pulpcore_client/models/header_content_guard_response.rb +11 -1
- data/lib/pulpcore_client/models/import_response.rb +11 -1
- data/lib/pulpcore_client/models/minimal_task_response.rb +23 -3
- data/lib/pulpcore_client/models/multiple_artifact_content_response.rb +11 -1
- data/lib/pulpcore_client/models/publication_response.rb +11 -1
- data/lib/pulpcore_client/models/pulp_export_response.rb +11 -1
- data/lib/pulpcore_client/models/pulp_exporter_response.rb +11 -1
- data/lib/pulpcore_client/models/pulp_importer_response.rb +11 -1
- data/lib/pulpcore_client/models/rbac_content_guard_response.rb +11 -1
- data/lib/pulpcore_client/models/remote_response.rb +11 -11
- data/lib/pulpcore_client/models/remote_response_hidden_fields.rb +10 -0
- data/lib/pulpcore_client/models/repository_response.rb +11 -1
- data/lib/pulpcore_client/models/repository_version_response.rb +11 -1
- data/lib/pulpcore_client/models/role_response.rb +11 -1
- data/lib/pulpcore_client/models/signing_service_response.rb +11 -1
- data/lib/pulpcore_client/models/task_response.rb +23 -3
- data/lib/pulpcore_client/models/task_schedule_response.rb +11 -1
- data/lib/pulpcore_client/models/upload_detail_response.rb +11 -1
- data/lib/pulpcore_client/models/upload_response.rb +11 -1
- data/lib/pulpcore_client/models/upstream_pulp_response.rb +11 -11
- data/lib/pulpcore_client/models/user_role_response.rb +11 -1
- data/lib/pulpcore_client/models/worker_response.rb +11 -1
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/api/tasks_api_spec.rb +1 -1
- data/spec/models/access_policy_response_spec.rb +6 -0
- data/spec/models/artifact_distribution_response_spec.rb +12 -6
- data/spec/models/artifact_response_spec.rb +6 -0
- data/spec/models/composite_content_guard_response_spec.rb +6 -0
- data/spec/models/content_guard_response_spec.rb +6 -0
- data/spec/models/content_redirect_content_guard_response_spec.rb +6 -0
- data/spec/models/distribution_response_spec.rb +6 -0
- data/spec/models/domain_response_spec.rb +6 -0
- data/spec/models/filesystem_export_response_spec.rb +6 -0
- data/spec/models/filesystem_exporter_response_spec.rb +6 -0
- data/spec/models/group_role_response_spec.rb +6 -0
- data/spec/models/header_content_guard_response_spec.rb +6 -0
- data/spec/models/import_response_spec.rb +6 -0
- data/spec/models/minimal_task_response_spec.rb +12 -0
- data/spec/models/multiple_artifact_content_response_spec.rb +6 -0
- data/spec/models/publication_response_spec.rb +6 -0
- data/spec/models/pulp_export_response_spec.rb +6 -0
- data/spec/models/pulp_exporter_response_spec.rb +6 -0
- data/spec/models/pulp_importer_response_spec.rb +6 -0
- data/spec/models/rbac_content_guard_response_spec.rb +6 -0
- data/spec/models/remote_response_spec.rb +6 -6
- data/spec/models/repository_response_spec.rb +6 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- data/spec/models/role_response_spec.rb +6 -0
- data/spec/models/signing_service_response_spec.rb +6 -0
- data/spec/models/task_response_spec.rb +12 -0
- data/spec/models/task_schedule_response_spec.rb +6 -0
- data/spec/models/upload_detail_response_spec.rb +6 -0
- data/spec/models/upload_response_spec.rb +6 -0
- data/spec/models/upstream_pulp_response_spec.rb +6 -6
- data/spec/models/user_role_response_spec.rb +6 -0
- data/spec/models/worker_response_spec.rb +6 -0
- metadata +2 -2
|
@@ -20,6 +20,9 @@ module PulpcoreClient
|
|
|
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 unique name.
|
|
24
27
|
attr_accessor :name
|
|
25
28
|
|
|
@@ -35,6 +38,7 @@ module PulpcoreClient
|
|
|
35
38
|
{
|
|
36
39
|
:'pulp_href' => :'pulp_href',
|
|
37
40
|
:'pulp_created' => :'pulp_created',
|
|
41
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
38
42
|
:'name' => :'name',
|
|
39
43
|
:'description' => :'description',
|
|
40
44
|
:'users' => :'users',
|
|
@@ -47,6 +51,7 @@ module PulpcoreClient
|
|
|
47
51
|
{
|
|
48
52
|
:'pulp_href' => :'String',
|
|
49
53
|
:'pulp_created' => :'DateTime',
|
|
54
|
+
:'pulp_last_updated' => :'DateTime',
|
|
50
55
|
:'name' => :'String',
|
|
51
56
|
:'description' => :'String',
|
|
52
57
|
:'users' => :'Array<GroupUserResponse>',
|
|
@@ -84,6 +89,10 @@ module PulpcoreClient
|
|
|
84
89
|
self.pulp_created = attributes[:'pulp_created']
|
|
85
90
|
end
|
|
86
91
|
|
|
92
|
+
if attributes.key?(:'pulp_last_updated')
|
|
93
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
94
|
+
end
|
|
95
|
+
|
|
87
96
|
if attributes.key?(:'name')
|
|
88
97
|
self.name = attributes[:'name']
|
|
89
98
|
end
|
|
@@ -130,6 +139,7 @@ module PulpcoreClient
|
|
|
130
139
|
self.class == o.class &&
|
|
131
140
|
pulp_href == o.pulp_href &&
|
|
132
141
|
pulp_created == o.pulp_created &&
|
|
142
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
133
143
|
name == o.name &&
|
|
134
144
|
description == o.description &&
|
|
135
145
|
users == o.users &&
|
|
@@ -145,7 +155,7 @@ module PulpcoreClient
|
|
|
145
155
|
# Calculates hash code according to all attributes.
|
|
146
156
|
# @return [Integer] Hash code
|
|
147
157
|
def hash
|
|
148
|
-
[pulp_href, pulp_created, name, description, users, groups].hash
|
|
158
|
+
[pulp_href, pulp_created, pulp_last_updated, name, description, users, groups].hash
|
|
149
159
|
end
|
|
150
160
|
|
|
151
161
|
# Builds the object from hash
|
|
@@ -20,6 +20,9 @@ module PulpcoreClient
|
|
|
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 PulpcoreClient
|
|
|
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
|
|
|
@@ -78,6 +78,7 @@ module PulpcoreClient
|
|
|
78
78
|
{
|
|
79
79
|
:'pulp_href' => :'pulp_href',
|
|
80
80
|
:'pulp_created' => :'pulp_created',
|
|
81
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
81
82
|
:'name' => :'name',
|
|
82
83
|
:'url' => :'url',
|
|
83
84
|
:'ca_cert' => :'ca_cert',
|
|
@@ -85,7 +86,6 @@ module PulpcoreClient
|
|
|
85
86
|
:'tls_validation' => :'tls_validation',
|
|
86
87
|
:'proxy_url' => :'proxy_url',
|
|
87
88
|
:'pulp_labels' => :'pulp_labels',
|
|
88
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
89
89
|
:'download_concurrency' => :'download_concurrency',
|
|
90
90
|
:'max_retries' => :'max_retries',
|
|
91
91
|
:'policy' => :'policy',
|
|
@@ -104,6 +104,7 @@ module PulpcoreClient
|
|
|
104
104
|
{
|
|
105
105
|
:'pulp_href' => :'String',
|
|
106
106
|
:'pulp_created' => :'DateTime',
|
|
107
|
+
:'pulp_last_updated' => :'DateTime',
|
|
107
108
|
:'name' => :'String',
|
|
108
109
|
:'url' => :'String',
|
|
109
110
|
:'ca_cert' => :'String',
|
|
@@ -111,7 +112,6 @@ module PulpcoreClient
|
|
|
111
112
|
:'tls_validation' => :'Boolean',
|
|
112
113
|
:'proxy_url' => :'String',
|
|
113
114
|
:'pulp_labels' => :'Hash<String, String>',
|
|
114
|
-
:'pulp_last_updated' => :'DateTime',
|
|
115
115
|
:'download_concurrency' => :'Integer',
|
|
116
116
|
:'max_retries' => :'Integer',
|
|
117
117
|
:'policy' => :'PolicyEnum',
|
|
@@ -164,6 +164,10 @@ module PulpcoreClient
|
|
|
164
164
|
self.pulp_created = attributes[:'pulp_created']
|
|
165
165
|
end
|
|
166
166
|
|
|
167
|
+
if attributes.key?(:'pulp_last_updated')
|
|
168
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
169
|
+
end
|
|
170
|
+
|
|
167
171
|
if attributes.key?(:'name')
|
|
168
172
|
self.name = attributes[:'name']
|
|
169
173
|
end
|
|
@@ -194,10 +198,6 @@ module PulpcoreClient
|
|
|
194
198
|
end
|
|
195
199
|
end
|
|
196
200
|
|
|
197
|
-
if attributes.key?(:'pulp_last_updated')
|
|
198
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
199
|
-
end
|
|
200
|
-
|
|
201
201
|
if attributes.key?(:'download_concurrency')
|
|
202
202
|
self.download_concurrency = attributes[:'download_concurrency']
|
|
203
203
|
end
|
|
@@ -348,6 +348,7 @@ module PulpcoreClient
|
|
|
348
348
|
self.class == o.class &&
|
|
349
349
|
pulp_href == o.pulp_href &&
|
|
350
350
|
pulp_created == o.pulp_created &&
|
|
351
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
351
352
|
name == o.name &&
|
|
352
353
|
url == o.url &&
|
|
353
354
|
ca_cert == o.ca_cert &&
|
|
@@ -355,7 +356,6 @@ module PulpcoreClient
|
|
|
355
356
|
tls_validation == o.tls_validation &&
|
|
356
357
|
proxy_url == o.proxy_url &&
|
|
357
358
|
pulp_labels == o.pulp_labels &&
|
|
358
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
359
359
|
download_concurrency == o.download_concurrency &&
|
|
360
360
|
max_retries == o.max_retries &&
|
|
361
361
|
policy == o.policy &&
|
|
@@ -377,7 +377,7 @@ module PulpcoreClient
|
|
|
377
377
|
# Calculates hash code according to all attributes.
|
|
378
378
|
# @return [Integer] Hash code
|
|
379
379
|
def hash
|
|
380
|
-
[pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels,
|
|
380
|
+
[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].hash
|
|
381
381
|
end
|
|
382
382
|
|
|
383
383
|
# Builds the object from hash
|
|
@@ -68,12 +68,22 @@ module PulpcoreClient
|
|
|
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
|
|
|
@@ -20,6 +20,9 @@ module PulpcoreClient
|
|
|
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 :versions_href
|
|
24
27
|
|
|
25
28
|
attr_accessor :pulp_labels
|
|
@@ -43,6 +46,7 @@ module PulpcoreClient
|
|
|
43
46
|
{
|
|
44
47
|
:'pulp_href' => :'pulp_href',
|
|
45
48
|
:'pulp_created' => :'pulp_created',
|
|
49
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
46
50
|
:'versions_href' => :'versions_href',
|
|
47
51
|
:'pulp_labels' => :'pulp_labels',
|
|
48
52
|
:'latest_version_href' => :'latest_version_href',
|
|
@@ -58,6 +62,7 @@ module PulpcoreClient
|
|
|
58
62
|
{
|
|
59
63
|
:'pulp_href' => :'String',
|
|
60
64
|
:'pulp_created' => :'DateTime',
|
|
65
|
+
:'pulp_last_updated' => :'DateTime',
|
|
61
66
|
:'versions_href' => :'String',
|
|
62
67
|
:'pulp_labels' => :'Hash<String, String>',
|
|
63
68
|
:'latest_version_href' => :'String',
|
|
@@ -100,6 +105,10 @@ module PulpcoreClient
|
|
|
100
105
|
self.pulp_created = attributes[:'pulp_created']
|
|
101
106
|
end
|
|
102
107
|
|
|
108
|
+
if attributes.key?(:'pulp_last_updated')
|
|
109
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
110
|
+
end
|
|
111
|
+
|
|
103
112
|
if attributes.key?(:'versions_href')
|
|
104
113
|
self.versions_href = attributes[:'versions_href']
|
|
105
114
|
end
|
|
@@ -171,6 +180,7 @@ module PulpcoreClient
|
|
|
171
180
|
self.class == o.class &&
|
|
172
181
|
pulp_href == o.pulp_href &&
|
|
173
182
|
pulp_created == o.pulp_created &&
|
|
183
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
174
184
|
versions_href == o.versions_href &&
|
|
175
185
|
pulp_labels == o.pulp_labels &&
|
|
176
186
|
latest_version_href == o.latest_version_href &&
|
|
@@ -189,7 +199,7 @@ module PulpcoreClient
|
|
|
189
199
|
# Calculates hash code according to all attributes.
|
|
190
200
|
# @return [Integer] Hash code
|
|
191
201
|
def hash
|
|
192
|
-
[pulp_href, pulp_created, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote].hash
|
|
202
|
+
[pulp_href, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote].hash
|
|
193
203
|
end
|
|
194
204
|
|
|
195
205
|
# Builds the object from hash
|
|
@@ -20,6 +20,9 @@ module PulpcoreClient
|
|
|
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 :number
|
|
24
27
|
|
|
25
28
|
attr_accessor :repository
|
|
@@ -35,6 +38,7 @@ module PulpcoreClient
|
|
|
35
38
|
{
|
|
36
39
|
:'pulp_href' => :'pulp_href',
|
|
37
40
|
:'pulp_created' => :'pulp_created',
|
|
41
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
38
42
|
:'number' => :'number',
|
|
39
43
|
:'repository' => :'repository',
|
|
40
44
|
:'base_version' => :'base_version',
|
|
@@ -47,6 +51,7 @@ module PulpcoreClient
|
|
|
47
51
|
{
|
|
48
52
|
:'pulp_href' => :'String',
|
|
49
53
|
:'pulp_created' => :'DateTime',
|
|
54
|
+
:'pulp_last_updated' => :'DateTime',
|
|
50
55
|
:'number' => :'Integer',
|
|
51
56
|
:'repository' => :'String',
|
|
52
57
|
:'base_version' => :'String',
|
|
@@ -83,6 +88,10 @@ module PulpcoreClient
|
|
|
83
88
|
self.pulp_created = attributes[:'pulp_created']
|
|
84
89
|
end
|
|
85
90
|
|
|
91
|
+
if attributes.key?(:'pulp_last_updated')
|
|
92
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
93
|
+
end
|
|
94
|
+
|
|
86
95
|
if attributes.key?(:'number')
|
|
87
96
|
self.number = attributes[:'number']
|
|
88
97
|
end
|
|
@@ -120,6 +129,7 @@ module PulpcoreClient
|
|
|
120
129
|
self.class == o.class &&
|
|
121
130
|
pulp_href == o.pulp_href &&
|
|
122
131
|
pulp_created == o.pulp_created &&
|
|
132
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
123
133
|
number == o.number &&
|
|
124
134
|
repository == o.repository &&
|
|
125
135
|
base_version == o.base_version &&
|
|
@@ -135,7 +145,7 @@ module PulpcoreClient
|
|
|
135
145
|
# Calculates hash code according to all attributes.
|
|
136
146
|
# @return [Integer] Hash code
|
|
137
147
|
def hash
|
|
138
|
-
[pulp_href, pulp_created, number, repository, base_version, content_summary].hash
|
|
148
|
+
[pulp_href, pulp_created, pulp_last_updated, number, repository, base_version, content_summary].hash
|
|
139
149
|
end
|
|
140
150
|
|
|
141
151
|
# Builds the object from hash
|
|
@@ -20,6 +20,9 @@ module PulpcoreClient
|
|
|
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 name of this role.
|
|
24
27
|
attr_accessor :name
|
|
25
28
|
|
|
@@ -37,6 +40,7 @@ module PulpcoreClient
|
|
|
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
|
:'description' => :'description',
|
|
42
46
|
:'permissions' => :'permissions',
|
|
@@ -49,6 +53,7 @@ module PulpcoreClient
|
|
|
49
53
|
{
|
|
50
54
|
:'pulp_href' => :'String',
|
|
51
55
|
:'pulp_created' => :'DateTime',
|
|
56
|
+
:'pulp_last_updated' => :'DateTime',
|
|
52
57
|
:'name' => :'String',
|
|
53
58
|
:'description' => :'String',
|
|
54
59
|
:'permissions' => :'Array<String>',
|
|
@@ -86,6 +91,10 @@ module PulpcoreClient
|
|
|
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 PulpcoreClient
|
|
|
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
|
description == o.description &&
|
|
140
150
|
permissions == o.permissions &&
|
|
@@ -150,7 +160,7 @@ module PulpcoreClient
|
|
|
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, description, permissions, locked].hash
|
|
163
|
+
[pulp_href, pulp_created, pulp_last_updated, name, description, permissions, locked].hash
|
|
154
164
|
end
|
|
155
165
|
|
|
156
166
|
# Builds the object from hash
|
|
@@ -20,6 +20,9 @@ module PulpcoreClient
|
|
|
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
|
# A unique name used to recognize a script.
|
|
24
27
|
attr_accessor :name
|
|
25
28
|
|
|
@@ -37,6 +40,7 @@ module PulpcoreClient
|
|
|
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
|
:'public_key' => :'public_key',
|
|
42
46
|
:'pubkey_fingerprint' => :'pubkey_fingerprint',
|
|
@@ -49,6 +53,7 @@ module PulpcoreClient
|
|
|
49
53
|
{
|
|
50
54
|
:'pulp_href' => :'String',
|
|
51
55
|
:'pulp_created' => :'DateTime',
|
|
56
|
+
:'pulp_last_updated' => :'DateTime',
|
|
52
57
|
:'name' => :'String',
|
|
53
58
|
:'public_key' => :'String',
|
|
54
59
|
:'pubkey_fingerprint' => :'String',
|
|
@@ -85,6 +90,10 @@ module PulpcoreClient
|
|
|
85
90
|
self.pulp_created = attributes[:'pulp_created']
|
|
86
91
|
end
|
|
87
92
|
|
|
93
|
+
if attributes.key?(:'pulp_last_updated')
|
|
94
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
95
|
+
end
|
|
96
|
+
|
|
88
97
|
if attributes.key?(:'name')
|
|
89
98
|
self.name = attributes[:'name']
|
|
90
99
|
end
|
|
@@ -142,6 +151,7 @@ module PulpcoreClient
|
|
|
142
151
|
self.class == o.class &&
|
|
143
152
|
pulp_href == o.pulp_href &&
|
|
144
153
|
pulp_created == o.pulp_created &&
|
|
154
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
145
155
|
name == o.name &&
|
|
146
156
|
public_key == o.public_key &&
|
|
147
157
|
pubkey_fingerprint == o.pubkey_fingerprint &&
|
|
@@ -157,7 +167,7 @@ module PulpcoreClient
|
|
|
157
167
|
# Calculates hash code according to all attributes.
|
|
158
168
|
# @return [Integer] Hash code
|
|
159
169
|
def hash
|
|
160
|
-
[pulp_href, pulp_created, name, public_key, pubkey_fingerprint, script].hash
|
|
170
|
+
[pulp_href, pulp_created, pulp_last_updated, name, public_key, pubkey_fingerprint, script].hash
|
|
161
171
|
end
|
|
162
172
|
|
|
163
173
|
# Builds the object from hash
|
|
@@ -20,6 +20,9 @@ module PulpcoreClient
|
|
|
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 current state of the task. The possible values include: 'waiting', 'skipped', 'running', 'completed', 'failed', 'canceled' and 'canceling'.
|
|
24
27
|
attr_accessor :state
|
|
25
28
|
|
|
@@ -32,10 +35,13 @@ module PulpcoreClient
|
|
|
32
35
|
# User who dispatched this task.
|
|
33
36
|
attr_accessor :created_by
|
|
34
37
|
|
|
35
|
-
# Timestamp of
|
|
38
|
+
# Timestamp of when this task was identified ready for pickup.
|
|
39
|
+
attr_accessor :unblocked_at
|
|
40
|
+
|
|
41
|
+
# Timestamp of when this task started execution.
|
|
36
42
|
attr_accessor :started_at
|
|
37
43
|
|
|
38
|
-
# Timestamp of
|
|
44
|
+
# Timestamp of when this task stopped execution.
|
|
39
45
|
attr_accessor :finished_at
|
|
40
46
|
|
|
41
47
|
# A JSON Object of a fatal error encountered during the execution of this task.
|
|
@@ -66,10 +72,12 @@ module PulpcoreClient
|
|
|
66
72
|
{
|
|
67
73
|
:'pulp_href' => :'pulp_href',
|
|
68
74
|
:'pulp_created' => :'pulp_created',
|
|
75
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
69
76
|
:'state' => :'state',
|
|
70
77
|
:'name' => :'name',
|
|
71
78
|
:'logging_cid' => :'logging_cid',
|
|
72
79
|
:'created_by' => :'created_by',
|
|
80
|
+
:'unblocked_at' => :'unblocked_at',
|
|
73
81
|
:'started_at' => :'started_at',
|
|
74
82
|
:'finished_at' => :'finished_at',
|
|
75
83
|
:'error' => :'error',
|
|
@@ -88,10 +96,12 @@ module PulpcoreClient
|
|
|
88
96
|
{
|
|
89
97
|
:'pulp_href' => :'String',
|
|
90
98
|
:'pulp_created' => :'DateTime',
|
|
99
|
+
:'pulp_last_updated' => :'DateTime',
|
|
91
100
|
:'state' => :'String',
|
|
92
101
|
:'name' => :'String',
|
|
93
102
|
:'logging_cid' => :'String',
|
|
94
103
|
:'created_by' => :'String',
|
|
104
|
+
:'unblocked_at' => :'DateTime',
|
|
95
105
|
:'started_at' => :'DateTime',
|
|
96
106
|
:'finished_at' => :'DateTime',
|
|
97
107
|
:'error' => :'Hash<String, Object>',
|
|
@@ -134,6 +144,10 @@ module PulpcoreClient
|
|
|
134
144
|
self.pulp_created = attributes[:'pulp_created']
|
|
135
145
|
end
|
|
136
146
|
|
|
147
|
+
if attributes.key?(:'pulp_last_updated')
|
|
148
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
149
|
+
end
|
|
150
|
+
|
|
137
151
|
if attributes.key?(:'state')
|
|
138
152
|
self.state = attributes[:'state']
|
|
139
153
|
end
|
|
@@ -150,6 +164,10 @@ module PulpcoreClient
|
|
|
150
164
|
self.created_by = attributes[:'created_by']
|
|
151
165
|
end
|
|
152
166
|
|
|
167
|
+
if attributes.key?(:'unblocked_at')
|
|
168
|
+
self.unblocked_at = attributes[:'unblocked_at']
|
|
169
|
+
end
|
|
170
|
+
|
|
153
171
|
if attributes.key?(:'started_at')
|
|
154
172
|
self.started_at = attributes[:'started_at']
|
|
155
173
|
end
|
|
@@ -231,10 +249,12 @@ module PulpcoreClient
|
|
|
231
249
|
self.class == o.class &&
|
|
232
250
|
pulp_href == o.pulp_href &&
|
|
233
251
|
pulp_created == o.pulp_created &&
|
|
252
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
234
253
|
state == o.state &&
|
|
235
254
|
name == o.name &&
|
|
236
255
|
logging_cid == o.logging_cid &&
|
|
237
256
|
created_by == o.created_by &&
|
|
257
|
+
unblocked_at == o.unblocked_at &&
|
|
238
258
|
started_at == o.started_at &&
|
|
239
259
|
finished_at == o.finished_at &&
|
|
240
260
|
error == o.error &&
|
|
@@ -256,7 +276,7 @@ module PulpcoreClient
|
|
|
256
276
|
# Calculates hash code according to all attributes.
|
|
257
277
|
# @return [Integer] Hash code
|
|
258
278
|
def hash
|
|
259
|
-
[pulp_href, pulp_created, state, name, logging_cid, created_by, started_at, finished_at, error, worker, parent_task, child_tasks, task_group, progress_reports, created_resources, reserved_resources_record].hash
|
|
279
|
+
[pulp_href, pulp_created, pulp_last_updated, state, name, logging_cid, created_by, unblocked_at, started_at, finished_at, error, worker, parent_task, child_tasks, task_group, progress_reports, created_resources, reserved_resources_record].hash
|
|
260
280
|
end
|
|
261
281
|
|
|
262
282
|
# Builds the object from hash
|
|
@@ -20,6 +20,9 @@ module PulpcoreClient
|
|
|
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 name of the task schedule.
|
|
24
27
|
attr_accessor :name
|
|
25
28
|
|
|
@@ -40,6 +43,7 @@ module PulpcoreClient
|
|
|
40
43
|
{
|
|
41
44
|
:'pulp_href' => :'pulp_href',
|
|
42
45
|
:'pulp_created' => :'pulp_created',
|
|
46
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
43
47
|
:'name' => :'name',
|
|
44
48
|
:'task_name' => :'task_name',
|
|
45
49
|
:'dispatch_interval' => :'dispatch_interval',
|
|
@@ -53,6 +57,7 @@ module PulpcoreClient
|
|
|
53
57
|
{
|
|
54
58
|
:'pulp_href' => :'String',
|
|
55
59
|
:'pulp_created' => :'DateTime',
|
|
60
|
+
:'pulp_last_updated' => :'DateTime',
|
|
56
61
|
:'name' => :'String',
|
|
57
62
|
:'task_name' => :'String',
|
|
58
63
|
:'dispatch_interval' => :'String',
|
|
@@ -92,6 +97,10 @@ module PulpcoreClient
|
|
|
92
97
|
self.pulp_created = attributes[:'pulp_created']
|
|
93
98
|
end
|
|
94
99
|
|
|
100
|
+
if attributes.key?(:'pulp_last_updated')
|
|
101
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
102
|
+
end
|
|
103
|
+
|
|
95
104
|
if attributes.key?(:'name')
|
|
96
105
|
self.name = attributes[:'name']
|
|
97
106
|
end
|
|
@@ -143,6 +152,7 @@ module PulpcoreClient
|
|
|
143
152
|
self.class == o.class &&
|
|
144
153
|
pulp_href == o.pulp_href &&
|
|
145
154
|
pulp_created == o.pulp_created &&
|
|
155
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
146
156
|
name == o.name &&
|
|
147
157
|
task_name == o.task_name &&
|
|
148
158
|
dispatch_interval == o.dispatch_interval &&
|
|
@@ -159,7 +169,7 @@ module PulpcoreClient
|
|
|
159
169
|
# Calculates hash code according to all attributes.
|
|
160
170
|
# @return [Integer] Hash code
|
|
161
171
|
def hash
|
|
162
|
-
[pulp_href, pulp_created, name, task_name, dispatch_interval, next_dispatch, last_task].hash
|
|
172
|
+
[pulp_href, pulp_created, pulp_last_updated, name, task_name, dispatch_interval, next_dispatch, last_task].hash
|
|
163
173
|
end
|
|
164
174
|
|
|
165
175
|
# Builds the object from hash
|
|
@@ -20,6 +20,9 @@ module PulpcoreClient
|
|
|
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 size of the upload in bytes.
|
|
24
27
|
attr_accessor :size
|
|
25
28
|
|
|
@@ -33,6 +36,7 @@ module PulpcoreClient
|
|
|
33
36
|
{
|
|
34
37
|
:'pulp_href' => :'pulp_href',
|
|
35
38
|
:'pulp_created' => :'pulp_created',
|
|
39
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
36
40
|
:'size' => :'size',
|
|
37
41
|
:'completed' => :'completed',
|
|
38
42
|
:'chunks' => :'chunks'
|
|
@@ -44,6 +48,7 @@ module PulpcoreClient
|
|
|
44
48
|
{
|
|
45
49
|
:'pulp_href' => :'String',
|
|
46
50
|
:'pulp_created' => :'DateTime',
|
|
51
|
+
:'pulp_last_updated' => :'DateTime',
|
|
47
52
|
:'size' => :'Integer',
|
|
48
53
|
:'completed' => :'DateTime',
|
|
49
54
|
:'chunks' => :'Array<UploadChunkResponse>'
|
|
@@ -79,6 +84,10 @@ module PulpcoreClient
|
|
|
79
84
|
self.pulp_created = attributes[:'pulp_created']
|
|
80
85
|
end
|
|
81
86
|
|
|
87
|
+
if attributes.key?(:'pulp_last_updated')
|
|
88
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
89
|
+
end
|
|
90
|
+
|
|
82
91
|
if attributes.key?(:'size')
|
|
83
92
|
self.size = attributes[:'size']
|
|
84
93
|
end
|
|
@@ -119,6 +128,7 @@ module PulpcoreClient
|
|
|
119
128
|
self.class == o.class &&
|
|
120
129
|
pulp_href == o.pulp_href &&
|
|
121
130
|
pulp_created == o.pulp_created &&
|
|
131
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
122
132
|
size == o.size &&
|
|
123
133
|
completed == o.completed &&
|
|
124
134
|
chunks == o.chunks
|
|
@@ -133,7 +143,7 @@ module PulpcoreClient
|
|
|
133
143
|
# Calculates hash code according to all attributes.
|
|
134
144
|
# @return [Integer] Hash code
|
|
135
145
|
def hash
|
|
136
|
-
[pulp_href, pulp_created, size, completed, chunks].hash
|
|
146
|
+
[pulp_href, pulp_created, pulp_last_updated, size, completed, chunks].hash
|
|
137
147
|
end
|
|
138
148
|
|
|
139
149
|
# Builds the object from hash
|
|
@@ -20,6 +20,9 @@ module PulpcoreClient
|
|
|
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 size of the upload in bytes.
|
|
24
27
|
attr_accessor :size
|
|
25
28
|
|
|
@@ -31,6 +34,7 @@ module PulpcoreClient
|
|
|
31
34
|
{
|
|
32
35
|
:'pulp_href' => :'pulp_href',
|
|
33
36
|
:'pulp_created' => :'pulp_created',
|
|
37
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
34
38
|
:'size' => :'size',
|
|
35
39
|
:'completed' => :'completed'
|
|
36
40
|
}
|
|
@@ -41,6 +45,7 @@ module PulpcoreClient
|
|
|
41
45
|
{
|
|
42
46
|
:'pulp_href' => :'String',
|
|
43
47
|
:'pulp_created' => :'DateTime',
|
|
48
|
+
:'pulp_last_updated' => :'DateTime',
|
|
44
49
|
:'size' => :'Integer',
|
|
45
50
|
:'completed' => :'DateTime'
|
|
46
51
|
}
|
|
@@ -75,6 +80,10 @@ module PulpcoreClient
|
|
|
75
80
|
self.pulp_created = attributes[:'pulp_created']
|
|
76
81
|
end
|
|
77
82
|
|
|
83
|
+
if attributes.key?(:'pulp_last_updated')
|
|
84
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
85
|
+
end
|
|
86
|
+
|
|
78
87
|
if attributes.key?(:'size')
|
|
79
88
|
self.size = attributes[:'size']
|
|
80
89
|
end
|
|
@@ -109,6 +118,7 @@ module PulpcoreClient
|
|
|
109
118
|
self.class == o.class &&
|
|
110
119
|
pulp_href == o.pulp_href &&
|
|
111
120
|
pulp_created == o.pulp_created &&
|
|
121
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
112
122
|
size == o.size &&
|
|
113
123
|
completed == o.completed
|
|
114
124
|
end
|
|
@@ -122,7 +132,7 @@ module PulpcoreClient
|
|
|
122
132
|
# Calculates hash code according to all attributes.
|
|
123
133
|
# @return [Integer] Hash code
|
|
124
134
|
def hash
|
|
125
|
-
[pulp_href, pulp_created, size, completed].hash
|
|
135
|
+
[pulp_href, pulp_created, pulp_last_updated, size, completed].hash
|
|
126
136
|
end
|
|
127
137
|
|
|
128
138
|
# Builds the object from hash
|