pulp_container_client 2.7.0 → 2.7.1
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 +4 -4
- data/docs/ContainerContainerDistributionResponse.md +7 -7
- data/docs/ContainerContainerPushRepository.md +6 -6
- data/docs/ContainerContainerPushRepositoryResponse.md +8 -8
- data/docs/PatchedcontainerContainerDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPushRepository.md +6 -6
- data/lib/pulp_container_client/models/container_container_distribution.rb +20 -20
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +32 -32
- data/lib/pulp_container_client/models/container_container_push_repository.rb +29 -29
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +40 -40
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +15 -15
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +24 -24
- 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 +2 -2
- data/spec/models/container_container_push_repository_response_spec.rb +7 -7
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_distribution_spec.rb +2 -2
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 62f5516953cbcf430f6e50c431313d430f3d1d69635f97080dfb1d075f70e9d9
|
|
4
|
+
data.tar.gz: 1f75a09011337169b8e5afc894817ad047f5aae66663fc795d16256948d2dff1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fda02c419dfcac3109b1884379873f5a96f1537bc367a74ce7e0bd521b8b3b7139f590db429f42f3b0207c6af2692763d23bf507af9811db3361fe5b9cce44f9
|
|
7
|
+
data.tar.gz: 2acc279577341415f509066a7004334d3651f953e3b36206c5e9528a63d7601060f120aa0b55102d733c7d40bc7b6abaf770d7bb84fe09a67ae8faaa1ffa6417
|
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.7.
|
|
10
|
+
- Package version: 2.7.1
|
|
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.7.
|
|
27
|
+
gem install ./pulp_container_client-2.7.1.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./pulp_container_client-2.7.
|
|
30
|
+
(for development, run `gem install --dev ./pulp_container_client-2.7.1.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.7.
|
|
36
|
+
gem 'pulp_container_client', '~> 2.7.1'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**
|
|
7
|
+
**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\") |
|
|
8
8
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
9
9
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
10
|
-
**
|
|
10
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
11
11
|
**pulp_labels** | [**Object**](.md) | | [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]
|
|
@@ -18,10 +18,10 @@ Name | Type | Description | Notes
|
|
|
18
18
|
```ruby
|
|
19
19
|
require 'PulpContainerClient'
|
|
20
20
|
|
|
21
|
-
instance = PulpContainerClient::ContainerContainerDistribution.new(
|
|
21
|
+
instance = PulpContainerClient::ContainerContainerDistribution.new(base_path: null,
|
|
22
22
|
repository: null,
|
|
23
23
|
content_guard: null,
|
|
24
|
-
|
|
24
|
+
name: null,
|
|
25
25
|
pulp_labels: null,
|
|
26
26
|
repository_version: null,
|
|
27
27
|
private: null,
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**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\") |
|
|
7
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
8
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
9
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
|
10
9
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
11
10
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
12
|
-
**
|
|
11
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
|
12
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
13
13
|
**pulp_labels** | [**Object**](.md) | | [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]
|
|
@@ -22,12 +22,12 @@ Name | Type | Description | Notes
|
|
|
22
22
|
```ruby
|
|
23
23
|
require 'PulpContainerClient'
|
|
24
24
|
|
|
25
|
-
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(
|
|
26
|
-
|
|
27
|
-
pulp_href: null,
|
|
25
|
+
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(base_path: null,
|
|
26
|
+
pulp_created: null,
|
|
28
27
|
repository: null,
|
|
29
28
|
content_guard: null,
|
|
30
|
-
|
|
29
|
+
pulp_href: null,
|
|
30
|
+
name: null,
|
|
31
31
|
pulp_labels: null,
|
|
32
32
|
repository_version: null,
|
|
33
33
|
registry_path: null,
|
|
@@ -4,20 +4,20 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**name** | **String** | A unique name for this repository. |
|
|
8
|
-
**description** | **String** | An optional description. | [optional]
|
|
9
7
|
**retained_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]
|
|
8
|
+
**name** | **String** | A unique name for this repository. |
|
|
10
9
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
10
|
+
**description** | **String** | An optional description. | [optional]
|
|
11
11
|
|
|
12
12
|
## Code Sample
|
|
13
13
|
|
|
14
14
|
```ruby
|
|
15
15
|
require 'PulpContainerClient'
|
|
16
16
|
|
|
17
|
-
instance = PulpContainerClient::ContainerContainerPushRepository.new(
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
instance = PulpContainerClient::ContainerContainerPushRepository.new(retained_versions: null,
|
|
18
|
+
name: null,
|
|
19
|
+
pulp_labels: null,
|
|
20
|
+
description: null)
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
|
|
@@ -4,28 +4,28 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**retained_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]
|
|
7
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
8
|
-
**name** | **String** | A unique name for this repository. |
|
|
9
9
|
**versions_href** | **String** | | [optional] [readonly]
|
|
10
|
-
**description** | **String** | An optional description. | [optional]
|
|
11
10
|
**latest_version_href** | **String** | | [optional] [readonly]
|
|
12
|
-
**retained_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]
|
|
13
11
|
**pulp_href** | **String** | | [optional] [readonly]
|
|
12
|
+
**name** | **String** | A unique name for this repository. |
|
|
14
13
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
14
|
+
**description** | **String** | An optional description. | [optional]
|
|
15
15
|
|
|
16
16
|
## Code Sample
|
|
17
17
|
|
|
18
18
|
```ruby
|
|
19
19
|
require 'PulpContainerClient'
|
|
20
20
|
|
|
21
|
-
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(
|
|
22
|
-
|
|
21
|
+
instance = PulpContainerClient::ContainerContainerPushRepositoryResponse.new(retained_versions: null,
|
|
22
|
+
pulp_created: null,
|
|
23
23
|
versions_href: null,
|
|
24
|
-
description: null,
|
|
25
24
|
latest_version_href: null,
|
|
26
|
-
retained_versions: null,
|
|
27
25
|
pulp_href: null,
|
|
28
|
-
|
|
26
|
+
name: null,
|
|
27
|
+
pulp_labels: null,
|
|
28
|
+
description: null)
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**
|
|
7
|
+
**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]
|
|
8
8
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
9
9
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
10
|
-
**
|
|
10
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
|
11
11
|
**pulp_labels** | [**Object**](.md) | | [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]
|
|
@@ -18,10 +18,10 @@ Name | Type | Description | Notes
|
|
|
18
18
|
```ruby
|
|
19
19
|
require 'PulpContainerClient'
|
|
20
20
|
|
|
21
|
-
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(
|
|
21
|
+
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(base_path: null,
|
|
22
22
|
repository: null,
|
|
23
23
|
content_guard: null,
|
|
24
|
-
|
|
24
|
+
name: null,
|
|
25
25
|
pulp_labels: null,
|
|
26
26
|
repository_version: null,
|
|
27
27
|
private: null,
|
|
@@ -4,20 +4,20 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**name** | **String** | A unique name for this repository. | [optional]
|
|
8
|
-
**description** | **String** | An optional description. | [optional]
|
|
9
7
|
**retained_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]
|
|
8
|
+
**name** | **String** | A unique name for this repository. | [optional]
|
|
10
9
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
|
10
|
+
**description** | **String** | An optional description. | [optional]
|
|
11
11
|
|
|
12
12
|
## Code Sample
|
|
13
13
|
|
|
14
14
|
```ruby
|
|
15
15
|
require 'PulpContainerClient'
|
|
16
16
|
|
|
17
|
-
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(retained_versions: null,
|
|
18
|
+
name: null,
|
|
19
|
+
pulp_labels: null,
|
|
20
|
+
description: null)
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
|
|
@@ -15,8 +15,8 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for ContainerDistribution.
|
|
17
17
|
class ContainerContainerDistribution
|
|
18
|
-
#
|
|
19
|
-
attr_accessor :
|
|
18
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
19
|
+
attr_accessor :base_path
|
|
20
20
|
|
|
21
21
|
# The latest RepositoryVersion for this Repository will be served.
|
|
22
22
|
attr_accessor :repository
|
|
@@ -24,8 +24,8 @@ module PulpContainerClient
|
|
|
24
24
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
25
25
|
attr_accessor :content_guard
|
|
26
26
|
|
|
27
|
-
#
|
|
28
|
-
attr_accessor :
|
|
27
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
28
|
+
attr_accessor :name
|
|
29
29
|
|
|
30
30
|
attr_accessor :pulp_labels
|
|
31
31
|
|
|
@@ -41,10 +41,10 @@ module PulpContainerClient
|
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
42
42
|
def self.attribute_map
|
|
43
43
|
{
|
|
44
|
-
:'
|
|
44
|
+
:'base_path' => :'base_path',
|
|
45
45
|
:'repository' => :'repository',
|
|
46
46
|
:'content_guard' => :'content_guard',
|
|
47
|
-
:'
|
|
47
|
+
:'name' => :'name',
|
|
48
48
|
:'pulp_labels' => :'pulp_labels',
|
|
49
49
|
:'repository_version' => :'repository_version',
|
|
50
50
|
:'private' => :'private',
|
|
@@ -55,10 +55,10 @@ module PulpContainerClient
|
|
|
55
55
|
# Attribute type mapping.
|
|
56
56
|
def self.openapi_types
|
|
57
57
|
{
|
|
58
|
-
:'
|
|
58
|
+
:'base_path' => :'String',
|
|
59
59
|
:'repository' => :'String',
|
|
60
60
|
:'content_guard' => :'String',
|
|
61
|
-
:'
|
|
61
|
+
:'name' => :'String',
|
|
62
62
|
:'pulp_labels' => :'Object',
|
|
63
63
|
:'repository_version' => :'String',
|
|
64
64
|
:'private' => :'Boolean',
|
|
@@ -90,8 +90,8 @@ module PulpContainerClient
|
|
|
90
90
|
h[k.to_sym] = v
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
if attributes.key?(:'
|
|
94
|
-
self.
|
|
93
|
+
if attributes.key?(:'base_path')
|
|
94
|
+
self.base_path = attributes[:'base_path']
|
|
95
95
|
end
|
|
96
96
|
|
|
97
97
|
if attributes.key?(:'repository')
|
|
@@ -102,8 +102,8 @@ module PulpContainerClient
|
|
|
102
102
|
self.content_guard = attributes[:'content_guard']
|
|
103
103
|
end
|
|
104
104
|
|
|
105
|
-
if attributes.key?(:'
|
|
106
|
-
self.
|
|
105
|
+
if attributes.key?(:'name')
|
|
106
|
+
self.name = attributes[:'name']
|
|
107
107
|
end
|
|
108
108
|
|
|
109
109
|
if attributes.key?(:'pulp_labels')
|
|
@@ -127,22 +127,22 @@ module PulpContainerClient
|
|
|
127
127
|
# @return Array for valid properties with the reasons
|
|
128
128
|
def list_invalid_properties
|
|
129
129
|
invalid_properties = Array.new
|
|
130
|
-
if @name.nil?
|
|
131
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
132
|
-
end
|
|
133
|
-
|
|
134
130
|
if @base_path.nil?
|
|
135
131
|
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
|
136
132
|
end
|
|
137
133
|
|
|
134
|
+
if @name.nil?
|
|
135
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
136
|
+
end
|
|
137
|
+
|
|
138
138
|
invalid_properties
|
|
139
139
|
end
|
|
140
140
|
|
|
141
141
|
# Check to see if the all the properties in the model are valid
|
|
142
142
|
# @return true if the model is valid
|
|
143
143
|
def valid?
|
|
144
|
-
return false if @name.nil?
|
|
145
144
|
return false if @base_path.nil?
|
|
145
|
+
return false if @name.nil?
|
|
146
146
|
true
|
|
147
147
|
end
|
|
148
148
|
|
|
@@ -151,10 +151,10 @@ module PulpContainerClient
|
|
|
151
151
|
def ==(o)
|
|
152
152
|
return true if self.equal?(o)
|
|
153
153
|
self.class == o.class &&
|
|
154
|
-
|
|
154
|
+
base_path == o.base_path &&
|
|
155
155
|
repository == o.repository &&
|
|
156
156
|
content_guard == o.content_guard &&
|
|
157
|
-
|
|
157
|
+
name == o.name &&
|
|
158
158
|
pulp_labels == o.pulp_labels &&
|
|
159
159
|
repository_version == o.repository_version &&
|
|
160
160
|
private == o.private &&
|
|
@@ -170,7 +170,7 @@ module PulpContainerClient
|
|
|
170
170
|
# Calculates hash code according to all attributes.
|
|
171
171
|
# @return [Integer] Hash code
|
|
172
172
|
def hash
|
|
173
|
-
[
|
|
173
|
+
[base_path, repository, content_guard, name, pulp_labels, repository_version, private, description].hash
|
|
174
174
|
end
|
|
175
175
|
|
|
176
176
|
# Builds the object from hash
|
|
@@ -15,22 +15,22 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for ContainerDistribution.
|
|
17
17
|
class ContainerContainerDistributionResponse
|
|
18
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
19
|
+
attr_accessor :base_path
|
|
20
|
+
|
|
18
21
|
# Timestamp of creation.
|
|
19
22
|
attr_accessor :pulp_created
|
|
20
23
|
|
|
21
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
|
22
|
-
attr_accessor :name
|
|
23
|
-
|
|
24
|
-
attr_accessor :pulp_href
|
|
25
|
-
|
|
26
24
|
# The latest RepositoryVersion for this Repository will be served.
|
|
27
25
|
attr_accessor :repository
|
|
28
26
|
|
|
29
27
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
30
28
|
attr_accessor :content_guard
|
|
31
29
|
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
attr_accessor :pulp_href
|
|
31
|
+
|
|
32
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
33
|
+
attr_accessor :name
|
|
34
34
|
|
|
35
35
|
attr_accessor :pulp_labels
|
|
36
36
|
|
|
@@ -52,12 +52,12 @@ module PulpContainerClient
|
|
|
52
52
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
53
53
|
def self.attribute_map
|
|
54
54
|
{
|
|
55
|
+
:'base_path' => :'base_path',
|
|
55
56
|
:'pulp_created' => :'pulp_created',
|
|
56
|
-
:'name' => :'name',
|
|
57
|
-
:'pulp_href' => :'pulp_href',
|
|
58
57
|
:'repository' => :'repository',
|
|
59
58
|
:'content_guard' => :'content_guard',
|
|
60
|
-
:'
|
|
59
|
+
:'pulp_href' => :'pulp_href',
|
|
60
|
+
:'name' => :'name',
|
|
61
61
|
:'pulp_labels' => :'pulp_labels',
|
|
62
62
|
:'repository_version' => :'repository_version',
|
|
63
63
|
:'registry_path' => :'registry_path',
|
|
@@ -70,12 +70,12 @@ module PulpContainerClient
|
|
|
70
70
|
# Attribute type mapping.
|
|
71
71
|
def self.openapi_types
|
|
72
72
|
{
|
|
73
|
+
:'base_path' => :'String',
|
|
73
74
|
:'pulp_created' => :'DateTime',
|
|
74
|
-
:'name' => :'String',
|
|
75
|
-
:'pulp_href' => :'String',
|
|
76
75
|
:'repository' => :'String',
|
|
77
76
|
:'content_guard' => :'String',
|
|
78
|
-
:'
|
|
77
|
+
:'pulp_href' => :'String',
|
|
78
|
+
:'name' => :'String',
|
|
79
79
|
:'pulp_labels' => :'Object',
|
|
80
80
|
:'repository_version' => :'String',
|
|
81
81
|
:'registry_path' => :'String',
|
|
@@ -109,16 +109,12 @@ module PulpContainerClient
|
|
|
109
109
|
h[k.to_sym] = v
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
if attributes.key?(:'
|
|
113
|
-
self.
|
|
114
|
-
end
|
|
115
|
-
|
|
116
|
-
if attributes.key?(:'name')
|
|
117
|
-
self.name = attributes[:'name']
|
|
112
|
+
if attributes.key?(:'base_path')
|
|
113
|
+
self.base_path = attributes[:'base_path']
|
|
118
114
|
end
|
|
119
115
|
|
|
120
|
-
if attributes.key?(:'
|
|
121
|
-
self.
|
|
116
|
+
if attributes.key?(:'pulp_created')
|
|
117
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
122
118
|
end
|
|
123
119
|
|
|
124
120
|
if attributes.key?(:'repository')
|
|
@@ -129,8 +125,12 @@ module PulpContainerClient
|
|
|
129
125
|
self.content_guard = attributes[:'content_guard']
|
|
130
126
|
end
|
|
131
127
|
|
|
132
|
-
if attributes.key?(:'
|
|
133
|
-
self.
|
|
128
|
+
if attributes.key?(:'pulp_href')
|
|
129
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
if attributes.key?(:'name')
|
|
133
|
+
self.name = attributes[:'name']
|
|
134
134
|
end
|
|
135
135
|
|
|
136
136
|
if attributes.key?(:'pulp_labels')
|
|
@@ -162,22 +162,22 @@ module PulpContainerClient
|
|
|
162
162
|
# @return Array for valid properties with the reasons
|
|
163
163
|
def list_invalid_properties
|
|
164
164
|
invalid_properties = Array.new
|
|
165
|
-
if @name.nil?
|
|
166
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
167
|
-
end
|
|
168
|
-
|
|
169
165
|
if @base_path.nil?
|
|
170
166
|
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
|
171
167
|
end
|
|
172
168
|
|
|
169
|
+
if @name.nil?
|
|
170
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
171
|
+
end
|
|
172
|
+
|
|
173
173
|
invalid_properties
|
|
174
174
|
end
|
|
175
175
|
|
|
176
176
|
# Check to see if the all the properties in the model are valid
|
|
177
177
|
# @return true if the model is valid
|
|
178
178
|
def valid?
|
|
179
|
-
return false if @name.nil?
|
|
180
179
|
return false if @base_path.nil?
|
|
180
|
+
return false if @name.nil?
|
|
181
181
|
true
|
|
182
182
|
end
|
|
183
183
|
|
|
@@ -186,12 +186,12 @@ module PulpContainerClient
|
|
|
186
186
|
def ==(o)
|
|
187
187
|
return true if self.equal?(o)
|
|
188
188
|
self.class == o.class &&
|
|
189
|
+
base_path == o.base_path &&
|
|
189
190
|
pulp_created == o.pulp_created &&
|
|
190
|
-
name == o.name &&
|
|
191
|
-
pulp_href == o.pulp_href &&
|
|
192
191
|
repository == o.repository &&
|
|
193
192
|
content_guard == o.content_guard &&
|
|
194
|
-
|
|
193
|
+
pulp_href == o.pulp_href &&
|
|
194
|
+
name == o.name &&
|
|
195
195
|
pulp_labels == o.pulp_labels &&
|
|
196
196
|
repository_version == o.repository_version &&
|
|
197
197
|
registry_path == o.registry_path &&
|
|
@@ -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
|
-
[
|
|
212
|
+
[base_path, pulp_created, repository, content_guard, pulp_href, name, pulp_labels, repository_version, registry_path, namespace, private, description].hash
|
|
213
213
|
end
|
|
214
214
|
|
|
215
215
|
# Builds the object from hash
|
|
@@ -15,42 +15,42 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# Serializer for Container Push Repositories.
|
|
17
17
|
class ContainerContainerPushRepository
|
|
18
|
+
# 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.
|
|
19
|
+
attr_accessor :retained_versions
|
|
20
|
+
|
|
18
21
|
# A unique name for this repository.
|
|
19
22
|
attr_accessor :name
|
|
20
23
|
|
|
24
|
+
attr_accessor :pulp_labels
|
|
25
|
+
|
|
21
26
|
# An optional description.
|
|
22
27
|
attr_accessor :description
|
|
23
28
|
|
|
24
|
-
# 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.
|
|
25
|
-
attr_accessor :retained_versions
|
|
26
|
-
|
|
27
|
-
attr_accessor :pulp_labels
|
|
28
|
-
|
|
29
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
30
30
|
def self.attribute_map
|
|
31
31
|
{
|
|
32
|
-
:'name' => :'name',
|
|
33
|
-
:'description' => :'description',
|
|
34
32
|
:'retained_versions' => :'retained_versions',
|
|
35
|
-
:'
|
|
33
|
+
:'name' => :'name',
|
|
34
|
+
:'pulp_labels' => :'pulp_labels',
|
|
35
|
+
:'description' => :'description'
|
|
36
36
|
}
|
|
37
37
|
end
|
|
38
38
|
|
|
39
39
|
# Attribute type mapping.
|
|
40
40
|
def self.openapi_types
|
|
41
41
|
{
|
|
42
|
-
:'name' => :'String',
|
|
43
|
-
:'description' => :'String',
|
|
44
42
|
:'retained_versions' => :'Integer',
|
|
45
|
-
:'
|
|
43
|
+
:'name' => :'String',
|
|
44
|
+
:'pulp_labels' => :'Object',
|
|
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
|
-
:'description',
|
|
53
52
|
:'retained_versions',
|
|
53
|
+
:'description'
|
|
54
54
|
])
|
|
55
55
|
end
|
|
56
56
|
|
|
@@ -69,43 +69,43 @@ module PulpContainerClient
|
|
|
69
69
|
h[k.to_sym] = v
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
if attributes.key?(:'name')
|
|
73
|
-
self.name = attributes[:'name']
|
|
74
|
-
end
|
|
75
|
-
|
|
76
|
-
if attributes.key?(:'description')
|
|
77
|
-
self.description = attributes[:'description']
|
|
78
|
-
end
|
|
79
|
-
|
|
80
72
|
if attributes.key?(:'retained_versions')
|
|
81
73
|
self.retained_versions = attributes[:'retained_versions']
|
|
82
74
|
end
|
|
83
75
|
|
|
76
|
+
if attributes.key?(:'name')
|
|
77
|
+
self.name = attributes[:'name']
|
|
78
|
+
end
|
|
79
|
+
|
|
84
80
|
if attributes.key?(:'pulp_labels')
|
|
85
81
|
self.pulp_labels = attributes[:'pulp_labels']
|
|
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 @name.nil?
|
|
94
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
95
|
-
end
|
|
96
|
-
|
|
97
93
|
if !@retained_versions.nil? && @retained_versions < 1
|
|
98
94
|
invalid_properties.push('invalid value for "retained_versions", must be greater than or equal to 1.')
|
|
99
95
|
end
|
|
100
96
|
|
|
97
|
+
if @name.nil?
|
|
98
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
99
|
+
end
|
|
100
|
+
|
|
101
101
|
invalid_properties
|
|
102
102
|
end
|
|
103
103
|
|
|
104
104
|
# Check to see if the all the properties in the model are valid
|
|
105
105
|
# @return true if the model is valid
|
|
106
106
|
def valid?
|
|
107
|
-
return false if @name.nil?
|
|
108
107
|
return false if !@retained_versions.nil? && @retained_versions < 1
|
|
108
|
+
return false if @name.nil?
|
|
109
109
|
true
|
|
110
110
|
end
|
|
111
111
|
|
|
@@ -124,10 +124,10 @@ module PulpContainerClient
|
|
|
124
124
|
def ==(o)
|
|
125
125
|
return true if self.equal?(o)
|
|
126
126
|
self.class == o.class &&
|
|
127
|
-
name == o.name &&
|
|
128
|
-
description == o.description &&
|
|
129
127
|
retained_versions == o.retained_versions &&
|
|
130
|
-
|
|
128
|
+
name == o.name &&
|
|
129
|
+
pulp_labels == o.pulp_labels &&
|
|
130
|
+
description == o.description
|
|
131
131
|
end
|
|
132
132
|
|
|
133
133
|
# @see the `==` method
|
|
@@ -139,7 +139,7 @@ module PulpContainerClient
|
|
|
139
139
|
# Calculates hash code according to all attributes.
|
|
140
140
|
# @return [Integer] Hash code
|
|
141
141
|
def hash
|
|
142
|
-
[
|
|
142
|
+
[retained_versions, name, pulp_labels, description].hash
|
|
143
143
|
end
|
|
144
144
|
|
|
145
145
|
# Builds the object from hash
|
|
@@ -15,59 +15,59 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# Serializer for Container Push Repositories.
|
|
17
17
|
class ContainerContainerPushRepositoryResponse
|
|
18
|
+
# 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.
|
|
19
|
+
attr_accessor :retained_versions
|
|
20
|
+
|
|
18
21
|
# Timestamp of creation.
|
|
19
22
|
attr_accessor :pulp_created
|
|
20
23
|
|
|
21
|
-
# A unique name for this repository.
|
|
22
|
-
attr_accessor :name
|
|
23
|
-
|
|
24
24
|
attr_accessor :versions_href
|
|
25
25
|
|
|
26
|
-
# An optional description.
|
|
27
|
-
attr_accessor :description
|
|
28
|
-
|
|
29
26
|
attr_accessor :latest_version_href
|
|
30
27
|
|
|
31
|
-
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
|
32
|
-
attr_accessor :retained_versions
|
|
33
|
-
|
|
34
28
|
attr_accessor :pulp_href
|
|
35
29
|
|
|
30
|
+
# A unique name for this repository.
|
|
31
|
+
attr_accessor :name
|
|
32
|
+
|
|
36
33
|
attr_accessor :pulp_labels
|
|
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
|
+
:'retained_versions' => :'retained_versions',
|
|
41
42
|
:'pulp_created' => :'pulp_created',
|
|
42
|
-
:'name' => :'name',
|
|
43
43
|
:'versions_href' => :'versions_href',
|
|
44
|
-
:'description' => :'description',
|
|
45
44
|
:'latest_version_href' => :'latest_version_href',
|
|
46
|
-
:'retained_versions' => :'retained_versions',
|
|
47
45
|
:'pulp_href' => :'pulp_href',
|
|
48
|
-
:'
|
|
46
|
+
:'name' => :'name',
|
|
47
|
+
:'pulp_labels' => :'pulp_labels',
|
|
48
|
+
:'description' => :'description'
|
|
49
49
|
}
|
|
50
50
|
end
|
|
51
51
|
|
|
52
52
|
# Attribute type mapping.
|
|
53
53
|
def self.openapi_types
|
|
54
54
|
{
|
|
55
|
+
:'retained_versions' => :'Integer',
|
|
55
56
|
:'pulp_created' => :'DateTime',
|
|
56
|
-
:'name' => :'String',
|
|
57
57
|
:'versions_href' => :'String',
|
|
58
|
-
:'description' => :'String',
|
|
59
58
|
:'latest_version_href' => :'String',
|
|
60
|
-
:'retained_versions' => :'Integer',
|
|
61
59
|
:'pulp_href' => :'String',
|
|
62
|
-
:'
|
|
60
|
+
:'name' => :'String',
|
|
61
|
+
:'pulp_labels' => :'Object',
|
|
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
|
-
:'description',
|
|
70
69
|
:'retained_versions',
|
|
70
|
+
:'description'
|
|
71
71
|
])
|
|
72
72
|
end
|
|
73
73
|
|
|
@@ -86,59 +86,59 @@ module PulpContainerClient
|
|
|
86
86
|
h[k.to_sym] = v
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
if attributes.key?(:'
|
|
90
|
-
self.
|
|
89
|
+
if attributes.key?(:'retained_versions')
|
|
90
|
+
self.retained_versions = attributes[:'retained_versions']
|
|
91
91
|
end
|
|
92
92
|
|
|
93
|
-
if attributes.key?(:'
|
|
94
|
-
self.
|
|
93
|
+
if attributes.key?(:'pulp_created')
|
|
94
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
95
95
|
end
|
|
96
96
|
|
|
97
97
|
if attributes.key?(:'versions_href')
|
|
98
98
|
self.versions_href = attributes[:'versions_href']
|
|
99
99
|
end
|
|
100
100
|
|
|
101
|
-
if attributes.key?(:'description')
|
|
102
|
-
self.description = attributes[:'description']
|
|
103
|
-
end
|
|
104
|
-
|
|
105
101
|
if attributes.key?(:'latest_version_href')
|
|
106
102
|
self.latest_version_href = attributes[:'latest_version_href']
|
|
107
103
|
end
|
|
108
104
|
|
|
109
|
-
if attributes.key?(:'retained_versions')
|
|
110
|
-
self.retained_versions = attributes[:'retained_versions']
|
|
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?(:'name')
|
|
110
|
+
self.name = attributes[:'name']
|
|
111
|
+
end
|
|
112
|
+
|
|
117
113
|
if attributes.key?(:'pulp_labels')
|
|
118
114
|
self.pulp_labels = attributes[:'pulp_labels']
|
|
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?
|
|
123
123
|
# @return Array for valid properties with the reasons
|
|
124
124
|
def list_invalid_properties
|
|
125
125
|
invalid_properties = Array.new
|
|
126
|
-
if @name.nil?
|
|
127
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
128
|
-
end
|
|
129
|
-
|
|
130
126
|
if !@retained_versions.nil? && @retained_versions < 1
|
|
131
127
|
invalid_properties.push('invalid value for "retained_versions", must be greater than or equal to 1.')
|
|
132
128
|
end
|
|
133
129
|
|
|
130
|
+
if @name.nil?
|
|
131
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
132
|
+
end
|
|
133
|
+
|
|
134
134
|
invalid_properties
|
|
135
135
|
end
|
|
136
136
|
|
|
137
137
|
# Check to see if the all the properties in the model are valid
|
|
138
138
|
# @return true if the model is valid
|
|
139
139
|
def valid?
|
|
140
|
-
return false if @name.nil?
|
|
141
140
|
return false if !@retained_versions.nil? && @retained_versions < 1
|
|
141
|
+
return false if @name.nil?
|
|
142
142
|
true
|
|
143
143
|
end
|
|
144
144
|
|
|
@@ -157,14 +157,14 @@ module PulpContainerClient
|
|
|
157
157
|
def ==(o)
|
|
158
158
|
return true if self.equal?(o)
|
|
159
159
|
self.class == o.class &&
|
|
160
|
+
retained_versions == o.retained_versions &&
|
|
160
161
|
pulp_created == o.pulp_created &&
|
|
161
|
-
name == o.name &&
|
|
162
162
|
versions_href == o.versions_href &&
|
|
163
|
-
description == o.description &&
|
|
164
163
|
latest_version_href == o.latest_version_href &&
|
|
165
|
-
retained_versions == o.retained_versions &&
|
|
166
164
|
pulp_href == o.pulp_href &&
|
|
167
|
-
|
|
165
|
+
name == o.name &&
|
|
166
|
+
pulp_labels == o.pulp_labels &&
|
|
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
|
-
[
|
|
179
|
+
[retained_versions, pulp_created, versions_href, latest_version_href, pulp_href, name, pulp_labels, description].hash
|
|
180
180
|
end
|
|
181
181
|
|
|
182
182
|
# Builds the object from hash
|
|
@@ -15,8 +15,8 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for ContainerDistribution.
|
|
17
17
|
class PatchedcontainerContainerDistribution
|
|
18
|
-
#
|
|
19
|
-
attr_accessor :
|
|
18
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
19
|
+
attr_accessor :base_path
|
|
20
20
|
|
|
21
21
|
# The latest RepositoryVersion for this Repository will be served.
|
|
22
22
|
attr_accessor :repository
|
|
@@ -24,8 +24,8 @@ module PulpContainerClient
|
|
|
24
24
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
25
25
|
attr_accessor :content_guard
|
|
26
26
|
|
|
27
|
-
#
|
|
28
|
-
attr_accessor :
|
|
27
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
28
|
+
attr_accessor :name
|
|
29
29
|
|
|
30
30
|
attr_accessor :pulp_labels
|
|
31
31
|
|
|
@@ -41,10 +41,10 @@ module PulpContainerClient
|
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
42
42
|
def self.attribute_map
|
|
43
43
|
{
|
|
44
|
-
:'
|
|
44
|
+
:'base_path' => :'base_path',
|
|
45
45
|
:'repository' => :'repository',
|
|
46
46
|
:'content_guard' => :'content_guard',
|
|
47
|
-
:'
|
|
47
|
+
:'name' => :'name',
|
|
48
48
|
:'pulp_labels' => :'pulp_labels',
|
|
49
49
|
:'repository_version' => :'repository_version',
|
|
50
50
|
:'private' => :'private',
|
|
@@ -55,10 +55,10 @@ module PulpContainerClient
|
|
|
55
55
|
# Attribute type mapping.
|
|
56
56
|
def self.openapi_types
|
|
57
57
|
{
|
|
58
|
-
:'
|
|
58
|
+
:'base_path' => :'String',
|
|
59
59
|
:'repository' => :'String',
|
|
60
60
|
:'content_guard' => :'String',
|
|
61
|
-
:'
|
|
61
|
+
:'name' => :'String',
|
|
62
62
|
:'pulp_labels' => :'Object',
|
|
63
63
|
:'repository_version' => :'String',
|
|
64
64
|
:'private' => :'Boolean',
|
|
@@ -90,8 +90,8 @@ module PulpContainerClient
|
|
|
90
90
|
h[k.to_sym] = v
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
if attributes.key?(:'
|
|
94
|
-
self.
|
|
93
|
+
if attributes.key?(:'base_path')
|
|
94
|
+
self.base_path = attributes[:'base_path']
|
|
95
95
|
end
|
|
96
96
|
|
|
97
97
|
if attributes.key?(:'repository')
|
|
@@ -102,8 +102,8 @@ module PulpContainerClient
|
|
|
102
102
|
self.content_guard = attributes[:'content_guard']
|
|
103
103
|
end
|
|
104
104
|
|
|
105
|
-
if attributes.key?(:'
|
|
106
|
-
self.
|
|
105
|
+
if attributes.key?(:'name')
|
|
106
|
+
self.name = attributes[:'name']
|
|
107
107
|
end
|
|
108
108
|
|
|
109
109
|
if attributes.key?(:'pulp_labels')
|
|
@@ -141,10 +141,10 @@ module PulpContainerClient
|
|
|
141
141
|
def ==(o)
|
|
142
142
|
return true if self.equal?(o)
|
|
143
143
|
self.class == o.class &&
|
|
144
|
-
|
|
144
|
+
base_path == o.base_path &&
|
|
145
145
|
repository == o.repository &&
|
|
146
146
|
content_guard == o.content_guard &&
|
|
147
|
-
|
|
147
|
+
name == o.name &&
|
|
148
148
|
pulp_labels == o.pulp_labels &&
|
|
149
149
|
repository_version == o.repository_version &&
|
|
150
150
|
private == o.private &&
|
|
@@ -160,7 +160,7 @@ module PulpContainerClient
|
|
|
160
160
|
# Calculates hash code according to all attributes.
|
|
161
161
|
# @return [Integer] Hash code
|
|
162
162
|
def hash
|
|
163
|
-
[
|
|
163
|
+
[base_path, repository, content_guard, name, pulp_labels, repository_version, private, description].hash
|
|
164
164
|
end
|
|
165
165
|
|
|
166
166
|
# Builds the object from hash
|
|
@@ -15,42 +15,42 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# Serializer for Container Push Repositories.
|
|
17
17
|
class PatchedcontainerContainerPushRepository
|
|
18
|
+
# 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.
|
|
19
|
+
attr_accessor :retained_versions
|
|
20
|
+
|
|
18
21
|
# A unique name for this repository.
|
|
19
22
|
attr_accessor :name
|
|
20
23
|
|
|
24
|
+
attr_accessor :pulp_labels
|
|
25
|
+
|
|
21
26
|
# An optional description.
|
|
22
27
|
attr_accessor :description
|
|
23
28
|
|
|
24
|
-
# 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.
|
|
25
|
-
attr_accessor :retained_versions
|
|
26
|
-
|
|
27
|
-
attr_accessor :pulp_labels
|
|
28
|
-
|
|
29
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
30
30
|
def self.attribute_map
|
|
31
31
|
{
|
|
32
|
-
:'name' => :'name',
|
|
33
|
-
:'description' => :'description',
|
|
34
32
|
:'retained_versions' => :'retained_versions',
|
|
35
|
-
:'
|
|
33
|
+
:'name' => :'name',
|
|
34
|
+
:'pulp_labels' => :'pulp_labels',
|
|
35
|
+
:'description' => :'description'
|
|
36
36
|
}
|
|
37
37
|
end
|
|
38
38
|
|
|
39
39
|
# Attribute type mapping.
|
|
40
40
|
def self.openapi_types
|
|
41
41
|
{
|
|
42
|
-
:'name' => :'String',
|
|
43
|
-
:'description' => :'String',
|
|
44
42
|
:'retained_versions' => :'Integer',
|
|
45
|
-
:'
|
|
43
|
+
:'name' => :'String',
|
|
44
|
+
:'pulp_labels' => :'Object',
|
|
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
|
-
:'description',
|
|
53
52
|
:'retained_versions',
|
|
53
|
+
:'description'
|
|
54
54
|
])
|
|
55
55
|
end
|
|
56
56
|
|
|
@@ -69,21 +69,21 @@ module PulpContainerClient
|
|
|
69
69
|
h[k.to_sym] = v
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
if attributes.key?(:'name')
|
|
73
|
-
self.name = attributes[:'name']
|
|
74
|
-
end
|
|
75
|
-
|
|
76
|
-
if attributes.key?(:'description')
|
|
77
|
-
self.description = attributes[:'description']
|
|
78
|
-
end
|
|
79
|
-
|
|
80
72
|
if attributes.key?(:'retained_versions')
|
|
81
73
|
self.retained_versions = attributes[:'retained_versions']
|
|
82
74
|
end
|
|
83
75
|
|
|
76
|
+
if attributes.key?(:'name')
|
|
77
|
+
self.name = attributes[:'name']
|
|
78
|
+
end
|
|
79
|
+
|
|
84
80
|
if attributes.key?(:'pulp_labels')
|
|
85
81
|
self.pulp_labels = attributes[:'pulp_labels']
|
|
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?
|
|
@@ -119,10 +119,10 @@ module PulpContainerClient
|
|
|
119
119
|
def ==(o)
|
|
120
120
|
return true if self.equal?(o)
|
|
121
121
|
self.class == o.class &&
|
|
122
|
-
name == o.name &&
|
|
123
|
-
description == o.description &&
|
|
124
122
|
retained_versions == o.retained_versions &&
|
|
125
|
-
|
|
123
|
+
name == o.name &&
|
|
124
|
+
pulp_labels == o.pulp_labels &&
|
|
125
|
+
description == o.description
|
|
126
126
|
end
|
|
127
127
|
|
|
128
128
|
# @see the `==` method
|
|
@@ -134,7 +134,7 @@ module PulpContainerClient
|
|
|
134
134
|
# Calculates hash code according to all attributes.
|
|
135
135
|
# @return [Integer] Hash code
|
|
136
136
|
def hash
|
|
137
|
-
[
|
|
137
|
+
[retained_versions, name, pulp_labels, description].hash
|
|
138
138
|
end
|
|
139
139
|
|
|
140
140
|
# Builds the object from hash
|
|
@@ -32,37 +32,37 @@ describe 'ContainerContainerDistributionResponse' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerDistributionResponse)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "base_path"' 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 "
|
|
41
|
+
describe 'test attribute "pulp_created"' 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 "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 "
|
|
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
|
|
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 "name"' 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
|
|
@@ -32,7 +32,7 @@ describe 'ContainerContainerDistribution' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerDistribution)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "base_path"' 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
|
|
@@ -50,7 +50,7 @@ describe 'ContainerContainerDistribution' do
|
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
-
describe 'test attribute "
|
|
53
|
+
describe 'test attribute "name"' do
|
|
54
54
|
it 'should work' do
|
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
56
|
end
|
|
@@ -32,13 +32,13 @@ describe 'ContainerContainerPushRepositoryResponse' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerPushRepositoryResponse)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "retained_versions"' 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 "
|
|
41
|
+
describe 'test attribute "pulp_created"' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
44
|
end
|
|
@@ -50,31 +50,31 @@ describe 'ContainerContainerPushRepositoryResponse' do
|
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
-
describe 'test attribute "
|
|
53
|
+
describe 'test attribute "latest_version_href"' do
|
|
54
54
|
it 'should work' do
|
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
describe 'test attribute "
|
|
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 "name"' 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 "pulp_labels"' do
|
|
72
72
|
it 'should work' do
|
|
73
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
74
74
|
end
|
|
75
75
|
end
|
|
76
76
|
|
|
77
|
-
describe 'test attribute "
|
|
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
|
|
@@ -32,25 +32,25 @@ describe 'ContainerContainerPushRepository' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerPushRepository)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "retained_versions"' 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 "
|
|
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_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 "
|
|
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
|
|
@@ -32,7 +32,7 @@ describe 'PatchedcontainerContainerDistribution' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::PatchedcontainerContainerDistribution)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "base_path"' 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
|
|
@@ -50,7 +50,7 @@ describe 'PatchedcontainerContainerDistribution' do
|
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
-
describe 'test attribute "
|
|
53
|
+
describe 'test attribute "name"' 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,25 +32,25 @@ describe 'PatchedcontainerContainerPushRepository' do
|
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::PatchedcontainerContainerPushRepository)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
describe 'test attribute "
|
|
35
|
+
describe 'test attribute "retained_versions"' 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 "
|
|
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_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 "
|
|
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.7.
|
|
4
|
+
version: 2.7.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-07-
|
|
11
|
+
date: 2021-07-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|