pulp_container_client 2.19.8 → 2.20.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.
Files changed (151) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +9 -8
  3. data/docs/ContainerBlobResponse.md +0 -2
  4. data/docs/ContainerContainerDistribution.md +4 -4
  5. data/docs/ContainerContainerDistributionResponse.md +9 -11
  6. data/docs/ContainerContainerNamespaceResponse.md +0 -2
  7. data/docs/ContainerContainerPullThroughDistribution.md +4 -4
  8. data/docs/ContainerContainerPullThroughDistributionResponse.md +9 -11
  9. data/docs/ContainerContainerPullThroughRemote.md +1 -1
  10. data/docs/ContainerContainerPullThroughRemoteResponse.md +3 -3
  11. data/docs/ContainerContainerPullThroughRemoteResponseHiddenFields.md +2 -2
  12. data/docs/ContainerContainerPushRepository.md +7 -7
  13. data/docs/ContainerContainerPushRepositoryResponse.md +9 -11
  14. data/docs/ContainerContainerRemote.md +1 -1
  15. data/docs/ContainerContainerRemoteResponse.md +3 -3
  16. data/docs/ContainerContainerRepositoryResponse.md +0 -2
  17. data/docs/ContainerManifestResponse.md +2 -6
  18. data/docs/ContainerManifestSignatureResponse.md +0 -2
  19. data/docs/ContainerTagResponse.md +0 -2
  20. data/docs/ContentBlobsApi.md +1 -5
  21. data/docs/ContentManifestsApi.md +3 -7
  22. data/docs/ContentSignaturesApi.md +1 -5
  23. data/docs/ContentTagsApi.md +1 -5
  24. data/docs/DistributionsContainerApi.md +17 -57
  25. data/docs/DistributionsPullThroughApi.md +17 -57
  26. data/docs/IndexDynamicApi.md +50 -0
  27. data/docs/IndexStaticApi.md +50 -0
  28. data/docs/OCIBuildImage.md +1 -1
  29. data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
  30. data/docs/PaginatedcontainerBlobResponseList.md +2 -2
  31. data/docs/PaginatedcontainerContainerDistributionResponseList.md +2 -2
  32. data/docs/PaginatedcontainerContainerNamespaceResponseList.md +2 -2
  33. data/docs/PaginatedcontainerContainerPullThroughDistributionResponseList.md +2 -2
  34. data/docs/PaginatedcontainerContainerPullThroughRemoteResponseList.md +2 -2
  35. data/docs/PaginatedcontainerContainerPushRepositoryResponseList.md +2 -2
  36. data/docs/PaginatedcontainerContainerRemoteResponseList.md +2 -2
  37. data/docs/PaginatedcontainerContainerRepositoryResponseList.md +2 -2
  38. data/docs/PaginatedcontainerManifestResponseList.md +2 -2
  39. data/docs/PaginatedcontainerManifestSignatureResponseList.md +2 -2
  40. data/docs/PaginatedcontainerTagResponseList.md +2 -2
  41. data/docs/PatchedcontainerContainerDistribution.md +4 -4
  42. data/docs/PatchedcontainerContainerPullThroughDistribution.md +4 -4
  43. data/docs/PatchedcontainerContainerPullThroughRemote.md +1 -1
  44. data/docs/PatchedcontainerContainerPushRepository.md +7 -7
  45. data/docs/PatchedcontainerContainerRemote.md +1 -1
  46. data/docs/{Policy692Enum.md → Policy762Enum.md} +2 -2
  47. data/docs/{Policy7e0Enum.md → Policy8e2Enum.md} +2 -2
  48. data/docs/PulpContainerNamespacesApi.md +9 -33
  49. data/docs/RemotesContainerApi.md +17 -57
  50. data/docs/RemotesPullThroughApi.md +17 -57
  51. data/docs/RepositoriesContainerApi.md +35 -109
  52. data/docs/RepositoriesContainerPushApi.md +19 -63
  53. data/docs/RepositoriesContainerPushVersionsApi.md +5 -17
  54. data/docs/RepositoriesContainerVersionsApi.md +5 -17
  55. data/docs/RepositoryVersionResponse.md +0 -2
  56. data/docs/TokenApi.md +4 -14
  57. data/lib/pulp_container_client/api/content_blobs_api.rb +0 -6
  58. data/lib/pulp_container_client/api/content_manifests_api.rb +3 -9
  59. data/lib/pulp_container_client/api/content_signatures_api.rb +0 -6
  60. data/lib/pulp_container_client/api/content_tags_api.rb +0 -6
  61. data/lib/pulp_container_client/api/distributions_container_api.rb +0 -36
  62. data/lib/pulp_container_client/api/distributions_pull_through_api.rb +0 -36
  63. data/lib/pulp_container_client/api/index_dynamic_api.rb +74 -0
  64. data/lib/pulp_container_client/api/index_static_api.rb +74 -0
  65. data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +0 -24
  66. data/lib/pulp_container_client/api/remotes_container_api.rb +0 -36
  67. data/lib/pulp_container_client/api/remotes_pull_through_api.rb +0 -36
  68. data/lib/pulp_container_client/api/repositories_container_api.rb +2 -65
  69. data/lib/pulp_container_client/api/repositories_container_push_api.rb +0 -39
  70. data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +0 -12
  71. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +0 -12
  72. data/lib/pulp_container_client/api/token_api.rb +0 -9
  73. data/lib/pulp_container_client/configuration.rb +2 -2
  74. data/lib/pulp_container_client/models/container_blob_response.rb +1 -11
  75. data/lib/pulp_container_client/models/container_container_distribution.rb +21 -21
  76. data/lib/pulp_container_client/models/container_container_distribution_response.rb +39 -49
  77. data/lib/pulp_container_client/models/container_container_namespace_response.rb +1 -11
  78. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +21 -21
  79. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +39 -49
  80. data/lib/pulp_container_client/models/container_container_pull_through_remote.rb +1 -1
  81. data/lib/pulp_container_client/models/container_container_pull_through_remote_response.rb +12 -12
  82. data/lib/pulp_container_client/models/container_container_pull_through_remote_response_hidden_fields.rb +0 -10
  83. data/lib/pulp_container_client/models/container_container_push_repository.rb +48 -48
  84. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +41 -51
  85. data/lib/pulp_container_client/models/container_container_remote.rb +1 -1
  86. data/lib/pulp_container_client/models/container_container_remote_response.rb +12 -12
  87. data/lib/pulp_container_client/models/container_container_repository_response.rb +1 -11
  88. data/lib/pulp_container_client/models/container_manifest_response.rb +3 -28
  89. data/lib/pulp_container_client/models/container_manifest_signature_response.rb +1 -11
  90. data/lib/pulp_container_client/models/container_tag_response.rb +1 -11
  91. data/lib/pulp_container_client/models/oci_build_image.rb +1 -1
  92. data/lib/pulp_container_client/models/paginated_repository_version_response_list.rb +0 -10
  93. data/lib/pulp_container_client/models/paginatedcontainer_blob_response_list.rb +0 -10
  94. data/lib/pulp_container_client/models/paginatedcontainer_container_distribution_response_list.rb +0 -10
  95. data/lib/pulp_container_client/models/paginatedcontainer_container_namespace_response_list.rb +0 -10
  96. data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_distribution_response_list.rb +0 -10
  97. data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_remote_response_list.rb +0 -10
  98. data/lib/pulp_container_client/models/paginatedcontainer_container_push_repository_response_list.rb +0 -10
  99. data/lib/pulp_container_client/models/paginatedcontainer_container_remote_response_list.rb +0 -10
  100. data/lib/pulp_container_client/models/paginatedcontainer_container_repository_response_list.rb +0 -10
  101. data/lib/pulp_container_client/models/paginatedcontainer_manifest_response_list.rb +0 -10
  102. data/lib/pulp_container_client/models/paginatedcontainer_manifest_signature_response_list.rb +0 -10
  103. data/lib/pulp_container_client/models/paginatedcontainer_tag_response_list.rb +0 -10
  104. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +21 -21
  105. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +21 -21
  106. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_remote.rb +1 -1
  107. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +48 -48
  108. data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +1 -1
  109. data/lib/pulp_container_client/models/{policy692_enum.rb → policy762_enum.rb} +3 -3
  110. data/lib/pulp_container_client/models/{policy7e0_enum.rb → policy8e2_enum.rb} +3 -3
  111. data/lib/pulp_container_client/models/repository_version_response.rb +1 -11
  112. data/lib/pulp_container_client/version.rb +1 -1
  113. data/lib/pulp_container_client.rb +4 -2
  114. data/spec/api/content_blobs_api_spec.rb +0 -2
  115. data/spec/api/content_manifests_api_spec.rb +1 -3
  116. data/spec/api/content_signatures_api_spec.rb +0 -2
  117. data/spec/api/content_tags_api_spec.rb +0 -2
  118. data/spec/api/distributions_container_api_spec.rb +0 -12
  119. data/spec/api/distributions_pull_through_api_spec.rb +0 -12
  120. data/spec/api/index_dynamic_api_spec.rb +45 -0
  121. data/spec/api/index_static_api_spec.rb +45 -0
  122. data/spec/api/pulp_container_namespaces_api_spec.rb +0 -8
  123. data/spec/api/remotes_container_api_spec.rb +0 -12
  124. data/spec/api/remotes_pull_through_api_spec.rb +0 -12
  125. data/spec/api/repositories_container_api_spec.rb +1 -22
  126. data/spec/api/repositories_container_push_api_spec.rb +0 -13
  127. data/spec/api/repositories_container_push_versions_api_spec.rb +0 -4
  128. data/spec/api/repositories_container_versions_api_spec.rb +0 -4
  129. data/spec/api/token_api_spec.rb +0 -3
  130. data/spec/configuration_spec.rb +3 -3
  131. data/spec/models/container_blob_response_spec.rb +0 -6
  132. data/spec/models/container_container_distribution_response_spec.rb +7 -13
  133. data/spec/models/container_container_distribution_spec.rb +5 -5
  134. data/spec/models/container_container_namespace_response_spec.rb +0 -6
  135. data/spec/models/container_container_pull_through_distribution_response_spec.rb +7 -13
  136. data/spec/models/container_container_pull_through_distribution_spec.rb +5 -5
  137. data/spec/models/container_container_pull_through_remote_response_spec.rb +6 -6
  138. data/spec/models/container_container_push_repository_response_spec.rb +6 -12
  139. data/spec/models/container_container_push_repository_spec.rb +5 -5
  140. data/spec/models/container_container_remote_response_spec.rb +6 -6
  141. data/spec/models/container_container_repository_response_spec.rb +0 -6
  142. data/spec/models/container_manifest_response_spec.rb +0 -12
  143. data/spec/models/container_manifest_signature_response_spec.rb +0 -6
  144. data/spec/models/container_tag_response_spec.rb +0 -6
  145. data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
  146. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +5 -5
  147. data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
  148. data/spec/models/{policy692_enum_spec.rb → policy762_enum_spec.rb} +6 -6
  149. data/spec/models/{policy7e0_enum_spec.rb → policy8e2_enum_spec.rb} +6 -6
  150. data/spec/models/repository_version_response_spec.rb +0 -6
  151. metadata +88 -80
@@ -18,12 +18,6 @@ module PulpContainerClient
18
18
  # An optional content-guard. If none is specified, a default one will be used.
19
19
  attr_accessor :content_guard
20
20
 
21
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
22
- attr_accessor :base_path
23
-
24
- # A unique name. Ex, `rawhide` and `stable`.
25
- attr_accessor :name
26
-
27
21
  # Whether this distribution should be shown in the content app.
28
22
  attr_accessor :hidden
29
23
 
@@ -32,6 +26,12 @@ module PulpContainerClient
32
26
  # The latest RepositoryVersion for this Repository will be served.
33
27
  attr_accessor :repository
34
28
 
29
+ # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
30
+ attr_accessor :base_path
31
+
32
+ # A unique name. Ex, `rawhide` and `stable`.
33
+ attr_accessor :name
34
+
35
35
  # Remote that can be used to fetch content when using pull-through caching.
36
36
  attr_accessor :remote
37
37
 
@@ -48,11 +48,11 @@ module PulpContainerClient
48
48
  def self.attribute_map
49
49
  {
50
50
  :'content_guard' => :'content_guard',
51
- :'base_path' => :'base_path',
52
- :'name' => :'name',
53
51
  :'hidden' => :'hidden',
54
52
  :'pulp_labels' => :'pulp_labels',
55
53
  :'repository' => :'repository',
54
+ :'base_path' => :'base_path',
55
+ :'name' => :'name',
56
56
  :'remote' => :'remote',
57
57
  :'distributions' => :'distributions',
58
58
  :'private' => :'private',
@@ -64,11 +64,11 @@ module PulpContainerClient
64
64
  def self.openapi_types
65
65
  {
66
66
  :'content_guard' => :'String',
67
- :'base_path' => :'String',
68
- :'name' => :'String',
69
67
  :'hidden' => :'Boolean',
70
68
  :'pulp_labels' => :'Hash<String, String>',
71
69
  :'repository' => :'String',
70
+ :'base_path' => :'String',
71
+ :'name' => :'String',
72
72
  :'remote' => :'String',
73
73
  :'distributions' => :'Array<String>',
74
74
  :'private' => :'Boolean',
@@ -103,14 +103,6 @@ module PulpContainerClient
103
103
  self.content_guard = attributes[:'content_guard']
104
104
  end
105
105
 
106
- if attributes.key?(:'base_path')
107
- self.base_path = attributes[:'base_path']
108
- end
109
-
110
- if attributes.key?(:'name')
111
- self.name = attributes[:'name']
112
- end
113
-
114
106
  if attributes.key?(:'hidden')
115
107
  self.hidden = attributes[:'hidden']
116
108
  else
@@ -127,6 +119,14 @@ module PulpContainerClient
127
119
  self.repository = attributes[:'repository']
128
120
  end
129
121
 
122
+ if attributes.key?(:'base_path')
123
+ self.base_path = attributes[:'base_path']
124
+ end
125
+
126
+ if attributes.key?(:'name')
127
+ self.name = attributes[:'name']
128
+ end
129
+
130
130
  if attributes.key?(:'remote')
131
131
  self.remote = attributes[:'remote']
132
132
  end
@@ -210,11 +210,11 @@ module PulpContainerClient
210
210
  return true if self.equal?(o)
211
211
  self.class == o.class &&
212
212
  content_guard == o.content_guard &&
213
- base_path == o.base_path &&
214
- name == o.name &&
215
213
  hidden == o.hidden &&
216
214
  pulp_labels == o.pulp_labels &&
217
215
  repository == o.repository &&
216
+ base_path == o.base_path &&
217
+ name == o.name &&
218
218
  remote == o.remote &&
219
219
  distributions == o.distributions &&
220
220
  private == o.private &&
@@ -230,7 +230,7 @@ module PulpContainerClient
230
230
  # Calculates hash code according to all attributes.
231
231
  # @return [Integer] Hash code
232
232
  def hash
233
- [content_guard, base_path, name, hidden, pulp_labels, repository, remote, distributions, private, description].hash
233
+ [content_guard, hidden, pulp_labels, repository, base_path, name, remote, distributions, private, description].hash
234
234
  end
235
235
 
236
236
  # Builds the object from hash
@@ -120,7 +120,7 @@ module PulpContainerClient
120
120
  :'pulp_labels' => :'Hash<String, String>',
121
121
  :'download_concurrency' => :'Integer',
122
122
  :'max_retries' => :'Integer',
123
- :'policy' => :'Policy7e0Enum',
123
+ :'policy' => :'Policy8e2Enum',
124
124
  :'total_timeout' => :'Float',
125
125
  :'connect_timeout' => :'Float',
126
126
  :'sock_connect_timeout' => :'Float',
@@ -15,48 +15,48 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # Serializer for Container Push Repositories.
17
17
  class PatchedcontainerContainerPushRepository
18
- # A unique name for this repository.
19
- attr_accessor :name
20
-
21
- attr_accessor :pulp_labels
22
-
23
- # An optional description.
24
- attr_accessor :description
25
-
26
18
  # Retain X versions of the repository. Default is null which retains all versions.
27
19
  attr_accessor :retain_repo_versions
28
20
 
29
21
  # A reference to an associated signing service.
30
22
  attr_accessor :manifest_signing_service
31
23
 
24
+ attr_accessor :pulp_labels
25
+
26
+ # A unique name for this repository.
27
+ attr_accessor :name
28
+
29
+ # An optional description.
30
+ attr_accessor :description
31
+
32
32
  # Attribute mapping from ruby-style variable name to JSON key.
33
33
  def self.attribute_map
34
34
  {
35
- :'name' => :'name',
36
- :'pulp_labels' => :'pulp_labels',
37
- :'description' => :'description',
38
35
  :'retain_repo_versions' => :'retain_repo_versions',
39
- :'manifest_signing_service' => :'manifest_signing_service'
36
+ :'manifest_signing_service' => :'manifest_signing_service',
37
+ :'pulp_labels' => :'pulp_labels',
38
+ :'name' => :'name',
39
+ :'description' => :'description'
40
40
  }
41
41
  end
42
42
 
43
43
  # Attribute type mapping.
44
44
  def self.openapi_types
45
45
  {
46
- :'name' => :'String',
47
- :'pulp_labels' => :'Hash<String, String>',
48
- :'description' => :'String',
49
46
  :'retain_repo_versions' => :'Integer',
50
- :'manifest_signing_service' => :'String'
47
+ :'manifest_signing_service' => :'String',
48
+ :'pulp_labels' => :'Hash<String, String>',
49
+ :'name' => :'String',
50
+ :'description' => :'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
- :'description',
58
57
  :'retain_repo_versions',
59
- :'manifest_signing_service'
58
+ :'manifest_signing_service',
59
+ :'description'
60
60
  ])
61
61
  end
62
62
 
@@ -75,8 +75,12 @@ module PulpContainerClient
75
75
  h[k.to_sym] = v
76
76
  }
77
77
 
78
- if attributes.key?(:'name')
79
- self.name = attributes[:'name']
78
+ if attributes.key?(:'retain_repo_versions')
79
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
80
+ end
81
+
82
+ if attributes.key?(:'manifest_signing_service')
83
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
80
84
  end
81
85
 
82
86
  if attributes.key?(:'pulp_labels')
@@ -85,16 +89,12 @@ module PulpContainerClient
85
89
  end
86
90
  end
87
91
 
88
- if attributes.key?(:'description')
89
- self.description = attributes[:'description']
90
- end
91
-
92
- if attributes.key?(:'retain_repo_versions')
93
- self.retain_repo_versions = attributes[:'retain_repo_versions']
92
+ if attributes.key?(:'name')
93
+ self.name = attributes[:'name']
94
94
  end
95
95
 
96
- if attributes.key?(:'manifest_signing_service')
97
- self.manifest_signing_service = attributes[:'manifest_signing_service']
96
+ if attributes.key?(:'description')
97
+ self.description = attributes[:'description']
98
98
  end
99
99
  end
100
100
 
@@ -102,6 +102,10 @@ module PulpContainerClient
102
102
  # @return Array for valid properties with the reasons
103
103
  def list_invalid_properties
104
104
  invalid_properties = Array.new
105
+ if !@retain_repo_versions.nil? && @retain_repo_versions < 1
106
+ invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
107
+ end
108
+
105
109
  if !@name.nil? && @name.to_s.length < 1
106
110
  invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
107
111
  end
@@ -110,22 +114,28 @@ module PulpContainerClient
110
114
  invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
111
115
  end
112
116
 
113
- if !@retain_repo_versions.nil? && @retain_repo_versions < 1
114
- invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
115
- end
116
-
117
117
  invalid_properties
118
118
  end
119
119
 
120
120
  # Check to see if the all the properties in the model are valid
121
121
  # @return true if the model is valid
122
122
  def valid?
123
+ return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
123
124
  return false if !@name.nil? && @name.to_s.length < 1
124
125
  return false if !@description.nil? && @description.to_s.length < 1
125
- return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
126
126
  true
127
127
  end
128
128
 
129
+ # Custom attribute writer method with validation
130
+ # @param [Object] retain_repo_versions Value to be assigned
131
+ def retain_repo_versions=(retain_repo_versions)
132
+ if !retain_repo_versions.nil? && retain_repo_versions < 1
133
+ fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
134
+ end
135
+
136
+ @retain_repo_versions = retain_repo_versions
137
+ end
138
+
129
139
  # Custom attribute writer method with validation
130
140
  # @param [Object] name Value to be assigned
131
141
  def name=(name)
@@ -146,26 +156,16 @@ module PulpContainerClient
146
156
  @description = description
147
157
  end
148
158
 
149
- # Custom attribute writer method with validation
150
- # @param [Object] retain_repo_versions Value to be assigned
151
- def retain_repo_versions=(retain_repo_versions)
152
- if !retain_repo_versions.nil? && retain_repo_versions < 1
153
- fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
154
- end
155
-
156
- @retain_repo_versions = retain_repo_versions
157
- end
158
-
159
159
  # Checks equality by comparing each attribute.
160
160
  # @param [Object] Object to be compared
161
161
  def ==(o)
162
162
  return true if self.equal?(o)
163
163
  self.class == o.class &&
164
- name == o.name &&
165
- pulp_labels == o.pulp_labels &&
166
- description == o.description &&
167
164
  retain_repo_versions == o.retain_repo_versions &&
168
- manifest_signing_service == o.manifest_signing_service
165
+ manifest_signing_service == o.manifest_signing_service &&
166
+ pulp_labels == o.pulp_labels &&
167
+ name == o.name &&
168
+ description == o.description
169
169
  end
170
170
 
171
171
  # @see the `==` method
@@ -177,7 +177,7 @@ module PulpContainerClient
177
177
  # Calculates hash code according to all attributes.
178
178
  # @return [Integer] Hash code
179
179
  def hash
180
- [name, pulp_labels, description, retain_repo_versions, manifest_signing_service].hash
180
+ [retain_repo_versions, manifest_signing_service, pulp_labels, name, description].hash
181
181
  end
182
182
 
183
183
  # Builds the object from hash
@@ -137,7 +137,7 @@ module PulpContainerClient
137
137
  :'pulp_labels' => :'Hash<String, String>',
138
138
  :'download_concurrency' => :'Integer',
139
139
  :'max_retries' => :'Integer',
140
- :'policy' => :'Policy692Enum',
140
+ :'policy' => :'Policy762Enum',
141
141
  :'total_timeout' => :'Float',
142
142
  :'connect_timeout' => :'Float',
143
143
  :'sock_connect_timeout' => :'Float',
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module PulpContainerClient
16
- class Policy692Enum
16
+ class Policy762Enum
17
17
  IMMEDIATE = "immediate".freeze
18
18
  ON_DEMAND = "on_demand".freeze
19
19
  STREAMED = "streamed".freeze
@@ -29,8 +29,8 @@ module PulpContainerClient
29
29
  # @param [String] The enum value in the form of the string
30
30
  # @return [String] The enum value
31
31
  def build_from_hash(value)
32
- constantValues = Policy692Enum.constants.select { |c| Policy692Enum::const_get(c) == value }
33
- raise "Invalid ENUM value #{value} for class #Policy692Enum" if constantValues.empty?
32
+ constantValues = Policy762Enum.constants.select { |c| Policy762Enum::const_get(c) == value }
33
+ raise "Invalid ENUM value #{value} for class #Policy762Enum" if constantValues.empty?
34
34
  value
35
35
  end
36
36
  end
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module PulpContainerClient
16
- class Policy7e0Enum
16
+ class Policy8e2Enum
17
17
  ON_DEMAND = "on_demand".freeze
18
18
 
19
19
  # Builds the enum from string
@@ -27,8 +27,8 @@ module PulpContainerClient
27
27
  # @param [String] The enum value in the form of the string
28
28
  # @return [String] The enum value
29
29
  def build_from_hash(value)
30
- constantValues = Policy7e0Enum.constants.select { |c| Policy7e0Enum::const_get(c) == value }
31
- raise "Invalid ENUM value #{value} for class #Policy7e0Enum" if constantValues.empty?
30
+ constantValues = Policy8e2Enum.constants.select { |c| Policy8e2Enum::const_get(c) == value }
31
+ raise "Invalid ENUM value #{value} for class #Policy8e2Enum" if constantValues.empty?
32
32
  value
33
33
  end
34
34
  end
@@ -20,9 +20,6 @@ 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
-
26
23
  attr_accessor :number
27
24
 
28
25
  attr_accessor :repository
@@ -38,7 +35,6 @@ module PulpContainerClient
38
35
  {
39
36
  :'pulp_href' => :'pulp_href',
40
37
  :'pulp_created' => :'pulp_created',
41
- :'pulp_last_updated' => :'pulp_last_updated',
42
38
  :'number' => :'number',
43
39
  :'repository' => :'repository',
44
40
  :'base_version' => :'base_version',
@@ -51,7 +47,6 @@ module PulpContainerClient
51
47
  {
52
48
  :'pulp_href' => :'String',
53
49
  :'pulp_created' => :'DateTime',
54
- :'pulp_last_updated' => :'DateTime',
55
50
  :'number' => :'Integer',
56
51
  :'repository' => :'String',
57
52
  :'base_version' => :'String',
@@ -88,10 +83,6 @@ module PulpContainerClient
88
83
  self.pulp_created = attributes[:'pulp_created']
89
84
  end
90
85
 
91
- if attributes.key?(:'pulp_last_updated')
92
- self.pulp_last_updated = attributes[:'pulp_last_updated']
93
- end
94
-
95
86
  if attributes.key?(:'number')
96
87
  self.number = attributes[:'number']
97
88
  end
@@ -129,7 +120,6 @@ module PulpContainerClient
129
120
  self.class == o.class &&
130
121
  pulp_href == o.pulp_href &&
131
122
  pulp_created == o.pulp_created &&
132
- pulp_last_updated == o.pulp_last_updated &&
133
123
  number == o.number &&
134
124
  repository == o.repository &&
135
125
  base_version == o.base_version &&
@@ -145,7 +135,7 @@ module PulpContainerClient
145
135
  # Calculates hash code according to all attributes.
146
136
  # @return [Integer] Hash code
147
137
  def hash
148
- [pulp_href, pulp_created, pulp_last_updated, number, repository, base_version, content_summary].hash
138
+ [pulp_href, pulp_created, number, repository, base_version, content_summary].hash
149
139
  end
150
140
 
151
141
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpContainerClient
14
- VERSION = '2.19.8'
14
+ VERSION = '2.20.0'
15
15
  end
@@ -64,8 +64,8 @@ require 'pulp_container_client/models/patchedcontainer_container_pull_through_re
64
64
  require 'pulp_container_client/models/patchedcontainer_container_push_repository'
65
65
  require 'pulp_container_client/models/patchedcontainer_container_remote'
66
66
  require 'pulp_container_client/models/patchedcontainer_container_repository'
67
- require 'pulp_container_client/models/policy692_enum'
68
- require 'pulp_container_client/models/policy7e0_enum'
67
+ require 'pulp_container_client/models/policy762_enum'
68
+ require 'pulp_container_client/models/policy8e2_enum'
69
69
  require 'pulp_container_client/models/recursive_manage'
70
70
  require 'pulp_container_client/models/remove_image'
71
71
  require 'pulp_container_client/models/remove_signatures'
@@ -88,6 +88,8 @@ require 'pulp_container_client/api/content_signatures_api'
88
88
  require 'pulp_container_client/api/content_tags_api'
89
89
  require 'pulp_container_client/api/distributions_container_api'
90
90
  require 'pulp_container_client/api/distributions_pull_through_api'
91
+ require 'pulp_container_client/api/index_dynamic_api'
92
+ require 'pulp_container_client/api/index_static_api'
91
93
  require 'pulp_container_client/api/pulp_container_namespaces_api'
92
94
  require 'pulp_container_client/api/remotes_container_api'
93
95
  require 'pulp_container_client/api/remotes_pull_through_api'
@@ -36,7 +36,6 @@ describe 'ContentBlobsApi' do
36
36
  # List blobs
37
37
  # ViewSet for Blobs.
38
38
  # @param [Hash] opts the optional parameters
39
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
40
39
  # @option opts [String] :digest Filter results where digest matches value
41
40
  # @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
42
41
  # @option opts [Integer] :limit Number of results to return per page.
@@ -63,7 +62,6 @@ describe 'ContentBlobsApi' do
63
62
  # ViewSet for Blobs.
64
63
  # @param container_blob_href
65
64
  # @param [Hash] opts the optional parameters
66
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
67
65
  # @option opts [Array<String>] :fields A list of fields to include in the response.
68
66
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
69
67
  # @return [ContainerBlobResponse]
@@ -36,7 +36,6 @@ describe 'ContentManifestsApi' do
36
36
  # List manifests
37
37
  # ViewSet for Manifest.
38
38
  # @param [Hash] opts the optional parameters
39
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
40
39
  # @option opts [String] :digest Filter results where digest matches value
41
40
  # @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
42
41
  # @option opts [Boolean] :is_bootable Filter results where is_bootable matches value
@@ -44,7 +43,7 @@ describe 'ContentManifestsApi' do
44
43
  # @option opts [Integer] :limit Number of results to return per page.
45
44
  # @option opts [Array<String>] :media_type * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json
46
45
  # @option opts [Integer] :offset The initial index from which to return the results.
47
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;schema_version&#x60; - Schema version * &#x60;-schema_version&#x60; - Schema version (descending) * &#x60;media_type&#x60; - Media type * &#x60;-media_type&#x60; - Media type (descending) * &#x60;annotations&#x60; - Annotations * &#x60;-annotations&#x60; - Annotations (descending) * &#x60;labels&#x60; - Labels * &#x60;-labels&#x60; - Labels (descending) * &#x60;is_bootable&#x60; - Is bootable * &#x60;-is_bootable&#x60; - Is bootable (descending) * &#x60;is_flatpak&#x60; - Is flatpak * &#x60;-is_flatpak&#x60; - Is flatpak (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
46
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;schema_version&#x60; - Schema version * &#x60;-schema_version&#x60; - Schema version (descending) * &#x60;media_type&#x60; - Media type * &#x60;-media_type&#x60; - Media type (descending) * &#x60;data&#x60; - Data * &#x60;-data&#x60; - Data (descending) * &#x60;annotations&#x60; - Annotations * &#x60;-annotations&#x60; - Annotations (descending) * &#x60;labels&#x60; - Labels * &#x60;-labels&#x60; - Labels (descending) * &#x60;is_bootable&#x60; - Is bootable * &#x60;-is_bootable&#x60; - Is bootable (descending) * &#x60;is_flatpak&#x60; - Is flatpak * &#x60;-is_flatpak&#x60; - Is flatpak (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
48
47
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
49
48
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
50
49
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
@@ -66,7 +65,6 @@ describe 'ContentManifestsApi' do
66
65
  # ViewSet for Manifest.
67
66
  # @param container_manifest_href
68
67
  # @param [Hash] opts the optional parameters
69
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
70
68
  # @option opts [Array<String>] :fields A list of fields to include in the response.
71
69
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
72
70
  # @return [ContainerManifestResponse]
@@ -36,7 +36,6 @@ describe 'ContentSignaturesApi' do
36
36
  # List manifest signatures
37
37
  # ViewSet for image signatures.
38
38
  # @param [Hash] opts the optional parameters
39
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
40
39
  # @option opts [String] :digest Filter results where digest matches value
41
40
  # @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
42
41
  # @option opts [String] :key_id Filter results where key_id matches value
@@ -75,7 +74,6 @@ describe 'ContentSignaturesApi' do
75
74
  # ViewSet for image signatures.
76
75
  # @param container_manifest_signature_href
77
76
  # @param [Hash] opts the optional parameters
78
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
79
77
  # @option opts [Array<String>] :fields A list of fields to include in the response.
80
78
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
81
79
  # @return [ContainerManifestSignatureResponse]
@@ -36,7 +36,6 @@ describe 'ContentTagsApi' do
36
36
  # List tags
37
37
  # ViewSet for Tag.
38
38
  # @param [Hash] opts the optional parameters
39
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
40
39
  # @option opts [Array<String>] :digest Multiple values may be separated by commas.
41
40
  # @option opts [Integer] :limit Number of results to return per page.
42
41
  # @option opts [Array<String>] :media_type * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json
@@ -65,7 +64,6 @@ describe 'ContentTagsApi' do
65
64
  # ViewSet for Tag.
66
65
  # @param container_tag_href
67
66
  # @param [Hash] opts the optional parameters
68
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
69
67
  # @option opts [Array<String>] :fields A list of fields to include in the response.
70
68
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
71
69
  # @return [ContainerTagResponse]
@@ -38,7 +38,6 @@ describe 'DistributionsContainerApi' do
38
38
  # @param container_container_distribution_href
39
39
  # @param nested_role
40
40
  # @param [Hash] opts the optional parameters
41
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
42
41
  # @return [NestedRoleResponse]
43
42
  describe 'add_role test' do
44
43
  it 'should work' do
@@ -51,7 +50,6 @@ describe 'DistributionsContainerApi' do
51
50
  # Trigger an asynchronous create task
52
51
  # @param container_container_distribution
53
52
  # @param [Hash] opts the optional parameters
54
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
55
53
  # @return [AsyncOperationResponse]
56
54
  describe 'create test' do
57
55
  it 'should work' do
@@ -64,7 +62,6 @@ describe 'DistributionsContainerApi' do
64
62
  # Trigger an asynchronous delete task
65
63
  # @param container_container_distribution_href
66
64
  # @param [Hash] opts the optional parameters
67
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
68
65
  # @return [AsyncOperationResponse]
69
66
  describe 'delete test' do
70
67
  it 'should work' do
@@ -76,7 +73,6 @@ describe 'DistributionsContainerApi' do
76
73
  # List container distributions
77
74
  # The Container Distribution will serve the latest version of a Repository if &#x60;&#x60;repository&#x60;&#x60; is specified. The Container Distribution will serve a specific repository version if &#x60;&#x60;repository_version&#x60;&#x60;. Note that **either** &#x60;&#x60;repository&#x60;&#x60; or &#x60;&#x60;repository_version&#x60;&#x60; can be set on a Container Distribution, but not both.
78
75
  # @param [Hash] opts the optional parameters
79
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
80
76
  # @option opts [String] :base_path Filter results where base_path matches value
81
77
  # @option opts [String] :base_path__contains Filter results where base_path contains value
82
78
  # @option opts [String] :base_path__icontains Filter results where base_path contains value
@@ -115,7 +111,6 @@ describe 'DistributionsContainerApi' do
115
111
  # List roles assigned to this object.
116
112
  # @param container_container_distribution_href
117
113
  # @param [Hash] opts the optional parameters
118
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
119
114
  # @option opts [Array<String>] :fields A list of fields to include in the response.
120
115
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
121
116
  # @return [ObjectRolesResponse]
@@ -130,7 +125,6 @@ describe 'DistributionsContainerApi' do
130
125
  # List permissions available to the current user on this object.
131
126
  # @param container_container_distribution_href
132
127
  # @param [Hash] opts the optional parameters
133
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
134
128
  # @option opts [Array<String>] :fields A list of fields to include in the response.
135
129
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
136
130
  # @return [MyPermissionsResponse]
@@ -146,7 +140,6 @@ describe 'DistributionsContainerApi' do
146
140
  # @param container_container_distribution_href
147
141
  # @param patchedcontainer_container_distribution
148
142
  # @param [Hash] opts the optional parameters
149
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
150
143
  # @return [AsyncOperationResponse]
151
144
  describe 'partial_update test' do
152
145
  it 'should work' do
@@ -159,7 +152,6 @@ describe 'DistributionsContainerApi' do
159
152
  # The Container Distribution will serve the latest version of a Repository if &#x60;&#x60;repository&#x60;&#x60; is specified. The Container Distribution will serve a specific repository version if &#x60;&#x60;repository_version&#x60;&#x60;. Note that **either** &#x60;&#x60;repository&#x60;&#x60; or &#x60;&#x60;repository_version&#x60;&#x60; can be set on a Container Distribution, but not both.
160
153
  # @param container_container_distribution_href
161
154
  # @param [Hash] opts the optional parameters
162
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
163
155
  # @option opts [Array<String>] :fields A list of fields to include in the response.
164
156
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
165
157
  # @return [ContainerContainerDistributionResponse]
@@ -175,7 +167,6 @@ describe 'DistributionsContainerApi' do
175
167
  # @param container_container_distribution_href
176
168
  # @param nested_role
177
169
  # @param [Hash] opts the optional parameters
178
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
179
170
  # @return [NestedRoleResponse]
180
171
  describe 'remove_role test' do
181
172
  it 'should work' do
@@ -189,7 +180,6 @@ describe 'DistributionsContainerApi' do
189
180
  # @param container_container_distribution_href
190
181
  # @param set_label
191
182
  # @param [Hash] opts the optional parameters
192
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
193
183
  # @return [SetLabelResponse]
194
184
  describe 'set_label test' do
195
185
  it 'should work' do
@@ -203,7 +193,6 @@ describe 'DistributionsContainerApi' do
203
193
  # @param container_container_distribution_href
204
194
  # @param unset_label
205
195
  # @param [Hash] opts the optional parameters
206
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
207
196
  # @return [UnsetLabelResponse]
208
197
  describe 'unset_label test' do
209
198
  it 'should work' do
@@ -217,7 +206,6 @@ describe 'DistributionsContainerApi' do
217
206
  # @param container_container_distribution_href
218
207
  # @param container_container_distribution
219
208
  # @param [Hash] opts the optional parameters
220
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
221
209
  # @return [AsyncOperationResponse]
222
210
  describe 'update test' do
223
211
  it 'should work' do