pulpcore_client 3.47.0 → 3.48.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (103) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/AccessPolicyResponse.md +2 -0
  4. data/docs/ArtifactDistributionResponse.md +13 -11
  5. data/docs/ArtifactResponse.md +2 -0
  6. data/docs/CompositeContentGuardResponse.md +2 -0
  7. data/docs/ContentGuardResponse.md +2 -0
  8. data/docs/ContentRedirectContentGuardResponse.md +2 -0
  9. data/docs/DistributionResponse.md +2 -0
  10. data/docs/DomainResponse.md +2 -0
  11. data/docs/FilesystemExportResponse.md +2 -0
  12. data/docs/FilesystemExporterResponse.md +2 -0
  13. data/docs/GroupRoleResponse.md +2 -0
  14. data/docs/HeaderContentGuardResponse.md +2 -0
  15. data/docs/ImportResponse.md +2 -0
  16. data/docs/MinimalTaskResponse.md +6 -2
  17. data/docs/MultipleArtifactContentResponse.md +2 -0
  18. data/docs/PublicationResponse.md +2 -0
  19. data/docs/PulpExportResponse.md +2 -0
  20. data/docs/PulpExporterResponse.md +2 -0
  21. data/docs/PulpImporterResponse.md +2 -0
  22. data/docs/RBACContentGuardResponse.md +2 -0
  23. data/docs/RemoteResponse.md +2 -2
  24. data/docs/RepositoryResponse.md +2 -0
  25. data/docs/RepositoryVersionResponse.md +2 -0
  26. data/docs/RoleResponse.md +2 -0
  27. data/docs/SigningServiceResponse.md +2 -0
  28. data/docs/TaskResponse.md +6 -2
  29. data/docs/TaskScheduleResponse.md +2 -0
  30. data/docs/TasksApi.md +2 -2
  31. data/docs/UploadDetailResponse.md +2 -0
  32. data/docs/UploadResponse.md +2 -0
  33. data/docs/UpstreamPulpResponse.md +2 -2
  34. data/docs/UserRoleResponse.md +2 -0
  35. data/docs/WorkerResponse.md +2 -0
  36. data/lib/pulpcore_client/api/tasks_api.rb +3 -3
  37. data/lib/pulpcore_client/models/access_policy_response.rb +11 -1
  38. data/lib/pulpcore_client/models/artifact_distribution_response.rb +53 -43
  39. data/lib/pulpcore_client/models/artifact_response.rb +11 -1
  40. data/lib/pulpcore_client/models/composite_content_guard_response.rb +11 -1
  41. data/lib/pulpcore_client/models/content_guard_response.rb +11 -1
  42. data/lib/pulpcore_client/models/content_redirect_content_guard_response.rb +11 -1
  43. data/lib/pulpcore_client/models/distribution_response.rb +11 -1
  44. data/lib/pulpcore_client/models/domain_response.rb +11 -1
  45. data/lib/pulpcore_client/models/filesystem_export_response.rb +11 -1
  46. data/lib/pulpcore_client/models/filesystem_exporter_response.rb +11 -1
  47. data/lib/pulpcore_client/models/group_role_response.rb +11 -1
  48. data/lib/pulpcore_client/models/header_content_guard_response.rb +11 -1
  49. data/lib/pulpcore_client/models/import_response.rb +11 -1
  50. data/lib/pulpcore_client/models/minimal_task_response.rb +23 -3
  51. data/lib/pulpcore_client/models/multiple_artifact_content_response.rb +11 -1
  52. data/lib/pulpcore_client/models/publication_response.rb +11 -1
  53. data/lib/pulpcore_client/models/pulp_export_response.rb +11 -1
  54. data/lib/pulpcore_client/models/pulp_exporter_response.rb +11 -1
  55. data/lib/pulpcore_client/models/pulp_importer_response.rb +11 -1
  56. data/lib/pulpcore_client/models/rbac_content_guard_response.rb +11 -1
  57. data/lib/pulpcore_client/models/remote_response.rb +11 -11
  58. data/lib/pulpcore_client/models/repository_response.rb +11 -1
  59. data/lib/pulpcore_client/models/repository_version_response.rb +11 -1
  60. data/lib/pulpcore_client/models/role_response.rb +11 -1
  61. data/lib/pulpcore_client/models/signing_service_response.rb +11 -1
  62. data/lib/pulpcore_client/models/task_response.rb +23 -3
  63. data/lib/pulpcore_client/models/task_schedule_response.rb +11 -1
  64. data/lib/pulpcore_client/models/upload_detail_response.rb +11 -1
  65. data/lib/pulpcore_client/models/upload_response.rb +11 -1
  66. data/lib/pulpcore_client/models/upstream_pulp_response.rb +11 -11
  67. data/lib/pulpcore_client/models/user_role_response.rb +11 -1
  68. data/lib/pulpcore_client/models/worker_response.rb +11 -1
  69. data/lib/pulpcore_client/version.rb +1 -1
  70. data/spec/api/tasks_api_spec.rb +1 -1
  71. data/spec/models/access_policy_response_spec.rb +6 -0
  72. data/spec/models/artifact_distribution_response_spec.rb +12 -6
  73. data/spec/models/artifact_response_spec.rb +6 -0
  74. data/spec/models/composite_content_guard_response_spec.rb +6 -0
  75. data/spec/models/content_guard_response_spec.rb +6 -0
  76. data/spec/models/content_redirect_content_guard_response_spec.rb +6 -0
  77. data/spec/models/distribution_response_spec.rb +6 -0
  78. data/spec/models/domain_response_spec.rb +6 -0
  79. data/spec/models/filesystem_export_response_spec.rb +6 -0
  80. data/spec/models/filesystem_exporter_response_spec.rb +6 -0
  81. data/spec/models/group_role_response_spec.rb +6 -0
  82. data/spec/models/header_content_guard_response_spec.rb +6 -0
  83. data/spec/models/import_response_spec.rb +6 -0
  84. data/spec/models/minimal_task_response_spec.rb +12 -0
  85. data/spec/models/multiple_artifact_content_response_spec.rb +6 -0
  86. data/spec/models/publication_response_spec.rb +6 -0
  87. data/spec/models/pulp_export_response_spec.rb +6 -0
  88. data/spec/models/pulp_exporter_response_spec.rb +6 -0
  89. data/spec/models/pulp_importer_response_spec.rb +6 -0
  90. data/spec/models/rbac_content_guard_response_spec.rb +6 -0
  91. data/spec/models/remote_response_spec.rb +6 -6
  92. data/spec/models/repository_response_spec.rb +6 -0
  93. data/spec/models/repository_version_response_spec.rb +6 -0
  94. data/spec/models/role_response_spec.rb +6 -0
  95. data/spec/models/signing_service_response_spec.rb +6 -0
  96. data/spec/models/task_response_spec.rb +12 -0
  97. data/spec/models/task_schedule_response_spec.rb +6 -0
  98. data/spec/models/upload_detail_response_spec.rb +6 -0
  99. data/spec/models/upload_response_spec.rb +6 -0
  100. data/spec/models/upstream_pulp_response_spec.rb +6 -6
  101. data/spec/models/user_role_response_spec.rb +6 -0
  102. data/spec/models/worker_response_spec.rb +6 -0
  103. 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
  # A name for this domain.
24
27
  attr_accessor :name
25
28
 
@@ -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
  :'name' => :'name',
47
51
  :'description' => :'description',
48
52
  :'storage_class' => :'storage_class',
@@ -57,6 +61,7 @@ module PulpcoreClient
57
61
  {
58
62
  :'pulp_href' => :'String',
59
63
  :'pulp_created' => :'DateTime',
64
+ :'pulp_last_updated' => :'DateTime',
60
65
  :'name' => :'String',
61
66
  :'description' => :'String',
62
67
  :'storage_class' => :'StorageClassEnum',
@@ -96,6 +101,10 @@ module PulpcoreClient
96
101
  self.pulp_created = attributes[:'pulp_created']
97
102
  end
98
103
 
104
+ if attributes.key?(:'pulp_last_updated')
105
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
106
+ end
107
+
99
108
  if attributes.key?(:'name')
100
109
  self.name = attributes[:'name']
101
110
  end
@@ -190,6 +199,7 @@ module PulpcoreClient
190
199
  self.class == o.class &&
191
200
  pulp_href == o.pulp_href &&
192
201
  pulp_created == o.pulp_created &&
202
+ pulp_last_updated == o.pulp_last_updated &&
193
203
  name == o.name &&
194
204
  description == o.description &&
195
205
  storage_class == o.storage_class &&
@@ -207,7 +217,7 @@ module PulpcoreClient
207
217
  # Calculates hash code according to all attributes.
208
218
  # @return [Integer] Hash code
209
219
  def hash
210
- [pulp_href, pulp_created, name, description, storage_class, storage_settings, redirect_to_object_storage, hide_guarded_distributions].hash
220
+ [pulp_href, pulp_created, pulp_last_updated, name, description, storage_class, storage_settings, redirect_to_object_storage, hide_guarded_distributions].hash
211
221
  end
212
222
 
213
223
  # 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 URI of the task that ran the Export.
24
27
  attr_accessor :task
25
28
 
@@ -34,6 +37,7 @@ module PulpcoreClient
34
37
  {
35
38
  :'pulp_href' => :'pulp_href',
36
39
  :'pulp_created' => :'pulp_created',
40
+ :'pulp_last_updated' => :'pulp_last_updated',
37
41
  :'task' => :'task',
38
42
  :'exported_resources' => :'exported_resources',
39
43
  :'params' => :'params'
@@ -45,6 +49,7 @@ module PulpcoreClient
45
49
  {
46
50
  :'pulp_href' => :'String',
47
51
  :'pulp_created' => :'DateTime',
52
+ :'pulp_last_updated' => :'DateTime',
48
53
  :'task' => :'String',
49
54
  :'exported_resources' => :'Array<String>',
50
55
  :'params' => :'Object'
@@ -81,6 +86,10 @@ module PulpcoreClient
81
86
  self.pulp_created = attributes[:'pulp_created']
82
87
  end
83
88
 
89
+ if attributes.key?(:'pulp_last_updated')
90
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
91
+ end
92
+
84
93
  if attributes.key?(:'task')
85
94
  self.task = attributes[:'task']
86
95
  end
@@ -116,6 +125,7 @@ module PulpcoreClient
116
125
  self.class == o.class &&
117
126
  pulp_href == o.pulp_href &&
118
127
  pulp_created == o.pulp_created &&
128
+ pulp_last_updated == o.pulp_last_updated &&
119
129
  task == o.task &&
120
130
  exported_resources == o.exported_resources &&
121
131
  params == o.params
@@ -130,7 +140,7 @@ module PulpcoreClient
130
140
  # Calculates hash code according to all attributes.
131
141
  # @return [Integer] Hash code
132
142
  def hash
133
- [pulp_href, pulp_created, task, exported_resources, params].hash
143
+ [pulp_href, pulp_created, pulp_last_updated, task, exported_resources, params].hash
134
144
  end
135
145
 
136
146
  # 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
  # Unique name of the file system exporter.
24
27
  attr_accessor :name
25
28
 
@@ -34,6 +37,7 @@ module PulpcoreClient
34
37
  {
35
38
  :'pulp_href' => :'pulp_href',
36
39
  :'pulp_created' => :'pulp_created',
40
+ :'pulp_last_updated' => :'pulp_last_updated',
37
41
  :'name' => :'name',
38
42
  :'path' => :'path',
39
43
  :'method' => :'method'
@@ -45,6 +49,7 @@ module PulpcoreClient
45
49
  {
46
50
  :'pulp_href' => :'String',
47
51
  :'pulp_created' => :'DateTime',
52
+ :'pulp_last_updated' => :'DateTime',
48
53
  :'name' => :'String',
49
54
  :'path' => :'String',
50
55
  :'method' => :'MethodEnum'
@@ -80,6 +85,10 @@ module PulpcoreClient
80
85
  self.pulp_created = attributes[:'pulp_created']
81
86
  end
82
87
 
88
+ if attributes.key?(:'pulp_last_updated')
89
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
90
+ end
91
+
83
92
  if attributes.key?(:'name')
84
93
  self.name = attributes[:'name']
85
94
  end
@@ -123,6 +132,7 @@ module PulpcoreClient
123
132
  self.class == o.class &&
124
133
  pulp_href == o.pulp_href &&
125
134
  pulp_created == o.pulp_created &&
135
+ pulp_last_updated == o.pulp_last_updated &&
126
136
  name == o.name &&
127
137
  path == o.path &&
128
138
  method == o.method
@@ -137,7 +147,7 @@ module PulpcoreClient
137
147
  # Calculates hash code according to all attributes.
138
148
  # @return [Integer] Hash code
139
149
  def hash
140
- [pulp_href, pulp_created, name, path, method].hash
150
+ [pulp_href, pulp_created, pulp_last_updated, name, path, method].hash
141
151
  end
142
152
 
143
153
  # 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 :role
24
27
 
25
28
  # pulp_href of the object for which role permissions should be asserted. If set to 'null', permissions will act on the model-level.
@@ -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
  :'role' => :'role',
41
45
  :'content_object' => :'content_object',
42
46
  :'description' => :'description',
@@ -50,6 +54,7 @@ module PulpcoreClient
50
54
  {
51
55
  :'pulp_href' => :'String',
52
56
  :'pulp_created' => :'DateTime',
57
+ :'pulp_last_updated' => :'DateTime',
53
58
  :'role' => :'String',
54
59
  :'content_object' => :'String',
55
60
  :'description' => :'String',
@@ -89,6 +94,10 @@ module PulpcoreClient
89
94
  self.pulp_created = attributes[:'pulp_created']
90
95
  end
91
96
 
97
+ if attributes.key?(:'pulp_last_updated')
98
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
99
+ end
100
+
92
101
  if attributes.key?(:'role')
93
102
  self.role = attributes[:'role']
94
103
  end
@@ -137,6 +146,7 @@ module PulpcoreClient
137
146
  self.class == o.class &&
138
147
  pulp_href == o.pulp_href &&
139
148
  pulp_created == o.pulp_created &&
149
+ pulp_last_updated == o.pulp_last_updated &&
140
150
  role == o.role &&
141
151
  content_object == o.content_object &&
142
152
  description == o.description &&
@@ -153,7 +163,7 @@ module PulpcoreClient
153
163
  # Calculates hash code according to all attributes.
154
164
  # @return [Integer] Hash code
155
165
  def hash
156
- [pulp_href, pulp_created, role, content_object, description, permissions, domain].hash
166
+ [pulp_href, pulp_created, pulp_last_updated, role, content_object, description, permissions, domain].hash
157
167
  end
158
168
 
159
169
  # 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 unique name.
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
  :'description' => :'description',
45
49
  :'header_name' => :'header_name',
@@ -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
  :'description' => :'String',
58
63
  :'header_name' => :'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
@@ -148,6 +157,7 @@ module PulpcoreClient
148
157
  self.class == o.class &&
149
158
  pulp_href == o.pulp_href &&
150
159
  pulp_created == o.pulp_created &&
160
+ pulp_last_updated == o.pulp_last_updated &&
151
161
  name == o.name &&
152
162
  description == o.description &&
153
163
  header_name == o.header_name &&
@@ -164,7 +174,7 @@ module PulpcoreClient
164
174
  # Calculates hash code according to all attributes.
165
175
  # @return [Integer] Hash code
166
176
  def hash
167
- [pulp_href, pulp_created, name, description, header_name, header_value, jq_filter].hash
177
+ [pulp_href, pulp_created, pulp_last_updated, name, description, header_name, header_value, jq_filter].hash
168
178
  end
169
179
 
170
180
  # 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 URI of the Task that ran the Import.
24
27
  attr_accessor :task
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
  :'task' => :'task',
35
39
  :'params' => :'params'
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
  :'task' => :'String',
45
50
  :'params' => :'Object'
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?(:'task')
79
88
  self.task = attributes[:'task']
80
89
  end
@@ -114,6 +123,7 @@ module PulpcoreClient
114
123
  self.class == o.class &&
115
124
  pulp_href == o.pulp_href &&
116
125
  pulp_created == o.pulp_created &&
126
+ pulp_last_updated == o.pulp_last_updated &&
117
127
  task == o.task &&
118
128
  params == o.params
119
129
  end
@@ -127,7 +137,7 @@ module PulpcoreClient
127
137
  # Calculates hash code according to all attributes.
128
138
  # @return [Integer] Hash code
129
139
  def hash
130
- [pulp_href, pulp_created, task, params].hash
140
+ [pulp_href, pulp_created, pulp_last_updated, task, params].hash
131
141
  end
132
142
 
133
143
  # Builds the object from hash
@@ -20,16 +20,22 @@ 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 task.
24
27
  attr_accessor :name
25
28
 
26
29
  # The current state of the task. The possible values include: 'waiting', 'skipped', 'running', 'completed', 'failed', 'canceled' and 'canceling'.
27
30
  attr_accessor :state
28
31
 
29
- # Timestamp of the when this task started execution.
32
+ # Timestamp of when this task was identified ready for pickup.
33
+ attr_accessor :unblocked_at
34
+
35
+ # Timestamp of when this task started execution.
30
36
  attr_accessor :started_at
31
37
 
32
- # Timestamp of the when this task stopped execution.
38
+ # Timestamp of when this task stopped execution.
33
39
  attr_accessor :finished_at
34
40
 
35
41
  # The worker associated with this task. This field is empty if a worker is not yet assigned.
@@ -40,8 +46,10 @@ module PulpcoreClient
40
46
  {
41
47
  :'pulp_href' => :'pulp_href',
42
48
  :'pulp_created' => :'pulp_created',
49
+ :'pulp_last_updated' => :'pulp_last_updated',
43
50
  :'name' => :'name',
44
51
  :'state' => :'state',
52
+ :'unblocked_at' => :'unblocked_at',
45
53
  :'started_at' => :'started_at',
46
54
  :'finished_at' => :'finished_at',
47
55
  :'worker' => :'worker'
@@ -53,8 +61,10 @@ module PulpcoreClient
53
61
  {
54
62
  :'pulp_href' => :'String',
55
63
  :'pulp_created' => :'DateTime',
64
+ :'pulp_last_updated' => :'DateTime',
56
65
  :'name' => :'String',
57
66
  :'state' => :'String',
67
+ :'unblocked_at' => :'DateTime',
58
68
  :'started_at' => :'DateTime',
59
69
  :'finished_at' => :'DateTime',
60
70
  :'worker' => :'String'
@@ -90,6 +100,10 @@ module PulpcoreClient
90
100
  self.pulp_created = attributes[:'pulp_created']
91
101
  end
92
102
 
103
+ if attributes.key?(:'pulp_last_updated')
104
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
105
+ end
106
+
93
107
  if attributes.key?(:'name')
94
108
  self.name = attributes[:'name']
95
109
  end
@@ -98,6 +112,10 @@ module PulpcoreClient
98
112
  self.state = attributes[:'state']
99
113
  end
100
114
 
115
+ if attributes.key?(:'unblocked_at')
116
+ self.unblocked_at = attributes[:'unblocked_at']
117
+ end
118
+
101
119
  if attributes.key?(:'started_at')
102
120
  self.started_at = attributes[:'started_at']
103
121
  end
@@ -136,8 +154,10 @@ module PulpcoreClient
136
154
  self.class == o.class &&
137
155
  pulp_href == o.pulp_href &&
138
156
  pulp_created == o.pulp_created &&
157
+ pulp_last_updated == o.pulp_last_updated &&
139
158
  name == o.name &&
140
159
  state == o.state &&
160
+ unblocked_at == o.unblocked_at &&
141
161
  started_at == o.started_at &&
142
162
  finished_at == o.finished_at &&
143
163
  worker == o.worker
@@ -152,7 +172,7 @@ module PulpcoreClient
152
172
  # Calculates hash code according to all attributes.
153
173
  # @return [Integer] Hash code
154
174
  def hash
155
- [pulp_href, pulp_created, name, state, started_at, finished_at, worker].hash
175
+ [pulp_href, pulp_created, pulp_last_updated, name, state, unblocked_at, started_at, finished_at, worker].hash
156
176
  end
157
177
 
158
178
  # 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 dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
24
27
  attr_accessor :artifacts
25
28
 
@@ -28,6 +31,7 @@ module PulpcoreClient
28
31
  {
29
32
  :'pulp_href' => :'pulp_href',
30
33
  :'pulp_created' => :'pulp_created',
34
+ :'pulp_last_updated' => :'pulp_last_updated',
31
35
  :'artifacts' => :'artifacts'
32
36
  }
33
37
  end
@@ -37,6 +41,7 @@ module PulpcoreClient
37
41
  {
38
42
  :'pulp_href' => :'String',
39
43
  :'pulp_created' => :'DateTime',
44
+ :'pulp_last_updated' => :'DateTime',
40
45
  :'artifacts' => :'Object'
41
46
  }
42
47
  end
@@ -70,6 +75,10 @@ module PulpcoreClient
70
75
  self.pulp_created = attributes[:'pulp_created']
71
76
  end
72
77
 
78
+ if attributes.key?(:'pulp_last_updated')
79
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
80
+ end
81
+
73
82
  if attributes.key?(:'artifacts')
74
83
  self.artifacts = attributes[:'artifacts']
75
84
  end
@@ -100,6 +109,7 @@ module PulpcoreClient
100
109
  self.class == o.class &&
101
110
  pulp_href == o.pulp_href &&
102
111
  pulp_created == o.pulp_created &&
112
+ pulp_last_updated == o.pulp_last_updated &&
103
113
  artifacts == o.artifacts
104
114
  end
105
115
 
@@ -112,7 +122,7 @@ module PulpcoreClient
112
122
  # Calculates hash code according to all attributes.
113
123
  # @return [Integer] Hash code
114
124
  def hash
115
- [pulp_href, pulp_created, artifacts].hash
125
+ [pulp_href, pulp_created, pulp_last_updated, artifacts].hash
116
126
  end
117
127
 
118
128
  # 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 :repository_version
24
27
 
25
28
  # A URI of the repository to be published.
@@ -30,6 +33,7 @@ module PulpcoreClient
30
33
  {
31
34
  :'pulp_href' => :'pulp_href',
32
35
  :'pulp_created' => :'pulp_created',
36
+ :'pulp_last_updated' => :'pulp_last_updated',
33
37
  :'repository_version' => :'repository_version',
34
38
  :'repository' => :'repository'
35
39
  }
@@ -40,6 +44,7 @@ module PulpcoreClient
40
44
  {
41
45
  :'pulp_href' => :'String',
42
46
  :'pulp_created' => :'DateTime',
47
+ :'pulp_last_updated' => :'DateTime',
43
48
  :'repository_version' => :'String',
44
49
  :'repository' => :'String'
45
50
  }
@@ -74,6 +79,10 @@ module PulpcoreClient
74
79
  self.pulp_created = attributes[:'pulp_created']
75
80
  end
76
81
 
82
+ if attributes.key?(:'pulp_last_updated')
83
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
84
+ end
85
+
77
86
  if attributes.key?(:'repository_version')
78
87
  self.repository_version = attributes[:'repository_version']
79
88
  end
@@ -103,6 +112,7 @@ module PulpcoreClient
103
112
  self.class == o.class &&
104
113
  pulp_href == o.pulp_href &&
105
114
  pulp_created == o.pulp_created &&
115
+ pulp_last_updated == o.pulp_last_updated &&
106
116
  repository_version == o.repository_version &&
107
117
  repository == o.repository
108
118
  end
@@ -116,7 +126,7 @@ module PulpcoreClient
116
126
  # Calculates hash code according to all attributes.
117
127
  # @return [Integer] Hash code
118
128
  def hash
119
- [pulp_href, pulp_created, repository_version, repository].hash
129
+ [pulp_href, pulp_created, pulp_last_updated, repository_version, repository].hash
120
130
  end
121
131
 
122
132
  # 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 URI of the task that ran the Export.
24
27
  attr_accessor :task
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
  :'task' => :'task',
44
48
  :'exported_resources' => :'exported_resources',
45
49
  :'params' => :'params',
@@ -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
  :'task' => :'String',
57
62
  :'exported_resources' => :'Array<String>',
58
63
  :'params' => :'Object',
@@ -91,6 +96,10 @@ module PulpcoreClient
91
96
  self.pulp_created = attributes[:'pulp_created']
92
97
  end
93
98
 
99
+ if attributes.key?(:'pulp_last_updated')
100
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
101
+ end
102
+
94
103
  if attributes.key?(:'task')
95
104
  self.task = attributes[:'task']
96
105
  end
@@ -134,6 +143,7 @@ module PulpcoreClient
134
143
  self.class == o.class &&
135
144
  pulp_href == o.pulp_href &&
136
145
  pulp_created == o.pulp_created &&
146
+ pulp_last_updated == o.pulp_last_updated &&
137
147
  task == o.task &&
138
148
  exported_resources == o.exported_resources &&
139
149
  params == o.params &&
@@ -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, task, exported_resources, params, output_file_info, toc_info].hash
163
+ [pulp_href, pulp_created, pulp_last_updated, task, exported_resources, params, output_file_info, toc_info].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
  # Unique name of the file system exporter.
24
27
  attr_accessor :name
25
28
 
@@ -36,6 +39,7 @@ module PulpcoreClient
36
39
  {
37
40
  :'pulp_href' => :'pulp_href',
38
41
  :'pulp_created' => :'pulp_created',
42
+ :'pulp_last_updated' => :'pulp_last_updated',
39
43
  :'name' => :'name',
40
44
  :'path' => :'path',
41
45
  :'repositories' => :'repositories',
@@ -48,6 +52,7 @@ module PulpcoreClient
48
52
  {
49
53
  :'pulp_href' => :'String',
50
54
  :'pulp_created' => :'DateTime',
55
+ :'pulp_last_updated' => :'DateTime',
51
56
  :'name' => :'String',
52
57
  :'path' => :'String',
53
58
  :'repositories' => :'Array<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
@@ -139,6 +148,7 @@ module PulpcoreClient
139
148
  self.class == o.class &&
140
149
  pulp_href == o.pulp_href &&
141
150
  pulp_created == o.pulp_created &&
151
+ pulp_last_updated == o.pulp_last_updated &&
142
152
  name == o.name &&
143
153
  path == o.path &&
144
154
  repositories == o.repositories &&
@@ -154,7 +164,7 @@ module PulpcoreClient
154
164
  # Calculates hash code according to all attributes.
155
165
  # @return [Integer] Hash code
156
166
  def hash
157
- [pulp_href, pulp_created, name, path, repositories, last_export].hash
167
+ [pulp_href, pulp_created, pulp_last_updated, name, path, repositories, last_export].hash
158
168
  end
159
169
 
160
170
  # 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
  # Unique name of the Importer.
24
27
  attr_accessor :name
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
  :'name' => :'name',
35
39
  :'repo_mapping' => :'repo_mapping'
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
  :'name' => :'String',
45
50
  :'repo_mapping' => :'Hash<String, String>'
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?(:'name')
79
88
  self.name = attributes[:'name']
80
89
  end
@@ -111,6 +120,7 @@ module PulpcoreClient
111
120
  self.class == o.class &&
112
121
  pulp_href == o.pulp_href &&
113
122
  pulp_created == o.pulp_created &&
123
+ pulp_last_updated == o.pulp_last_updated &&
114
124
  name == o.name &&
115
125
  repo_mapping == o.repo_mapping
116
126
  end
@@ -124,7 +134,7 @@ module PulpcoreClient
124
134
  # Calculates hash code according to all attributes.
125
135
  # @return [Integer] Hash code
126
136
  def hash
127
- [pulp_href, pulp_created, name, repo_mapping].hash
137
+ [pulp_href, pulp_created, pulp_last_updated, name, repo_mapping].hash
128
138
  end
129
139
 
130
140
  # Builds the object from hash