pulp_container_client 2.10.2 → 2.10.3
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.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContainerContainerDistribution.md +2 -2
- data/docs/ContainerContainerDistributionResponse.md +4 -4
- data/docs/ContainerContainerPushRepository.md +3 -3
- data/docs/ContainerContainerPushRepositoryResponse.md +7 -7
- data/docs/PatchedcontainerContainerDistribution.md +2 -2
- data/docs/PatchedcontainerContainerPushRepository.md +3 -3
- data/lib/pulp_container_client/api_client.rb +1 -4
- data/lib/pulp_container_client/configuration.rb +1 -0
- data/lib/pulp_container_client/models/container_container_distribution.rb +11 -11
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +20 -20
- data/lib/pulp_container_client/models/container_container_push_repository.rb +31 -31
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +31 -31
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +11 -11
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +31 -31
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +6 -6
- data/spec/models/container_container_distribution_spec.rb +3 -3
- data/spec/models/container_container_push_repository_response_spec.rb +7 -7
- data/spec/models/container_container_push_repository_spec.rb +3 -3
- data/spec/models/patchedcontainer_container_distribution_spec.rb +3 -3
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +3 -3
- metadata +45 -45
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1240268e609f7d71b6170a0e78d7653365361e51f0cd3a97d93fd7194fc88abf
|
|
4
|
+
data.tar.gz: fc7b8aee983cb9733cda47eb2778f3a9670fbc97482d60060eea9eb473bb9b7e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 206f28ffb534c8be3795654fbdef5c27492bf864867fb4fb73cb68de998c64ddec13029015fd0885d06935c1a21aa6e740e8a6b4b078c836ae58e40ee4ff7533
|
|
7
|
+
data.tar.gz: f9001a0026a14ed769fe551bb349c300db61fbb04eb731dda165cdbcbb304852e1c9b3db39fbb6509523be6c479689b3f04aada1ad98a6a257d51eed443d671e
|
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.10.
|
|
10
|
+
- Package version: 2.10.3
|
|
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.10.
|
|
27
|
+
gem install ./pulp_container_client-2.10.3.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./pulp_container_client-2.10.
|
|
30
|
+
(for development, run `gem install --dev ./pulp_container_client-2.10.3.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.10.
|
|
36
|
+
gem 'pulp_container_client', '~> 2.10.3'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
8
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
9
8
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
10
9
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
|
10
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
11
11
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
12
12
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
|
13
13
|
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
|
|
@@ -19,9 +19,9 @@ Name | Type | Description | Notes
|
|
|
19
19
|
require 'PulpContainerClient'
|
|
20
20
|
|
|
21
21
|
instance = PulpContainerClient::ContainerContainerDistribution.new(pulp_labels: null,
|
|
22
|
-
content_guard: null,
|
|
23
22
|
name: null,
|
|
24
23
|
base_path: null,
|
|
24
|
+
content_guard: null,
|
|
25
25
|
repository: null,
|
|
26
26
|
repository_version: null,
|
|
27
27
|
private: null,
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
8
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
9
8
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
10
9
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
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\") |
|
|
12
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
13
11
|
**pulp_href** | **String** | | [optional] [readonly]
|
|
12
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
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 hostame/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(pulp_labels: null,
|
|
26
|
-
content_guard: null,
|
|
27
26
|
name: null,
|
|
28
27
|
pulp_created: null,
|
|
29
28
|
base_path: null,
|
|
30
|
-
repository: null,
|
|
31
29
|
pulp_href: null,
|
|
30
|
+
content_guard: null,
|
|
31
|
+
repository: 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
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
8
|
-
**description** | **String** | An optional description. | [optional]
|
|
9
8
|
**name** | **String** | A unique name for this repository. |
|
|
10
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]
|
|
10
|
+
**description** | **String** | An optional description. | [optional]
|
|
11
11
|
|
|
12
12
|
## Code Sample
|
|
13
13
|
|
|
@@ -15,9 +15,9 @@ Name | Type | Description | Notes
|
|
|
15
15
|
require 'PulpContainerClient'
|
|
16
16
|
|
|
17
17
|
instance = PulpContainerClient::ContainerContainerPushRepository.new(pulp_labels: null,
|
|
18
|
-
description: null,
|
|
19
18
|
name: null,
|
|
20
|
-
retain_repo_versions: null
|
|
19
|
+
retain_repo_versions: null,
|
|
20
|
+
description: null)
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
8
|
-
**
|
|
9
|
-
**description** | **String** | An optional description. | [optional]
|
|
8
|
+
**latest_version_href** | **String** | | [optional] [readonly]
|
|
10
9
|
**name** | **String** | A unique name for this repository. |
|
|
11
10
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
12
|
-
**latest_version_href** | **String** | | [optional] [readonly]
|
|
13
11
|
**pulp_href** | **String** | | [optional] [readonly]
|
|
12
|
+
**versions_href** | **String** | | [optional] [readonly]
|
|
14
13
|
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
|
14
|
+
**description** | **String** | An optional description. | [optional]
|
|
15
15
|
|
|
16
16
|
## Code Sample
|
|
17
17
|
|
|
@@ -19,13 +19,13 @@ Name | Type | Description | Notes
|
|
|
19
19
|
require 'PulpContainerClient'
|
|
20
20
|
|
|
21
21
|
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(pulp_labels: null,
|
|
22
|
-
|
|
23
|
-
description: null,
|
|
22
|
+
latest_version_href: null,
|
|
24
23
|
name: null,
|
|
25
24
|
pulp_created: null,
|
|
26
|
-
latest_version_href: null,
|
|
27
25
|
pulp_href: null,
|
|
28
|
-
|
|
26
|
+
versions_href: null,
|
|
27
|
+
retain_repo_versions: null,
|
|
28
|
+
description: null)
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
8
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
9
8
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
|
10
9
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional]
|
|
10
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
11
11
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
12
12
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
|
13
13
|
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
|
|
@@ -19,9 +19,9 @@ Name | Type | Description | Notes
|
|
|
19
19
|
require 'PulpContainerClient'
|
|
20
20
|
|
|
21
21
|
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(pulp_labels: null,
|
|
22
|
-
content_guard: null,
|
|
23
22
|
name: null,
|
|
24
23
|
base_path: null,
|
|
24
|
+
content_guard: null,
|
|
25
25
|
repository: null,
|
|
26
26
|
repository_version: null,
|
|
27
27
|
private: null,
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
8
|
-
**description** | **String** | An optional description. | [optional]
|
|
9
8
|
**name** | **String** | A unique name for this repository. | [optional]
|
|
10
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]
|
|
10
|
+
**description** | **String** | An optional description. | [optional]
|
|
11
11
|
|
|
12
12
|
## Code Sample
|
|
13
13
|
|
|
@@ -15,9 +15,9 @@ Name | Type | Description | Notes
|
|
|
15
15
|
require 'PulpContainerClient'
|
|
16
16
|
|
|
17
17
|
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(pulp_labels: null,
|
|
18
|
-
description: null,
|
|
19
18
|
name: null,
|
|
20
|
-
retain_repo_versions: null
|
|
19
|
+
retain_repo_versions: null,
|
|
20
|
+
description: null)
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
|
|
@@ -118,9 +118,6 @@ module PulpContainerClient
|
|
|
118
118
|
update_params_for_auth! header_params, query_params, opts[:auth_names]
|
|
119
119
|
|
|
120
120
|
req_opts = {
|
|
121
|
-
:method => http_method,
|
|
122
|
-
:headers => header_params,
|
|
123
|
-
:params => query_params,
|
|
124
121
|
:params_encoding => @config.params_encoding,
|
|
125
122
|
:timeout => @config.timeout,
|
|
126
123
|
:verbose => @config.debugging
|
|
@@ -128,13 +125,13 @@ module PulpContainerClient
|
|
|
128
125
|
|
|
129
126
|
if [:post, :patch, :put, :delete].include?(http_method)
|
|
130
127
|
req_body = build_request_body(header_params, form_params, opts[:body])
|
|
131
|
-
req_opts.update :body => req_body
|
|
132
128
|
if @config.debugging
|
|
133
129
|
@config.logger.debug "HTTP request body param ~BEGIN~\n#{req_body}\n~END~\n"
|
|
134
130
|
end
|
|
135
131
|
end
|
|
136
132
|
request.headers = header_params
|
|
137
133
|
request.body = req_body
|
|
134
|
+
request.options = OpenStruct.new(req_opts)
|
|
138
135
|
request.url url
|
|
139
136
|
request.params = query_params
|
|
140
137
|
download_file(request) if opts[:return_type] == 'File'
|
|
@@ -17,15 +17,15 @@ module PulpContainerClient
|
|
|
17
17
|
class ContainerContainerDistribution
|
|
18
18
|
attr_accessor :pulp_labels
|
|
19
19
|
|
|
20
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
|
21
|
-
attr_accessor :content_guard
|
|
22
|
-
|
|
23
20
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
24
21
|
attr_accessor :name
|
|
25
22
|
|
|
26
23
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
27
24
|
attr_accessor :base_path
|
|
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 latest RepositoryVersion for this Repository will be served.
|
|
30
30
|
attr_accessor :repository
|
|
31
31
|
|
|
@@ -42,9 +42,9 @@ module PulpContainerClient
|
|
|
42
42
|
def self.attribute_map
|
|
43
43
|
{
|
|
44
44
|
:'pulp_labels' => :'pulp_labels',
|
|
45
|
-
:'content_guard' => :'content_guard',
|
|
46
45
|
:'name' => :'name',
|
|
47
46
|
:'base_path' => :'base_path',
|
|
47
|
+
:'content_guard' => :'content_guard',
|
|
48
48
|
:'repository' => :'repository',
|
|
49
49
|
:'repository_version' => :'repository_version',
|
|
50
50
|
:'private' => :'private',
|
|
@@ -56,9 +56,9 @@ module PulpContainerClient
|
|
|
56
56
|
def self.openapi_types
|
|
57
57
|
{
|
|
58
58
|
:'pulp_labels' => :'Object',
|
|
59
|
-
:'content_guard' => :'String',
|
|
60
59
|
:'name' => :'String',
|
|
61
60
|
:'base_path' => :'String',
|
|
61
|
+
:'content_guard' => :'String',
|
|
62
62
|
:'repository' => :'String',
|
|
63
63
|
:'repository_version' => :'String',
|
|
64
64
|
:'private' => :'Boolean',
|
|
@@ -94,10 +94,6 @@ module PulpContainerClient
|
|
|
94
94
|
self.pulp_labels = attributes[:'pulp_labels']
|
|
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?(:'name')
|
|
102
98
|
self.name = attributes[:'name']
|
|
103
99
|
end
|
|
@@ -106,6 +102,10 @@ module PulpContainerClient
|
|
|
106
102
|
self.base_path = attributes[:'base_path']
|
|
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?(:'repository')
|
|
110
110
|
self.repository = attributes[:'repository']
|
|
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
|
pulp_labels == o.pulp_labels &&
|
|
208
|
-
content_guard == o.content_guard &&
|
|
209
208
|
name == o.name &&
|
|
210
209
|
base_path == o.base_path &&
|
|
210
|
+
content_guard == o.content_guard &&
|
|
211
211
|
repository == o.repository &&
|
|
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
|
-
[pulp_labels,
|
|
226
|
+
[pulp_labels, name, base_path, content_guard, repository, repository_version, private, description].hash
|
|
227
227
|
end
|
|
228
228
|
|
|
229
229
|
# Builds the object from hash
|
|
@@ -17,9 +17,6 @@ module PulpContainerClient
|
|
|
17
17
|
class ContainerContainerDistributionResponse
|
|
18
18
|
attr_accessor :pulp_labels
|
|
19
19
|
|
|
20
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
|
21
|
-
attr_accessor :content_guard
|
|
22
|
-
|
|
23
20
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
24
21
|
attr_accessor :name
|
|
25
22
|
|
|
@@ -29,11 +26,14 @@ module PulpContainerClient
|
|
|
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
|
+
attr_accessor :pulp_href
|
|
30
|
+
|
|
31
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
32
|
+
attr_accessor :content_guard
|
|
33
|
+
|
|
32
34
|
# The latest RepositoryVersion for this Repository will be served.
|
|
33
35
|
attr_accessor :repository
|
|
34
36
|
|
|
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
|
:'pulp_labels' => :'pulp_labels',
|
|
56
|
-
:'content_guard' => :'content_guard',
|
|
57
56
|
:'name' => :'name',
|
|
58
57
|
:'pulp_created' => :'pulp_created',
|
|
59
58
|
:'base_path' => :'base_path',
|
|
60
|
-
:'repository' => :'repository',
|
|
61
59
|
:'pulp_href' => :'pulp_href',
|
|
60
|
+
:'content_guard' => :'content_guard',
|
|
61
|
+
:'repository' => :'repository',
|
|
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
|
:'pulp_labels' => :'Object',
|
|
74
|
-
:'content_guard' => :'String',
|
|
75
74
|
:'name' => :'String',
|
|
76
75
|
:'pulp_created' => :'DateTime',
|
|
77
76
|
:'base_path' => :'String',
|
|
78
|
-
:'repository' => :'String',
|
|
79
77
|
:'pulp_href' => :'String',
|
|
78
|
+
:'content_guard' => :'String',
|
|
79
|
+
:'repository' => :'String',
|
|
80
80
|
:'repository_version' => :'String',
|
|
81
81
|
:'registry_path' => :'String',
|
|
82
82
|
:'namespace' => :'String',
|
|
@@ -113,10 +113,6 @@ module PulpContainerClient
|
|
|
113
113
|
self.pulp_labels = attributes[:'pulp_labels']
|
|
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?(:'name')
|
|
121
117
|
self.name = attributes[:'name']
|
|
122
118
|
end
|
|
@@ -129,14 +125,18 @@ module PulpContainerClient
|
|
|
129
125
|
self.base_path = attributes[:'base_path']
|
|
130
126
|
end
|
|
131
127
|
|
|
132
|
-
if attributes.key?(:'repository')
|
|
133
|
-
self.repository = attributes[:'repository']
|
|
134
|
-
end
|
|
135
|
-
|
|
136
128
|
if attributes.key?(:'pulp_href')
|
|
137
129
|
self.pulp_href = attributes[:'pulp_href']
|
|
138
130
|
end
|
|
139
131
|
|
|
132
|
+
if attributes.key?(:'content_guard')
|
|
133
|
+
self.content_guard = attributes[:'content_guard']
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
if attributes.key?(:'repository')
|
|
137
|
+
self.repository = attributes[:'repository']
|
|
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
|
pulp_labels == o.pulp_labels &&
|
|
190
|
-
content_guard == o.content_guard &&
|
|
191
190
|
name == o.name &&
|
|
192
191
|
pulp_created == o.pulp_created &&
|
|
193
192
|
base_path == o.base_path &&
|
|
194
|
-
repository == o.repository &&
|
|
195
193
|
pulp_href == o.pulp_href &&
|
|
194
|
+
content_guard == o.content_guard &&
|
|
195
|
+
repository == o.repository &&
|
|
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
|
-
[pulp_labels,
|
|
212
|
+
[pulp_labels, name, pulp_created, base_path, pulp_href, content_guard, repository, repository_version, registry_path, namespace, private, description].hash
|
|
213
213
|
end
|
|
214
214
|
|
|
215
215
|
# Builds the object from hash
|
|
@@ -17,22 +17,22 @@ module PulpContainerClient
|
|
|
17
17
|
class ContainerContainerPushRepository
|
|
18
18
|
attr_accessor :pulp_labels
|
|
19
19
|
|
|
20
|
-
# An optional description.
|
|
21
|
-
attr_accessor :description
|
|
22
|
-
|
|
23
20
|
# A unique name for this repository.
|
|
24
21
|
attr_accessor :name
|
|
25
22
|
|
|
26
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.
|
|
27
24
|
attr_accessor :retain_repo_versions
|
|
28
25
|
|
|
26
|
+
# An optional description.
|
|
27
|
+
attr_accessor :description
|
|
28
|
+
|
|
29
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
30
30
|
def self.attribute_map
|
|
31
31
|
{
|
|
32
32
|
:'pulp_labels' => :'pulp_labels',
|
|
33
|
-
:'description' => :'description',
|
|
34
33
|
:'name' => :'name',
|
|
35
|
-
:'retain_repo_versions' => :'retain_repo_versions'
|
|
34
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
|
35
|
+
:'description' => :'description'
|
|
36
36
|
}
|
|
37
37
|
end
|
|
38
38
|
|
|
@@ -40,17 +40,17 @@ module PulpContainerClient
|
|
|
40
40
|
def self.openapi_types
|
|
41
41
|
{
|
|
42
42
|
:'pulp_labels' => :'Object',
|
|
43
|
-
:'description' => :'String',
|
|
44
43
|
:'name' => :'String',
|
|
45
|
-
:'retain_repo_versions' => :'Integer'
|
|
44
|
+
:'retain_repo_versions' => :'Integer',
|
|
45
|
+
:'description' => :'String'
|
|
46
46
|
}
|
|
47
47
|
end
|
|
48
48
|
|
|
49
49
|
# List of attributes with nullable: true
|
|
50
50
|
def self.openapi_nullable
|
|
51
51
|
Set.new([
|
|
52
|
-
:'
|
|
53
|
-
:'
|
|
52
|
+
:'retain_repo_versions',
|
|
53
|
+
:'description'
|
|
54
54
|
])
|
|
55
55
|
end
|
|
56
56
|
|
|
@@ -73,10 +73,6 @@ module PulpContainerClient
|
|
|
73
73
|
self.pulp_labels = attributes[:'pulp_labels']
|
|
74
74
|
end
|
|
75
75
|
|
|
76
|
-
if attributes.key?(:'description')
|
|
77
|
-
self.description = attributes[:'description']
|
|
78
|
-
end
|
|
79
|
-
|
|
80
76
|
if attributes.key?(:'name')
|
|
81
77
|
self.name = attributes[:'name']
|
|
82
78
|
end
|
|
@@ -84,16 +80,16 @@ module PulpContainerClient
|
|
|
84
80
|
if attributes.key?(:'retain_repo_versions')
|
|
85
81
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
86
82
|
end
|
|
83
|
+
|
|
84
|
+
if attributes.key?(:'description')
|
|
85
|
+
self.description = attributes[:'description']
|
|
86
|
+
end
|
|
87
87
|
end
|
|
88
88
|
|
|
89
89
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
90
90
|
# @return Array for valid properties with the reasons
|
|
91
91
|
def list_invalid_properties
|
|
92
92
|
invalid_properties = Array.new
|
|
93
|
-
if !@description.nil? && @description.to_s.length < 1
|
|
94
|
-
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
|
95
|
-
end
|
|
96
|
-
|
|
97
93
|
if @name.nil?
|
|
98
94
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
99
95
|
end
|
|
@@ -106,29 +102,23 @@ module PulpContainerClient
|
|
|
106
102
|
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
|
107
103
|
end
|
|
108
104
|
|
|
105
|
+
if !@description.nil? && @description.to_s.length < 1
|
|
106
|
+
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
|
107
|
+
end
|
|
108
|
+
|
|
109
109
|
invalid_properties
|
|
110
110
|
end
|
|
111
111
|
|
|
112
112
|
# Check to see if the all the properties in the model are valid
|
|
113
113
|
# @return true if the model is valid
|
|
114
114
|
def valid?
|
|
115
|
-
return false if !@description.nil? && @description.to_s.length < 1
|
|
116
115
|
return false if @name.nil?
|
|
117
116
|
return false if @name.to_s.length < 1
|
|
118
117
|
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
118
|
+
return false if !@description.nil? && @description.to_s.length < 1
|
|
119
119
|
true
|
|
120
120
|
end
|
|
121
121
|
|
|
122
|
-
# Custom attribute writer method with validation
|
|
123
|
-
# @param [Object] description Value to be assigned
|
|
124
|
-
def description=(description)
|
|
125
|
-
if !description.nil? && description.to_s.length < 1
|
|
126
|
-
fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
|
|
127
|
-
end
|
|
128
|
-
|
|
129
|
-
@description = description
|
|
130
|
-
end
|
|
131
|
-
|
|
132
122
|
# Custom attribute writer method with validation
|
|
133
123
|
# @param [Object] name Value to be assigned
|
|
134
124
|
def name=(name)
|
|
@@ -153,15 +143,25 @@ module PulpContainerClient
|
|
|
153
143
|
@retain_repo_versions = retain_repo_versions
|
|
154
144
|
end
|
|
155
145
|
|
|
146
|
+
# Custom attribute writer method with validation
|
|
147
|
+
# @param [Object] description Value to be assigned
|
|
148
|
+
def description=(description)
|
|
149
|
+
if !description.nil? && description.to_s.length < 1
|
|
150
|
+
fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
|
|
151
|
+
end
|
|
152
|
+
|
|
153
|
+
@description = description
|
|
154
|
+
end
|
|
155
|
+
|
|
156
156
|
# Checks equality by comparing each attribute.
|
|
157
157
|
# @param [Object] Object to be compared
|
|
158
158
|
def ==(o)
|
|
159
159
|
return true if self.equal?(o)
|
|
160
160
|
self.class == o.class &&
|
|
161
161
|
pulp_labels == o.pulp_labels &&
|
|
162
|
-
description == o.description &&
|
|
163
162
|
name == o.name &&
|
|
164
|
-
retain_repo_versions == o.retain_repo_versions
|
|
163
|
+
retain_repo_versions == o.retain_repo_versions &&
|
|
164
|
+
description == o.description
|
|
165
165
|
end
|
|
166
166
|
|
|
167
167
|
# @see the `==` method
|
|
@@ -173,7 +173,7 @@ module PulpContainerClient
|
|
|
173
173
|
# Calculates hash code according to all attributes.
|
|
174
174
|
# @return [Integer] Hash code
|
|
175
175
|
def hash
|
|
176
|
-
[pulp_labels,
|
|
176
|
+
[pulp_labels, name, retain_repo_versions, description].hash
|
|
177
177
|
end
|
|
178
178
|
|
|
179
179
|
# Builds the object from hash
|
|
@@ -17,10 +17,7 @@ module PulpContainerClient
|
|
|
17
17
|
class ContainerContainerPushRepositoryResponse
|
|
18
18
|
attr_accessor :pulp_labels
|
|
19
19
|
|
|
20
|
-
attr_accessor :
|
|
21
|
-
|
|
22
|
-
# An optional description.
|
|
23
|
-
attr_accessor :description
|
|
20
|
+
attr_accessor :latest_version_href
|
|
24
21
|
|
|
25
22
|
# A unique name for this repository.
|
|
26
23
|
attr_accessor :name
|
|
@@ -28,24 +25,27 @@ module PulpContainerClient
|
|
|
28
25
|
# Timestamp of creation.
|
|
29
26
|
attr_accessor :pulp_created
|
|
30
27
|
|
|
31
|
-
attr_accessor :latest_version_href
|
|
32
|
-
|
|
33
28
|
attr_accessor :pulp_href
|
|
34
29
|
|
|
30
|
+
attr_accessor :versions_href
|
|
31
|
+
|
|
35
32
|
# 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.
|
|
36
33
|
attr_accessor :retain_repo_versions
|
|
37
34
|
|
|
35
|
+
# An optional description.
|
|
36
|
+
attr_accessor :description
|
|
37
|
+
|
|
38
38
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
39
39
|
def self.attribute_map
|
|
40
40
|
{
|
|
41
41
|
:'pulp_labels' => :'pulp_labels',
|
|
42
|
-
:'
|
|
43
|
-
:'description' => :'description',
|
|
42
|
+
:'latest_version_href' => :'latest_version_href',
|
|
44
43
|
:'name' => :'name',
|
|
45
44
|
:'pulp_created' => :'pulp_created',
|
|
46
|
-
:'latest_version_href' => :'latest_version_href',
|
|
47
45
|
:'pulp_href' => :'pulp_href',
|
|
48
|
-
:'
|
|
46
|
+
:'versions_href' => :'versions_href',
|
|
47
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
|
48
|
+
:'description' => :'description'
|
|
49
49
|
}
|
|
50
50
|
end
|
|
51
51
|
|
|
@@ -53,21 +53,21 @@ module PulpContainerClient
|
|
|
53
53
|
def self.openapi_types
|
|
54
54
|
{
|
|
55
55
|
:'pulp_labels' => :'Object',
|
|
56
|
-
:'
|
|
57
|
-
:'description' => :'String',
|
|
56
|
+
:'latest_version_href' => :'String',
|
|
58
57
|
:'name' => :'String',
|
|
59
58
|
:'pulp_created' => :'DateTime',
|
|
60
|
-
:'latest_version_href' => :'String',
|
|
61
59
|
:'pulp_href' => :'String',
|
|
62
|
-
:'
|
|
60
|
+
:'versions_href' => :'String',
|
|
61
|
+
:'retain_repo_versions' => :'Integer',
|
|
62
|
+
:'description' => :'String'
|
|
63
63
|
}
|
|
64
64
|
end
|
|
65
65
|
|
|
66
66
|
# List of attributes with nullable: true
|
|
67
67
|
def self.openapi_nullable
|
|
68
68
|
Set.new([
|
|
69
|
-
:'
|
|
70
|
-
:'
|
|
69
|
+
:'retain_repo_versions',
|
|
70
|
+
:'description'
|
|
71
71
|
])
|
|
72
72
|
end
|
|
73
73
|
|
|
@@ -90,12 +90,8 @@ module PulpContainerClient
|
|
|
90
90
|
self.pulp_labels = attributes[:'pulp_labels']
|
|
91
91
|
end
|
|
92
92
|
|
|
93
|
-
if attributes.key?(:'
|
|
94
|
-
self.
|
|
95
|
-
end
|
|
96
|
-
|
|
97
|
-
if attributes.key?(:'description')
|
|
98
|
-
self.description = attributes[:'description']
|
|
93
|
+
if attributes.key?(:'latest_version_href')
|
|
94
|
+
self.latest_version_href = attributes[:'latest_version_href']
|
|
99
95
|
end
|
|
100
96
|
|
|
101
97
|
if attributes.key?(:'name')
|
|
@@ -106,17 +102,21 @@ module PulpContainerClient
|
|
|
106
102
|
self.pulp_created = attributes[:'pulp_created']
|
|
107
103
|
end
|
|
108
104
|
|
|
109
|
-
if attributes.key?(:'latest_version_href')
|
|
110
|
-
self.latest_version_href = attributes[:'latest_version_href']
|
|
111
|
-
end
|
|
112
|
-
|
|
113
105
|
if attributes.key?(:'pulp_href')
|
|
114
106
|
self.pulp_href = attributes[:'pulp_href']
|
|
115
107
|
end
|
|
116
108
|
|
|
109
|
+
if attributes.key?(:'versions_href')
|
|
110
|
+
self.versions_href = attributes[:'versions_href']
|
|
111
|
+
end
|
|
112
|
+
|
|
117
113
|
if attributes.key?(:'retain_repo_versions')
|
|
118
114
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
119
115
|
end
|
|
116
|
+
|
|
117
|
+
if attributes.key?(:'description')
|
|
118
|
+
self.description = attributes[:'description']
|
|
119
|
+
end
|
|
120
120
|
end
|
|
121
121
|
|
|
122
122
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -158,13 +158,13 @@ module PulpContainerClient
|
|
|
158
158
|
return true if self.equal?(o)
|
|
159
159
|
self.class == o.class &&
|
|
160
160
|
pulp_labels == o.pulp_labels &&
|
|
161
|
-
|
|
162
|
-
description == o.description &&
|
|
161
|
+
latest_version_href == o.latest_version_href &&
|
|
163
162
|
name == o.name &&
|
|
164
163
|
pulp_created == o.pulp_created &&
|
|
165
|
-
latest_version_href == o.latest_version_href &&
|
|
166
164
|
pulp_href == o.pulp_href &&
|
|
167
|
-
|
|
165
|
+
versions_href == o.versions_href &&
|
|
166
|
+
retain_repo_versions == o.retain_repo_versions &&
|
|
167
|
+
description == o.description
|
|
168
168
|
end
|
|
169
169
|
|
|
170
170
|
# @see the `==` method
|
|
@@ -176,7 +176,7 @@ module PulpContainerClient
|
|
|
176
176
|
# Calculates hash code according to all attributes.
|
|
177
177
|
# @return [Integer] Hash code
|
|
178
178
|
def hash
|
|
179
|
-
[pulp_labels,
|
|
179
|
+
[pulp_labels, latest_version_href, name, pulp_created, pulp_href, versions_href, retain_repo_versions, description].hash
|
|
180
180
|
end
|
|
181
181
|
|
|
182
182
|
# Builds the object from hash
|
|
@@ -17,15 +17,15 @@ module PulpContainerClient
|
|
|
17
17
|
class PatchedcontainerContainerDistribution
|
|
18
18
|
attr_accessor :pulp_labels
|
|
19
19
|
|
|
20
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
|
21
|
-
attr_accessor :content_guard
|
|
22
|
-
|
|
23
20
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
24
21
|
attr_accessor :name
|
|
25
22
|
|
|
26
23
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
27
24
|
attr_accessor :base_path
|
|
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 latest RepositoryVersion for this Repository will be served.
|
|
30
30
|
attr_accessor :repository
|
|
31
31
|
|
|
@@ -42,9 +42,9 @@ module PulpContainerClient
|
|
|
42
42
|
def self.attribute_map
|
|
43
43
|
{
|
|
44
44
|
:'pulp_labels' => :'pulp_labels',
|
|
45
|
-
:'content_guard' => :'content_guard',
|
|
46
45
|
:'name' => :'name',
|
|
47
46
|
:'base_path' => :'base_path',
|
|
47
|
+
:'content_guard' => :'content_guard',
|
|
48
48
|
:'repository' => :'repository',
|
|
49
49
|
:'repository_version' => :'repository_version',
|
|
50
50
|
:'private' => :'private',
|
|
@@ -56,9 +56,9 @@ module PulpContainerClient
|
|
|
56
56
|
def self.openapi_types
|
|
57
57
|
{
|
|
58
58
|
:'pulp_labels' => :'Object',
|
|
59
|
-
:'content_guard' => :'String',
|
|
60
59
|
:'name' => :'String',
|
|
61
60
|
:'base_path' => :'String',
|
|
61
|
+
:'content_guard' => :'String',
|
|
62
62
|
:'repository' => :'String',
|
|
63
63
|
:'repository_version' => :'String',
|
|
64
64
|
:'private' => :'Boolean',
|
|
@@ -94,10 +94,6 @@ module PulpContainerClient
|
|
|
94
94
|
self.pulp_labels = attributes[:'pulp_labels']
|
|
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?(:'name')
|
|
102
98
|
self.name = attributes[:'name']
|
|
103
99
|
end
|
|
@@ -106,6 +102,10 @@ module PulpContainerClient
|
|
|
106
102
|
self.base_path = attributes[:'base_path']
|
|
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?(:'repository')
|
|
110
110
|
self.repository = attributes[:'repository']
|
|
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
|
pulp_labels == o.pulp_labels &&
|
|
190
|
-
content_guard == o.content_guard &&
|
|
191
190
|
name == o.name &&
|
|
192
191
|
base_path == o.base_path &&
|
|
192
|
+
content_guard == o.content_guard &&
|
|
193
193
|
repository == o.repository &&
|
|
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
|
-
[pulp_labels,
|
|
208
|
+
[pulp_labels, name, base_path, content_guard, repository, repository_version, private, description].hash
|
|
209
209
|
end
|
|
210
210
|
|
|
211
211
|
# Builds the object from hash
|
|
@@ -17,22 +17,22 @@ module PulpContainerClient
|
|
|
17
17
|
class PatchedcontainerContainerPushRepository
|
|
18
18
|
attr_accessor :pulp_labels
|
|
19
19
|
|
|
20
|
-
# An optional description.
|
|
21
|
-
attr_accessor :description
|
|
22
|
-
|
|
23
20
|
# A unique name for this repository.
|
|
24
21
|
attr_accessor :name
|
|
25
22
|
|
|
26
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.
|
|
27
24
|
attr_accessor :retain_repo_versions
|
|
28
25
|
|
|
26
|
+
# An optional description.
|
|
27
|
+
attr_accessor :description
|
|
28
|
+
|
|
29
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
30
30
|
def self.attribute_map
|
|
31
31
|
{
|
|
32
32
|
:'pulp_labels' => :'pulp_labels',
|
|
33
|
-
:'description' => :'description',
|
|
34
33
|
:'name' => :'name',
|
|
35
|
-
:'retain_repo_versions' => :'retain_repo_versions'
|
|
34
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
|
35
|
+
:'description' => :'description'
|
|
36
36
|
}
|
|
37
37
|
end
|
|
38
38
|
|
|
@@ -40,17 +40,17 @@ module PulpContainerClient
|
|
|
40
40
|
def self.openapi_types
|
|
41
41
|
{
|
|
42
42
|
:'pulp_labels' => :'Object',
|
|
43
|
-
:'description' => :'String',
|
|
44
43
|
:'name' => :'String',
|
|
45
|
-
:'retain_repo_versions' => :'Integer'
|
|
44
|
+
:'retain_repo_versions' => :'Integer',
|
|
45
|
+
:'description' => :'String'
|
|
46
46
|
}
|
|
47
47
|
end
|
|
48
48
|
|
|
49
49
|
# List of attributes with nullable: true
|
|
50
50
|
def self.openapi_nullable
|
|
51
51
|
Set.new([
|
|
52
|
-
:'
|
|
53
|
-
:'
|
|
52
|
+
:'retain_repo_versions',
|
|
53
|
+
:'description'
|
|
54
54
|
])
|
|
55
55
|
end
|
|
56
56
|
|
|
@@ -73,10 +73,6 @@ module PulpContainerClient
|
|
|
73
73
|
self.pulp_labels = attributes[:'pulp_labels']
|
|
74
74
|
end
|
|
75
75
|
|
|
76
|
-
if attributes.key?(:'description')
|
|
77
|
-
self.description = attributes[:'description']
|
|
78
|
-
end
|
|
79
|
-
|
|
80
76
|
if attributes.key?(:'name')
|
|
81
77
|
self.name = attributes[:'name']
|
|
82
78
|
end
|
|
@@ -84,16 +80,16 @@ module PulpContainerClient
|
|
|
84
80
|
if attributes.key?(:'retain_repo_versions')
|
|
85
81
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
86
82
|
end
|
|
83
|
+
|
|
84
|
+
if attributes.key?(:'description')
|
|
85
|
+
self.description = attributes[:'description']
|
|
86
|
+
end
|
|
87
87
|
end
|
|
88
88
|
|
|
89
89
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
90
90
|
# @return Array for valid properties with the reasons
|
|
91
91
|
def list_invalid_properties
|
|
92
92
|
invalid_properties = Array.new
|
|
93
|
-
if !@description.nil? && @description.to_s.length < 1
|
|
94
|
-
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
|
95
|
-
end
|
|
96
|
-
|
|
97
93
|
if !@name.nil? && @name.to_s.length < 1
|
|
98
94
|
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
|
99
95
|
end
|
|
@@ -102,28 +98,22 @@ module PulpContainerClient
|
|
|
102
98
|
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
|
103
99
|
end
|
|
104
100
|
|
|
101
|
+
if !@description.nil? && @description.to_s.length < 1
|
|
102
|
+
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
|
103
|
+
end
|
|
104
|
+
|
|
105
105
|
invalid_properties
|
|
106
106
|
end
|
|
107
107
|
|
|
108
108
|
# Check to see if the all the properties in the model are valid
|
|
109
109
|
# @return true if the model is valid
|
|
110
110
|
def valid?
|
|
111
|
-
return false if !@description.nil? && @description.to_s.length < 1
|
|
112
111
|
return false if !@name.nil? && @name.to_s.length < 1
|
|
113
112
|
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
113
|
+
return false if !@description.nil? && @description.to_s.length < 1
|
|
114
114
|
true
|
|
115
115
|
end
|
|
116
116
|
|
|
117
|
-
# Custom attribute writer method with validation
|
|
118
|
-
# @param [Object] description Value to be assigned
|
|
119
|
-
def description=(description)
|
|
120
|
-
if !description.nil? && description.to_s.length < 1
|
|
121
|
-
fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
|
|
122
|
-
end
|
|
123
|
-
|
|
124
|
-
@description = description
|
|
125
|
-
end
|
|
126
|
-
|
|
127
117
|
# Custom attribute writer method with validation
|
|
128
118
|
# @param [Object] name Value to be assigned
|
|
129
119
|
def name=(name)
|
|
@@ -144,15 +134,25 @@ module PulpContainerClient
|
|
|
144
134
|
@retain_repo_versions = retain_repo_versions
|
|
145
135
|
end
|
|
146
136
|
|
|
137
|
+
# Custom attribute writer method with validation
|
|
138
|
+
# @param [Object] description Value to be assigned
|
|
139
|
+
def description=(description)
|
|
140
|
+
if !description.nil? && description.to_s.length < 1
|
|
141
|
+
fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
@description = description
|
|
145
|
+
end
|
|
146
|
+
|
|
147
147
|
# Checks equality by comparing each attribute.
|
|
148
148
|
# @param [Object] Object to be compared
|
|
149
149
|
def ==(o)
|
|
150
150
|
return true if self.equal?(o)
|
|
151
151
|
self.class == o.class &&
|
|
152
152
|
pulp_labels == o.pulp_labels &&
|
|
153
|
-
description == o.description &&
|
|
154
153
|
name == o.name &&
|
|
155
|
-
retain_repo_versions == o.retain_repo_versions
|
|
154
|
+
retain_repo_versions == o.retain_repo_versions &&
|
|
155
|
+
description == o.description
|
|
156
156
|
end
|
|
157
157
|
|
|
158
158
|
# @see the `==` method
|
|
@@ -164,7 +164,7 @@ module PulpContainerClient
|
|
|
164
164
|
# Calculates hash code according to all attributes.
|
|
165
165
|
# @return [Integer] Hash code
|
|
166
166
|
def hash
|
|
167
|
-
[pulp_labels,
|
|
167
|
+
[pulp_labels, name, retain_repo_versions, description].hash
|
|
168
168
|
end
|
|
169
169
|
|
|
170
170
|
# Builds the object from hash
|
|
@@ -38,37 +38,37 @@ describe 'ContainerContainerDistributionResponse' do
|
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
describe 'test attribute "
|
|
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 "
|
|
47
|
+
describe 'test attribute "pulp_created"' 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 "
|
|
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 "
|
|
59
|
+
describe 'test attribute "pulp_href"' do
|
|
60
60
|
it 'should work' do
|
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
62
|
end
|
|
63
63
|
end
|
|
64
64
|
|
|
65
|
-
describe 'test attribute "
|
|
65
|
+
describe 'test attribute "content_guard"' 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 "
|
|
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
|
|
@@ -38,19 +38,19 @@ describe 'ContainerContainerDistribution' do
|
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
describe 'test attribute "
|
|
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 "
|
|
47
|
+
describe 'test attribute "base_path"' do
|
|
48
48
|
it 'should work' do
|
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
-
describe 'test attribute "
|
|
53
|
+
describe 'test attribute "content_guard"' do
|
|
54
54
|
it 'should work' do
|
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
56
|
end
|
|
@@ -38,43 +38,43 @@ describe 'ContainerContainerPushRepositoryResponse' do
|
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
describe 'test attribute "
|
|
41
|
+
describe 'test attribute "latest_version_href"' 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 "
|
|
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 "
|
|
53
|
+
describe 'test attribute "pulp_created"' 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 "
|
|
59
|
+
describe 'test attribute "pulp_href"' do
|
|
60
60
|
it 'should work' do
|
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
62
|
end
|
|
63
63
|
end
|
|
64
64
|
|
|
65
|
-
describe 'test attribute "
|
|
65
|
+
describe 'test attribute "versions_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
|
|
69
69
|
end
|
|
70
70
|
|
|
71
|
-
describe 'test attribute "
|
|
71
|
+
describe 'test attribute "retain_repo_versions"' do
|
|
72
72
|
it 'should work' do
|
|
73
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
74
74
|
end
|
|
75
75
|
end
|
|
76
76
|
|
|
77
|
-
describe 'test attribute "
|
|
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
|
|
@@ -38,19 +38,19 @@ describe 'ContainerContainerPushRepository' do
|
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
describe 'test attribute "
|
|
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 "
|
|
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 "
|
|
53
|
+
describe 'test attribute "description"' do
|
|
54
54
|
it 'should work' do
|
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
56
|
end
|
|
@@ -38,19 +38,19 @@ describe 'PatchedcontainerContainerDistribution' do
|
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
describe 'test attribute "
|
|
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 "
|
|
47
|
+
describe 'test attribute "base_path"' do
|
|
48
48
|
it 'should work' do
|
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
-
describe 'test attribute "
|
|
53
|
+
describe 'test attribute "content_guard"' do
|
|
54
54
|
it 'should work' do
|
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
56
|
end
|
|
@@ -38,19 +38,19 @@ describe 'PatchedcontainerContainerPushRepository' do
|
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
describe 'test attribute "
|
|
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 "
|
|
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 "
|
|
53
|
+
describe 'test attribute "description"' do
|
|
54
54
|
it 'should work' do
|
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
56
|
end
|
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.10.
|
|
4
|
+
version: 2.10.3
|
|
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-
|
|
11
|
+
date: 2022-04-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -285,63 +285,63 @@ signing_key:
|
|
|
285
285
|
specification_version: 4
|
|
286
286
|
summary: Pulp 3 API Ruby Gem
|
|
287
287
|
test_files:
|
|
288
|
-
- spec/api/remotes_container_api_spec.rb
|
|
289
|
-
- spec/api/repositories_container_push_api_spec.rb
|
|
290
|
-
- spec/api/content_blobs_api_spec.rb
|
|
291
288
|
- spec/api/token_api_spec.rb
|
|
289
|
+
- spec/api/remotes_container_api_spec.rb
|
|
292
290
|
- spec/api/content_tags_api_spec.rb
|
|
293
|
-
- spec/api/
|
|
294
|
-
- spec/api/distributions_container_api_spec.rb
|
|
295
|
-
- spec/api/repositories_container_push_versions_api_spec.rb
|
|
291
|
+
- spec/api/pulp_container_namespaces_api_spec.rb
|
|
296
292
|
- spec/api/content_manifests_api_spec.rb
|
|
297
|
-
- spec/api/
|
|
293
|
+
- spec/api/repositories_container_push_api_spec.rb
|
|
294
|
+
- spec/api/distributions_container_api_spec.rb
|
|
295
|
+
- spec/api/repositories_container_api_spec.rb
|
|
298
296
|
- spec/api/repositories_container_versions_api_spec.rb
|
|
299
|
-
- spec/api/
|
|
297
|
+
- spec/api/content_blobs_api_spec.rb
|
|
298
|
+
- spec/api/contentguards_content_redirect_api_spec.rb
|
|
299
|
+
- spec/api/repositories_container_push_versions_api_spec.rb
|
|
300
300
|
- spec/api_client_spec.rb
|
|
301
301
|
- spec/configuration_spec.rb
|
|
302
|
-
- spec/models/
|
|
303
|
-
- spec/models/container_container_distribution_spec.rb
|
|
304
|
-
- spec/models/paginatedcontainer_container_push_repository_response_list_spec.rb
|
|
305
|
-
- spec/models/repository_version_response_spec.rb
|
|
306
|
-
- spec/models/patchedcontainer_content_redirect_content_guard_spec.rb
|
|
307
|
-
- spec/models/container_tag_response_spec.rb
|
|
308
|
-
- spec/models/container_container_repository_spec.rb
|
|
309
|
-
- spec/models/un_tag_image_spec.rb
|
|
310
|
-
- spec/models/async_operation_response_spec.rb
|
|
311
|
-
- spec/models/patchedcontainer_container_distribution_spec.rb
|
|
312
|
-
- spec/models/paginated_repository_version_response_list_spec.rb
|
|
313
|
-
- spec/models/container_container_remote_response_spec.rb
|
|
314
|
-
- spec/models/paginatedcontainer_manifest_response_list_spec.rb
|
|
315
|
-
- spec/models/container_blob_response_spec.rb
|
|
302
|
+
- spec/models/container_container_push_repository_response_spec.rb
|
|
316
303
|
- spec/models/content_summary_response_spec.rb
|
|
317
|
-
- spec/models/
|
|
318
|
-
- spec/models/
|
|
319
|
-
- spec/models/container_content_redirect_content_guard_response_spec.rb
|
|
304
|
+
- spec/models/container_blob_response_spec.rb
|
|
305
|
+
- spec/models/paginatedcontainer_content_redirect_content_guard_response_list_spec.rb
|
|
320
306
|
- spec/models/tag_image_spec.rb
|
|
321
|
-
- spec/models/
|
|
322
|
-
- spec/models/
|
|
323
|
-
- spec/models/patchedcontainer_container_remote_spec.rb
|
|
307
|
+
- spec/models/container_manifest_response_spec.rb
|
|
308
|
+
- spec/models/patchedcontainer_container_push_repository_spec.rb
|
|
324
309
|
- spec/models/container_container_namespace_response_spec.rb
|
|
325
|
-
- spec/models/paginatedcontainer_container_repository_response_list_spec.rb
|
|
326
|
-
- spec/models/container_container_push_repository_spec.rb
|
|
327
310
|
- spec/models/container_container_repository_response_spec.rb
|
|
328
|
-
- spec/models/
|
|
311
|
+
- spec/models/container_content_redirect_content_guard_spec.rb
|
|
312
|
+
- spec/models/un_tag_image_spec.rb
|
|
313
|
+
- spec/models/paginatedcontainer_blob_response_list_spec.rb
|
|
314
|
+
- spec/models/recursive_manage_spec.rb
|
|
315
|
+
- spec/models/repository_version_response_spec.rb
|
|
329
316
|
- spec/models/policy_enum_spec.rb
|
|
330
|
-
- spec/models/
|
|
331
|
-
- spec/models/
|
|
332
|
-
- spec/models/content_summary_spec.rb
|
|
333
|
-
- spec/models/paginatedcontainer_content_redirect_content_guard_response_list_spec.rb
|
|
334
|
-
- spec/models/container_manifest_response_spec.rb
|
|
317
|
+
- spec/models/async_operation_response_spec.rb
|
|
318
|
+
- spec/models/paginatedcontainer_tag_response_list_spec.rb
|
|
335
319
|
- spec/models/remove_image_spec.rb
|
|
320
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
|
321
|
+
- spec/models/patchedcontainer_content_redirect_content_guard_spec.rb
|
|
322
|
+
- spec/models/tag_copy_spec.rb
|
|
323
|
+
- spec/models/container_container_remote_spec.rb
|
|
324
|
+
- spec/models/paginatedcontainer_container_distribution_response_list_spec.rb
|
|
325
|
+
- spec/models/paginatedcontainer_container_namespace_response_list_spec.rb
|
|
326
|
+
- spec/models/container_container_distribution_response_spec.rb
|
|
336
327
|
- spec/models/manifest_copy_spec.rb
|
|
337
|
-
- spec/models/container_container_namespace_spec.rb
|
|
338
328
|
- spec/models/repository_version_spec.rb
|
|
339
|
-
- spec/models/
|
|
329
|
+
- spec/models/paginatedcontainer_manifest_response_list_spec.rb
|
|
330
|
+
- spec/models/patchedcontainer_container_repository_spec.rb
|
|
331
|
+
- spec/models/container_container_repository_spec.rb
|
|
340
332
|
- spec/models/oci_build_image_spec.rb
|
|
341
|
-
- spec/models/
|
|
342
|
-
- spec/models/
|
|
343
|
-
- spec/models/
|
|
344
|
-
- spec/models/
|
|
345
|
-
- spec/models/
|
|
333
|
+
- spec/models/container_container_push_repository_spec.rb
|
|
334
|
+
- spec/models/container_container_distribution_spec.rb
|
|
335
|
+
- spec/models/container_tag_response_spec.rb
|
|
336
|
+
- spec/models/container_container_remote_response_spec.rb
|
|
337
|
+
- spec/models/container_container_namespace_spec.rb
|
|
338
|
+
- spec/models/paginatedcontainer_container_repository_response_list_spec.rb
|
|
346
339
|
- spec/models/repository_sync_url_spec.rb
|
|
340
|
+
- spec/models/media_types_enum_spec.rb
|
|
341
|
+
- spec/models/patchedcontainer_container_distribution_spec.rb
|
|
342
|
+
- spec/models/paginatedcontainer_container_push_repository_response_list_spec.rb
|
|
343
|
+
- spec/models/patchedcontainer_container_remote_spec.rb
|
|
344
|
+
- spec/models/container_content_redirect_content_guard_response_spec.rb
|
|
345
|
+
- spec/models/paginatedcontainer_container_remote_response_list_spec.rb
|
|
346
|
+
- spec/models/content_summary_spec.rb
|
|
347
347
|
- spec/spec_helper.rb
|