pulp_container_client 2.15.0.dev1675047954 → 2.15.0.dev1675393725

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.

Potentially problematic release.


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

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6121fe9588812d95c04cc705ab70290542156737e629e39c1ce9c60a9bd08e1c
4
- data.tar.gz: 24562198e29a91b1c794b702495f06c4e62e81d75f1f3622282272a798e1d659
3
+ metadata.gz: c3c4c725266972f805c2dc4965e59a06f1911538a4e94afecced50c1b48fb3fd
4
+ data.tar.gz: 93becf3cb664f15e0e73e87784518cdeb0f1f77d6befe79c08645e3ad7800d85
5
5
  SHA512:
6
- metadata.gz: 0ee45e742539b6ea4403277420cadcead8b7802c95e5449e629be221ec0cd9274327070df9130a4e8341f39aac1b1f0c1e614de85aae12b00d368a9d98f17a22
7
- data.tar.gz: ea1efdc16c85d35d556da407d560cec642a5c4fba2b39eea66b63bfe8e5c41440f705df40e310a8681bd336d51cf650b2ffbfae37bd48abcb7943e4265e14a0e
6
+ metadata.gz: 2eb9e56d2cb1b1595beccd8816233be9d75420c274767cf1566e6dfdf8025741e6dbf24ddb593b1cea0d31ead72c448dbb6084901df1558ae1754dd48d474656
7
+ data.tar.gz: 13abe141a861b3a6f000807cb4d0fcfe8645aecb0789762e6783aed0b1e5831a51198c3ab900a3ef926dd8eac506c763e46062edf0c531297e2d398c4f7d278e
data/README.md CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 2.15.0.dev1675047954
10
+ - Package version: 2.15.0.dev1675393725
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
13
13
 
@@ -24,16 +24,16 @@ gem build pulp_container_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_container_client-2.15.0.dev1675047954.gem
27
+ gem install ./pulp_container_client-2.15.0.dev1675393725.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_container_client-2.15.0.dev1675047954.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_container_client-2.15.0.dev1675393725.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'pulp_container_client', '~> 2.15.0.dev1675047954'
36
+ gem 'pulp_container_client', '~> 2.15.0.dev1675393725'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -5,9 +5,9 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
8
+ **pulp_labels** | **Hash<String, String>** | | [optional]
8
9
  **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
9
10
  **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
10
- **pulp_labels** | **Hash<String, String>** | | [optional]
11
11
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
12
12
  **repository_version** | **String** | RepositoryVersion to be served | [optional]
13
13
  **private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
@@ -19,9 +19,9 @@ Name | Type | Description | Notes
19
19
  require 'PulpContainerClient'
20
20
 
21
21
  instance = PulpContainerClient::ContainerContainerDistribution.new(name: null,
22
+ pulp_labels: null,
22
23
  base_path: null,
23
24
  content_guard: null,
24
- pulp_labels: null,
25
25
  repository: null,
26
26
  repository_version: null,
27
27
  private: null,
@@ -5,9 +5,9 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
8
+ **pulp_labels** | **Hash<String, String>** | | [optional]
8
9
  **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
9
10
  **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
10
- **pulp_labels** | **Hash<String, String>** | | [optional]
11
11
  **pulp_href** | **String** | | [optional] [readonly]
12
12
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
13
13
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
@@ -23,9 +23,9 @@ Name | Type | Description | Notes
23
23
  require 'PulpContainerClient'
24
24
 
25
25
  instance = PulpContainerClient::ContainerContainerDistributionResponse.new(name: null,
26
+ pulp_labels: null,
26
27
  base_path: null,
27
28
  content_guard: null,
28
- pulp_labels: null,
29
29
  pulp_href: null,
30
30
  pulp_created: null,
31
31
  repository: null,
@@ -4,22 +4,22 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
8
7
  **name** | **String** | A unique name for this repository. |
8
+ **pulp_labels** | **Hash<String, String>** | | [optional]
9
9
  **description** | **String** | An optional description. | [optional]
10
10
  **retain_repo_versions** | **Integer** | 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. | [optional]
11
- **pulp_labels** | **Hash<String, String>** | | [optional]
11
+ **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
12
12
 
13
13
  ## Code Sample
14
14
 
15
15
  ```ruby
16
16
  require 'PulpContainerClient'
17
17
 
18
- instance = PulpContainerClient::ContainerContainerPushRepository.new(manifest_signing_service: null,
19
- name: null,
18
+ instance = PulpContainerClient::ContainerContainerPushRepository.new(name: null,
19
+ pulp_labels: null,
20
20
  description: null,
21
21
  retain_repo_versions: null,
22
- pulp_labels: null)
22
+ manifest_signing_service: null)
23
23
  ```
24
24
 
25
25
 
@@ -4,30 +4,30 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
8
- **name** | **String** | A unique name for this repository. |
9
- **description** | **String** | An optional description. | [optional]
10
- **retain_repo_versions** | **Integer** | 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. | [optional]
11
7
  **versions_href** | **String** | | [optional] [readonly]
8
+ **name** | **String** | A unique name for this repository. |
12
9
  **pulp_labels** | **Hash<String, String>** | | [optional]
13
- **latest_version_href** | **String** | | [optional] [readonly]
10
+ **description** | **String** | An optional description. | [optional]
14
11
  **pulp_href** | **String** | | [optional] [readonly]
15
12
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
13
+ **retain_repo_versions** | **Integer** | 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. | [optional]
14
+ **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
15
+ **latest_version_href** | **String** | | [optional] [readonly]
16
16
 
17
17
  ## Code Sample
18
18
 
19
19
  ```ruby
20
20
  require 'PulpContainerClient'
21
21
 
22
- instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(manifest_signing_service: null,
22
+ instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(versions_href: null,
23
23
  name: null,
24
- description: null,
25
- retain_repo_versions: null,
26
- versions_href: null,
27
24
  pulp_labels: null,
28
- latest_version_href: null,
25
+ description: null,
29
26
  pulp_href: null,
30
- pulp_created: null)
27
+ pulp_created: null,
28
+ retain_repo_versions: null,
29
+ manifest_signing_service: null,
30
+ latest_version_href: null)
31
31
  ```
32
32
 
33
33
 
@@ -5,9 +5,9 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
8
+ **pulp_labels** | **Hash<String, String>** | | [optional]
8
9
  **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional]
9
10
  **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
10
- **pulp_labels** | **Hash<String, String>** | | [optional]
11
11
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
12
12
  **repository_version** | **String** | RepositoryVersion to be served | [optional]
13
13
  **private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
@@ -19,9 +19,9 @@ Name | Type | Description | Notes
19
19
  require 'PulpContainerClient'
20
20
 
21
21
  instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(name: null,
22
+ pulp_labels: null,
22
23
  base_path: null,
23
24
  content_guard: null,
24
- pulp_labels: null,
25
25
  repository: null,
26
26
  repository_version: null,
27
27
  private: null,
@@ -4,22 +4,22 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
8
7
  **name** | **String** | A unique name for this repository. | [optional]
8
+ **pulp_labels** | **Hash<String, String>** | | [optional]
9
9
  **description** | **String** | An optional description. | [optional]
10
10
  **retain_repo_versions** | **Integer** | 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. | [optional]
11
- **pulp_labels** | **Hash<String, String>** | | [optional]
11
+ **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
12
12
 
13
13
  ## Code Sample
14
14
 
15
15
  ```ruby
16
16
  require 'PulpContainerClient'
17
17
 
18
- instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(manifest_signing_service: null,
19
- name: null,
18
+ instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(name: null,
19
+ pulp_labels: null,
20
20
  description: null,
21
21
  retain_repo_versions: null,
22
- pulp_labels: null)
22
+ manifest_signing_service: null)
23
23
  ```
24
24
 
25
25
 
@@ -18,14 +18,14 @@ module PulpContainerClient
18
18
  # A unique name. Ex, `rawhide` and `stable`.
19
19
  attr_accessor :name
20
20
 
21
+ attr_accessor :pulp_labels
22
+
21
23
  # 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
24
  attr_accessor :base_path
23
25
 
24
26
  # An optional content-guard. If none is specified, a default one will be used.
25
27
  attr_accessor :content_guard
26
28
 
27
- attr_accessor :pulp_labels
28
-
29
29
  # The latest RepositoryVersion for this Repository will be served.
30
30
  attr_accessor :repository
31
31
 
@@ -42,9 +42,9 @@ module PulpContainerClient
42
42
  def self.attribute_map
43
43
  {
44
44
  :'name' => :'name',
45
+ :'pulp_labels' => :'pulp_labels',
45
46
  :'base_path' => :'base_path',
46
47
  :'content_guard' => :'content_guard',
47
- :'pulp_labels' => :'pulp_labels',
48
48
  :'repository' => :'repository',
49
49
  :'repository_version' => :'repository_version',
50
50
  :'private' => :'private',
@@ -56,9 +56,9 @@ module PulpContainerClient
56
56
  def self.openapi_types
57
57
  {
58
58
  :'name' => :'String',
59
+ :'pulp_labels' => :'Hash<String, String>',
59
60
  :'base_path' => :'String',
60
61
  :'content_guard' => :'String',
61
- :'pulp_labels' => :'Hash<String, String>',
62
62
  :'repository' => :'String',
63
63
  :'repository_version' => :'String',
64
64
  :'private' => :'Boolean',
@@ -94,6 +94,12 @@ module PulpContainerClient
94
94
  self.name = attributes[:'name']
95
95
  end
96
96
 
97
+ if attributes.key?(:'pulp_labels')
98
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
99
+ self.pulp_labels = value
100
+ end
101
+ end
102
+
97
103
  if attributes.key?(:'base_path')
98
104
  self.base_path = attributes[:'base_path']
99
105
  end
@@ -102,12 +108,6 @@ module PulpContainerClient
102
108
  self.content_guard = attributes[:'content_guard']
103
109
  end
104
110
 
105
- if attributes.key?(:'pulp_labels')
106
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
107
- self.pulp_labels = value
108
- end
109
- end
110
-
111
111
  if attributes.key?(:'repository')
112
112
  self.repository = attributes[:'repository']
113
113
  end
@@ -207,9 +207,9 @@ module PulpContainerClient
207
207
  return true if self.equal?(o)
208
208
  self.class == o.class &&
209
209
  name == o.name &&
210
+ pulp_labels == o.pulp_labels &&
210
211
  base_path == o.base_path &&
211
212
  content_guard == o.content_guard &&
212
- pulp_labels == o.pulp_labels &&
213
213
  repository == o.repository &&
214
214
  repository_version == o.repository_version &&
215
215
  private == o.private &&
@@ -225,7 +225,7 @@ module PulpContainerClient
225
225
  # Calculates hash code according to all attributes.
226
226
  # @return [Integer] Hash code
227
227
  def hash
228
- [name, base_path, content_guard, pulp_labels, repository, repository_version, private, description].hash
228
+ [name, pulp_labels, base_path, content_guard, repository, repository_version, private, description].hash
229
229
  end
230
230
 
231
231
  # Builds the object from hash
@@ -18,14 +18,14 @@ module PulpContainerClient
18
18
  # A unique name. Ex, `rawhide` and `stable`.
19
19
  attr_accessor :name
20
20
 
21
+ attr_accessor :pulp_labels
22
+
21
23
  # 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
24
  attr_accessor :base_path
23
25
 
24
26
  # An optional content-guard. If none is specified, a default one will be used.
25
27
  attr_accessor :content_guard
26
28
 
27
- attr_accessor :pulp_labels
28
-
29
29
  attr_accessor :pulp_href
30
30
 
31
31
  # Timestamp of creation.
@@ -53,9 +53,9 @@ module PulpContainerClient
53
53
  def self.attribute_map
54
54
  {
55
55
  :'name' => :'name',
56
+ :'pulp_labels' => :'pulp_labels',
56
57
  :'base_path' => :'base_path',
57
58
  :'content_guard' => :'content_guard',
58
- :'pulp_labels' => :'pulp_labels',
59
59
  :'pulp_href' => :'pulp_href',
60
60
  :'pulp_created' => :'pulp_created',
61
61
  :'repository' => :'repository',
@@ -71,9 +71,9 @@ module PulpContainerClient
71
71
  def self.openapi_types
72
72
  {
73
73
  :'name' => :'String',
74
+ :'pulp_labels' => :'Hash<String, String>',
74
75
  :'base_path' => :'String',
75
76
  :'content_guard' => :'String',
76
- :'pulp_labels' => :'Hash<String, String>',
77
77
  :'pulp_href' => :'String',
78
78
  :'pulp_created' => :'DateTime',
79
79
  :'repository' => :'String',
@@ -113,6 +113,12 @@ module PulpContainerClient
113
113
  self.name = attributes[:'name']
114
114
  end
115
115
 
116
+ if attributes.key?(:'pulp_labels')
117
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
118
+ self.pulp_labels = value
119
+ end
120
+ end
121
+
116
122
  if attributes.key?(:'base_path')
117
123
  self.base_path = attributes[:'base_path']
118
124
  end
@@ -121,12 +127,6 @@ module PulpContainerClient
121
127
  self.content_guard = attributes[:'content_guard']
122
128
  end
123
129
 
124
- if attributes.key?(:'pulp_labels')
125
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
126
- self.pulp_labels = value
127
- end
128
- end
129
-
130
130
  if attributes.key?(:'pulp_href')
131
131
  self.pulp_href = attributes[:'pulp_href']
132
132
  end
@@ -189,9 +189,9 @@ module PulpContainerClient
189
189
  return true if self.equal?(o)
190
190
  self.class == o.class &&
191
191
  name == o.name &&
192
+ pulp_labels == o.pulp_labels &&
192
193
  base_path == o.base_path &&
193
194
  content_guard == o.content_guard &&
194
- pulp_labels == o.pulp_labels &&
195
195
  pulp_href == o.pulp_href &&
196
196
  pulp_created == o.pulp_created &&
197
197
  repository == o.repository &&
@@ -211,7 +211,7 @@ module PulpContainerClient
211
211
  # Calculates hash code according to all attributes.
212
212
  # @return [Integer] Hash code
213
213
  def hash
214
- [name, base_path, content_guard, pulp_labels, pulp_href, pulp_created, repository, repository_version, registry_path, namespace, private, description].hash
214
+ [name, pulp_labels, base_path, content_guard, pulp_href, pulp_created, repository, repository_version, registry_path, namespace, private, description].hash
215
215
  end
216
216
 
217
217
  # Builds the object from hash
@@ -15,48 +15,48 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # Serializer for Container Push Repositories.
17
17
  class ContainerContainerPushRepository
18
- # A reference to an associated signing service.
19
- attr_accessor :manifest_signing_service
20
-
21
18
  # A unique name for this repository.
22
19
  attr_accessor :name
23
20
 
21
+ attr_accessor :pulp_labels
22
+
24
23
  # An optional description.
25
24
  attr_accessor :description
26
25
 
27
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.
28
27
  attr_accessor :retain_repo_versions
29
28
 
30
- attr_accessor :pulp_labels
29
+ # A reference to an associated signing service.
30
+ attr_accessor :manifest_signing_service
31
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',
36
35
  :'name' => :'name',
36
+ :'pulp_labels' => :'pulp_labels',
37
37
  :'description' => :'description',
38
38
  :'retain_repo_versions' => :'retain_repo_versions',
39
- :'pulp_labels' => :'pulp_labels'
39
+ :'manifest_signing_service' => :'manifest_signing_service'
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',
47
46
  :'name' => :'String',
47
+ :'pulp_labels' => :'Hash<String, String>',
48
48
  :'description' => :'String',
49
49
  :'retain_repo_versions' => :'Integer',
50
- :'pulp_labels' => :'Hash<String, String>'
50
+ :'manifest_signing_service' => :'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',
58
57
  :'description',
59
58
  :'retain_repo_versions',
59
+ :'manifest_signing_service'
60
60
  ])
61
61
  end
62
62
 
@@ -75,14 +75,16 @@ 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
-
82
78
  if attributes.key?(:'name')
83
79
  self.name = attributes[:'name']
84
80
  end
85
81
 
82
+ if attributes.key?(:'pulp_labels')
83
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
84
+ self.pulp_labels = value
85
+ end
86
+ end
87
+
86
88
  if attributes.key?(:'description')
87
89
  self.description = attributes[:'description']
88
90
  end
@@ -91,10 +93,8 @@ module PulpContainerClient
91
93
  self.retain_repo_versions = attributes[:'retain_repo_versions']
92
94
  end
93
95
 
94
- if attributes.key?(:'pulp_labels')
95
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
96
- self.pulp_labels = value
97
- end
96
+ if attributes.key?(:'manifest_signing_service')
97
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
98
98
  end
99
99
  end
100
100
 
@@ -170,11 +170,11 @@ module PulpContainerClient
170
170
  def ==(o)
171
171
  return true if self.equal?(o)
172
172
  self.class == o.class &&
173
- manifest_signing_service == o.manifest_signing_service &&
174
173
  name == o.name &&
174
+ pulp_labels == o.pulp_labels &&
175
175
  description == o.description &&
176
176
  retain_repo_versions == o.retain_repo_versions &&
177
- pulp_labels == o.pulp_labels
177
+ manifest_signing_service == o.manifest_signing_service
178
178
  end
179
179
 
180
180
  # @see the `==` method
@@ -186,7 +186,7 @@ module PulpContainerClient
186
186
  # Calculates hash code according to all attributes.
187
187
  # @return [Integer] Hash code
188
188
  def hash
189
- [manifest_signing_service, name, description, retain_repo_versions, pulp_labels].hash
189
+ [name, pulp_labels, description, retain_repo_versions, manifest_signing_service].hash
190
190
  end
191
191
 
192
192
  # 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
- # A reference to an associated signing service.
19
- attr_accessor :manifest_signing_service
18
+ attr_accessor :versions_href
20
19
 
21
20
  # A unique name for this repository.
22
21
  attr_accessor :name
23
22
 
23
+ attr_accessor :pulp_labels
24
+
24
25
  # An optional description.
25
26
  attr_accessor :description
26
27
 
28
+ attr_accessor :pulp_href
29
+
30
+ # Timestamp of creation.
31
+ attr_accessor :pulp_created
32
+
27
33
  # 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.
28
34
  attr_accessor :retain_repo_versions
29
35
 
30
- attr_accessor :versions_href
31
-
32
- attr_accessor :pulp_labels
36
+ # A reference to an associated signing service.
37
+ attr_accessor :manifest_signing_service
33
38
 
34
39
  attr_accessor :latest_version_href
35
40
 
36
- attr_accessor :pulp_href
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
- :'manifest_signing_service' => :'manifest_signing_service',
45
- :'name' => :'name',
46
- :'description' => :'description',
47
- :'retain_repo_versions' => :'retain_repo_versions',
48
44
  :'versions_href' => :'versions_href',
45
+ :'name' => :'name',
49
46
  :'pulp_labels' => :'pulp_labels',
50
- :'latest_version_href' => :'latest_version_href',
47
+ :'description' => :'description',
51
48
  :'pulp_href' => :'pulp_href',
52
- :'pulp_created' => :'pulp_created'
49
+ :'pulp_created' => :'pulp_created',
50
+ :'retain_repo_versions' => :'retain_repo_versions',
51
+ :'manifest_signing_service' => :'manifest_signing_service',
52
+ :'latest_version_href' => :'latest_version_href'
53
53
  }
54
54
  end
55
55
 
56
56
  # Attribute type mapping.
57
57
  def self.openapi_types
58
58
  {
59
- :'manifest_signing_service' => :'String',
60
- :'name' => :'String',
61
- :'description' => :'String',
62
- :'retain_repo_versions' => :'Integer',
63
59
  :'versions_href' => :'String',
60
+ :'name' => :'String',
64
61
  :'pulp_labels' => :'Hash<String, String>',
65
- :'latest_version_href' => :'String',
62
+ :'description' => :'String',
66
63
  :'pulp_href' => :'String',
67
- :'pulp_created' => :'DateTime'
64
+ :'pulp_created' => :'DateTime',
65
+ :'retain_repo_versions' => :'Integer',
66
+ :'manifest_signing_service' => :'String',
67
+ :'latest_version_href' => :'String'
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',
75
74
  :'description',
76
75
  :'retain_repo_versions',
76
+ :'manifest_signing_service',
77
77
  ])
78
78
  end
79
79
 
@@ -92,34 +92,22 @@ module PulpContainerClient
92
92
  h[k.to_sym] = v
93
93
  }
94
94
 
95
- if attributes.key?(:'manifest_signing_service')
96
- self.manifest_signing_service = attributes[:'manifest_signing_service']
95
+ if attributes.key?(:'versions_href')
96
+ self.versions_href = attributes[:'versions_href']
97
97
  end
98
98
 
99
99
  if attributes.key?(:'name')
100
100
  self.name = attributes[:'name']
101
101
  end
102
102
 
103
- if attributes.key?(:'description')
104
- self.description = attributes[:'description']
105
- end
106
-
107
- if attributes.key?(:'retain_repo_versions')
108
- self.retain_repo_versions = attributes[:'retain_repo_versions']
109
- end
110
-
111
- if attributes.key?(:'versions_href')
112
- self.versions_href = attributes[:'versions_href']
113
- end
114
-
115
103
  if attributes.key?(:'pulp_labels')
116
104
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
117
105
  self.pulp_labels = value
118
106
  end
119
107
  end
120
108
 
121
- if attributes.key?(:'latest_version_href')
122
- self.latest_version_href = attributes[:'latest_version_href']
109
+ if attributes.key?(:'description')
110
+ self.description = attributes[:'description']
123
111
  end
124
112
 
125
113
  if attributes.key?(:'pulp_href')
@@ -129,6 +117,18 @@ module PulpContainerClient
129
117
  if attributes.key?(:'pulp_created')
130
118
  self.pulp_created = attributes[:'pulp_created']
131
119
  end
120
+
121
+ if attributes.key?(:'retain_repo_versions')
122
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
123
+ end
124
+
125
+ if attributes.key?(:'manifest_signing_service')
126
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
127
+ end
128
+
129
+ if attributes.key?(:'latest_version_href')
130
+ self.latest_version_href = attributes[:'latest_version_href']
131
+ end
132
132
  end
133
133
 
134
134
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -169,15 +169,15 @@ module PulpContainerClient
169
169
  def ==(o)
170
170
  return true if self.equal?(o)
171
171
  self.class == o.class &&
172
- manifest_signing_service == o.manifest_signing_service &&
173
- name == o.name &&
174
- description == o.description &&
175
- retain_repo_versions == o.retain_repo_versions &&
176
172
  versions_href == o.versions_href &&
173
+ name == o.name &&
177
174
  pulp_labels == o.pulp_labels &&
178
- latest_version_href == o.latest_version_href &&
175
+ description == o.description &&
179
176
  pulp_href == o.pulp_href &&
180
- pulp_created == o.pulp_created
177
+ pulp_created == o.pulp_created &&
178
+ retain_repo_versions == o.retain_repo_versions &&
179
+ manifest_signing_service == o.manifest_signing_service &&
180
+ latest_version_href == o.latest_version_href
181
181
  end
182
182
 
183
183
  # @see the `==` method
@@ -189,7 +189,7 @@ module PulpContainerClient
189
189
  # Calculates hash code according to all attributes.
190
190
  # @return [Integer] Hash code
191
191
  def hash
192
- [manifest_signing_service, name, description, retain_repo_versions, versions_href, pulp_labels, latest_version_href, pulp_href, pulp_created].hash
192
+ [versions_href, name, pulp_labels, description, pulp_href, pulp_created, retain_repo_versions, manifest_signing_service, latest_version_href].hash
193
193
  end
194
194
 
195
195
  # Builds the object from hash
@@ -18,14 +18,14 @@ module PulpContainerClient
18
18
  # A unique name. Ex, `rawhide` and `stable`.
19
19
  attr_accessor :name
20
20
 
21
+ attr_accessor :pulp_labels
22
+
21
23
  # 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
24
  attr_accessor :base_path
23
25
 
24
26
  # An optional content-guard. If none is specified, a default one will be used.
25
27
  attr_accessor :content_guard
26
28
 
27
- attr_accessor :pulp_labels
28
-
29
29
  # The latest RepositoryVersion for this Repository will be served.
30
30
  attr_accessor :repository
31
31
 
@@ -42,9 +42,9 @@ module PulpContainerClient
42
42
  def self.attribute_map
43
43
  {
44
44
  :'name' => :'name',
45
+ :'pulp_labels' => :'pulp_labels',
45
46
  :'base_path' => :'base_path',
46
47
  :'content_guard' => :'content_guard',
47
- :'pulp_labels' => :'pulp_labels',
48
48
  :'repository' => :'repository',
49
49
  :'repository_version' => :'repository_version',
50
50
  :'private' => :'private',
@@ -56,9 +56,9 @@ module PulpContainerClient
56
56
  def self.openapi_types
57
57
  {
58
58
  :'name' => :'String',
59
+ :'pulp_labels' => :'Hash<String, String>',
59
60
  :'base_path' => :'String',
60
61
  :'content_guard' => :'String',
61
- :'pulp_labels' => :'Hash<String, String>',
62
62
  :'repository' => :'String',
63
63
  :'repository_version' => :'String',
64
64
  :'private' => :'Boolean',
@@ -94,6 +94,12 @@ module PulpContainerClient
94
94
  self.name = attributes[:'name']
95
95
  end
96
96
 
97
+ if attributes.key?(:'pulp_labels')
98
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
99
+ self.pulp_labels = value
100
+ end
101
+ end
102
+
97
103
  if attributes.key?(:'base_path')
98
104
  self.base_path = attributes[:'base_path']
99
105
  end
@@ -102,12 +108,6 @@ module PulpContainerClient
102
108
  self.content_guard = attributes[:'content_guard']
103
109
  end
104
110
 
105
- if attributes.key?(:'pulp_labels')
106
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
107
- self.pulp_labels = value
108
- end
109
- end
110
-
111
111
  if attributes.key?(:'repository')
112
112
  self.repository = attributes[:'repository']
113
113
  end
@@ -189,9 +189,9 @@ module PulpContainerClient
189
189
  return true if self.equal?(o)
190
190
  self.class == o.class &&
191
191
  name == o.name &&
192
+ pulp_labels == o.pulp_labels &&
192
193
  base_path == o.base_path &&
193
194
  content_guard == o.content_guard &&
194
- pulp_labels == o.pulp_labels &&
195
195
  repository == o.repository &&
196
196
  repository_version == o.repository_version &&
197
197
  private == o.private &&
@@ -207,7 +207,7 @@ module PulpContainerClient
207
207
  # Calculates hash code according to all attributes.
208
208
  # @return [Integer] Hash code
209
209
  def hash
210
- [name, base_path, content_guard, pulp_labels, repository, repository_version, private, description].hash
210
+ [name, pulp_labels, base_path, content_guard, repository, repository_version, private, description].hash
211
211
  end
212
212
 
213
213
  # Builds the object from hash
@@ -15,48 +15,48 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # Serializer for Container Push Repositories.
17
17
  class PatchedcontainerContainerPushRepository
18
- # A reference to an associated signing service.
19
- attr_accessor :manifest_signing_service
20
-
21
18
  # A unique name for this repository.
22
19
  attr_accessor :name
23
20
 
21
+ attr_accessor :pulp_labels
22
+
24
23
  # An optional description.
25
24
  attr_accessor :description
26
25
 
27
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.
28
27
  attr_accessor :retain_repo_versions
29
28
 
30
- attr_accessor :pulp_labels
29
+ # A reference to an associated signing service.
30
+ attr_accessor :manifest_signing_service
31
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',
36
35
  :'name' => :'name',
36
+ :'pulp_labels' => :'pulp_labels',
37
37
  :'description' => :'description',
38
38
  :'retain_repo_versions' => :'retain_repo_versions',
39
- :'pulp_labels' => :'pulp_labels'
39
+ :'manifest_signing_service' => :'manifest_signing_service'
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',
47
46
  :'name' => :'String',
47
+ :'pulp_labels' => :'Hash<String, String>',
48
48
  :'description' => :'String',
49
49
  :'retain_repo_versions' => :'Integer',
50
- :'pulp_labels' => :'Hash<String, String>'
50
+ :'manifest_signing_service' => :'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',
58
57
  :'description',
59
58
  :'retain_repo_versions',
59
+ :'manifest_signing_service'
60
60
  ])
61
61
  end
62
62
 
@@ -75,14 +75,16 @@ 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
-
82
78
  if attributes.key?(:'name')
83
79
  self.name = attributes[:'name']
84
80
  end
85
81
 
82
+ if attributes.key?(:'pulp_labels')
83
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
84
+ self.pulp_labels = value
85
+ end
86
+ end
87
+
86
88
  if attributes.key?(:'description')
87
89
  self.description = attributes[:'description']
88
90
  end
@@ -91,10 +93,8 @@ module PulpContainerClient
91
93
  self.retain_repo_versions = attributes[:'retain_repo_versions']
92
94
  end
93
95
 
94
- if attributes.key?(:'pulp_labels')
95
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
96
- self.pulp_labels = value
97
- end
96
+ if attributes.key?(:'manifest_signing_service')
97
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
98
98
  end
99
99
  end
100
100
 
@@ -161,11 +161,11 @@ module PulpContainerClient
161
161
  def ==(o)
162
162
  return true if self.equal?(o)
163
163
  self.class == o.class &&
164
- manifest_signing_service == o.manifest_signing_service &&
165
164
  name == o.name &&
165
+ pulp_labels == o.pulp_labels &&
166
166
  description == o.description &&
167
167
  retain_repo_versions == o.retain_repo_versions &&
168
- pulp_labels == o.pulp_labels
168
+ manifest_signing_service == o.manifest_signing_service
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
- [manifest_signing_service, name, description, retain_repo_versions, pulp_labels].hash
180
+ [name, pulp_labels, description, retain_repo_versions, manifest_signing_service].hash
181
181
  end
182
182
 
183
183
  # 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.15.0.dev1675047954'
14
+ VERSION = '2.15.0.dev1675393725'
15
15
  end
@@ -38,19 +38,19 @@ describe 'ContainerContainerDistributionResponse' do
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "base_path"' do
41
+ describe 'test attribute "pulp_labels"' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "content_guard"' do
47
+ describe 'test attribute "base_path"' do
48
48
  it 'should work' do
49
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "pulp_labels"' do
53
+ describe 'test attribute "content_guard"' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
@@ -38,19 +38,19 @@ describe 'ContainerContainerDistribution' do
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "base_path"' do
41
+ describe 'test attribute "pulp_labels"' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "content_guard"' do
47
+ describe 'test attribute "base_path"' do
48
48
  it 'should work' do
49
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "pulp_labels"' do
53
+ describe 'test attribute "content_guard"' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
@@ -32,7 +32,7 @@ describe 'ContainerContainerPushRepositoryResponse' do
32
32
  expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerPushRepositoryResponse)
33
33
  end
34
34
  end
35
- describe 'test attribute "manifest_signing_service"' do
35
+ describe 'test attribute "versions_href"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
@@ -44,43 +44,43 @@ describe 'ContainerContainerPushRepositoryResponse' do
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "description"' do
47
+ describe 'test attribute "pulp_labels"' do
48
48
  it 'should work' do
49
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "retain_repo_versions"' do
53
+ describe 'test attribute "description"' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
57
57
  end
58
58
 
59
- describe 'test attribute "versions_href"' do
59
+ describe 'test attribute "pulp_href"' do
60
60
  it 'should work' do
61
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
62
  end
63
63
  end
64
64
 
65
- describe 'test attribute "pulp_labels"' do
65
+ describe 'test attribute "pulp_created"' do
66
66
  it 'should work' do
67
67
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
68
  end
69
69
  end
70
70
 
71
- describe 'test attribute "latest_version_href"' do
71
+ describe 'test attribute "retain_repo_versions"' do
72
72
  it 'should work' do
73
73
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
74
  end
75
75
  end
76
76
 
77
- describe 'test attribute "pulp_href"' do
77
+ describe 'test attribute "manifest_signing_service"' do
78
78
  it 'should work' do
79
79
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
80
  end
81
81
  end
82
82
 
83
- describe 'test attribute "pulp_created"' do
83
+ describe 'test attribute "latest_version_href"' do
84
84
  it 'should work' do
85
85
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
86
86
  end
@@ -32,13 +32,13 @@ describe 'ContainerContainerPushRepository' do
32
32
  expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerPushRepository)
33
33
  end
34
34
  end
35
- describe 'test attribute "manifest_signing_service"' do
35
+ describe 'test attribute "name"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "name"' do
41
+ describe 'test attribute "pulp_labels"' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
@@ -56,7 +56,7 @@ describe 'ContainerContainerPushRepository' do
56
56
  end
57
57
  end
58
58
 
59
- describe 'test attribute "pulp_labels"' do
59
+ describe 'test attribute "manifest_signing_service"' do
60
60
  it 'should work' do
61
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
62
  end
@@ -38,19 +38,19 @@ describe 'PatchedcontainerContainerDistribution' do
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "base_path"' do
41
+ describe 'test attribute "pulp_labels"' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "content_guard"' do
47
+ describe 'test attribute "base_path"' do
48
48
  it 'should work' do
49
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "pulp_labels"' do
53
+ describe 'test attribute "content_guard"' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
@@ -32,13 +32,13 @@ describe 'PatchedcontainerContainerPushRepository' do
32
32
  expect(@instance).to be_instance_of(PulpContainerClient::PatchedcontainerContainerPushRepository)
33
33
  end
34
34
  end
35
- describe 'test attribute "manifest_signing_service"' do
35
+ describe 'test attribute "name"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "name"' do
41
+ describe 'test attribute "pulp_labels"' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
@@ -56,7 +56,7 @@ describe 'PatchedcontainerContainerPushRepository' do
56
56
  end
57
57
  end
58
58
 
59
- describe 'test attribute "pulp_labels"' do
59
+ describe 'test attribute "manifest_signing_service"' do
60
60
  it 'should work' do
61
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
62
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_container_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.15.0.dev1675047954
4
+ version: 2.15.0.dev1675393725
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-30 00:00:00.000000000 Z
11
+ date: 2023-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday