pulp_container_client 2.15.0.dev1673233651 → 2.15.0.dev1673406406

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: e4305170ec8431d0842783bd813972cf18fa547fa35b7d0e4cd3848f2af0b19d
4
- data.tar.gz: 525129a39c80ee829d948e84b332bf52e1523baa9137d9963d8d29970e08c66e
3
+ metadata.gz: 952e0730a11863f2e5675d89fb2f4f9f2a0401b5e3dd6f7d60207bf4cf7201e3
4
+ data.tar.gz: 3ffaeb9c1f74d137cb74193222470ef0b7c4b9ba2467a802ca9860594e5cf3d9
5
5
  SHA512:
6
- metadata.gz: 9cfda078c09200702ad46e3832185c39effa87ffa7029494922a8d65277c22114eafc32228dbfde6d35c0fe3eed2784f9a860bba43a332a17b125762c4de5bfc
7
- data.tar.gz: ebbcaff3ad9cc0f0a65dcb4593c42e4bbea9bf6510903c70673e270263f51f51db1c8c2cdeee6a4e16f71d88c0393d3681ff4f010343fba14d7958dd48b7cac1
6
+ metadata.gz: 674ab5cd4d22dba46a6727b0ef445fd725bb7a4a398e92df0b284ecb7ddbb6aaaed89db2aa7f05a41f10f138b3870fe1aa5b6462ff0b4fc761524db7d5f74cb2
7
+ data.tar.gz: e30e56330abc5b7f9d182ad66fccac59f8195a8fdbc779233731feffebf37154f49add1b27d661138b7d358f885c82c8819ba11dacd4fc817a85ed0105a913fa
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.dev1673233651
10
+ - Package version: 2.15.0.dev1673406406
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.dev1673233651.gem
27
+ gem install ./pulp_container_client-2.15.0.dev1673406406.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_container_client-2.15.0.dev1673233651.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_container_client-2.15.0.dev1673406406.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.dev1673233651'
36
+ gem 'pulp_container_client', '~> 2.15.0.dev1673406406'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
7
7
  **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
8
8
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
9
9
  **pulp_labels** | **Hash<String, String>** | | [optional]
10
- **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
11
10
  **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\") |
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]
14
14
  **description** | **String** | An optional description. | [optional]
@@ -21,8 +21,8 @@ require 'PulpContainerClient'
21
21
  instance = PulpContainerClient::ContainerContainerDistribution.new(content_guard: null,
22
22
  name: null,
23
23
  pulp_labels: null,
24
- repository: null,
25
24
  base_path: null,
25
+ repository: null,
26
26
  repository_version: null,
27
27
  private: null,
28
28
  description: null)
@@ -8,9 +8,9 @@ Name | Type | Description | Notes
8
8
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
9
9
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
10
10
  **pulp_labels** | **Hash<String, String>** | | [optional]
11
- **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
12
- **pulp_href** | **String** | | [optional] [readonly]
13
11
  **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\") |
12
+ **pulp_href** | **String** | | [optional] [readonly]
13
+ **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
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]
@@ -26,9 +26,9 @@ instance = PulpContainerClient::ContainerContainerDistributionResponse.new(conte
26
26
  name: null,
27
27
  pulp_created: null,
28
28
  pulp_labels: null,
29
- repository: null,
30
- pulp_href: null,
31
29
  base_path: null,
30
+ pulp_href: null,
31
+ repository: null,
32
32
  repository_version: null,
33
33
  registry_path: null,
34
34
  namespace: null,
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
7
7
  **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
8
8
  **name** | **String** | A unique name for this repository. |
9
9
  **pulp_labels** | **Hash<String, String>** | | [optional]
10
- **description** | **String** | An optional description. | [optional]
11
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
+ **description** | **String** | An optional description. | [optional]
12
12
 
13
13
  ## Code Sample
14
14
 
@@ -18,8 +18,8 @@ require 'PulpContainerClient'
18
18
  instance = PulpContainerClient::ContainerContainerPushRepository.new(manifest_signing_service: null,
19
19
  name: null,
20
20
  pulp_labels: null,
21
- description: null,
22
- retain_repo_versions: null)
21
+ retain_repo_versions: null,
22
+ description: null)
23
23
  ```
24
24
 
25
25
 
@@ -4,30 +4,30 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
+ **versions_href** | **String** | | [optional] [readonly]
7
8
  **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
8
9
  **name** | **String** | A unique name for this repository. |
9
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
10
10
  **pulp_labels** | **Hash<String, String>** | | [optional]
11
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
12
+ **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
13
  **pulp_href** | **String** | | [optional] [readonly]
12
- **description** | **String** | An optional description. | [optional]
13
14
  **latest_version_href** | **String** | | [optional] [readonly]
14
- **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]
15
- **versions_href** | **String** | | [optional] [readonly]
15
+ **description** | **String** | An optional description. | [optional]
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
+ manifest_signing_service: null,
23
24
  name: null,
24
- pulp_created: null,
25
25
  pulp_labels: null,
26
+ pulp_created: null,
27
+ retain_repo_versions: null,
26
28
  pulp_href: null,
27
- description: null,
28
29
  latest_version_href: null,
29
- retain_repo_versions: null,
30
- versions_href: null)
30
+ description: null)
31
31
  ```
32
32
 
33
33
 
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
7
7
  **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
8
8
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
9
9
  **pulp_labels** | **Hash<String, String>** | | [optional]
10
- **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
11
10
  **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]
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]
14
14
  **description** | **String** | An optional description. | [optional]
@@ -21,8 +21,8 @@ require 'PulpContainerClient'
21
21
  instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(content_guard: null,
22
22
  name: null,
23
23
  pulp_labels: null,
24
- repository: null,
25
24
  base_path: null,
25
+ repository: null,
26
26
  repository_version: null,
27
27
  private: null,
28
28
  description: null)
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
7
7
  **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
8
8
  **name** | **String** | A unique name for this repository. | [optional]
9
9
  **pulp_labels** | **Hash<String, String>** | | [optional]
10
- **description** | **String** | An optional description. | [optional]
11
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
+ **description** | **String** | An optional description. | [optional]
12
12
 
13
13
  ## Code Sample
14
14
 
@@ -18,8 +18,8 @@ require 'PulpContainerClient'
18
18
  instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(manifest_signing_service: null,
19
19
  name: null,
20
20
  pulp_labels: null,
21
- description: null,
22
- retain_repo_versions: null)
21
+ retain_repo_versions: null,
22
+ description: null)
23
23
  ```
24
24
 
25
25
 
@@ -23,12 +23,12 @@ module PulpContainerClient
23
23
 
24
24
  attr_accessor :pulp_labels
25
25
 
26
- # The latest RepositoryVersion for this Repository will be served.
27
- attr_accessor :repository
28
-
29
26
  # 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
27
  attr_accessor :base_path
31
28
 
29
+ # The latest RepositoryVersion for this Repository will be served.
30
+ attr_accessor :repository
31
+
32
32
  # RepositoryVersion to be served
33
33
  attr_accessor :repository_version
34
34
 
@@ -44,8 +44,8 @@ module PulpContainerClient
44
44
  :'content_guard' => :'content_guard',
45
45
  :'name' => :'name',
46
46
  :'pulp_labels' => :'pulp_labels',
47
- :'repository' => :'repository',
48
47
  :'base_path' => :'base_path',
48
+ :'repository' => :'repository',
49
49
  :'repository_version' => :'repository_version',
50
50
  :'private' => :'private',
51
51
  :'description' => :'description'
@@ -58,8 +58,8 @@ module PulpContainerClient
58
58
  :'content_guard' => :'String',
59
59
  :'name' => :'String',
60
60
  :'pulp_labels' => :'Hash<String, String>',
61
- :'repository' => :'String',
62
61
  :'base_path' => :'String',
62
+ :'repository' => :'String',
63
63
  :'repository_version' => :'String',
64
64
  :'private' => :'Boolean',
65
65
  :'description' => :'String'
@@ -104,14 +104,14 @@ module PulpContainerClient
104
104
  end
105
105
  end
106
106
 
107
- if attributes.key?(:'repository')
108
- self.repository = attributes[:'repository']
109
- end
110
-
111
107
  if attributes.key?(:'base_path')
112
108
  self.base_path = attributes[:'base_path']
113
109
  end
114
110
 
111
+ if attributes.key?(:'repository')
112
+ self.repository = attributes[:'repository']
113
+ end
114
+
115
115
  if attributes.key?(:'repository_version')
116
116
  self.repository_version = attributes[:'repository_version']
117
117
  end
@@ -209,8 +209,8 @@ module PulpContainerClient
209
209
  content_guard == o.content_guard &&
210
210
  name == o.name &&
211
211
  pulp_labels == o.pulp_labels &&
212
- repository == o.repository &&
213
212
  base_path == o.base_path &&
213
+ repository == o.repository &&
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, name, pulp_labels, repository, base_path, repository_version, private, description].hash
228
+ [content_guard, name, pulp_labels, base_path, repository, repository_version, private, description].hash
229
229
  end
230
230
 
231
231
  # Builds the object from hash
@@ -26,13 +26,13 @@ module PulpContainerClient
26
26
 
27
27
  attr_accessor :pulp_labels
28
28
 
29
- # The latest RepositoryVersion for this Repository will be served.
30
- attr_accessor :repository
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
31
 
32
32
  attr_accessor :pulp_href
33
33
 
34
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
35
- attr_accessor :base_path
34
+ # The latest RepositoryVersion for this Repository will be served.
35
+ attr_accessor :repository
36
36
 
37
37
  # RepositoryVersion to be served
38
38
  attr_accessor :repository_version
@@ -56,9 +56,9 @@ module PulpContainerClient
56
56
  :'name' => :'name',
57
57
  :'pulp_created' => :'pulp_created',
58
58
  :'pulp_labels' => :'pulp_labels',
59
- :'repository' => :'repository',
60
- :'pulp_href' => :'pulp_href',
61
59
  :'base_path' => :'base_path',
60
+ :'pulp_href' => :'pulp_href',
61
+ :'repository' => :'repository',
62
62
  :'repository_version' => :'repository_version',
63
63
  :'registry_path' => :'registry_path',
64
64
  :'namespace' => :'namespace',
@@ -74,9 +74,9 @@ module PulpContainerClient
74
74
  :'name' => :'String',
75
75
  :'pulp_created' => :'DateTime',
76
76
  :'pulp_labels' => :'Hash<String, String>',
77
- :'repository' => :'String',
78
- :'pulp_href' => :'String',
79
77
  :'base_path' => :'String',
78
+ :'pulp_href' => :'String',
79
+ :'repository' => :'String',
80
80
  :'repository_version' => :'String',
81
81
  :'registry_path' => :'String',
82
82
  :'namespace' => :'String',
@@ -127,16 +127,16 @@ module PulpContainerClient
127
127
  end
128
128
  end
129
129
 
130
- if attributes.key?(:'repository')
131
- self.repository = attributes[:'repository']
130
+ if attributes.key?(:'base_path')
131
+ self.base_path = attributes[:'base_path']
132
132
  end
133
133
 
134
134
  if attributes.key?(:'pulp_href')
135
135
  self.pulp_href = attributes[:'pulp_href']
136
136
  end
137
137
 
138
- if attributes.key?(:'base_path')
139
- self.base_path = attributes[:'base_path']
138
+ if attributes.key?(:'repository')
139
+ self.repository = attributes[:'repository']
140
140
  end
141
141
 
142
142
  if attributes.key?(:'repository_version')
@@ -192,9 +192,9 @@ module PulpContainerClient
192
192
  name == o.name &&
193
193
  pulp_created == o.pulp_created &&
194
194
  pulp_labels == o.pulp_labels &&
195
- repository == o.repository &&
196
- pulp_href == o.pulp_href &&
197
195
  base_path == o.base_path &&
196
+ pulp_href == o.pulp_href &&
197
+ repository == o.repository &&
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, name, pulp_created, pulp_labels, repository, pulp_href, base_path, repository_version, registry_path, namespace, private, description].hash
214
+ [content_guard, name, pulp_created, pulp_labels, base_path, pulp_href, repository, repository_version, registry_path, namespace, private, description].hash
215
215
  end
216
216
 
217
217
  # Builds the object from hash
@@ -23,20 +23,20 @@ module PulpContainerClient
23
23
 
24
24
  attr_accessor :pulp_labels
25
25
 
26
- # An optional description.
27
- attr_accessor :description
28
-
29
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.
30
27
  attr_accessor :retain_repo_versions
31
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
35
  :'manifest_signing_service' => :'manifest_signing_service',
36
36
  :'name' => :'name',
37
37
  :'pulp_labels' => :'pulp_labels',
38
- :'description' => :'description',
39
- :'retain_repo_versions' => :'retain_repo_versions'
38
+ :'retain_repo_versions' => :'retain_repo_versions',
39
+ :'description' => :'description'
40
40
  }
41
41
  end
42
42
 
@@ -46,8 +46,8 @@ module PulpContainerClient
46
46
  :'manifest_signing_service' => :'String',
47
47
  :'name' => :'String',
48
48
  :'pulp_labels' => :'Hash<String, String>',
49
- :'description' => :'String',
50
- :'retain_repo_versions' => :'Integer'
49
+ :'retain_repo_versions' => :'Integer',
50
+ :'description' => :'String'
51
51
  }
52
52
  end
53
53
 
@@ -55,8 +55,8 @@ module PulpContainerClient
55
55
  def self.openapi_nullable
56
56
  Set.new([
57
57
  :'manifest_signing_service',
58
- :'description',
59
- :'retain_repo_versions'
58
+ :'retain_repo_versions',
59
+ :'description'
60
60
  ])
61
61
  end
62
62
 
@@ -89,13 +89,13 @@ module PulpContainerClient
89
89
  end
90
90
  end
91
91
 
92
- if attributes.key?(:'description')
93
- self.description = attributes[:'description']
94
- end
95
-
96
92
  if attributes.key?(:'retain_repo_versions')
97
93
  self.retain_repo_versions = attributes[:'retain_repo_versions']
98
94
  end
95
+
96
+ if attributes.key?(:'description')
97
+ self.description = attributes[:'description']
98
+ end
99
99
  end
100
100
 
101
101
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -110,14 +110,14 @@ module PulpContainerClient
110
110
  invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
111
111
  end
112
112
 
113
- if !@description.nil? && @description.to_s.length < 1
114
- invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
115
- end
116
-
117
113
  if !@retain_repo_versions.nil? && @retain_repo_versions < 1
118
114
  invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
119
115
  end
120
116
 
117
+ if !@description.nil? && @description.to_s.length < 1
118
+ invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
119
+ end
120
+
121
121
  invalid_properties
122
122
  end
123
123
 
@@ -126,8 +126,8 @@ module PulpContainerClient
126
126
  def valid?
127
127
  return false if @name.nil?
128
128
  return false if @name.to_s.length < 1
129
- return false if !@description.nil? && @description.to_s.length < 1
130
129
  return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
130
+ return false if !@description.nil? && @description.to_s.length < 1
131
131
  true
132
132
  end
133
133
 
@@ -145,16 +145,6 @@ module PulpContainerClient
145
145
  @name = name
146
146
  end
147
147
 
148
- # Custom attribute writer method with validation
149
- # @param [Object] description Value to be assigned
150
- def description=(description)
151
- if !description.nil? && description.to_s.length < 1
152
- fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
153
- end
154
-
155
- @description = description
156
- end
157
-
158
148
  # Custom attribute writer method with validation
159
149
  # @param [Object] retain_repo_versions Value to be assigned
160
150
  def retain_repo_versions=(retain_repo_versions)
@@ -165,6 +155,16 @@ module PulpContainerClient
165
155
  @retain_repo_versions = retain_repo_versions
166
156
  end
167
157
 
158
+ # Custom attribute writer method with validation
159
+ # @param [Object] description Value to be assigned
160
+ def description=(description)
161
+ if !description.nil? && description.to_s.length < 1
162
+ fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
163
+ end
164
+
165
+ @description = description
166
+ end
167
+
168
168
  # Checks equality by comparing each attribute.
169
169
  # @param [Object] Object to be compared
170
170
  def ==(o)
@@ -173,8 +173,8 @@ module PulpContainerClient
173
173
  manifest_signing_service == o.manifest_signing_service &&
174
174
  name == o.name &&
175
175
  pulp_labels == o.pulp_labels &&
176
- description == o.description &&
177
- retain_repo_versions == o.retain_repo_versions
176
+ retain_repo_versions == o.retain_repo_versions &&
177
+ description == o.description
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, pulp_labels, description, retain_repo_versions].hash
189
+ [manifest_signing_service, name, pulp_labels, retain_repo_versions, description].hash
190
190
  end
191
191
 
192
192
  # Builds the object from hash
@@ -15,56 +15,56 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # Serializer for Container Push Repositories.
17
17
  class ContainerContainerPushRepositoryResponse
18
+ attr_accessor :versions_href
19
+
18
20
  # A reference to an associated signing service.
19
21
  attr_accessor :manifest_signing_service
20
22
 
21
23
  # A unique name for this repository.
22
24
  attr_accessor :name
23
25
 
26
+ attr_accessor :pulp_labels
27
+
24
28
  # Timestamp of creation.
25
29
  attr_accessor :pulp_created
26
30
 
27
- attr_accessor :pulp_labels
31
+ # 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.
32
+ attr_accessor :retain_repo_versions
28
33
 
29
34
  attr_accessor :pulp_href
30
35
 
31
- # An optional description.
32
- attr_accessor :description
33
-
34
36
  attr_accessor :latest_version_href
35
37
 
36
- # 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.
37
- attr_accessor :retain_repo_versions
38
-
39
- attr_accessor :versions_href
38
+ # An optional description.
39
+ attr_accessor :description
40
40
 
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
42
42
  def self.attribute_map
43
43
  {
44
+ :'versions_href' => :'versions_href',
44
45
  :'manifest_signing_service' => :'manifest_signing_service',
45
46
  :'name' => :'name',
46
- :'pulp_created' => :'pulp_created',
47
47
  :'pulp_labels' => :'pulp_labels',
48
+ :'pulp_created' => :'pulp_created',
49
+ :'retain_repo_versions' => :'retain_repo_versions',
48
50
  :'pulp_href' => :'pulp_href',
49
- :'description' => :'description',
50
51
  :'latest_version_href' => :'latest_version_href',
51
- :'retain_repo_versions' => :'retain_repo_versions',
52
- :'versions_href' => :'versions_href'
52
+ :'description' => :'description'
53
53
  }
54
54
  end
55
55
 
56
56
  # Attribute type mapping.
57
57
  def self.openapi_types
58
58
  {
59
+ :'versions_href' => :'String',
59
60
  :'manifest_signing_service' => :'String',
60
61
  :'name' => :'String',
61
- :'pulp_created' => :'DateTime',
62
62
  :'pulp_labels' => :'Hash<String, String>',
63
+ :'pulp_created' => :'DateTime',
64
+ :'retain_repo_versions' => :'Integer',
63
65
  :'pulp_href' => :'String',
64
- :'description' => :'String',
65
66
  :'latest_version_href' => :'String',
66
- :'retain_repo_versions' => :'Integer',
67
- :'versions_href' => :'String'
67
+ :'description' => :'String'
68
68
  }
69
69
  end
70
70
 
@@ -72,8 +72,8 @@ module PulpContainerClient
72
72
  def self.openapi_nullable
73
73
  Set.new([
74
74
  :'manifest_signing_service',
75
- :'description',
76
75
  :'retain_repo_versions',
76
+ :'description'
77
77
  ])
78
78
  end
79
79
 
@@ -92,6 +92,10 @@ module PulpContainerClient
92
92
  h[k.to_sym] = v
93
93
  }
94
94
 
95
+ if attributes.key?(:'versions_href')
96
+ self.versions_href = attributes[:'versions_href']
97
+ end
98
+
95
99
  if attributes.key?(:'manifest_signing_service')
96
100
  self.manifest_signing_service = attributes[:'manifest_signing_service']
97
101
  end
@@ -100,34 +104,30 @@ module PulpContainerClient
100
104
  self.name = attributes[:'name']
101
105
  end
102
106
 
103
- if attributes.key?(:'pulp_created')
104
- self.pulp_created = attributes[:'pulp_created']
105
- end
106
-
107
107
  if attributes.key?(:'pulp_labels')
108
108
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
109
109
  self.pulp_labels = value
110
110
  end
111
111
  end
112
112
 
113
- if attributes.key?(:'pulp_href')
114
- self.pulp_href = attributes[:'pulp_href']
113
+ if attributes.key?(:'pulp_created')
114
+ self.pulp_created = attributes[:'pulp_created']
115
115
  end
116
116
 
117
- if attributes.key?(:'description')
118
- self.description = attributes[:'description']
117
+ if attributes.key?(:'retain_repo_versions')
118
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
119
119
  end
120
120
 
121
- if attributes.key?(:'latest_version_href')
122
- self.latest_version_href = attributes[:'latest_version_href']
121
+ if attributes.key?(:'pulp_href')
122
+ self.pulp_href = attributes[:'pulp_href']
123
123
  end
124
124
 
125
- if attributes.key?(:'retain_repo_versions')
126
- self.retain_repo_versions = attributes[:'retain_repo_versions']
125
+ if attributes.key?(:'latest_version_href')
126
+ self.latest_version_href = attributes[:'latest_version_href']
127
127
  end
128
128
 
129
- if attributes.key?(:'versions_href')
130
- self.versions_href = attributes[:'versions_href']
129
+ if attributes.key?(:'description')
130
+ self.description = attributes[:'description']
131
131
  end
132
132
  end
133
133
 
@@ -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
+ versions_href == o.versions_href &&
172
173
  manifest_signing_service == o.manifest_signing_service &&
173
174
  name == o.name &&
174
- pulp_created == o.pulp_created &&
175
175
  pulp_labels == o.pulp_labels &&
176
+ pulp_created == o.pulp_created &&
177
+ retain_repo_versions == o.retain_repo_versions &&
176
178
  pulp_href == o.pulp_href &&
177
- description == o.description &&
178
179
  latest_version_href == o.latest_version_href &&
179
- retain_repo_versions == o.retain_repo_versions &&
180
- versions_href == o.versions_href
180
+ description == o.description
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, pulp_created, pulp_labels, pulp_href, description, latest_version_href, retain_repo_versions, versions_href].hash
192
+ [versions_href, manifest_signing_service, name, pulp_labels, pulp_created, retain_repo_versions, pulp_href, latest_version_href, description].hash
193
193
  end
194
194
 
195
195
  # Builds the object from hash
@@ -23,12 +23,12 @@ module PulpContainerClient
23
23
 
24
24
  attr_accessor :pulp_labels
25
25
 
26
- # The latest RepositoryVersion for this Repository will be served.
27
- attr_accessor :repository
28
-
29
26
  # 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
27
  attr_accessor :base_path
31
28
 
29
+ # The latest RepositoryVersion for this Repository will be served.
30
+ attr_accessor :repository
31
+
32
32
  # RepositoryVersion to be served
33
33
  attr_accessor :repository_version
34
34
 
@@ -44,8 +44,8 @@ module PulpContainerClient
44
44
  :'content_guard' => :'content_guard',
45
45
  :'name' => :'name',
46
46
  :'pulp_labels' => :'pulp_labels',
47
- :'repository' => :'repository',
48
47
  :'base_path' => :'base_path',
48
+ :'repository' => :'repository',
49
49
  :'repository_version' => :'repository_version',
50
50
  :'private' => :'private',
51
51
  :'description' => :'description'
@@ -58,8 +58,8 @@ module PulpContainerClient
58
58
  :'content_guard' => :'String',
59
59
  :'name' => :'String',
60
60
  :'pulp_labels' => :'Hash<String, String>',
61
- :'repository' => :'String',
62
61
  :'base_path' => :'String',
62
+ :'repository' => :'String',
63
63
  :'repository_version' => :'String',
64
64
  :'private' => :'Boolean',
65
65
  :'description' => :'String'
@@ -104,14 +104,14 @@ module PulpContainerClient
104
104
  end
105
105
  end
106
106
 
107
- if attributes.key?(:'repository')
108
- self.repository = attributes[:'repository']
109
- end
110
-
111
107
  if attributes.key?(:'base_path')
112
108
  self.base_path = attributes[:'base_path']
113
109
  end
114
110
 
111
+ if attributes.key?(:'repository')
112
+ self.repository = attributes[:'repository']
113
+ end
114
+
115
115
  if attributes.key?(:'repository_version')
116
116
  self.repository_version = attributes[:'repository_version']
117
117
  end
@@ -191,8 +191,8 @@ module PulpContainerClient
191
191
  content_guard == o.content_guard &&
192
192
  name == o.name &&
193
193
  pulp_labels == o.pulp_labels &&
194
- repository == o.repository &&
195
194
  base_path == o.base_path &&
195
+ repository == o.repository &&
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, name, pulp_labels, repository, base_path, repository_version, private, description].hash
210
+ [content_guard, name, pulp_labels, base_path, repository, repository_version, private, description].hash
211
211
  end
212
212
 
213
213
  # Builds the object from hash
@@ -23,20 +23,20 @@ module PulpContainerClient
23
23
 
24
24
  attr_accessor :pulp_labels
25
25
 
26
- # An optional description.
27
- attr_accessor :description
28
-
29
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.
30
27
  attr_accessor :retain_repo_versions
31
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
35
  :'manifest_signing_service' => :'manifest_signing_service',
36
36
  :'name' => :'name',
37
37
  :'pulp_labels' => :'pulp_labels',
38
- :'description' => :'description',
39
- :'retain_repo_versions' => :'retain_repo_versions'
38
+ :'retain_repo_versions' => :'retain_repo_versions',
39
+ :'description' => :'description'
40
40
  }
41
41
  end
42
42
 
@@ -46,8 +46,8 @@ module PulpContainerClient
46
46
  :'manifest_signing_service' => :'String',
47
47
  :'name' => :'String',
48
48
  :'pulp_labels' => :'Hash<String, String>',
49
- :'description' => :'String',
50
- :'retain_repo_versions' => :'Integer'
49
+ :'retain_repo_versions' => :'Integer',
50
+ :'description' => :'String'
51
51
  }
52
52
  end
53
53
 
@@ -55,8 +55,8 @@ module PulpContainerClient
55
55
  def self.openapi_nullable
56
56
  Set.new([
57
57
  :'manifest_signing_service',
58
- :'description',
59
- :'retain_repo_versions'
58
+ :'retain_repo_versions',
59
+ :'description'
60
60
  ])
61
61
  end
62
62
 
@@ -89,13 +89,13 @@ module PulpContainerClient
89
89
  end
90
90
  end
91
91
 
92
- if attributes.key?(:'description')
93
- self.description = attributes[:'description']
94
- end
95
-
96
92
  if attributes.key?(:'retain_repo_versions')
97
93
  self.retain_repo_versions = attributes[:'retain_repo_versions']
98
94
  end
95
+
96
+ if attributes.key?(:'description')
97
+ self.description = attributes[:'description']
98
+ end
99
99
  end
100
100
 
101
101
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -106,14 +106,14 @@ module PulpContainerClient
106
106
  invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
107
107
  end
108
108
 
109
- if !@description.nil? && @description.to_s.length < 1
110
- invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
111
- end
112
-
113
109
  if !@retain_repo_versions.nil? && @retain_repo_versions < 1
114
110
  invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
115
111
  end
116
112
 
113
+ if !@description.nil? && @description.to_s.length < 1
114
+ invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
115
+ end
116
+
117
117
  invalid_properties
118
118
  end
119
119
 
@@ -121,8 +121,8 @@ module PulpContainerClient
121
121
  # @return true if the model is valid
122
122
  def valid?
123
123
  return false if !@name.nil? && @name.to_s.length < 1
124
- return false if !@description.nil? && @description.to_s.length < 1
125
124
  return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
125
+ return false if !@description.nil? && @description.to_s.length < 1
126
126
  true
127
127
  end
128
128
 
@@ -136,16 +136,6 @@ module PulpContainerClient
136
136
  @name = name
137
137
  end
138
138
 
139
- # Custom attribute writer method with validation
140
- # @param [Object] description Value to be assigned
141
- def description=(description)
142
- if !description.nil? && description.to_s.length < 1
143
- fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
144
- end
145
-
146
- @description = description
147
- end
148
-
149
139
  # Custom attribute writer method with validation
150
140
  # @param [Object] retain_repo_versions Value to be assigned
151
141
  def retain_repo_versions=(retain_repo_versions)
@@ -156,6 +146,16 @@ module PulpContainerClient
156
146
  @retain_repo_versions = retain_repo_versions
157
147
  end
158
148
 
149
+ # Custom attribute writer method with validation
150
+ # @param [Object] description Value to be assigned
151
+ def description=(description)
152
+ if !description.nil? && description.to_s.length < 1
153
+ fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
154
+ end
155
+
156
+ @description = description
157
+ end
158
+
159
159
  # Checks equality by comparing each attribute.
160
160
  # @param [Object] Object to be compared
161
161
  def ==(o)
@@ -164,8 +164,8 @@ module PulpContainerClient
164
164
  manifest_signing_service == o.manifest_signing_service &&
165
165
  name == o.name &&
166
166
  pulp_labels == o.pulp_labels &&
167
- description == o.description &&
168
- retain_repo_versions == o.retain_repo_versions
167
+ retain_repo_versions == o.retain_repo_versions &&
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
- [manifest_signing_service, name, pulp_labels, description, retain_repo_versions].hash
180
+ [manifest_signing_service, name, pulp_labels, retain_repo_versions, 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.dev1673233651'
14
+ VERSION = '2.15.0.dev1673406406'
15
15
  end
@@ -56,7 +56,7 @@ describe 'ContainerContainerDistributionResponse' do
56
56
  end
57
57
  end
58
58
 
59
- describe 'test attribute "repository"' do
59
+ describe 'test attribute "base_path"' 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
@@ -68,7 +68,7 @@ describe 'ContainerContainerDistributionResponse' do
68
68
  end
69
69
  end
70
70
 
71
- describe 'test attribute "base_path"' do
71
+ describe 'test attribute "repository"' 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
@@ -50,13 +50,13 @@ describe 'ContainerContainerDistribution' do
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "repository"' do
53
+ describe 'test attribute "base_path"' 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 "base_path"' do
59
+ describe 'test attribute "repository"' 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,19 +32,19 @@ 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
39
39
  end
40
40
 
41
- describe 'test attribute "name"' do
41
+ describe 'test attribute "manifest_signing_service"' 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 "pulp_created"' 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
@@ -56,31 +56,31 @@ describe 'ContainerContainerPushRepositoryResponse' do
56
56
  end
57
57
  end
58
58
 
59
- describe 'test attribute "pulp_href"' 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 "description"' do
65
+ describe 'test attribute "retain_repo_versions"' 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 "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
75
75
  end
76
76
 
77
- describe 'test attribute "retain_repo_versions"' do
77
+ describe 'test attribute "latest_version_href"' 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 "versions_href"' do
83
+ describe 'test attribute "description"' 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
@@ -50,13 +50,13 @@ describe 'ContainerContainerPushRepository' do
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "description"' do
53
+ describe 'test attribute "retain_repo_versions"' 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 "description"' 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
@@ -50,13 +50,13 @@ describe 'PatchedcontainerContainerDistribution' do
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "repository"' do
53
+ describe 'test attribute "base_path"' 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 "base_path"' do
59
+ describe 'test attribute "repository"' 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
@@ -50,13 +50,13 @@ describe 'PatchedcontainerContainerPushRepository' do
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "description"' do
53
+ describe 'test attribute "retain_repo_versions"' 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 "description"' 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.dev1673233651
4
+ version: 2.15.0.dev1673406406
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-09 00:00:00.000000000 Z
11
+ date: 2023-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday