pulp_container_client 2.15.0.dev1671591925 → 2.15.0.dev1672887945

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.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 20b6aa826fd48b00a79990eda6ec9c4d76e5975faeb5301245e0eb1b83d03378
4
- data.tar.gz: fc2a2e138b03a67ecb8de184f86162903ddfadd8f371d88f151a4de846b23b06
3
+ metadata.gz: c78fc53138eb3f6ef8a8c57d83d5ef0640ceb54a4bd83d4b8176f8b2b05cfe10
4
+ data.tar.gz: 75499de1afc25f0bd9a629630316636085355f6cea8c586138d0f8eb3d06f330
5
5
  SHA512:
6
- metadata.gz: a6fda185dc972ec87259c5cce8d961a98e062c0a6877e189db731749aff911cb5bd43584cf3e8e7b01f750092a7accb59cda04989913922f46e5b375f3f1637a
7
- data.tar.gz: 2fc6cb4bb7d80f605005df3542e41c06f116756437452e10e5ab8baedbb54ac5c08051195d301426a3640f7ca171a5ac562db8656f864a103da438a72a3d8236
6
+ metadata.gz: 23a1ba7b6494503ba2bfc88e249445c1ece2f904e98a96beff6be9964e18d569fc35fc3d3c5a11845aecc5a0adbc225035eedb14337c3079cad23a616ffb71d3
7
+ data.tar.gz: 484458bf4185adbc0e275bbb4b878f23987498459001dd6ed3d7c1bffeb0efc2867b8672cff0132e00e5dd72b84f2bfe822f5268bdd0b552bbe0f0c5083560c0
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.dev1671591925
10
+ - Package version: 2.15.0.dev1672887945
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.dev1671591925.gem
27
+ gem install ./pulp_container_client-2.15.0.dev1672887945.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_container_client-2.15.0.dev1671591925.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_container_client-2.15.0.dev1672887945.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.dev1671591925'
36
+ gem 'pulp_container_client', '~> 2.15.0.dev1672887945'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -6,9 +6,9 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
8
8
  **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
- **pulp_labels** | **Hash<String, String>** | | [optional]
10
9
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
11
10
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
11
+ **pulp_labels** | **Hash<String, String>** | | [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]
14
14
  **description** | **String** | An optional description. | [optional]
@@ -20,9 +20,9 @@ require 'PulpContainerClient'
20
20
 
21
21
  instance = PulpContainerClient::ContainerContainerDistribution.new(content_guard: null,
22
22
  base_path: null,
23
- pulp_labels: null,
24
23
  name: null,
25
24
  repository: null,
25
+ pulp_labels: null,
26
26
  repository_version: null,
27
27
  private: null,
28
28
  description: null)
@@ -6,11 +6,11 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
8
8
  **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
- **pulp_labels** | **Hash<String, String>** | | [optional]
10
9
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
11
10
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
12
- **pulp_href** | **String** | | [optional] [readonly]
13
11
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
12
+ **pulp_labels** | **Hash<String, String>** | | [optional]
13
+ **pulp_href** | **String** | | [optional] [readonly]
14
14
  **repository_version** | **String** | RepositoryVersion to be served | [optional]
15
15
  **registry_path** | **String** | The Registry hostname/name/ to use with docker pull command defined by this distribution. | [optional] [readonly]
16
16
  **namespace** | **String** | Namespace this distribution belongs to. | [optional] [readonly]
@@ -24,11 +24,11 @@ require 'PulpContainerClient'
24
24
 
25
25
  instance = PulpContainerClient::ContainerContainerDistributionResponse.new(content_guard: null,
26
26
  base_path: null,
27
- pulp_labels: null,
28
27
  name: null,
29
28
  repository: null,
30
- pulp_href: null,
31
29
  pulp_created: null,
30
+ pulp_labels: null,
31
+ pulp_href: null,
32
32
  repository_version: null,
33
33
  registry_path: null,
34
34
  namespace: null,
@@ -5,9 +5,9 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **name** | **String** | A unique name for this repository. |
8
- **pulp_labels** | **Hash<String, String>** | | [optional]
9
- **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
10
8
  **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]
9
+ **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
10
+ **pulp_labels** | **Hash<String, String>** | | [optional]
11
11
  **description** | **String** | An optional description. | [optional]
12
12
 
13
13
  ## Code Sample
@@ -16,9 +16,9 @@ Name | Type | Description | Notes
16
16
  require 'PulpContainerClient'
17
17
 
18
18
  instance = PulpContainerClient::ContainerContainerPushRepository.new(name: null,
19
- pulp_labels: null,
20
- manifest_signing_service: null,
21
19
  retain_repo_versions: null,
20
+ manifest_signing_service: null,
21
+ pulp_labels: null,
22
22
  description: null)
23
23
  ```
24
24
 
@@ -4,30 +4,30 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **name** | **String** | A unique name for this repository. |
8
- **pulp_labels** | **Hash<String, String>** | | [optional]
9
- **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
10
7
  **latest_version_href** | **String** | | [optional] [readonly]
8
+ **name** | **String** | A unique name for this repository. |
11
9
  **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]
12
- **pulp_href** | **String** | | [optional] [readonly]
13
10
  **versions_href** | **String** | | [optional] [readonly]
11
+ **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
14
12
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
13
+ **pulp_labels** | **Hash<String, String>** | | [optional]
15
14
  **description** | **String** | An optional description. | [optional]
15
+ **pulp_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(name: null,
23
- pulp_labels: null,
24
- manifest_signing_service: null,
25
- latest_version_href: null,
22
+ instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(latest_version_href: null,
23
+ name: null,
26
24
  retain_repo_versions: null,
27
- pulp_href: null,
28
25
  versions_href: null,
26
+ manifest_signing_service: null,
29
27
  pulp_created: null,
30
- description: null)
28
+ pulp_labels: null,
29
+ description: null,
30
+ pulp_href: null)
31
31
  ```
32
32
 
33
33
 
@@ -6,9 +6,9 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
8
8
  **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
- **pulp_labels** | **Hash<String, String>** | | [optional]
10
9
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
11
10
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
11
+ **pulp_labels** | **Hash<String, String>** | | [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]
14
14
  **description** | **String** | An optional description. | [optional]
@@ -20,9 +20,9 @@ require 'PulpContainerClient'
20
20
 
21
21
  instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(content_guard: null,
22
22
  base_path: null,
23
- pulp_labels: null,
24
23
  name: null,
25
24
  repository: null,
25
+ pulp_labels: null,
26
26
  repository_version: null,
27
27
  private: null,
28
28
  description: null)
@@ -5,9 +5,9 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **name** | **String** | A unique name for this repository. | [optional]
8
- **pulp_labels** | **Hash<String, String>** | | [optional]
9
- **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
10
8
  **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]
9
+ **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
10
+ **pulp_labels** | **Hash<String, String>** | | [optional]
11
11
  **description** | **String** | An optional description. | [optional]
12
12
 
13
13
  ## Code Sample
@@ -16,9 +16,9 @@ Name | Type | Description | Notes
16
16
  require 'PulpContainerClient'
17
17
 
18
18
  instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(name: null,
19
- pulp_labels: null,
20
- manifest_signing_service: null,
21
19
  retain_repo_versions: null,
20
+ manifest_signing_service: null,
21
+ pulp_labels: null,
22
22
  description: null)
23
23
  ```
24
24
 
@@ -21,14 +21,14 @@ module PulpContainerClient
21
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
22
  attr_accessor :base_path
23
23
 
24
- attr_accessor :pulp_labels
25
-
26
24
  # A unique name. Ex, `rawhide` and `stable`.
27
25
  attr_accessor :name
28
26
 
29
27
  # The latest RepositoryVersion for this Repository will be served.
30
28
  attr_accessor :repository
31
29
 
30
+ attr_accessor :pulp_labels
31
+
32
32
  # RepositoryVersion to be served
33
33
  attr_accessor :repository_version
34
34
 
@@ -43,9 +43,9 @@ module PulpContainerClient
43
43
  {
44
44
  :'content_guard' => :'content_guard',
45
45
  :'base_path' => :'base_path',
46
- :'pulp_labels' => :'pulp_labels',
47
46
  :'name' => :'name',
48
47
  :'repository' => :'repository',
48
+ :'pulp_labels' => :'pulp_labels',
49
49
  :'repository_version' => :'repository_version',
50
50
  :'private' => :'private',
51
51
  :'description' => :'description'
@@ -57,9 +57,9 @@ module PulpContainerClient
57
57
  {
58
58
  :'content_guard' => :'String',
59
59
  :'base_path' => :'String',
60
- :'pulp_labels' => :'Hash<String, String>',
61
60
  :'name' => :'String',
62
61
  :'repository' => :'String',
62
+ :'pulp_labels' => :'Hash<String, String>',
63
63
  :'repository_version' => :'String',
64
64
  :'private' => :'Boolean',
65
65
  :'description' => :'String'
@@ -98,12 +98,6 @@ module PulpContainerClient
98
98
  self.base_path = attributes[:'base_path']
99
99
  end
100
100
 
101
- if attributes.key?(:'pulp_labels')
102
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
103
- self.pulp_labels = value
104
- end
105
- end
106
-
107
101
  if attributes.key?(:'name')
108
102
  self.name = attributes[:'name']
109
103
  end
@@ -112,6 +106,12 @@ module PulpContainerClient
112
106
  self.repository = attributes[:'repository']
113
107
  end
114
108
 
109
+ if attributes.key?(:'pulp_labels')
110
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
111
+ self.pulp_labels = value
112
+ end
113
+ end
114
+
115
115
  if attributes.key?(:'repository_version')
116
116
  self.repository_version = attributes[:'repository_version']
117
117
  end
@@ -208,9 +208,9 @@ module PulpContainerClient
208
208
  self.class == o.class &&
209
209
  content_guard == o.content_guard &&
210
210
  base_path == o.base_path &&
211
- pulp_labels == o.pulp_labels &&
212
211
  name == o.name &&
213
212
  repository == o.repository &&
213
+ pulp_labels == o.pulp_labels &&
214
214
  repository_version == o.repository_version &&
215
215
  private == o.private &&
216
216
  description == o.description
@@ -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
- [content_guard, base_path, pulp_labels, name, repository, repository_version, private, description].hash
228
+ [content_guard, base_path, name, repository, pulp_labels, repository_version, private, description].hash
229
229
  end
230
230
 
231
231
  # Builds the object from hash
@@ -21,19 +21,19 @@ module PulpContainerClient
21
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
22
  attr_accessor :base_path
23
23
 
24
- attr_accessor :pulp_labels
25
-
26
24
  # A unique name. Ex, `rawhide` and `stable`.
27
25
  attr_accessor :name
28
26
 
29
27
  # The latest RepositoryVersion for this Repository will be served.
30
28
  attr_accessor :repository
31
29
 
32
- attr_accessor :pulp_href
33
-
34
30
  # Timestamp of creation.
35
31
  attr_accessor :pulp_created
36
32
 
33
+ attr_accessor :pulp_labels
34
+
35
+ attr_accessor :pulp_href
36
+
37
37
  # RepositoryVersion to be served
38
38
  attr_accessor :repository_version
39
39
 
@@ -54,11 +54,11 @@ module PulpContainerClient
54
54
  {
55
55
  :'content_guard' => :'content_guard',
56
56
  :'base_path' => :'base_path',
57
- :'pulp_labels' => :'pulp_labels',
58
57
  :'name' => :'name',
59
58
  :'repository' => :'repository',
60
- :'pulp_href' => :'pulp_href',
61
59
  :'pulp_created' => :'pulp_created',
60
+ :'pulp_labels' => :'pulp_labels',
61
+ :'pulp_href' => :'pulp_href',
62
62
  :'repository_version' => :'repository_version',
63
63
  :'registry_path' => :'registry_path',
64
64
  :'namespace' => :'namespace',
@@ -72,11 +72,11 @@ module PulpContainerClient
72
72
  {
73
73
  :'content_guard' => :'String',
74
74
  :'base_path' => :'String',
75
- :'pulp_labels' => :'Hash<String, String>',
76
75
  :'name' => :'String',
77
76
  :'repository' => :'String',
78
- :'pulp_href' => :'String',
79
77
  :'pulp_created' => :'DateTime',
78
+ :'pulp_labels' => :'Hash<String, String>',
79
+ :'pulp_href' => :'String',
80
80
  :'repository_version' => :'String',
81
81
  :'registry_path' => :'String',
82
82
  :'namespace' => :'String',
@@ -117,12 +117,6 @@ module PulpContainerClient
117
117
  self.base_path = attributes[:'base_path']
118
118
  end
119
119
 
120
- if attributes.key?(:'pulp_labels')
121
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
122
- self.pulp_labels = value
123
- end
124
- end
125
-
126
120
  if attributes.key?(:'name')
127
121
  self.name = attributes[:'name']
128
122
  end
@@ -131,14 +125,20 @@ module PulpContainerClient
131
125
  self.repository = attributes[:'repository']
132
126
  end
133
127
 
134
- if attributes.key?(:'pulp_href')
135
- self.pulp_href = attributes[:'pulp_href']
136
- end
137
-
138
128
  if attributes.key?(:'pulp_created')
139
129
  self.pulp_created = attributes[:'pulp_created']
140
130
  end
141
131
 
132
+ if attributes.key?(:'pulp_labels')
133
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
134
+ self.pulp_labels = value
135
+ end
136
+ end
137
+
138
+ if attributes.key?(:'pulp_href')
139
+ self.pulp_href = attributes[:'pulp_href']
140
+ end
141
+
142
142
  if attributes.key?(:'repository_version')
143
143
  self.repository_version = attributes[:'repository_version']
144
144
  end
@@ -190,11 +190,11 @@ module PulpContainerClient
190
190
  self.class == o.class &&
191
191
  content_guard == o.content_guard &&
192
192
  base_path == o.base_path &&
193
- pulp_labels == o.pulp_labels &&
194
193
  name == o.name &&
195
194
  repository == o.repository &&
196
- pulp_href == o.pulp_href &&
197
195
  pulp_created == o.pulp_created &&
196
+ pulp_labels == o.pulp_labels &&
197
+ pulp_href == o.pulp_href &&
198
198
  repository_version == o.repository_version &&
199
199
  registry_path == o.registry_path &&
200
200
  namespace == o.namespace &&
@@ -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
- [content_guard, base_path, pulp_labels, name, repository, pulp_href, pulp_created, repository_version, registry_path, namespace, private, description].hash
214
+ [content_guard, base_path, name, repository, pulp_created, pulp_labels, pulp_href, repository_version, registry_path, namespace, private, description].hash
215
215
  end
216
216
 
217
217
  # Builds the object from hash
@@ -18,13 +18,13 @@ module PulpContainerClient
18
18
  # A unique name for this repository.
19
19
  attr_accessor :name
20
20
 
21
- attr_accessor :pulp_labels
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.
22
+ attr_accessor :retain_repo_versions
22
23
 
23
24
  # A reference to an associated signing service.
24
25
  attr_accessor :manifest_signing_service
25
26
 
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
- attr_accessor :retain_repo_versions
27
+ attr_accessor :pulp_labels
28
28
 
29
29
  # An optional description.
30
30
  attr_accessor :description
@@ -33,9 +33,9 @@ module PulpContainerClient
33
33
  def self.attribute_map
34
34
  {
35
35
  :'name' => :'name',
36
- :'pulp_labels' => :'pulp_labels',
37
- :'manifest_signing_service' => :'manifest_signing_service',
38
36
  :'retain_repo_versions' => :'retain_repo_versions',
37
+ :'manifest_signing_service' => :'manifest_signing_service',
38
+ :'pulp_labels' => :'pulp_labels',
39
39
  :'description' => :'description'
40
40
  }
41
41
  end
@@ -44,9 +44,9 @@ module PulpContainerClient
44
44
  def self.openapi_types
45
45
  {
46
46
  :'name' => :'String',
47
- :'pulp_labels' => :'Hash<String, String>',
48
- :'manifest_signing_service' => :'String',
49
47
  :'retain_repo_versions' => :'Integer',
48
+ :'manifest_signing_service' => :'String',
49
+ :'pulp_labels' => :'Hash<String, String>',
50
50
  :'description' => :'String'
51
51
  }
52
52
  end
@@ -54,8 +54,8 @@ module PulpContainerClient
54
54
  # List of attributes with nullable: true
55
55
  def self.openapi_nullable
56
56
  Set.new([
57
- :'manifest_signing_service',
58
57
  :'retain_repo_versions',
58
+ :'manifest_signing_service',
59
59
  :'description'
60
60
  ])
61
61
  end
@@ -79,18 +79,18 @@ module PulpContainerClient
79
79
  self.name = attributes[:'name']
80
80
  end
81
81
 
82
- if attributes.key?(:'pulp_labels')
83
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
84
- self.pulp_labels = value
85
- end
82
+ if attributes.key?(:'retain_repo_versions')
83
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
86
84
  end
87
85
 
88
86
  if attributes.key?(:'manifest_signing_service')
89
87
  self.manifest_signing_service = attributes[:'manifest_signing_service']
90
88
  end
91
89
 
92
- if attributes.key?(:'retain_repo_versions')
93
- self.retain_repo_versions = attributes[:'retain_repo_versions']
90
+ if attributes.key?(:'pulp_labels')
91
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
92
+ self.pulp_labels = value
93
+ end
94
94
  end
95
95
 
96
96
  if attributes.key?(:'description')
@@ -171,9 +171,9 @@ module PulpContainerClient
171
171
  return true if self.equal?(o)
172
172
  self.class == o.class &&
173
173
  name == o.name &&
174
- pulp_labels == o.pulp_labels &&
175
- manifest_signing_service == o.manifest_signing_service &&
176
174
  retain_repo_versions == o.retain_repo_versions &&
175
+ manifest_signing_service == o.manifest_signing_service &&
176
+ pulp_labels == o.pulp_labels &&
177
177
  description == o.description
178
178
  end
179
179
 
@@ -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
- [name, pulp_labels, manifest_signing_service, retain_repo_versions, description].hash
189
+ [name, retain_repo_versions, manifest_signing_service, pulp_labels, description].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
+ attr_accessor :latest_version_href
19
+
18
20
  # A unique name for this repository.
19
21
  attr_accessor :name
20
22
 
21
- attr_accessor :pulp_labels
22
-
23
- # A reference to an associated signing service.
24
- attr_accessor :manifest_signing_service
25
-
26
- attr_accessor :latest_version_href
27
-
28
23
  # 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.
29
24
  attr_accessor :retain_repo_versions
30
25
 
31
- attr_accessor :pulp_href
32
-
33
26
  attr_accessor :versions_href
34
27
 
28
+ # A reference to an associated signing service.
29
+ attr_accessor :manifest_signing_service
30
+
35
31
  # Timestamp of creation.
36
32
  attr_accessor :pulp_created
37
33
 
34
+ attr_accessor :pulp_labels
35
+
38
36
  # An optional description.
39
37
  attr_accessor :description
40
38
 
39
+ attr_accessor :pulp_href
40
+
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
42
42
  def self.attribute_map
43
43
  {
44
- :'name' => :'name',
45
- :'pulp_labels' => :'pulp_labels',
46
- :'manifest_signing_service' => :'manifest_signing_service',
47
44
  :'latest_version_href' => :'latest_version_href',
45
+ :'name' => :'name',
48
46
  :'retain_repo_versions' => :'retain_repo_versions',
49
- :'pulp_href' => :'pulp_href',
50
47
  :'versions_href' => :'versions_href',
48
+ :'manifest_signing_service' => :'manifest_signing_service',
51
49
  :'pulp_created' => :'pulp_created',
52
- :'description' => :'description'
50
+ :'pulp_labels' => :'pulp_labels',
51
+ :'description' => :'description',
52
+ :'pulp_href' => :'pulp_href'
53
53
  }
54
54
  end
55
55
 
56
56
  # Attribute type mapping.
57
57
  def self.openapi_types
58
58
  {
59
- :'name' => :'String',
60
- :'pulp_labels' => :'Hash<String, String>',
61
- :'manifest_signing_service' => :'String',
62
59
  :'latest_version_href' => :'String',
60
+ :'name' => :'String',
63
61
  :'retain_repo_versions' => :'Integer',
64
- :'pulp_href' => :'String',
65
62
  :'versions_href' => :'String',
63
+ :'manifest_signing_service' => :'String',
66
64
  :'pulp_created' => :'DateTime',
67
- :'description' => :'String'
65
+ :'pulp_labels' => :'Hash<String, String>',
66
+ :'description' => :'String',
67
+ :'pulp_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
  :'retain_repo_versions',
76
- :'description'
75
+ :'manifest_signing_service',
76
+ :'description',
77
77
  ])
78
78
  end
79
79
 
@@ -92,43 +92,43 @@ module PulpContainerClient
92
92
  h[k.to_sym] = v
93
93
  }
94
94
 
95
- if attributes.key?(:'name')
96
- self.name = attributes[:'name']
97
- end
98
-
99
- if attributes.key?(:'pulp_labels')
100
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
101
- self.pulp_labels = value
102
- end
103
- end
104
-
105
- if attributes.key?(:'manifest_signing_service')
106
- self.manifest_signing_service = attributes[:'manifest_signing_service']
107
- end
108
-
109
95
  if attributes.key?(:'latest_version_href')
110
96
  self.latest_version_href = attributes[:'latest_version_href']
111
97
  end
112
98
 
113
- if attributes.key?(:'retain_repo_versions')
114
- self.retain_repo_versions = attributes[:'retain_repo_versions']
99
+ if attributes.key?(:'name')
100
+ self.name = attributes[:'name']
115
101
  end
116
102
 
117
- if attributes.key?(:'pulp_href')
118
- self.pulp_href = attributes[:'pulp_href']
103
+ if attributes.key?(:'retain_repo_versions')
104
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
119
105
  end
120
106
 
121
107
  if attributes.key?(:'versions_href')
122
108
  self.versions_href = attributes[:'versions_href']
123
109
  end
124
110
 
111
+ if attributes.key?(:'manifest_signing_service')
112
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
113
+ end
114
+
125
115
  if attributes.key?(:'pulp_created')
126
116
  self.pulp_created = attributes[:'pulp_created']
127
117
  end
128
118
 
119
+ if attributes.key?(:'pulp_labels')
120
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
121
+ self.pulp_labels = value
122
+ end
123
+ end
124
+
129
125
  if attributes.key?(:'description')
130
126
  self.description = attributes[:'description']
131
127
  end
128
+
129
+ if attributes.key?(:'pulp_href')
130
+ self.pulp_href = attributes[:'pulp_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
- name == o.name &&
173
- pulp_labels == o.pulp_labels &&
174
- manifest_signing_service == o.manifest_signing_service &&
175
172
  latest_version_href == o.latest_version_href &&
173
+ name == o.name &&
176
174
  retain_repo_versions == o.retain_repo_versions &&
177
- pulp_href == o.pulp_href &&
178
175
  versions_href == o.versions_href &&
176
+ manifest_signing_service == o.manifest_signing_service &&
179
177
  pulp_created == o.pulp_created &&
180
- description == o.description
178
+ pulp_labels == o.pulp_labels &&
179
+ description == o.description &&
180
+ pulp_href == o.pulp_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
- [name, pulp_labels, manifest_signing_service, latest_version_href, retain_repo_versions, pulp_href, versions_href, pulp_created, description].hash
192
+ [latest_version_href, name, retain_repo_versions, versions_href, manifest_signing_service, pulp_created, pulp_labels, description, pulp_href].hash
193
193
  end
194
194
 
195
195
  # Builds the object from hash
@@ -21,14 +21,14 @@ module PulpContainerClient
21
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
22
  attr_accessor :base_path
23
23
 
24
- attr_accessor :pulp_labels
25
-
26
24
  # A unique name. Ex, `rawhide` and `stable`.
27
25
  attr_accessor :name
28
26
 
29
27
  # The latest RepositoryVersion for this Repository will be served.
30
28
  attr_accessor :repository
31
29
 
30
+ attr_accessor :pulp_labels
31
+
32
32
  # RepositoryVersion to be served
33
33
  attr_accessor :repository_version
34
34
 
@@ -43,9 +43,9 @@ module PulpContainerClient
43
43
  {
44
44
  :'content_guard' => :'content_guard',
45
45
  :'base_path' => :'base_path',
46
- :'pulp_labels' => :'pulp_labels',
47
46
  :'name' => :'name',
48
47
  :'repository' => :'repository',
48
+ :'pulp_labels' => :'pulp_labels',
49
49
  :'repository_version' => :'repository_version',
50
50
  :'private' => :'private',
51
51
  :'description' => :'description'
@@ -57,9 +57,9 @@ module PulpContainerClient
57
57
  {
58
58
  :'content_guard' => :'String',
59
59
  :'base_path' => :'String',
60
- :'pulp_labels' => :'Hash<String, String>',
61
60
  :'name' => :'String',
62
61
  :'repository' => :'String',
62
+ :'pulp_labels' => :'Hash<String, String>',
63
63
  :'repository_version' => :'String',
64
64
  :'private' => :'Boolean',
65
65
  :'description' => :'String'
@@ -98,12 +98,6 @@ module PulpContainerClient
98
98
  self.base_path = attributes[:'base_path']
99
99
  end
100
100
 
101
- if attributes.key?(:'pulp_labels')
102
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
103
- self.pulp_labels = value
104
- end
105
- end
106
-
107
101
  if attributes.key?(:'name')
108
102
  self.name = attributes[:'name']
109
103
  end
@@ -112,6 +106,12 @@ module PulpContainerClient
112
106
  self.repository = attributes[:'repository']
113
107
  end
114
108
 
109
+ if attributes.key?(:'pulp_labels')
110
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
111
+ self.pulp_labels = value
112
+ end
113
+ end
114
+
115
115
  if attributes.key?(:'repository_version')
116
116
  self.repository_version = attributes[:'repository_version']
117
117
  end
@@ -190,9 +190,9 @@ module PulpContainerClient
190
190
  self.class == o.class &&
191
191
  content_guard == o.content_guard &&
192
192
  base_path == o.base_path &&
193
- pulp_labels == o.pulp_labels &&
194
193
  name == o.name &&
195
194
  repository == o.repository &&
195
+ pulp_labels == o.pulp_labels &&
196
196
  repository_version == o.repository_version &&
197
197
  private == o.private &&
198
198
  description == o.description
@@ -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
- [content_guard, base_path, pulp_labels, name, repository, repository_version, private, description].hash
210
+ [content_guard, base_path, name, repository, pulp_labels, repository_version, private, description].hash
211
211
  end
212
212
 
213
213
  # Builds the object from hash
@@ -18,13 +18,13 @@ module PulpContainerClient
18
18
  # A unique name for this repository.
19
19
  attr_accessor :name
20
20
 
21
- attr_accessor :pulp_labels
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.
22
+ attr_accessor :retain_repo_versions
22
23
 
23
24
  # A reference to an associated signing service.
24
25
  attr_accessor :manifest_signing_service
25
26
 
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
- attr_accessor :retain_repo_versions
27
+ attr_accessor :pulp_labels
28
28
 
29
29
  # An optional description.
30
30
  attr_accessor :description
@@ -33,9 +33,9 @@ module PulpContainerClient
33
33
  def self.attribute_map
34
34
  {
35
35
  :'name' => :'name',
36
- :'pulp_labels' => :'pulp_labels',
37
- :'manifest_signing_service' => :'manifest_signing_service',
38
36
  :'retain_repo_versions' => :'retain_repo_versions',
37
+ :'manifest_signing_service' => :'manifest_signing_service',
38
+ :'pulp_labels' => :'pulp_labels',
39
39
  :'description' => :'description'
40
40
  }
41
41
  end
@@ -44,9 +44,9 @@ module PulpContainerClient
44
44
  def self.openapi_types
45
45
  {
46
46
  :'name' => :'String',
47
- :'pulp_labels' => :'Hash<String, String>',
48
- :'manifest_signing_service' => :'String',
49
47
  :'retain_repo_versions' => :'Integer',
48
+ :'manifest_signing_service' => :'String',
49
+ :'pulp_labels' => :'Hash<String, String>',
50
50
  :'description' => :'String'
51
51
  }
52
52
  end
@@ -54,8 +54,8 @@ module PulpContainerClient
54
54
  # List of attributes with nullable: true
55
55
  def self.openapi_nullable
56
56
  Set.new([
57
- :'manifest_signing_service',
58
57
  :'retain_repo_versions',
58
+ :'manifest_signing_service',
59
59
  :'description'
60
60
  ])
61
61
  end
@@ -79,18 +79,18 @@ module PulpContainerClient
79
79
  self.name = attributes[:'name']
80
80
  end
81
81
 
82
- if attributes.key?(:'pulp_labels')
83
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
84
- self.pulp_labels = value
85
- end
82
+ if attributes.key?(:'retain_repo_versions')
83
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
86
84
  end
87
85
 
88
86
  if attributes.key?(:'manifest_signing_service')
89
87
  self.manifest_signing_service = attributes[:'manifest_signing_service']
90
88
  end
91
89
 
92
- if attributes.key?(:'retain_repo_versions')
93
- self.retain_repo_versions = attributes[:'retain_repo_versions']
90
+ if attributes.key?(:'pulp_labels')
91
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
92
+ self.pulp_labels = value
93
+ end
94
94
  end
95
95
 
96
96
  if attributes.key?(:'description')
@@ -162,9 +162,9 @@ module PulpContainerClient
162
162
  return true if self.equal?(o)
163
163
  self.class == o.class &&
164
164
  name == o.name &&
165
- pulp_labels == o.pulp_labels &&
166
- manifest_signing_service == o.manifest_signing_service &&
167
165
  retain_repo_versions == o.retain_repo_versions &&
166
+ manifest_signing_service == o.manifest_signing_service &&
167
+ pulp_labels == o.pulp_labels &&
168
168
  description == o.description
169
169
  end
170
170
 
@@ -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, manifest_signing_service, retain_repo_versions, description].hash
180
+ [name, retain_repo_versions, manifest_signing_service, pulp_labels, description].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.dev1671591925'
14
+ VERSION = '2.15.0.dev1672887945'
15
15
  end
@@ -44,31 +44,31 @@ describe 'ContainerContainerDistributionResponse' do
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "pulp_labels"' do
47
+ describe 'test attribute "name"' 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 "name"' do
53
+ describe 'test attribute "repository"' 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 "repository"' do
59
+ describe 'test attribute "pulp_created"' 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_href"' do
65
+ describe 'test attribute "pulp_labels"' 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 "pulp_created"' do
71
+ describe 'test attribute "pulp_href"' 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
@@ -44,19 +44,19 @@ describe 'ContainerContainerDistribution' do
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "pulp_labels"' do
47
+ describe 'test attribute "name"' 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 "name"' do
53
+ describe 'test attribute "repository"' 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 "repository"' do
59
+ describe 'test attribute "pulp_labels"' 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
@@ -32,55 +32,55 @@ describe 'ContainerContainerPushRepositoryResponse' do
32
32
  expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerPushRepositoryResponse)
33
33
  end
34
34
  end
35
- describe 'test attribute "name"' do
35
+ describe 'test attribute "latest_version_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
39
39
  end
40
40
 
41
- describe 'test attribute "pulp_labels"' do
41
+ describe 'test attribute "name"' 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 "manifest_signing_service"' do
47
+ describe 'test attribute "retain_repo_versions"' 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 "latest_version_href"' do
53
+ describe 'test attribute "versions_href"' 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 "retain_repo_versions"' 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
63
63
  end
64
64
 
65
- describe 'test attribute "pulp_href"' 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 "versions_href"' do
71
+ describe 'test attribute "pulp_labels"' 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_created"' do
77
+ describe 'test attribute "description"' 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 "description"' do
83
+ describe 'test attribute "pulp_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
@@ -38,7 +38,7 @@ describe 'ContainerContainerPushRepository' do
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "pulp_labels"' do
41
+ describe 'test attribute "retain_repo_versions"' 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
@@ -50,7 +50,7 @@ describe 'ContainerContainerPushRepository' do
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "retain_repo_versions"' do
53
+ describe 'test attribute "pulp_labels"' 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
@@ -44,19 +44,19 @@ describe 'PatchedcontainerContainerDistribution' do
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "pulp_labels"' do
47
+ describe 'test attribute "name"' 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 "name"' do
53
+ describe 'test attribute "repository"' 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 "repository"' do
59
+ describe 'test attribute "pulp_labels"' 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,7 +38,7 @@ describe 'PatchedcontainerContainerPushRepository' do
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "pulp_labels"' do
41
+ describe 'test attribute "retain_repo_versions"' 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
@@ -50,7 +50,7 @@ describe 'PatchedcontainerContainerPushRepository' do
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "retain_repo_versions"' do
53
+ describe 'test attribute "pulp_labels"' 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
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.dev1671591925
4
+ version: 2.15.0.dev1672887945
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-21 00:00:00.000000000 Z
11
+ date: 2023-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday