pulp_container_client 2.14.0.dev1658894893 → 2.14.0.dev1659153853

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: adf4a9e39cee5788e9f4234e3fad46071141efe24de5dd8176f54cd7a9146788
4
- data.tar.gz: 21ec06959bdc577eae8f3fa4730bd7f25c957cb867ba66431d49c18edca2d780
3
+ metadata.gz: c89c21022897d6cf265b01d6649d2e657d7d9aa7bd5d556c16aadbab4f8bb796
4
+ data.tar.gz: a17fa705ba5113b53aef2fb43b2d463715df429b0ce0216cde233dc4f0a9538a
5
5
  SHA512:
6
- metadata.gz: d093dd67ef859f1ae78a7728110e302bec0d1ae4ed10aad5bdfd384a39bca074a722c989d8e233181c485d78cf9e4f7648c57e3ea281520ee0a4ffe7384f0a36
7
- data.tar.gz: 3553e08ac513c57d8f5c24025de74adfc1d9984a31b4845b7cbf52ba6bf7bd4be161547a7d4c2dfcf1292cb0c23f3f7efb608d3d8e429a91aa1fc605f411cca3
6
+ metadata.gz: 073ff722ffd1f46d05e47dc6f9aeff43edf190f3ad9b27e79b0e54b6593bc1873f330ee1efc491db37f67e0f3859f12ea461248f5afce157bf1497c52217f1cc
7
+ data.tar.gz: 57c65e67a1c56fbbff08b587b6a99f8eb71b3ce45ad6f523362b7dd27ebb81c6788f74490aefded7b0606ad80b9f5b3319d56eea0771747e0077c6140f62fcc8
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.14.0.dev1658894893
10
+ - Package version: 2.14.0.dev1659153853
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.14.0.dev1658894893.gem
27
+ gem install ./pulp_container_client-2.14.0.dev1659153853.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_container_client-2.14.0.dev1658894893.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_container_client-2.14.0.dev1659153853.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.14.0.dev1658894893'
36
+ gem 'pulp_container_client', '~> 2.14.0.dev1659153853'
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
- **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
9
8
  **pulp_labels** | [**Object**](.md) | | [optional]
10
9
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
10
+ **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
11
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
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
- content_guard: null,
23
22
  pulp_labels: null,
24
23
  repository: null,
24
+ content_guard: null,
25
25
  base_path: null,
26
26
  repository_version: null,
27
27
  private: null,
@@ -5,12 +5,12 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
8
- **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
9
8
  **pulp_labels** | [**Object**](.md) | | [optional]
10
9
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
10
+ **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
11
11
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
12
- **pulp_href** | **String** | | [optional] [readonly]
13
12
  **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\") |
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]
@@ -23,12 +23,12 @@ Name | Type | Description | Notes
23
23
  require 'PulpContainerClient'
24
24
 
25
25
  instance = PulpContainerClient::ContainerContainerDistributionResponse.new(name: null,
26
- content_guard: null,
27
26
  pulp_labels: null,
28
27
  repository: null,
28
+ content_guard: null,
29
29
  pulp_created: null,
30
- pulp_href: null,
31
30
  base_path: null,
31
+ pulp_href: null,
32
32
  repository_version: null,
33
33
  registry_path: null,
34
34
  namespace: 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]
7
8
  **name** | **String** | A unique name for this repository. |
8
9
  **pulp_labels** | [**Object**](.md) | | [optional]
9
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]
10
11
  **description** | **String** | An optional description. | [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(name: null,
18
+ instance = PulpContainerClient::ContainerContainerPushRepository.new(manifest_signing_service: null,
19
+ name: null,
19
20
  pulp_labels: null,
20
21
  retain_repo_versions: null,
21
- description: null,
22
- manifest_signing_service: 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
+ **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
7
8
  **name** | **String** | A unique name for this repository. |
8
9
  **pulp_labels** | [**Object**](.md) | | [optional]
9
- **latest_version_href** | **String** | | [optional] [readonly]
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
- **description** | **String** | An optional description. | [optional]
12
- **manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
11
+ **versions_href** | **String** | | [optional] [readonly]
12
+ **latest_version_href** | **String** | | [optional] [readonly]
13
13
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
14
+ **description** | **String** | An optional description. | [optional]
14
15
  **pulp_href** | **String** | | [optional] [readonly]
15
- **versions_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,
22
+ instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(manifest_signing_service: null,
23
+ name: null,
23
24
  pulp_labels: null,
24
- latest_version_href: null,
25
25
  retain_repo_versions: null,
26
- description: null,
27
- manifest_signing_service: null,
26
+ versions_href: null,
27
+ latest_version_href: null,
28
28
  pulp_created: null,
29
- pulp_href: null,
30
- versions_href: null)
29
+ description: null,
30
+ pulp_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
- **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
9
8
  **pulp_labels** | [**Object**](.md) | | [optional]
10
9
  **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
10
+ **content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
11
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\") | [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
- content_guard: null,
23
22
  pulp_labels: null,
24
23
  repository: null,
24
+ content_guard: null,
25
25
  base_path: 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]
7
8
  **name** | **String** | A unique name for this repository. | [optional]
8
9
  **pulp_labels** | [**Object**](.md) | | [optional]
9
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]
10
11
  **description** | **String** | An optional description. | [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(name: null,
18
+ instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(manifest_signing_service: null,
19
+ name: null,
19
20
  pulp_labels: null,
20
21
  retain_repo_versions: null,
21
- description: null,
22
- manifest_signing_service: null)
22
+ description: 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
- # An optional content-guard. If none is specified, a default one will be used.
22
- attr_accessor :content_guard
23
-
24
21
  attr_accessor :pulp_labels
25
22
 
26
23
  # The latest RepositoryVersion for this Repository will be served.
27
24
  attr_accessor :repository
28
25
 
26
+ # An optional content-guard. If none is specified, a default one will be used.
27
+ attr_accessor :content_guard
28
+
29
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
30
  attr_accessor :base_path
31
31
 
@@ -42,9 +42,9 @@ module PulpContainerClient
42
42
  def self.attribute_map
43
43
  {
44
44
  :'name' => :'name',
45
- :'content_guard' => :'content_guard',
46
45
  :'pulp_labels' => :'pulp_labels',
47
46
  :'repository' => :'repository',
47
+ :'content_guard' => :'content_guard',
48
48
  :'base_path' => :'base_path',
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
- :'content_guard' => :'String',
60
59
  :'pulp_labels' => :'Object',
61
60
  :'repository' => :'String',
61
+ :'content_guard' => :'String',
62
62
  :'base_path' => :'String',
63
63
  :'repository_version' => :'String',
64
64
  :'private' => :'Boolean',
@@ -94,10 +94,6 @@ module PulpContainerClient
94
94
  self.name = attributes[:'name']
95
95
  end
96
96
 
97
- if attributes.key?(:'content_guard')
98
- self.content_guard = attributes[:'content_guard']
99
- end
100
-
101
97
  if attributes.key?(:'pulp_labels')
102
98
  self.pulp_labels = attributes[:'pulp_labels']
103
99
  end
@@ -106,6 +102,10 @@ module PulpContainerClient
106
102
  self.repository = attributes[:'repository']
107
103
  end
108
104
 
105
+ if attributes.key?(:'content_guard')
106
+ self.content_guard = attributes[:'content_guard']
107
+ end
108
+
109
109
  if attributes.key?(:'base_path')
110
110
  self.base_path = attributes[:'base_path']
111
111
  end
@@ -205,9 +205,9 @@ module PulpContainerClient
205
205
  return true if self.equal?(o)
206
206
  self.class == o.class &&
207
207
  name == o.name &&
208
- content_guard == o.content_guard &&
209
208
  pulp_labels == o.pulp_labels &&
210
209
  repository == o.repository &&
210
+ content_guard == o.content_guard &&
211
211
  base_path == o.base_path &&
212
212
  repository_version == o.repository_version &&
213
213
  private == o.private &&
@@ -223,7 +223,7 @@ module PulpContainerClient
223
223
  # Calculates hash code according to all attributes.
224
224
  # @return [Integer] Hash code
225
225
  def hash
226
- [name, content_guard, pulp_labels, repository, base_path, repository_version, private, description].hash
226
+ [name, pulp_labels, repository, content_guard, base_path, repository_version, private, description].hash
227
227
  end
228
228
 
229
229
  # Builds the object from hash
@@ -18,22 +18,22 @@ module PulpContainerClient
18
18
  # A unique name. Ex, `rawhide` and `stable`.
19
19
  attr_accessor :name
20
20
 
21
- # An optional content-guard. If none is specified, a default one will be used.
22
- attr_accessor :content_guard
23
-
24
21
  attr_accessor :pulp_labels
25
22
 
26
23
  # The latest RepositoryVersion for this Repository will be served.
27
24
  attr_accessor :repository
28
25
 
26
+ # An optional content-guard. If none is specified, a default one will be used.
27
+ attr_accessor :content_guard
28
+
29
29
  # Timestamp of creation.
30
30
  attr_accessor :pulp_created
31
31
 
32
- attr_accessor :pulp_href
33
-
34
32
  # 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
33
  attr_accessor :base_path
36
34
 
35
+ attr_accessor :pulp_href
36
+
37
37
  # RepositoryVersion to be served
38
38
  attr_accessor :repository_version
39
39
 
@@ -53,12 +53,12 @@ module PulpContainerClient
53
53
  def self.attribute_map
54
54
  {
55
55
  :'name' => :'name',
56
- :'content_guard' => :'content_guard',
57
56
  :'pulp_labels' => :'pulp_labels',
58
57
  :'repository' => :'repository',
58
+ :'content_guard' => :'content_guard',
59
59
  :'pulp_created' => :'pulp_created',
60
- :'pulp_href' => :'pulp_href',
61
60
  :'base_path' => :'base_path',
61
+ :'pulp_href' => :'pulp_href',
62
62
  :'repository_version' => :'repository_version',
63
63
  :'registry_path' => :'registry_path',
64
64
  :'namespace' => :'namespace',
@@ -71,12 +71,12 @@ module PulpContainerClient
71
71
  def self.openapi_types
72
72
  {
73
73
  :'name' => :'String',
74
- :'content_guard' => :'String',
75
74
  :'pulp_labels' => :'Object',
76
75
  :'repository' => :'String',
76
+ :'content_guard' => :'String',
77
77
  :'pulp_created' => :'DateTime',
78
- :'pulp_href' => :'String',
79
78
  :'base_path' => :'String',
79
+ :'pulp_href' => :'String',
80
80
  :'repository_version' => :'String',
81
81
  :'registry_path' => :'String',
82
82
  :'namespace' => :'String',
@@ -113,10 +113,6 @@ module PulpContainerClient
113
113
  self.name = attributes[:'name']
114
114
  end
115
115
 
116
- if attributes.key?(:'content_guard')
117
- self.content_guard = attributes[:'content_guard']
118
- end
119
-
120
116
  if attributes.key?(:'pulp_labels')
121
117
  self.pulp_labels = attributes[:'pulp_labels']
122
118
  end
@@ -125,18 +121,22 @@ module PulpContainerClient
125
121
  self.repository = attributes[:'repository']
126
122
  end
127
123
 
128
- if attributes.key?(:'pulp_created')
129
- self.pulp_created = attributes[:'pulp_created']
124
+ if attributes.key?(:'content_guard')
125
+ self.content_guard = attributes[:'content_guard']
130
126
  end
131
127
 
132
- if attributes.key?(:'pulp_href')
133
- self.pulp_href = attributes[:'pulp_href']
128
+ if attributes.key?(:'pulp_created')
129
+ self.pulp_created = attributes[:'pulp_created']
134
130
  end
135
131
 
136
132
  if attributes.key?(:'base_path')
137
133
  self.base_path = attributes[:'base_path']
138
134
  end
139
135
 
136
+ if attributes.key?(:'pulp_href')
137
+ self.pulp_href = attributes[:'pulp_href']
138
+ end
139
+
140
140
  if attributes.key?(:'repository_version')
141
141
  self.repository_version = attributes[:'repository_version']
142
142
  end
@@ -187,12 +187,12 @@ module PulpContainerClient
187
187
  return true if self.equal?(o)
188
188
  self.class == o.class &&
189
189
  name == o.name &&
190
- content_guard == o.content_guard &&
191
190
  pulp_labels == o.pulp_labels &&
192
191
  repository == o.repository &&
192
+ content_guard == o.content_guard &&
193
193
  pulp_created == o.pulp_created &&
194
- pulp_href == o.pulp_href &&
195
194
  base_path == o.base_path &&
195
+ pulp_href == o.pulp_href &&
196
196
  repository_version == o.repository_version &&
197
197
  registry_path == o.registry_path &&
198
198
  namespace == o.namespace &&
@@ -209,7 +209,7 @@ module PulpContainerClient
209
209
  # Calculates hash code according to all attributes.
210
210
  # @return [Integer] Hash code
211
211
  def hash
212
- [name, content_guard, pulp_labels, repository, pulp_created, pulp_href, base_path, repository_version, registry_path, namespace, private, description].hash
212
+ [name, pulp_labels, repository, content_guard, pulp_created, base_path, pulp_href, repository_version, registry_path, namespace, private, description].hash
213
213
  end
214
214
 
215
215
  # Builds the object from hash
@@ -15,6 +15,9 @@ 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
+
18
21
  # A unique name for this repository.
19
22
  attr_accessor :name
20
23
 
@@ -26,37 +29,34 @@ module PulpContainerClient
26
29
  # An optional description.
27
30
  attr_accessor :description
28
31
 
29
- # A reference to an associated signing service.
30
- attr_accessor :manifest_signing_service
31
-
32
32
  # Attribute mapping from ruby-style variable name to JSON key.
33
33
  def self.attribute_map
34
34
  {
35
+ :'manifest_signing_service' => :'manifest_signing_service',
35
36
  :'name' => :'name',
36
37
  :'pulp_labels' => :'pulp_labels',
37
38
  :'retain_repo_versions' => :'retain_repo_versions',
38
- :'description' => :'description',
39
- :'manifest_signing_service' => :'manifest_signing_service'
39
+ :'description' => :'description'
40
40
  }
41
41
  end
42
42
 
43
43
  # Attribute type mapping.
44
44
  def self.openapi_types
45
45
  {
46
+ :'manifest_signing_service' => :'String',
46
47
  :'name' => :'String',
47
48
  :'pulp_labels' => :'Object',
48
49
  :'retain_repo_versions' => :'Integer',
49
- :'description' => :'String',
50
- :'manifest_signing_service' => :'String'
50
+ :'description' => :'String'
51
51
  }
52
52
  end
53
53
 
54
54
  # List of attributes with nullable: true
55
55
  def self.openapi_nullable
56
56
  Set.new([
57
+ :'manifest_signing_service',
57
58
  :'retain_repo_versions',
58
- :'description',
59
- :'manifest_signing_service'
59
+ :'description'
60
60
  ])
61
61
  end
62
62
 
@@ -75,6 +75,10 @@ module PulpContainerClient
75
75
  h[k.to_sym] = v
76
76
  }
77
77
 
78
+ if attributes.key?(:'manifest_signing_service')
79
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
80
+ end
81
+
78
82
  if attributes.key?(:'name')
79
83
  self.name = attributes[:'name']
80
84
  end
@@ -90,10 +94,6 @@ module PulpContainerClient
90
94
  if attributes.key?(:'description')
91
95
  self.description = attributes[:'description']
92
96
  end
93
-
94
- if attributes.key?(:'manifest_signing_service')
95
- self.manifest_signing_service = attributes[:'manifest_signing_service']
96
- end
97
97
  end
98
98
 
99
99
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -168,11 +168,11 @@ module PulpContainerClient
168
168
  def ==(o)
169
169
  return true if self.equal?(o)
170
170
  self.class == o.class &&
171
+ manifest_signing_service == o.manifest_signing_service &&
171
172
  name == o.name &&
172
173
  pulp_labels == o.pulp_labels &&
173
174
  retain_repo_versions == o.retain_repo_versions &&
174
- description == o.description &&
175
- manifest_signing_service == o.manifest_signing_service
175
+ description == o.description
176
176
  end
177
177
 
178
178
  # @see the `==` method
@@ -184,7 +184,7 @@ module PulpContainerClient
184
184
  # Calculates hash code according to all attributes.
185
185
  # @return [Integer] Hash code
186
186
  def hash
187
- [name, pulp_labels, retain_repo_versions, description, manifest_signing_service].hash
187
+ [manifest_signing_service, name, pulp_labels, retain_repo_versions, description].hash
188
188
  end
189
189
 
190
190
  # Builds the object from hash
@@ -15,65 +15,65 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # Serializer for Container Push Repositories.
17
17
  class ContainerContainerPushRepositoryResponse
18
+ # A reference to an associated signing service.
19
+ attr_accessor :manifest_signing_service
20
+
18
21
  # A unique name for this repository.
19
22
  attr_accessor :name
20
23
 
21
24
  attr_accessor :pulp_labels
22
25
 
23
- attr_accessor :latest_version_href
24
-
25
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.
26
27
  attr_accessor :retain_repo_versions
27
28
 
28
- # An optional description.
29
- attr_accessor :description
29
+ attr_accessor :versions_href
30
30
 
31
- # A reference to an associated signing service.
32
- attr_accessor :manifest_signing_service
31
+ attr_accessor :latest_version_href
33
32
 
34
33
  # Timestamp of creation.
35
34
  attr_accessor :pulp_created
36
35
 
37
- attr_accessor :pulp_href
36
+ # An optional description.
37
+ attr_accessor :description
38
38
 
39
- attr_accessor :versions_href
39
+ attr_accessor :pulp_href
40
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',
44
45
  :'name' => :'name',
45
46
  :'pulp_labels' => :'pulp_labels',
46
- :'latest_version_href' => :'latest_version_href',
47
47
  :'retain_repo_versions' => :'retain_repo_versions',
48
- :'description' => :'description',
49
- :'manifest_signing_service' => :'manifest_signing_service',
48
+ :'versions_href' => :'versions_href',
49
+ :'latest_version_href' => :'latest_version_href',
50
50
  :'pulp_created' => :'pulp_created',
51
- :'pulp_href' => :'pulp_href',
52
- :'versions_href' => :'versions_href'
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
+ :'manifest_signing_service' => :'String',
59
60
  :'name' => :'String',
60
61
  :'pulp_labels' => :'Object',
61
- :'latest_version_href' => :'String',
62
62
  :'retain_repo_versions' => :'Integer',
63
- :'description' => :'String',
64
- :'manifest_signing_service' => :'String',
63
+ :'versions_href' => :'String',
64
+ :'latest_version_href' => :'String',
65
65
  :'pulp_created' => :'DateTime',
66
- :'pulp_href' => :'String',
67
- :'versions_href' => :'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',
74
75
  :'retain_repo_versions',
75
76
  :'description',
76
- :'manifest_signing_service',
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?(:'manifest_signing_service')
96
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
97
+ end
98
+
95
99
  if attributes.key?(:'name')
96
100
  self.name = attributes[:'name']
97
101
  end
@@ -100,32 +104,28 @@ module PulpContainerClient
100
104
  self.pulp_labels = attributes[:'pulp_labels']
101
105
  end
102
106
 
103
- if attributes.key?(:'latest_version_href')
104
- self.latest_version_href = attributes[:'latest_version_href']
105
- end
106
-
107
107
  if attributes.key?(:'retain_repo_versions')
108
108
  self.retain_repo_versions = attributes[:'retain_repo_versions']
109
109
  end
110
110
 
111
- if attributes.key?(:'description')
112
- self.description = attributes[:'description']
111
+ if attributes.key?(:'versions_href')
112
+ self.versions_href = attributes[:'versions_href']
113
113
  end
114
114
 
115
- if attributes.key?(:'manifest_signing_service')
116
- self.manifest_signing_service = attributes[:'manifest_signing_service']
115
+ if attributes.key?(:'latest_version_href')
116
+ self.latest_version_href = attributes[:'latest_version_href']
117
117
  end
118
118
 
119
119
  if attributes.key?(:'pulp_created')
120
120
  self.pulp_created = attributes[:'pulp_created']
121
121
  end
122
122
 
123
- if attributes.key?(:'pulp_href')
124
- self.pulp_href = attributes[:'pulp_href']
123
+ if attributes.key?(:'description')
124
+ self.description = attributes[:'description']
125
125
  end
126
126
 
127
- if attributes.key?(:'versions_href')
128
- self.versions_href = attributes[:'versions_href']
127
+ if attributes.key?(:'pulp_href')
128
+ self.pulp_href = attributes[:'pulp_href']
129
129
  end
130
130
  end
131
131
 
@@ -167,15 +167,15 @@ module PulpContainerClient
167
167
  def ==(o)
168
168
  return true if self.equal?(o)
169
169
  self.class == o.class &&
170
+ manifest_signing_service == o.manifest_signing_service &&
170
171
  name == o.name &&
171
172
  pulp_labels == o.pulp_labels &&
172
- latest_version_href == o.latest_version_href &&
173
173
  retain_repo_versions == o.retain_repo_versions &&
174
- description == o.description &&
175
- manifest_signing_service == o.manifest_signing_service &&
174
+ versions_href == o.versions_href &&
175
+ latest_version_href == o.latest_version_href &&
176
176
  pulp_created == o.pulp_created &&
177
- pulp_href == o.pulp_href &&
178
- versions_href == o.versions_href
177
+ description == o.description &&
178
+ pulp_href == o.pulp_href
179
179
  end
180
180
 
181
181
  # @see the `==` method
@@ -187,7 +187,7 @@ module PulpContainerClient
187
187
  # Calculates hash code according to all attributes.
188
188
  # @return [Integer] Hash code
189
189
  def hash
190
- [name, pulp_labels, latest_version_href, retain_repo_versions, description, manifest_signing_service, pulp_created, pulp_href, versions_href].hash
190
+ [manifest_signing_service, name, pulp_labels, retain_repo_versions, versions_href, latest_version_href, pulp_created, description, pulp_href].hash
191
191
  end
192
192
 
193
193
  # 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
- # An optional content-guard. If none is specified, a default one will be used.
22
- attr_accessor :content_guard
23
-
24
21
  attr_accessor :pulp_labels
25
22
 
26
23
  # The latest RepositoryVersion for this Repository will be served.
27
24
  attr_accessor :repository
28
25
 
26
+ # An optional content-guard. If none is specified, a default one will be used.
27
+ attr_accessor :content_guard
28
+
29
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
30
  attr_accessor :base_path
31
31
 
@@ -42,9 +42,9 @@ module PulpContainerClient
42
42
  def self.attribute_map
43
43
  {
44
44
  :'name' => :'name',
45
- :'content_guard' => :'content_guard',
46
45
  :'pulp_labels' => :'pulp_labels',
47
46
  :'repository' => :'repository',
47
+ :'content_guard' => :'content_guard',
48
48
  :'base_path' => :'base_path',
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
- :'content_guard' => :'String',
60
59
  :'pulp_labels' => :'Object',
61
60
  :'repository' => :'String',
61
+ :'content_guard' => :'String',
62
62
  :'base_path' => :'String',
63
63
  :'repository_version' => :'String',
64
64
  :'private' => :'Boolean',
@@ -94,10 +94,6 @@ module PulpContainerClient
94
94
  self.name = attributes[:'name']
95
95
  end
96
96
 
97
- if attributes.key?(:'content_guard')
98
- self.content_guard = attributes[:'content_guard']
99
- end
100
-
101
97
  if attributes.key?(:'pulp_labels')
102
98
  self.pulp_labels = attributes[:'pulp_labels']
103
99
  end
@@ -106,6 +102,10 @@ module PulpContainerClient
106
102
  self.repository = attributes[:'repository']
107
103
  end
108
104
 
105
+ if attributes.key?(:'content_guard')
106
+ self.content_guard = attributes[:'content_guard']
107
+ end
108
+
109
109
  if attributes.key?(:'base_path')
110
110
  self.base_path = attributes[:'base_path']
111
111
  end
@@ -187,9 +187,9 @@ module PulpContainerClient
187
187
  return true if self.equal?(o)
188
188
  self.class == o.class &&
189
189
  name == o.name &&
190
- content_guard == o.content_guard &&
191
190
  pulp_labels == o.pulp_labels &&
192
191
  repository == o.repository &&
192
+ content_guard == o.content_guard &&
193
193
  base_path == o.base_path &&
194
194
  repository_version == o.repository_version &&
195
195
  private == o.private &&
@@ -205,7 +205,7 @@ module PulpContainerClient
205
205
  # Calculates hash code according to all attributes.
206
206
  # @return [Integer] Hash code
207
207
  def hash
208
- [name, content_guard, pulp_labels, repository, base_path, repository_version, private, description].hash
208
+ [name, pulp_labels, repository, content_guard, base_path, repository_version, private, description].hash
209
209
  end
210
210
 
211
211
  # Builds the object from hash
@@ -15,6 +15,9 @@ 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
+
18
21
  # A unique name for this repository.
19
22
  attr_accessor :name
20
23
 
@@ -26,37 +29,34 @@ module PulpContainerClient
26
29
  # An optional description.
27
30
  attr_accessor :description
28
31
 
29
- # A reference to an associated signing service.
30
- attr_accessor :manifest_signing_service
31
-
32
32
  # Attribute mapping from ruby-style variable name to JSON key.
33
33
  def self.attribute_map
34
34
  {
35
+ :'manifest_signing_service' => :'manifest_signing_service',
35
36
  :'name' => :'name',
36
37
  :'pulp_labels' => :'pulp_labels',
37
38
  :'retain_repo_versions' => :'retain_repo_versions',
38
- :'description' => :'description',
39
- :'manifest_signing_service' => :'manifest_signing_service'
39
+ :'description' => :'description'
40
40
  }
41
41
  end
42
42
 
43
43
  # Attribute type mapping.
44
44
  def self.openapi_types
45
45
  {
46
+ :'manifest_signing_service' => :'String',
46
47
  :'name' => :'String',
47
48
  :'pulp_labels' => :'Object',
48
49
  :'retain_repo_versions' => :'Integer',
49
- :'description' => :'String',
50
- :'manifest_signing_service' => :'String'
50
+ :'description' => :'String'
51
51
  }
52
52
  end
53
53
 
54
54
  # List of attributes with nullable: true
55
55
  def self.openapi_nullable
56
56
  Set.new([
57
+ :'manifest_signing_service',
57
58
  :'retain_repo_versions',
58
- :'description',
59
- :'manifest_signing_service'
59
+ :'description'
60
60
  ])
61
61
  end
62
62
 
@@ -75,6 +75,10 @@ module PulpContainerClient
75
75
  h[k.to_sym] = v
76
76
  }
77
77
 
78
+ if attributes.key?(:'manifest_signing_service')
79
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
80
+ end
81
+
78
82
  if attributes.key?(:'name')
79
83
  self.name = attributes[:'name']
80
84
  end
@@ -90,10 +94,6 @@ module PulpContainerClient
90
94
  if attributes.key?(:'description')
91
95
  self.description = attributes[:'description']
92
96
  end
93
-
94
- if attributes.key?(:'manifest_signing_service')
95
- self.manifest_signing_service = attributes[:'manifest_signing_service']
96
- end
97
97
  end
98
98
 
99
99
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -159,11 +159,11 @@ module PulpContainerClient
159
159
  def ==(o)
160
160
  return true if self.equal?(o)
161
161
  self.class == o.class &&
162
+ manifest_signing_service == o.manifest_signing_service &&
162
163
  name == o.name &&
163
164
  pulp_labels == o.pulp_labels &&
164
165
  retain_repo_versions == o.retain_repo_versions &&
165
- description == o.description &&
166
- manifest_signing_service == o.manifest_signing_service
166
+ description == o.description
167
167
  end
168
168
 
169
169
  # @see the `==` method
@@ -175,7 +175,7 @@ module PulpContainerClient
175
175
  # Calculates hash code according to all attributes.
176
176
  # @return [Integer] Hash code
177
177
  def hash
178
- [name, pulp_labels, retain_repo_versions, description, manifest_signing_service].hash
178
+ [manifest_signing_service, name, pulp_labels, retain_repo_versions, description].hash
179
179
  end
180
180
 
181
181
  # 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.14.0.dev1658894893'
14
+ VERSION = '2.14.0.dev1659153853'
15
15
  end
@@ -38,19 +38,19 @@ describe 'ContainerContainerDistributionResponse' do
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "content_guard"' 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 "pulp_labels"' do
47
+ describe 'test attribute "repository"' 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 "repository"' 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
@@ -62,13 +62,13 @@ describe 'ContainerContainerDistributionResponse' do
62
62
  end
63
63
  end
64
64
 
65
- describe 'test attribute "pulp_href"' do
65
+ describe 'test attribute "base_path"' 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 "base_path"' 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
@@ -38,19 +38,19 @@ describe 'ContainerContainerDistribution' do
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "content_guard"' 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 "pulp_labels"' do
47
+ describe 'test attribute "repository"' 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 "repository"' 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,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 "name"' do
35
+ describe 'test attribute "manifest_signing_service"' 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 "latest_version_href"' 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
@@ -56,13 +56,13 @@ describe 'ContainerContainerPushRepositoryResponse' do
56
56
  end
57
57
  end
58
58
 
59
- describe 'test attribute "description"' do
59
+ describe 'test attribute "versions_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 "manifest_signing_service"' do
65
+ describe 'test attribute "latest_version_href"' 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
@@ -74,13 +74,13 @@ describe 'ContainerContainerPushRepositoryResponse' do
74
74
  end
75
75
  end
76
76
 
77
- describe 'test attribute "pulp_href"' 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 "versions_href"' 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
@@ -32,31 +32,31 @@ describe 'ContainerContainerPushRepository' do
32
32
  expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerPushRepository)
33
33
  end
34
34
  end
35
- describe 'test attribute "name"' do
35
+ describe 'test attribute "manifest_signing_service"' 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 "retain_repo_versions"' 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 "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 "manifest_signing_service"' 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
@@ -38,19 +38,19 @@ describe 'PatchedcontainerContainerDistribution' do
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "content_guard"' 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 "pulp_labels"' do
47
+ describe 'test attribute "repository"' 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 "repository"' 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,31 +32,31 @@ describe 'PatchedcontainerContainerPushRepository' do
32
32
  expect(@instance).to be_instance_of(PulpContainerClient::PatchedcontainerContainerPushRepository)
33
33
  end
34
34
  end
35
- describe 'test attribute "name"' do
35
+ describe 'test attribute "manifest_signing_service"' 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 "retain_repo_versions"' 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 "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 "manifest_signing_service"' 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.14.0.dev1658894893
4
+ version: 2.14.0.dev1659153853
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-07-27 00:00:00.000000000 Z
11
+ date: 2022-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday