pulp_container_client 2.14.13 → 2.15.0.dev1661401897

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of pulp_container_client might be problematic. Click here for more details.

Files changed (73) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -10
  3. data/docs/ContainerContainerDistribution.md +7 -7
  4. data/docs/ContainerContainerDistributionResponse.md +9 -9
  5. data/docs/ContainerContainerPushRepository.md +7 -7
  6. data/docs/ContainerContainerPushRepositoryResponse.md +11 -11
  7. data/docs/ContainerContainerRemote.md +2 -2
  8. data/docs/ContainerContainerRemoteResponse.md +2 -4
  9. data/docs/ContainerContainerRepository.md +2 -2
  10. data/docs/ContainerContainerRepositoryResponse.md +2 -2
  11. data/docs/ContentBlobsApi.md +10 -14
  12. data/docs/ContentManifestsApi.md +12 -16
  13. data/docs/ContentSignaturesApi.md +10 -14
  14. data/docs/ContentTagsApi.md +12 -16
  15. data/docs/DistributionsContainerApi.md +22 -30
  16. data/docs/PatchedcontainerContainerDistribution.md +7 -7
  17. data/docs/PatchedcontainerContainerPushRepository.md +7 -7
  18. data/docs/PatchedcontainerContainerRemote.md +2 -2
  19. data/docs/PatchedcontainerContainerRepository.md +2 -2
  20. data/docs/PulpContainerNamespacesApi.md +18 -22
  21. data/docs/RemotesContainerApi.md +22 -26
  22. data/docs/RepositoriesContainerApi.md +21 -41
  23. data/docs/RepositoriesContainerPushApi.md +21 -41
  24. data/docs/RepositoriesContainerPushVersionsApi.md +14 -16
  25. data/docs/RepositoriesContainerVersionsApi.md +14 -16
  26. data/lib/pulp_container_client/api/content_blobs_api.rb +15 -21
  27. data/lib/pulp_container_client/api/content_manifests_api.rb +17 -23
  28. data/lib/pulp_container_client/api/content_signatures_api.rb +15 -21
  29. data/lib/pulp_container_client/api/content_tags_api.rb +17 -23
  30. data/lib/pulp_container_client/api/distributions_container_api.rb +31 -43
  31. data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +27 -33
  32. data/lib/pulp_container_client/api/remotes_container_api.rb +31 -37
  33. data/lib/pulp_container_client/api/repositories_container_api.rb +29 -59
  34. data/lib/pulp_container_client/api/repositories_container_push_api.rb +29 -59
  35. data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +19 -22
  36. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +19 -22
  37. data/lib/pulp_container_client/models/container_container_distribution.rb +48 -50
  38. data/lib/pulp_container_client/models/container_container_distribution_response.rb +38 -40
  39. data/lib/pulp_container_client/models/container_container_push_repository.rb +25 -27
  40. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +47 -49
  41. data/lib/pulp_container_client/models/container_container_remote.rb +3 -5
  42. data/lib/pulp_container_client/models/container_container_remote_response.rb +4 -18
  43. data/lib/pulp_container_client/models/container_container_repository.rb +3 -5
  44. data/lib/pulp_container_client/models/container_container_repository_response.rb +3 -5
  45. data/lib/pulp_container_client/models/nested_role.rb +0 -19
  46. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +39 -41
  47. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +25 -27
  48. data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +3 -5
  49. data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +3 -5
  50. data/lib/pulp_container_client/version.rb +1 -1
  51. data/lib/pulp_container_client.rb +0 -1
  52. data/spec/api/content_blobs_api_spec.rb +5 -7
  53. data/spec/api/content_manifests_api_spec.rb +6 -8
  54. data/spec/api/content_signatures_api_spec.rb +5 -7
  55. data/spec/api/content_tags_api_spec.rb +6 -8
  56. data/spec/api/distributions_container_api_spec.rb +11 -15
  57. data/spec/api/pulp_container_namespaces_api_spec.rb +9 -11
  58. data/spec/api/remotes_container_api_spec.rb +11 -13
  59. data/spec/api/repositories_container_api_spec.rb +10 -20
  60. data/spec/api/repositories_container_push_api_spec.rb +10 -20
  61. data/spec/api/repositories_container_push_versions_api_spec.rb +7 -8
  62. data/spec/api/repositories_container_versions_api_spec.rb +7 -8
  63. data/spec/models/container_container_distribution_response_spec.rb +7 -7
  64. data/spec/models/container_container_distribution_spec.rb +5 -5
  65. data/spec/models/container_container_push_repository_response_spec.rb +8 -8
  66. data/spec/models/container_container_push_repository_spec.rb +5 -5
  67. data/spec/models/container_container_remote_response_spec.rb +0 -6
  68. data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
  69. data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
  70. metadata +46 -50
  71. data/docs/ContainerContainerRemoteResponseHiddenFields.md +0 -19
  72. data/lib/pulp_container_client/models/container_container_remote_response_hidden_fields.rb +0 -215
  73. data/spec/models/container_container_remote_response_hidden_fields_spec.rb +0 -47
@@ -15,48 +15,48 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # Serializer for Container Push Repositories.
17
17
  class ContainerContainerPushRepository
18
- # Retain X versions of the repository. Default is null which retains all versions.
18
+ # A reference to an associated signing service.
19
+ attr_accessor :manifest_signing_service
20
+
21
+ # Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
19
22
  attr_accessor :retain_repo_versions
20
23
 
24
+ attr_accessor :pulp_labels
25
+
21
26
  # An optional description.
22
27
  attr_accessor :description
23
28
 
24
29
  # A unique name for this repository.
25
30
  attr_accessor :name
26
31
 
27
- attr_accessor :pulp_labels
28
-
29
- # A reference to an associated signing service.
30
- attr_accessor :manifest_signing_service
31
-
32
32
  # Attribute mapping from ruby-style variable name to JSON key.
33
33
  def self.attribute_map
34
34
  {
35
+ :'manifest_signing_service' => :'manifest_signing_service',
35
36
  :'retain_repo_versions' => :'retain_repo_versions',
36
- :'description' => :'description',
37
- :'name' => :'name',
38
37
  :'pulp_labels' => :'pulp_labels',
39
- :'manifest_signing_service' => :'manifest_signing_service'
38
+ :'description' => :'description',
39
+ :'name' => :'name'
40
40
  }
41
41
  end
42
42
 
43
43
  # Attribute type mapping.
44
44
  def self.openapi_types
45
45
  {
46
+ :'manifest_signing_service' => :'String',
46
47
  :'retain_repo_versions' => :'Integer',
48
+ :'pulp_labels' => :'Object',
47
49
  :'description' => :'String',
48
- :'name' => :'String',
49
- :'pulp_labels' => :'Hash<String, String>',
50
- :'manifest_signing_service' => :'String'
50
+ :'name' => :'String'
51
51
  }
52
52
  end
53
53
 
54
54
  # List of attributes with nullable: true
55
55
  def self.openapi_nullable
56
56
  Set.new([
57
+ :'manifest_signing_service',
57
58
  :'retain_repo_versions',
58
59
  :'description',
59
- :'manifest_signing_service'
60
60
  ])
61
61
  end
62
62
 
@@ -75,10 +75,18 @@ module PulpContainerClient
75
75
  h[k.to_sym] = v
76
76
  }
77
77
 
78
+ if attributes.key?(:'manifest_signing_service')
79
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
80
+ end
81
+
78
82
  if attributes.key?(:'retain_repo_versions')
79
83
  self.retain_repo_versions = attributes[:'retain_repo_versions']
80
84
  end
81
85
 
86
+ if attributes.key?(:'pulp_labels')
87
+ self.pulp_labels = attributes[:'pulp_labels']
88
+ end
89
+
82
90
  if attributes.key?(:'description')
83
91
  self.description = attributes[:'description']
84
92
  end
@@ -86,16 +94,6 @@ module PulpContainerClient
86
94
  if attributes.key?(:'name')
87
95
  self.name = attributes[:'name']
88
96
  end
89
-
90
- if attributes.key?(:'pulp_labels')
91
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
92
- self.pulp_labels = value
93
- end
94
- end
95
-
96
- if attributes.key?(:'manifest_signing_service')
97
- self.manifest_signing_service = attributes[:'manifest_signing_service']
98
- end
99
97
  end
100
98
 
101
99
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -170,11 +168,11 @@ module PulpContainerClient
170
168
  def ==(o)
171
169
  return true if self.equal?(o)
172
170
  self.class == o.class &&
171
+ manifest_signing_service == o.manifest_signing_service &&
173
172
  retain_repo_versions == o.retain_repo_versions &&
174
- description == o.description &&
175
- name == o.name &&
176
173
  pulp_labels == o.pulp_labels &&
177
- manifest_signing_service == o.manifest_signing_service
174
+ description == o.description &&
175
+ name == o.name
178
176
  end
179
177
 
180
178
  # @see the `==` method
@@ -186,7 +184,7 @@ module PulpContainerClient
186
184
  # Calculates hash code according to all attributes.
187
185
  # @return [Integer] Hash code
188
186
  def hash
189
- [retain_repo_versions, description, name, pulp_labels, manifest_signing_service].hash
187
+ [manifest_signing_service, retain_repo_versions, pulp_labels, description, name].hash
190
188
  end
191
189
 
192
190
  # Builds the object from hash
@@ -15,65 +15,65 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # Serializer for Container Push Repositories.
17
17
  class ContainerContainerPushRepositoryResponse
18
- attr_accessor :versions_href
18
+ # A reference to an associated signing service.
19
+ attr_accessor :manifest_signing_service
19
20
 
20
- # Retain X versions of the repository. Default is null which retains all versions.
21
+ # Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
21
22
  attr_accessor :retain_repo_versions
22
23
 
24
+ attr_accessor :versions_href
25
+
26
+ attr_accessor :pulp_labels
27
+
23
28
  # An optional description.
24
29
  attr_accessor :description
25
30
 
26
- attr_accessor :latest_version_href
27
-
28
31
  # A unique name for this repository.
29
32
  attr_accessor :name
30
33
 
31
- # Timestamp of creation.
32
- attr_accessor :pulp_created
33
-
34
- attr_accessor :pulp_labels
35
-
36
- # A reference to an associated signing service.
37
- attr_accessor :manifest_signing_service
34
+ attr_accessor :latest_version_href
38
35
 
39
36
  attr_accessor :pulp_href
40
37
 
38
+ # Timestamp of creation.
39
+ attr_accessor :pulp_created
40
+
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
42
42
  def self.attribute_map
43
43
  {
44
- :'versions_href' => :'versions_href',
44
+ :'manifest_signing_service' => :'manifest_signing_service',
45
45
  :'retain_repo_versions' => :'retain_repo_versions',
46
+ :'versions_href' => :'versions_href',
47
+ :'pulp_labels' => :'pulp_labels',
46
48
  :'description' => :'description',
47
- :'latest_version_href' => :'latest_version_href',
48
49
  :'name' => :'name',
49
- :'pulp_created' => :'pulp_created',
50
- :'pulp_labels' => :'pulp_labels',
51
- :'manifest_signing_service' => :'manifest_signing_service',
52
- :'pulp_href' => :'pulp_href'
50
+ :'latest_version_href' => :'latest_version_href',
51
+ :'pulp_href' => :'pulp_href',
52
+ :'pulp_created' => :'pulp_created'
53
53
  }
54
54
  end
55
55
 
56
56
  # Attribute type mapping.
57
57
  def self.openapi_types
58
58
  {
59
- :'versions_href' => :'String',
59
+ :'manifest_signing_service' => :'String',
60
60
  :'retain_repo_versions' => :'Integer',
61
+ :'versions_href' => :'String',
62
+ :'pulp_labels' => :'Object',
61
63
  :'description' => :'String',
62
- :'latest_version_href' => :'String',
63
64
  :'name' => :'String',
64
- :'pulp_created' => :'DateTime',
65
- :'pulp_labels' => :'Hash<String, String>',
66
- :'manifest_signing_service' => :'String',
67
- :'pulp_href' => :'String'
65
+ :'latest_version_href' => :'String',
66
+ :'pulp_href' => :'String',
67
+ :'pulp_created' => :'DateTime'
68
68
  }
69
69
  end
70
70
 
71
71
  # List of attributes with nullable: true
72
72
  def self.openapi_nullable
73
73
  Set.new([
74
+ :'manifest_signing_service',
74
75
  :'retain_repo_versions',
75
76
  :'description',
76
- :'manifest_signing_service',
77
77
  ])
78
78
  end
79
79
 
@@ -92,43 +92,41 @@ module PulpContainerClient
92
92
  h[k.to_sym] = v
93
93
  }
94
94
 
95
- if attributes.key?(:'versions_href')
96
- self.versions_href = attributes[:'versions_href']
95
+ if attributes.key?(:'manifest_signing_service')
96
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
97
97
  end
98
98
 
99
99
  if attributes.key?(:'retain_repo_versions')
100
100
  self.retain_repo_versions = attributes[:'retain_repo_versions']
101
101
  end
102
102
 
103
- if attributes.key?(:'description')
104
- self.description = attributes[:'description']
105
- end
106
-
107
- if attributes.key?(:'latest_version_href')
108
- self.latest_version_href = attributes[:'latest_version_href']
103
+ if attributes.key?(:'versions_href')
104
+ self.versions_href = attributes[:'versions_href']
109
105
  end
110
106
 
111
- if attributes.key?(:'name')
112
- self.name = attributes[:'name']
107
+ if attributes.key?(:'pulp_labels')
108
+ self.pulp_labels = attributes[:'pulp_labels']
113
109
  end
114
110
 
115
- if attributes.key?(:'pulp_created')
116
- self.pulp_created = attributes[:'pulp_created']
111
+ if attributes.key?(:'description')
112
+ self.description = attributes[:'description']
117
113
  end
118
114
 
119
- if attributes.key?(:'pulp_labels')
120
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
121
- self.pulp_labels = value
122
- end
115
+ if attributes.key?(:'name')
116
+ self.name = attributes[:'name']
123
117
  end
124
118
 
125
- if attributes.key?(:'manifest_signing_service')
126
- self.manifest_signing_service = attributes[:'manifest_signing_service']
119
+ if attributes.key?(:'latest_version_href')
120
+ self.latest_version_href = attributes[:'latest_version_href']
127
121
  end
128
122
 
129
123
  if attributes.key?(:'pulp_href')
130
124
  self.pulp_href = attributes[:'pulp_href']
131
125
  end
126
+
127
+ if attributes.key?(:'pulp_created')
128
+ self.pulp_created = attributes[:'pulp_created']
129
+ end
132
130
  end
133
131
 
134
132
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -169,15 +167,15 @@ module PulpContainerClient
169
167
  def ==(o)
170
168
  return true if self.equal?(o)
171
169
  self.class == o.class &&
172
- versions_href == o.versions_href &&
170
+ manifest_signing_service == o.manifest_signing_service &&
173
171
  retain_repo_versions == o.retain_repo_versions &&
172
+ versions_href == o.versions_href &&
173
+ pulp_labels == o.pulp_labels &&
174
174
  description == o.description &&
175
- latest_version_href == o.latest_version_href &&
176
175
  name == o.name &&
177
- pulp_created == o.pulp_created &&
178
- pulp_labels == o.pulp_labels &&
179
- manifest_signing_service == o.manifest_signing_service &&
180
- pulp_href == o.pulp_href
176
+ latest_version_href == o.latest_version_href &&
177
+ pulp_href == o.pulp_href &&
178
+ pulp_created == o.pulp_created
181
179
  end
182
180
 
183
181
  # @see the `==` method
@@ -189,7 +187,7 @@ module PulpContainerClient
189
187
  # Calculates hash code according to all attributes.
190
188
  # @return [Integer] Hash code
191
189
  def hash
192
- [versions_href, retain_repo_versions, description, latest_version_href, name, pulp_created, pulp_labels, manifest_signing_service, pulp_href].hash
190
+ [manifest_signing_service, retain_repo_versions, versions_href, pulp_labels, description, name, latest_version_href, pulp_href, pulp_created].hash
193
191
  end
194
192
 
195
193
  # Builds the object from hash
@@ -56,7 +56,7 @@ module PulpContainerClient
56
56
  # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
57
57
  attr_accessor :max_retries
58
58
 
59
- # immediate - All manifests and blobs are downloaded and saved during a sync. on_demand - Only tags and manifests are downloaded. Blobs are not downloaded until they are requested for the first time by a client. streamed - Blobs are streamed to the client with every request and never saved. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again.
59
+ # immediate - All manifests and blobs are downloaded and saved during a sync. on_demand - Only tags and manifests are downloaded. Blobs are not downloaded until they are requested for the first time by a client. streamed - Blobs are streamed to the client with every request and never saved.
60
60
  attr_accessor :policy
61
61
 
62
62
  # aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
@@ -134,7 +134,7 @@ module PulpContainerClient
134
134
  :'proxy_password' => :'String',
135
135
  :'username' => :'String',
136
136
  :'password' => :'String',
137
- :'pulp_labels' => :'Hash<String, String>',
137
+ :'pulp_labels' => :'Object',
138
138
  :'download_concurrency' => :'Integer',
139
139
  :'max_retries' => :'Integer',
140
140
  :'policy' => :'PolicyEnum',
@@ -234,9 +234,7 @@ module PulpContainerClient
234
234
  end
235
235
 
236
236
  if attributes.key?(:'pulp_labels')
237
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
238
- self.pulp_labels = value
239
- end
237
+ self.pulp_labels = attributes[:'pulp_labels']
240
238
  end
241
239
 
242
240
  if attributes.key?(:'download_concurrency')
@@ -49,7 +49,7 @@ module PulpContainerClient
49
49
  # Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used.
50
50
  attr_accessor :max_retries
51
51
 
52
- # immediate - All manifests and blobs are downloaded and saved during a sync. on_demand - Only tags and manifests are downloaded. Blobs are not downloaded until they are requested for the first time by a client. streamed - Blobs are streamed to the client with every request and never saved. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again.
52
+ # immediate - All manifests and blobs are downloaded and saved during a sync. on_demand - Only tags and manifests are downloaded. Blobs are not downloaded until they are requested for the first time by a client. streamed - Blobs are streamed to the client with every request and never saved.
53
53
  attr_accessor :policy
54
54
 
55
55
  # aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used.
@@ -70,9 +70,6 @@ module PulpContainerClient
70
70
  # Limits requests per second for each concurrent downloader
71
71
  attr_accessor :rate_limit
72
72
 
73
- # List of hidden (write only) fields
74
- attr_accessor :hidden_fields
75
-
76
73
  # Name of the upstream repository
77
74
  attr_accessor :upstream_name
78
75
 
@@ -107,7 +104,6 @@ module PulpContainerClient
107
104
  :'sock_read_timeout' => :'sock_read_timeout',
108
105
  :'headers' => :'headers',
109
106
  :'rate_limit' => :'rate_limit',
110
- :'hidden_fields' => :'hidden_fields',
111
107
  :'upstream_name' => :'upstream_name',
112
108
  :'include_tags' => :'include_tags',
113
109
  :'exclude_tags' => :'exclude_tags',
@@ -126,7 +122,7 @@ module PulpContainerClient
126
122
  :'client_cert' => :'String',
127
123
  :'tls_validation' => :'Boolean',
128
124
  :'proxy_url' => :'String',
129
- :'pulp_labels' => :'Hash<String, String>',
125
+ :'pulp_labels' => :'Object',
130
126
  :'pulp_last_updated' => :'DateTime',
131
127
  :'download_concurrency' => :'Integer',
132
128
  :'max_retries' => :'Integer',
@@ -137,7 +133,6 @@ module PulpContainerClient
137
133
  :'sock_read_timeout' => :'Float',
138
134
  :'headers' => :'Array<Object>',
139
135
  :'rate_limit' => :'Integer',
140
- :'hidden_fields' => :'Array<ContainerContainerRemoteResponseHiddenFields>',
141
136
  :'upstream_name' => :'String',
142
137
  :'include_tags' => :'Array<String>',
143
138
  :'exclude_tags' => :'Array<String>',
@@ -211,9 +206,7 @@ module PulpContainerClient
211
206
  end
212
207
 
213
208
  if attributes.key?(:'pulp_labels')
214
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
215
- self.pulp_labels = value
216
- end
209
+ self.pulp_labels = attributes[:'pulp_labels']
217
210
  end
218
211
 
219
212
  if attributes.key?(:'pulp_last_updated')
@@ -258,12 +251,6 @@ module PulpContainerClient
258
251
  self.rate_limit = attributes[:'rate_limit']
259
252
  end
260
253
 
261
- if attributes.key?(:'hidden_fields')
262
- if (value = attributes[:'hidden_fields']).is_a?(Array)
263
- self.hidden_fields = value
264
- end
265
- end
266
-
267
254
  if attributes.key?(:'upstream_name')
268
255
  self.upstream_name = attributes[:'upstream_name']
269
256
  end
@@ -412,7 +399,6 @@ module PulpContainerClient
412
399
  sock_read_timeout == o.sock_read_timeout &&
413
400
  headers == o.headers &&
414
401
  rate_limit == o.rate_limit &&
415
- hidden_fields == o.hidden_fields &&
416
402
  upstream_name == o.upstream_name &&
417
403
  include_tags == o.include_tags &&
418
404
  exclude_tags == o.exclude_tags &&
@@ -428,7 +414,7 @@ module PulpContainerClient
428
414
  # Calculates hash code according to all attributes.
429
415
  # @return [Integer] Hash code
430
416
  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
417
+ [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, upstream_name, include_tags, exclude_tags, sigstore].hash
432
418
  end
433
419
 
434
420
  # Builds the object from hash
@@ -23,7 +23,7 @@ module PulpContainerClient
23
23
  # An optional description.
24
24
  attr_accessor :description
25
25
 
26
- # Retain X versions of the repository. Default is null which retains all versions.
26
+ # Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
27
27
  attr_accessor :retain_repo_versions
28
28
 
29
29
  # An optional remote to use by default when syncing.
@@ -47,7 +47,7 @@ module PulpContainerClient
47
47
  # Attribute type mapping.
48
48
  def self.openapi_types
49
49
  {
50
- :'pulp_labels' => :'Hash<String, String>',
50
+ :'pulp_labels' => :'Object',
51
51
  :'name' => :'String',
52
52
  :'description' => :'String',
53
53
  :'retain_repo_versions' => :'Integer',
@@ -82,9 +82,7 @@ module PulpContainerClient
82
82
  }
83
83
 
84
84
  if attributes.key?(:'pulp_labels')
85
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
86
- self.pulp_labels = value
87
- end
85
+ self.pulp_labels = attributes[:'pulp_labels']
88
86
  end
89
87
 
90
88
  if attributes.key?(:'name')
@@ -32,7 +32,7 @@ module PulpContainerClient
32
32
  # An optional description.
33
33
  attr_accessor :description
34
34
 
35
- # Retain X versions of the repository. Default is null which retains all versions.
35
+ # Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
36
36
  attr_accessor :retain_repo_versions
37
37
 
38
38
  # An optional remote to use by default when syncing.
@@ -63,7 +63,7 @@ module PulpContainerClient
63
63
  :'pulp_href' => :'String',
64
64
  :'pulp_created' => :'DateTime',
65
65
  :'versions_href' => :'String',
66
- :'pulp_labels' => :'Hash<String, String>',
66
+ :'pulp_labels' => :'Object',
67
67
  :'latest_version_href' => :'String',
68
68
  :'name' => :'String',
69
69
  :'description' => :'String',
@@ -111,9 +111,7 @@ module PulpContainerClient
111
111
  end
112
112
 
113
113
  if attributes.key?(:'pulp_labels')
114
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
115
- self.pulp_labels = value
116
- end
114
+ self.pulp_labels = attributes[:'pulp_labels']
117
115
  end
118
116
 
119
117
  if attributes.key?(:'latest_version_href')
@@ -85,10 +85,6 @@ module PulpContainerClient
85
85
  invalid_properties.push('invalid value for "role", role cannot be nil.')
86
86
  end
87
87
 
88
- if @role.to_s.length < 1
89
- invalid_properties.push('invalid value for "role", the character length must be great than or equal to 1.')
90
- end
91
-
92
88
  invalid_properties
93
89
  end
94
90
 
@@ -96,24 +92,9 @@ module PulpContainerClient
96
92
  # @return true if the model is valid
97
93
  def valid?
98
94
  return false if @role.nil?
99
- return false if @role.to_s.length < 1
100
95
  true
101
96
  end
102
97
 
103
- # Custom attribute writer method with validation
104
- # @param [Object] role Value to be assigned
105
- def role=(role)
106
- if role.nil?
107
- fail ArgumentError, 'role cannot be nil'
108
- end
109
-
110
- if role.to_s.length < 1
111
- fail ArgumentError, 'invalid value for "role", the character length must be great than or equal to 1.'
112
- end
113
-
114
- @role = role
115
- end
116
-
117
98
  # Checks equality by comparing each attribute.
118
99
  # @param [Object] Object to be compared
119
100
  def ==(o)