pulp_container_client 2.19.3 → 2.19.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -7
  3. data/docs/ContainerBlobResponse.md +2 -0
  4. data/docs/ContainerContainerDistribution.md +9 -9
  5. data/docs/ContainerContainerDistributionResponse.md +12 -10
  6. data/docs/ContainerContainerNamespaceResponse.md +2 -0
  7. data/docs/ContainerContainerPullThroughDistribution.md +9 -9
  8. data/docs/ContainerContainerPullThroughDistributionResponse.md +12 -10
  9. data/docs/ContainerContainerPullThroughRemoteResponse.md +2 -2
  10. data/docs/ContainerContainerPullThroughRemoteResponseHiddenFields.md +2 -2
  11. data/docs/ContainerContainerPushRepository.md +5 -5
  12. data/docs/ContainerContainerPushRepositoryResponse.md +12 -10
  13. data/docs/ContainerContainerRemoteResponse.md +2 -2
  14. data/docs/ContainerContainerRepositoryResponse.md +2 -0
  15. data/docs/ContainerManifestResponse.md +2 -0
  16. data/docs/ContainerManifestSignatureResponse.md +2 -0
  17. data/docs/ContainerTagResponse.md +2 -0
  18. data/docs/ContentBlobsApi.md +1 -1
  19. data/docs/ContentManifestsApi.md +1 -1
  20. data/docs/ContentSignaturesApi.md +1 -1
  21. data/docs/ContentTagsApi.md +1 -1
  22. data/docs/DistributionsContainerApi.md +1 -1
  23. data/docs/DistributionsPullThroughApi.md +1 -1
  24. data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
  25. data/docs/PaginatedcontainerBlobResponseList.md +2 -2
  26. data/docs/PaginatedcontainerContainerDistributionResponseList.md +2 -2
  27. data/docs/PaginatedcontainerContainerNamespaceResponseList.md +2 -2
  28. data/docs/PaginatedcontainerContainerPullThroughDistributionResponseList.md +2 -2
  29. data/docs/PaginatedcontainerContainerPullThroughRemoteResponseList.md +2 -2
  30. data/docs/PaginatedcontainerContainerPushRepositoryResponseList.md +2 -2
  31. data/docs/PaginatedcontainerContainerRemoteResponseList.md +2 -2
  32. data/docs/PaginatedcontainerContainerRepositoryResponseList.md +2 -2
  33. data/docs/PaginatedcontainerManifestResponseList.md +2 -2
  34. data/docs/PaginatedcontainerManifestSignatureResponseList.md +2 -2
  35. data/docs/PaginatedcontainerTagResponseList.md +2 -2
  36. data/docs/PatchedcontainerContainerDistribution.md +9 -9
  37. data/docs/PatchedcontainerContainerPullThroughDistribution.md +9 -9
  38. data/docs/PatchedcontainerContainerPushRepository.md +5 -5
  39. data/docs/PulpContainerNamespacesApi.md +1 -1
  40. data/docs/RemotesContainerApi.md +1 -1
  41. data/docs/RemotesPullThroughApi.md +1 -1
  42. data/docs/RepositoriesContainerApi.md +1 -1
  43. data/docs/RepositoriesContainerPushApi.md +1 -1
  44. data/docs/RepositoriesContainerPushVersionsApi.md +1 -1
  45. data/docs/RepositoriesContainerVersionsApi.md +1 -1
  46. data/docs/RepositoryVersionResponse.md +2 -0
  47. data/docs/TokenApi.md +1 -1
  48. data/lib/pulp_container_client/configuration.rb +2 -2
  49. data/lib/pulp_container_client/models/container_blob_response.rb +11 -1
  50. data/lib/pulp_container_client/models/container_container_distribution.rb +36 -36
  51. data/lib/pulp_container_client/models/container_container_distribution_response.rb +52 -42
  52. data/lib/pulp_container_client/models/container_container_namespace_response.rb +11 -1
  53. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +36 -36
  54. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +52 -42
  55. data/lib/pulp_container_client/models/container_container_pull_through_remote_response.rb +11 -11
  56. data/lib/pulp_container_client/models/container_container_pull_through_remote_response_hidden_fields.rb +10 -0
  57. data/lib/pulp_container_client/models/container_container_push_repository.rb +39 -39
  58. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +49 -39
  59. data/lib/pulp_container_client/models/container_container_remote_response.rb +11 -11
  60. data/lib/pulp_container_client/models/container_container_repository_response.rb +11 -1
  61. data/lib/pulp_container_client/models/container_manifest_response.rb +11 -1
  62. data/lib/pulp_container_client/models/container_manifest_signature_response.rb +11 -1
  63. data/lib/pulp_container_client/models/container_tag_response.rb +11 -1
  64. data/lib/pulp_container_client/models/paginated_repository_version_response_list.rb +10 -0
  65. data/lib/pulp_container_client/models/paginatedcontainer_blob_response_list.rb +10 -0
  66. data/lib/pulp_container_client/models/paginatedcontainer_container_distribution_response_list.rb +10 -0
  67. data/lib/pulp_container_client/models/paginatedcontainer_container_namespace_response_list.rb +10 -0
  68. data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_distribution_response_list.rb +10 -0
  69. data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_remote_response_list.rb +10 -0
  70. data/lib/pulp_container_client/models/paginatedcontainer_container_push_repository_response_list.rb +10 -0
  71. data/lib/pulp_container_client/models/paginatedcontainer_container_remote_response_list.rb +10 -0
  72. data/lib/pulp_container_client/models/paginatedcontainer_container_repository_response_list.rb +10 -0
  73. data/lib/pulp_container_client/models/paginatedcontainer_manifest_response_list.rb +10 -0
  74. data/lib/pulp_container_client/models/paginatedcontainer_manifest_signature_response_list.rb +10 -0
  75. data/lib/pulp_container_client/models/paginatedcontainer_tag_response_list.rb +10 -0
  76. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +36 -36
  77. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +36 -36
  78. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +39 -39
  79. data/lib/pulp_container_client/models/repository_version_response.rb +11 -1
  80. data/lib/pulp_container_client/version.rb +1 -1
  81. data/lib/pulp_container_client.rb +0 -2
  82. data/spec/configuration_spec.rb +3 -3
  83. data/spec/models/container_blob_response_spec.rb +6 -0
  84. data/spec/models/container_container_distribution_response_spec.rb +12 -6
  85. data/spec/models/container_container_distribution_spec.rb +5 -5
  86. data/spec/models/container_container_namespace_response_spec.rb +6 -0
  87. data/spec/models/container_container_pull_through_distribution_response_spec.rb +12 -6
  88. data/spec/models/container_container_pull_through_distribution_spec.rb +5 -5
  89. data/spec/models/container_container_pull_through_remote_response_spec.rb +6 -6
  90. data/spec/models/container_container_push_repository_response_spec.rb +12 -6
  91. data/spec/models/container_container_push_repository_spec.rb +4 -4
  92. data/spec/models/container_container_remote_response_spec.rb +6 -6
  93. data/spec/models/container_container_repository_response_spec.rb +6 -0
  94. data/spec/models/container_manifest_response_spec.rb +6 -0
  95. data/spec/models/container_manifest_signature_response_spec.rb +6 -0
  96. data/spec/models/container_tag_response_spec.rb +6 -0
  97. data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
  98. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +5 -5
  99. data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
  100. data/spec/models/repository_version_response_spec.rb +6 -0
  101. metadata +76 -84
  102. data/docs/IndexDynamicApi.md +0 -50
  103. data/docs/IndexStaticApi.md +0 -50
  104. data/lib/pulp_container_client/api/index_dynamic_api.rb +0 -74
  105. data/lib/pulp_container_client/api/index_static_api.rb +0 -74
  106. data/spec/api/index_dynamic_api_spec.rb +0 -45
  107. data/spec/api/index_static_api_spec.rb +0 -45
@@ -18,38 +18,42 @@ module PulpContainerClient
18
18
  # Retain X versions of the repository. Default is null which retains all versions.
19
19
  attr_accessor :retain_repo_versions
20
20
 
21
+ # 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.
22
+ attr_accessor :pulp_last_updated
23
+
24
+ # An optional description.
25
+ attr_accessor :description
26
+
21
27
  # A reference to an associated signing service.
22
28
  attr_accessor :manifest_signing_service
23
29
 
24
- # A unique name for this repository.
25
- attr_accessor :name
26
-
27
- attr_accessor :latest_version_href
30
+ attr_accessor :versions_href
28
31
 
29
32
  attr_accessor :pulp_href
30
33
 
31
- attr_accessor :versions_href
34
+ attr_accessor :latest_version_href
32
35
 
33
- # An optional description.
34
- attr_accessor :description
36
+ attr_accessor :pulp_labels
35
37
 
36
38
  # Timestamp of creation.
37
39
  attr_accessor :pulp_created
38
40
 
39
- attr_accessor :pulp_labels
41
+ # A unique name for this repository.
42
+ attr_accessor :name
40
43
 
41
44
  # Attribute mapping from ruby-style variable name to JSON key.
42
45
  def self.attribute_map
43
46
  {
44
47
  :'retain_repo_versions' => :'retain_repo_versions',
48
+ :'pulp_last_updated' => :'pulp_last_updated',
49
+ :'description' => :'description',
45
50
  :'manifest_signing_service' => :'manifest_signing_service',
46
- :'name' => :'name',
47
- :'latest_version_href' => :'latest_version_href',
48
- :'pulp_href' => :'pulp_href',
49
51
  :'versions_href' => :'versions_href',
50
- :'description' => :'description',
52
+ :'pulp_href' => :'pulp_href',
53
+ :'latest_version_href' => :'latest_version_href',
54
+ :'pulp_labels' => :'pulp_labels',
51
55
  :'pulp_created' => :'pulp_created',
52
- :'pulp_labels' => :'pulp_labels'
56
+ :'name' => :'name'
53
57
  }
54
58
  end
55
59
 
@@ -57,14 +61,15 @@ module PulpContainerClient
57
61
  def self.openapi_types
58
62
  {
59
63
  :'retain_repo_versions' => :'Integer',
64
+ :'pulp_last_updated' => :'DateTime',
65
+ :'description' => :'String',
60
66
  :'manifest_signing_service' => :'String',
61
- :'name' => :'String',
62
- :'latest_version_href' => :'String',
63
- :'pulp_href' => :'String',
64
67
  :'versions_href' => :'String',
65
- :'description' => :'String',
68
+ :'pulp_href' => :'String',
69
+ :'latest_version_href' => :'String',
70
+ :'pulp_labels' => :'Hash<String, String>',
66
71
  :'pulp_created' => :'DateTime',
67
- :'pulp_labels' => :'Hash<String, String>'
72
+ :'name' => :'String'
68
73
  }
69
74
  end
70
75
 
@@ -72,8 +77,8 @@ module PulpContainerClient
72
77
  def self.openapi_nullable
73
78
  Set.new([
74
79
  :'retain_repo_versions',
75
- :'manifest_signing_service',
76
80
  :'description',
81
+ :'manifest_signing_service',
77
82
  ])
78
83
  end
79
84
 
@@ -96,32 +101,28 @@ module PulpContainerClient
96
101
  self.retain_repo_versions = attributes[:'retain_repo_versions']
97
102
  end
98
103
 
99
- if attributes.key?(:'manifest_signing_service')
100
- self.manifest_signing_service = attributes[:'manifest_signing_service']
104
+ if attributes.key?(:'pulp_last_updated')
105
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
101
106
  end
102
107
 
103
- if attributes.key?(:'name')
104
- self.name = attributes[:'name']
105
- end
106
-
107
- if attributes.key?(:'latest_version_href')
108
- self.latest_version_href = attributes[:'latest_version_href']
108
+ if attributes.key?(:'description')
109
+ self.description = attributes[:'description']
109
110
  end
110
111
 
111
- if attributes.key?(:'pulp_href')
112
- self.pulp_href = attributes[:'pulp_href']
112
+ if attributes.key?(:'manifest_signing_service')
113
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
113
114
  end
114
115
 
115
116
  if attributes.key?(:'versions_href')
116
117
  self.versions_href = attributes[:'versions_href']
117
118
  end
118
119
 
119
- if attributes.key?(:'description')
120
- self.description = attributes[:'description']
120
+ if attributes.key?(:'pulp_href')
121
+ self.pulp_href = attributes[:'pulp_href']
121
122
  end
122
123
 
123
- if attributes.key?(:'pulp_created')
124
- self.pulp_created = attributes[:'pulp_created']
124
+ if attributes.key?(:'latest_version_href')
125
+ self.latest_version_href = attributes[:'latest_version_href']
125
126
  end
126
127
 
127
128
  if attributes.key?(:'pulp_labels')
@@ -129,6 +130,14 @@ module PulpContainerClient
129
130
  self.pulp_labels = value
130
131
  end
131
132
  end
133
+
134
+ if attributes.key?(:'pulp_created')
135
+ self.pulp_created = attributes[:'pulp_created']
136
+ end
137
+
138
+ if attributes.key?(:'name')
139
+ self.name = attributes[:'name']
140
+ end
132
141
  end
133
142
 
134
143
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -170,14 +179,15 @@ module PulpContainerClient
170
179
  return true if self.equal?(o)
171
180
  self.class == o.class &&
172
181
  retain_repo_versions == o.retain_repo_versions &&
182
+ pulp_last_updated == o.pulp_last_updated &&
183
+ description == o.description &&
173
184
  manifest_signing_service == o.manifest_signing_service &&
174
- name == o.name &&
175
- latest_version_href == o.latest_version_href &&
176
- pulp_href == o.pulp_href &&
177
185
  versions_href == o.versions_href &&
178
- description == o.description &&
186
+ pulp_href == o.pulp_href &&
187
+ latest_version_href == o.latest_version_href &&
188
+ pulp_labels == o.pulp_labels &&
179
189
  pulp_created == o.pulp_created &&
180
- pulp_labels == o.pulp_labels
190
+ name == o.name
181
191
  end
182
192
 
183
193
  # @see the `==` method
@@ -189,7 +199,7 @@ module PulpContainerClient
189
199
  # Calculates hash code according to all attributes.
190
200
  # @return [Integer] Hash code
191
201
  def hash
192
- [retain_repo_versions, manifest_signing_service, name, latest_version_href, pulp_href, versions_href, description, pulp_created, pulp_labels].hash
202
+ [retain_repo_versions, pulp_last_updated, description, manifest_signing_service, versions_href, pulp_href, latest_version_href, pulp_labels, pulp_created, name].hash
193
203
  end
194
204
 
195
205
  # Builds the object from hash
@@ -20,6 +20,9 @@ module PulpContainerClient
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 PulpContainerClient
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
 
@@ -90,6 +90,7 @@ module PulpContainerClient
90
90
  {
91
91
  :'pulp_href' => :'pulp_href',
92
92
  :'pulp_created' => :'pulp_created',
93
+ :'pulp_last_updated' => :'pulp_last_updated',
93
94
  :'name' => :'name',
94
95
  :'url' => :'url',
95
96
  :'ca_cert' => :'ca_cert',
@@ -97,7 +98,6 @@ module PulpContainerClient
97
98
  :'tls_validation' => :'tls_validation',
98
99
  :'proxy_url' => :'proxy_url',
99
100
  :'pulp_labels' => :'pulp_labels',
100
- :'pulp_last_updated' => :'pulp_last_updated',
101
101
  :'download_concurrency' => :'download_concurrency',
102
102
  :'max_retries' => :'max_retries',
103
103
  :'policy' => :'policy',
@@ -120,6 +120,7 @@ module PulpContainerClient
120
120
  {
121
121
  :'pulp_href' => :'String',
122
122
  :'pulp_created' => :'DateTime',
123
+ :'pulp_last_updated' => :'DateTime',
123
124
  :'name' => :'String',
124
125
  :'url' => :'String',
125
126
  :'ca_cert' => :'String',
@@ -127,7 +128,6 @@ module PulpContainerClient
127
128
  :'tls_validation' => :'Boolean',
128
129
  :'proxy_url' => :'String',
129
130
  :'pulp_labels' => :'Hash<String, String>',
130
- :'pulp_last_updated' => :'DateTime',
131
131
  :'download_concurrency' => :'Integer',
132
132
  :'max_retries' => :'Integer',
133
133
  :'policy' => :'Policy762Enum',
@@ -186,6 +186,10 @@ module PulpContainerClient
186
186
  self.pulp_created = attributes[:'pulp_created']
187
187
  end
188
188
 
189
+ if attributes.key?(:'pulp_last_updated')
190
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
191
+ end
192
+
189
193
  if attributes.key?(:'name')
190
194
  self.name = attributes[:'name']
191
195
  end
@@ -216,10 +220,6 @@ module PulpContainerClient
216
220
  end
217
221
  end
218
222
 
219
- if attributes.key?(:'pulp_last_updated')
220
- self.pulp_last_updated = attributes[:'pulp_last_updated']
221
- end
222
-
223
223
  if attributes.key?(:'download_concurrency')
224
224
  self.download_concurrency = attributes[:'download_concurrency']
225
225
  end
@@ -395,6 +395,7 @@ module PulpContainerClient
395
395
  self.class == o.class &&
396
396
  pulp_href == o.pulp_href &&
397
397
  pulp_created == o.pulp_created &&
398
+ pulp_last_updated == o.pulp_last_updated &&
398
399
  name == o.name &&
399
400
  url == o.url &&
400
401
  ca_cert == o.ca_cert &&
@@ -402,7 +403,6 @@ module PulpContainerClient
402
403
  tls_validation == o.tls_validation &&
403
404
  proxy_url == o.proxy_url &&
404
405
  pulp_labels == o.pulp_labels &&
405
- pulp_last_updated == o.pulp_last_updated &&
406
406
  download_concurrency == o.download_concurrency &&
407
407
  max_retries == o.max_retries &&
408
408
  policy == o.policy &&
@@ -428,7 +428,7 @@ module PulpContainerClient
428
428
  # Calculates hash code according to all attributes.
429
429
  # @return [Integer] Hash code
430
430
  def hash
431
- [pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, pulp_last_updated, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, hidden_fields, upstream_name, include_tags, exclude_tags, sigstore].hash
431
+ [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, upstream_name, include_tags, exclude_tags, sigstore].hash
432
432
  end
433
433
 
434
434
  # Builds the object from hash
@@ -20,6 +20,9 @@ module PulpContainerClient
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
@@ -46,6 +49,7 @@ module PulpContainerClient
46
49
  {
47
50
  :'pulp_href' => :'pulp_href',
48
51
  :'pulp_created' => :'pulp_created',
52
+ :'pulp_last_updated' => :'pulp_last_updated',
49
53
  :'versions_href' => :'versions_href',
50
54
  :'pulp_labels' => :'pulp_labels',
51
55
  :'latest_version_href' => :'latest_version_href',
@@ -62,6 +66,7 @@ module PulpContainerClient
62
66
  {
63
67
  :'pulp_href' => :'String',
64
68
  :'pulp_created' => :'DateTime',
69
+ :'pulp_last_updated' => :'DateTime',
65
70
  :'versions_href' => :'String',
66
71
  :'pulp_labels' => :'Hash<String, String>',
67
72
  :'latest_version_href' => :'String',
@@ -106,6 +111,10 @@ module PulpContainerClient
106
111
  self.pulp_created = attributes[:'pulp_created']
107
112
  end
108
113
 
114
+ if attributes.key?(:'pulp_last_updated')
115
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
116
+ end
117
+
109
118
  if attributes.key?(:'versions_href')
110
119
  self.versions_href = attributes[:'versions_href']
111
120
  end
@@ -181,6 +190,7 @@ module PulpContainerClient
181
190
  self.class == o.class &&
182
191
  pulp_href == o.pulp_href &&
183
192
  pulp_created == o.pulp_created &&
193
+ pulp_last_updated == o.pulp_last_updated &&
184
194
  versions_href == o.versions_href &&
185
195
  pulp_labels == o.pulp_labels &&
186
196
  latest_version_href == o.latest_version_href &&
@@ -200,7 +210,7 @@ module PulpContainerClient
200
210
  # Calculates hash code according to all attributes.
201
211
  # @return [Integer] Hash code
202
212
  def hash
203
- [pulp_href, pulp_created, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, manifest_signing_service].hash
213
+ [pulp_href, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, manifest_signing_service].hash
204
214
  end
205
215
 
206
216
  # Builds the object from hash
@@ -20,6 +20,9 @@ module PulpContainerClient
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
  # Artifact file representing the physical content
24
27
  attr_accessor :artifact
25
28
 
@@ -58,6 +61,7 @@ module PulpContainerClient
58
61
  {
59
62
  :'pulp_href' => :'pulp_href',
60
63
  :'pulp_created' => :'pulp_created',
64
+ :'pulp_last_updated' => :'pulp_last_updated',
61
65
  :'artifact' => :'artifact',
62
66
  :'digest' => :'digest',
63
67
  :'schema_version' => :'schema_version',
@@ -77,6 +81,7 @@ module PulpContainerClient
77
81
  {
78
82
  :'pulp_href' => :'String',
79
83
  :'pulp_created' => :'DateTime',
84
+ :'pulp_last_updated' => :'DateTime',
80
85
  :'artifact' => :'String',
81
86
  :'digest' => :'String',
82
87
  :'schema_version' => :'Integer',
@@ -120,6 +125,10 @@ module PulpContainerClient
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?(:'artifact')
124
133
  self.artifact = attributes[:'artifact']
125
134
  end
@@ -223,6 +232,7 @@ module PulpContainerClient
223
232
  self.class == o.class &&
224
233
  pulp_href == o.pulp_href &&
225
234
  pulp_created == o.pulp_created &&
235
+ pulp_last_updated == o.pulp_last_updated &&
226
236
  artifact == o.artifact &&
227
237
  digest == o.digest &&
228
238
  schema_version == o.schema_version &&
@@ -245,7 +255,7 @@ module PulpContainerClient
245
255
  # Calculates hash code according to all attributes.
246
256
  # @return [Integer] Hash code
247
257
  def hash
248
- [pulp_href, pulp_created, artifact, digest, schema_version, media_type, listed_manifests, config_blob, blobs, annotations, labels, is_bootable, is_flatpak].hash
258
+ [pulp_href, pulp_created, pulp_last_updated, artifact, digest, schema_version, media_type, listed_manifests, config_blob, blobs, annotations, labels, is_bootable, is_flatpak].hash
249
259
  end
250
260
 
251
261
  # Builds the object from hash
@@ -20,6 +20,9 @@ module PulpContainerClient
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
  # Signature name in the format of `digest_algo:manifest_digest@random_32_chars`
24
27
  attr_accessor :name
25
28
 
@@ -46,6 +49,7 @@ module PulpContainerClient
46
49
  {
47
50
  :'pulp_href' => :'pulp_href',
48
51
  :'pulp_created' => :'pulp_created',
52
+ :'pulp_last_updated' => :'pulp_last_updated',
49
53
  :'name' => :'name',
50
54
  :'digest' => :'digest',
51
55
  :'type' => :'type',
@@ -61,6 +65,7 @@ module PulpContainerClient
61
65
  {
62
66
  :'pulp_href' => :'String',
63
67
  :'pulp_created' => :'DateTime',
68
+ :'pulp_last_updated' => :'DateTime',
64
69
  :'name' => :'String',
65
70
  :'digest' => :'String',
66
71
  :'type' => :'String',
@@ -100,6 +105,10 @@ module PulpContainerClient
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?(:'name')
104
113
  self.name = attributes[:'name']
105
114
  end
@@ -184,6 +193,7 @@ module PulpContainerClient
184
193
  self.class == o.class &&
185
194
  pulp_href == o.pulp_href &&
186
195
  pulp_created == o.pulp_created &&
196
+ pulp_last_updated == o.pulp_last_updated &&
187
197
  name == o.name &&
188
198
  digest == o.digest &&
189
199
  type == o.type &&
@@ -202,7 +212,7 @@ module PulpContainerClient
202
212
  # Calculates hash code according to all attributes.
203
213
  # @return [Integer] Hash code
204
214
  def hash
205
- [pulp_href, pulp_created, name, digest, type, key_id, timestamp, creator, signed_manifest].hash
215
+ [pulp_href, pulp_created, pulp_last_updated, name, digest, type, key_id, timestamp, creator, signed_manifest].hash
206
216
  end
207
217
 
208
218
  # Builds the object from hash
@@ -20,6 +20,9 @@ module PulpContainerClient
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
  # Tag name
24
27
  attr_accessor :name
25
28
 
@@ -31,6 +34,7 @@ module PulpContainerClient
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
  :'tagged_manifest' => :'tagged_manifest'
36
40
  }
@@ -41,6 +45,7 @@ module PulpContainerClient
41
45
  {
42
46
  :'pulp_href' => :'String',
43
47
  :'pulp_created' => :'DateTime',
48
+ :'pulp_last_updated' => :'DateTime',
44
49
  :'name' => :'String',
45
50
  :'tagged_manifest' => :'String'
46
51
  }
@@ -75,6 +80,10 @@ module PulpContainerClient
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
@@ -114,6 +123,7 @@ module PulpContainerClient
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
  name == o.name &&
118
128
  tagged_manifest == o.tagged_manifest
119
129
  end
@@ -127,7 +137,7 @@ module PulpContainerClient
127
137
  # Calculates hash code according to all attributes.
128
138
  # @return [Integer] Hash code
129
139
  def hash
130
- [pulp_href, pulp_created, name, tagged_manifest].hash
140
+ [pulp_href, pulp_created, pulp_last_updated, name, tagged_manifest].hash
131
141
  end
132
142
 
133
143
  # Builds the object from hash
@@ -88,12 +88,22 @@ module PulpContainerClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpContainerClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpContainerClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpContainerClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpContainerClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpContainerClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpContainerClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109
 
@@ -88,12 +88,22 @@ module PulpContainerClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
+ if @count.nil?
92
+ invalid_properties.push('invalid value for "count", count cannot be nil.')
93
+ end
94
+
95
+ if @results.nil?
96
+ invalid_properties.push('invalid value for "results", results cannot be nil.')
97
+ end
98
+
91
99
  invalid_properties
92
100
  end
93
101
 
94
102
  # Check to see if the all the properties in the model are valid
95
103
  # @return true if the model is valid
96
104
  def valid?
105
+ return false if @count.nil?
106
+ return false if @results.nil?
97
107
  true
98
108
  end
99
109