pulp_container_client 2.5.1 → 2.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContainerContainerDistribution.md +7 -7
- data/docs/ContainerContainerDistributionResponse.md +11 -11
- data/docs/PatchedcontainerContainerDistribution.md +7 -7
- data/lib/pulp_container_client/models/container_container_distribution.rb +33 -33
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +46 -46
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +28 -28
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +8 -8
- data/spec/models/container_container_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 807b18ee2744efd5901fd011feceb728fb21ef7ba600c691bc2792fa7f0570ae
|
4
|
+
data.tar.gz: cf44dea8775f8416af841f27cfe1ad29e90c786d691e47b746f4776af7b66404
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c536e09bf4e88aa1c0831206bf870a291945a282fcb560b4374eee029a458b4a2b2eff71e27fd5c27d4d06068dd879367f13e99c1c07a8bf0772f06886cb554
|
7
|
+
data.tar.gz: 496355fee69d5be2f354a151c965ce4065d88a6528ebf850e432ed97c39a348973ce1ab9dbd79d26089e62cff237aff1d4683b187fc34e3df77d6c5d755297d2
|
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.5.
|
10
|
+
- Package version: 2.5.2
|
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.5.
|
27
|
+
gem install ./pulp_container_client-2.5.2.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_container_client-2.5.
|
30
|
+
(for development, run `gem install --dev ./pulp_container_client-2.5.2.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.5.
|
36
|
+
gem 'pulp_container_client', '~> 2.5.2'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -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\") |
|
8
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
9
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
7
10
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
8
11
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
9
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
10
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
11
12
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
12
|
-
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
13
13
|
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
|
14
14
|
**description** | **String** | An optional description. | [optional]
|
15
15
|
|
@@ -18,12 +18,12 @@ Name | Type | Description | Notes
|
|
18
18
|
```ruby
|
19
19
|
require 'PulpContainerClient'
|
20
20
|
|
21
|
-
instance = PulpContainerClient::ContainerContainerDistribution.new(
|
22
|
-
pulp_labels: null,
|
23
|
-
content_guard: null,
|
21
|
+
instance = PulpContainerClient::ContainerContainerDistribution.new(base_path: null,
|
24
22
|
name: null,
|
23
|
+
content_guard: null,
|
24
|
+
repository_version: null,
|
25
|
+
pulp_labels: null,
|
25
26
|
repository: null,
|
26
|
-
base_path: null,
|
27
27
|
private: null,
|
28
28
|
description: null)
|
29
29
|
```
|
@@ -4,14 +4,14 @@
|
|
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\") |
|
8
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
9
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
7
10
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
8
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
11
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
10
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
11
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
12
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
13
12
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
14
|
-
**
|
13
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
14
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
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]
|
17
17
|
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
|
@@ -22,14 +22,14 @@ Name | Type | Description | Notes
|
|
22
22
|
```ruby
|
23
23
|
require 'PulpContainerClient'
|
24
24
|
|
25
|
-
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(
|
26
|
-
pulp_created: null,
|
27
|
-
pulp_labels: null,
|
28
|
-
content_guard: null,
|
29
|
-
pulp_href: null,
|
25
|
+
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(base_path: null,
|
30
26
|
name: null,
|
27
|
+
content_guard: null,
|
28
|
+
repository_version: null,
|
29
|
+
pulp_labels: null,
|
31
30
|
repository: null,
|
32
|
-
|
31
|
+
pulp_href: null,
|
32
|
+
pulp_created: null,
|
33
33
|
registry_path: null,
|
34
34
|
namespace: null,
|
35
35
|
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\") | [optional]
|
8
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
9
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
7
10
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
8
11
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
9
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
10
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
11
12
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
12
|
-
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional]
|
13
13
|
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
|
14
14
|
**description** | **String** | An optional description. | [optional]
|
15
15
|
|
@@ -18,12 +18,12 @@ Name | Type | Description | Notes
|
|
18
18
|
```ruby
|
19
19
|
require 'PulpContainerClient'
|
20
20
|
|
21
|
-
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(
|
22
|
-
pulp_labels: null,
|
23
|
-
content_guard: null,
|
21
|
+
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(base_path: null,
|
24
22
|
name: null,
|
23
|
+
content_guard: null,
|
24
|
+
repository_version: null,
|
25
|
+
pulp_labels: null,
|
25
26
|
repository: null,
|
26
|
-
base_path: null,
|
27
27
|
private: null,
|
28
28
|
description: null)
|
29
29
|
```
|
@@ -15,23 +15,23 @@ 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
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
22
|
+
attr_accessor :name
|
22
23
|
|
23
24
|
# An optional content-guard. If none is specified, a default one will be used.
|
24
25
|
attr_accessor :content_guard
|
25
26
|
|
26
|
-
#
|
27
|
-
attr_accessor :
|
27
|
+
# RepositoryVersion to be served
|
28
|
+
attr_accessor :repository_version
|
29
|
+
|
30
|
+
attr_accessor :pulp_labels
|
28
31
|
|
29
32
|
# The latest RepositoryVersion for this Repository will be served.
|
30
33
|
attr_accessor :repository
|
31
34
|
|
32
|
-
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
33
|
-
attr_accessor :base_path
|
34
|
-
|
35
35
|
# Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access.
|
36
36
|
attr_accessor :private
|
37
37
|
|
@@ -41,12 +41,12 @@ module PulpContainerClient
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
42
42
|
def self.attribute_map
|
43
43
|
{
|
44
|
+
:'base_path' => :'base_path',
|
45
|
+
:'name' => :'name',
|
46
|
+
:'content_guard' => :'content_guard',
|
44
47
|
:'repository_version' => :'repository_version',
|
45
48
|
:'pulp_labels' => :'pulp_labels',
|
46
|
-
:'content_guard' => :'content_guard',
|
47
|
-
:'name' => :'name',
|
48
49
|
:'repository' => :'repository',
|
49
|
-
:'base_path' => :'base_path',
|
50
50
|
:'private' => :'private',
|
51
51
|
:'description' => :'description'
|
52
52
|
}
|
@@ -55,12 +55,12 @@ module PulpContainerClient
|
|
55
55
|
# Attribute type mapping.
|
56
56
|
def self.openapi_types
|
57
57
|
{
|
58
|
+
:'base_path' => :'String',
|
59
|
+
:'name' => :'String',
|
60
|
+
:'content_guard' => :'String',
|
58
61
|
:'repository_version' => :'String',
|
59
62
|
:'pulp_labels' => :'Object',
|
60
|
-
:'content_guard' => :'String',
|
61
|
-
:'name' => :'String',
|
62
63
|
:'repository' => :'String',
|
63
|
-
:'base_path' => :'String',
|
64
64
|
:'private' => :'Boolean',
|
65
65
|
:'description' => :'String'
|
66
66
|
}
|
@@ -90,28 +90,28 @@ 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
|
-
if attributes.key?(:'
|
98
|
-
self.
|
97
|
+
if attributes.key?(:'name')
|
98
|
+
self.name = attributes[:'name']
|
99
99
|
end
|
100
100
|
|
101
101
|
if attributes.key?(:'content_guard')
|
102
102
|
self.content_guard = attributes[:'content_guard']
|
103
103
|
end
|
104
104
|
|
105
|
-
if attributes.key?(:'
|
106
|
-
self.
|
105
|
+
if attributes.key?(:'repository_version')
|
106
|
+
self.repository_version = attributes[:'repository_version']
|
107
107
|
end
|
108
108
|
|
109
|
-
if attributes.key?(:'
|
110
|
-
self.
|
109
|
+
if attributes.key?(:'pulp_labels')
|
110
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
111
111
|
end
|
112
112
|
|
113
|
-
if attributes.key?(:'
|
114
|
-
self.
|
113
|
+
if attributes.key?(:'repository')
|
114
|
+
self.repository = attributes[:'repository']
|
115
115
|
end
|
116
116
|
|
117
117
|
if attributes.key?(:'private')
|
@@ -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,12 +151,12 @@ module PulpContainerClient
|
|
151
151
|
def ==(o)
|
152
152
|
return true if self.equal?(o)
|
153
153
|
self.class == o.class &&
|
154
|
+
base_path == o.base_path &&
|
155
|
+
name == o.name &&
|
156
|
+
content_guard == o.content_guard &&
|
154
157
|
repository_version == o.repository_version &&
|
155
158
|
pulp_labels == o.pulp_labels &&
|
156
|
-
content_guard == o.content_guard &&
|
157
|
-
name == o.name &&
|
158
159
|
repository == o.repository &&
|
159
|
-
base_path == o.base_path &&
|
160
160
|
private == o.private &&
|
161
161
|
description == o.description
|
162
162
|
end
|
@@ -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, name, content_guard, repository_version, pulp_labels, repository, private, description].hash
|
174
174
|
end
|
175
175
|
|
176
176
|
# Builds the object from hash
|
@@ -15,27 +15,27 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class ContainerContainerDistributionResponse
|
18
|
-
#
|
19
|
-
attr_accessor :
|
20
|
-
|
21
|
-
# Timestamp of creation.
|
22
|
-
attr_accessor :pulp_created
|
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
|
23
20
|
|
24
|
-
|
21
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
22
|
+
attr_accessor :name
|
25
23
|
|
26
24
|
# An optional content-guard. If none is specified, a default one will be used.
|
27
25
|
attr_accessor :content_guard
|
28
26
|
|
29
|
-
|
27
|
+
# RepositoryVersion to be served
|
28
|
+
attr_accessor :repository_version
|
30
29
|
|
31
|
-
|
32
|
-
attr_accessor :name
|
30
|
+
attr_accessor :pulp_labels
|
33
31
|
|
34
32
|
# The latest RepositoryVersion for this Repository will be served.
|
35
33
|
attr_accessor :repository
|
36
34
|
|
37
|
-
|
38
|
-
|
35
|
+
attr_accessor :pulp_href
|
36
|
+
|
37
|
+
# Timestamp of creation.
|
38
|
+
attr_accessor :pulp_created
|
39
39
|
|
40
40
|
# The Registry hostame/name/ to use with docker pull command defined by this distribution.
|
41
41
|
attr_accessor :registry_path
|
@@ -52,14 +52,14 @@ 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',
|
56
|
+
:'name' => :'name',
|
57
|
+
:'content_guard' => :'content_guard',
|
55
58
|
:'repository_version' => :'repository_version',
|
56
|
-
:'pulp_created' => :'pulp_created',
|
57
59
|
:'pulp_labels' => :'pulp_labels',
|
58
|
-
:'content_guard' => :'content_guard',
|
59
|
-
:'pulp_href' => :'pulp_href',
|
60
|
-
:'name' => :'name',
|
61
60
|
:'repository' => :'repository',
|
62
|
-
:'
|
61
|
+
:'pulp_href' => :'pulp_href',
|
62
|
+
:'pulp_created' => :'pulp_created',
|
63
63
|
:'registry_path' => :'registry_path',
|
64
64
|
:'namespace' => :'namespace',
|
65
65
|
:'private' => :'private',
|
@@ -70,14 +70,14 @@ module PulpContainerClient
|
|
70
70
|
# Attribute type mapping.
|
71
71
|
def self.openapi_types
|
72
72
|
{
|
73
|
+
:'base_path' => :'String',
|
74
|
+
:'name' => :'String',
|
75
|
+
:'content_guard' => :'String',
|
73
76
|
:'repository_version' => :'String',
|
74
|
-
:'pulp_created' => :'DateTime',
|
75
77
|
:'pulp_labels' => :'Object',
|
76
|
-
:'content_guard' => :'String',
|
77
|
-
:'pulp_href' => :'String',
|
78
|
-
:'name' => :'String',
|
79
78
|
:'repository' => :'String',
|
80
|
-
:'
|
79
|
+
:'pulp_href' => :'String',
|
80
|
+
:'pulp_created' => :'DateTime',
|
81
81
|
:'registry_path' => :'String',
|
82
82
|
:'namespace' => :'String',
|
83
83
|
:'private' => :'Boolean',
|
@@ -109,36 +109,36 @@ 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?(:'pulp_created')
|
117
|
-
self.pulp_created = attributes[:'pulp_created']
|
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?(:'name')
|
117
|
+
self.name = attributes[:'name']
|
122
118
|
end
|
123
119
|
|
124
120
|
if attributes.key?(:'content_guard')
|
125
121
|
self.content_guard = attributes[:'content_guard']
|
126
122
|
end
|
127
123
|
|
128
|
-
if attributes.key?(:'
|
129
|
-
self.
|
124
|
+
if attributes.key?(:'repository_version')
|
125
|
+
self.repository_version = attributes[:'repository_version']
|
130
126
|
end
|
131
127
|
|
132
|
-
if attributes.key?(:'
|
133
|
-
self.
|
128
|
+
if attributes.key?(:'pulp_labels')
|
129
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
134
130
|
end
|
135
131
|
|
136
132
|
if attributes.key?(:'repository')
|
137
133
|
self.repository = attributes[:'repository']
|
138
134
|
end
|
139
135
|
|
140
|
-
if attributes.key?(:'
|
141
|
-
self.
|
136
|
+
if attributes.key?(:'pulp_href')
|
137
|
+
self.pulp_href = attributes[:'pulp_href']
|
138
|
+
end
|
139
|
+
|
140
|
+
if attributes.key?(:'pulp_created')
|
141
|
+
self.pulp_created = attributes[:'pulp_created']
|
142
142
|
end
|
143
143
|
|
144
144
|
if attributes.key?(:'registry_path')
|
@@ -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,14 +186,14 @@ 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 &&
|
190
|
+
name == o.name &&
|
191
|
+
content_guard == o.content_guard &&
|
189
192
|
repository_version == o.repository_version &&
|
190
|
-
pulp_created == o.pulp_created &&
|
191
193
|
pulp_labels == o.pulp_labels &&
|
192
|
-
content_guard == o.content_guard &&
|
193
|
-
pulp_href == o.pulp_href &&
|
194
|
-
name == o.name &&
|
195
194
|
repository == o.repository &&
|
196
|
-
|
195
|
+
pulp_href == o.pulp_href &&
|
196
|
+
pulp_created == o.pulp_created &&
|
197
197
|
registry_path == o.registry_path &&
|
198
198
|
namespace == o.namespace &&
|
199
199
|
private == o.private &&
|
@@ -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, name, content_guard, repository_version, pulp_labels, repository, pulp_href, pulp_created, registry_path, namespace, private, description].hash
|
213
213
|
end
|
214
214
|
|
215
215
|
# Builds the object from hash
|
@@ -15,23 +15,23 @@ 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
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
22
|
+
attr_accessor :name
|
22
23
|
|
23
24
|
# An optional content-guard. If none is specified, a default one will be used.
|
24
25
|
attr_accessor :content_guard
|
25
26
|
|
26
|
-
#
|
27
|
-
attr_accessor :
|
27
|
+
# RepositoryVersion to be served
|
28
|
+
attr_accessor :repository_version
|
29
|
+
|
30
|
+
attr_accessor :pulp_labels
|
28
31
|
|
29
32
|
# The latest RepositoryVersion for this Repository will be served.
|
30
33
|
attr_accessor :repository
|
31
34
|
|
32
|
-
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
33
|
-
attr_accessor :base_path
|
34
|
-
|
35
35
|
# Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access.
|
36
36
|
attr_accessor :private
|
37
37
|
|
@@ -41,12 +41,12 @@ module PulpContainerClient
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
42
42
|
def self.attribute_map
|
43
43
|
{
|
44
|
+
:'base_path' => :'base_path',
|
45
|
+
:'name' => :'name',
|
46
|
+
:'content_guard' => :'content_guard',
|
44
47
|
:'repository_version' => :'repository_version',
|
45
48
|
:'pulp_labels' => :'pulp_labels',
|
46
|
-
:'content_guard' => :'content_guard',
|
47
|
-
:'name' => :'name',
|
48
49
|
:'repository' => :'repository',
|
49
|
-
:'base_path' => :'base_path',
|
50
50
|
:'private' => :'private',
|
51
51
|
:'description' => :'description'
|
52
52
|
}
|
@@ -55,12 +55,12 @@ module PulpContainerClient
|
|
55
55
|
# Attribute type mapping.
|
56
56
|
def self.openapi_types
|
57
57
|
{
|
58
|
+
:'base_path' => :'String',
|
59
|
+
:'name' => :'String',
|
60
|
+
:'content_guard' => :'String',
|
58
61
|
:'repository_version' => :'String',
|
59
62
|
:'pulp_labels' => :'Object',
|
60
|
-
:'content_guard' => :'String',
|
61
|
-
:'name' => :'String',
|
62
63
|
:'repository' => :'String',
|
63
|
-
:'base_path' => :'String',
|
64
64
|
:'private' => :'Boolean',
|
65
65
|
:'description' => :'String'
|
66
66
|
}
|
@@ -90,28 +90,28 @@ 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
|
-
if attributes.key?(:'
|
98
|
-
self.
|
97
|
+
if attributes.key?(:'name')
|
98
|
+
self.name = attributes[:'name']
|
99
99
|
end
|
100
100
|
|
101
101
|
if attributes.key?(:'content_guard')
|
102
102
|
self.content_guard = attributes[:'content_guard']
|
103
103
|
end
|
104
104
|
|
105
|
-
if attributes.key?(:'
|
106
|
-
self.
|
105
|
+
if attributes.key?(:'repository_version')
|
106
|
+
self.repository_version = attributes[:'repository_version']
|
107
107
|
end
|
108
108
|
|
109
|
-
if attributes.key?(:'
|
110
|
-
self.
|
109
|
+
if attributes.key?(:'pulp_labels')
|
110
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
111
111
|
end
|
112
112
|
|
113
|
-
if attributes.key?(:'
|
114
|
-
self.
|
113
|
+
if attributes.key?(:'repository')
|
114
|
+
self.repository = attributes[:'repository']
|
115
115
|
end
|
116
116
|
|
117
117
|
if attributes.key?(:'private')
|
@@ -141,12 +141,12 @@ module PulpContainerClient
|
|
141
141
|
def ==(o)
|
142
142
|
return true if self.equal?(o)
|
143
143
|
self.class == o.class &&
|
144
|
+
base_path == o.base_path &&
|
145
|
+
name == o.name &&
|
146
|
+
content_guard == o.content_guard &&
|
144
147
|
repository_version == o.repository_version &&
|
145
148
|
pulp_labels == o.pulp_labels &&
|
146
|
-
content_guard == o.content_guard &&
|
147
|
-
name == o.name &&
|
148
149
|
repository == o.repository &&
|
149
|
-
base_path == o.base_path &&
|
150
150
|
private == o.private &&
|
151
151
|
description == o.description
|
152
152
|
end
|
@@ -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, name, content_guard, repository_version, pulp_labels, repository, private, description].hash
|
164
164
|
end
|
165
165
|
|
166
166
|
# Builds the object from hash
|
@@ -32,49 +32,49 @@ 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 "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 "content_guard"' 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 "repository_version"' 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_labels"' do
|
60
60
|
it 'should work' do
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
-
describe 'test attribute "
|
65
|
+
describe 'test attribute "repository"' 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_href"' do
|
72
72
|
it 'should work' do
|
73
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
-
describe 'test attribute "
|
77
|
+
describe 'test attribute "pulp_created"' 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,13 +32,13 @@ 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
|
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
|
@@ -50,19 +50,19 @@ describe 'ContainerContainerDistribution' do
|
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "repository_version"' 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_labels"' do
|
60
60
|
it 'should work' do
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
-
describe 'test attribute "
|
65
|
+
describe 'test attribute "repository"' 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,13 +32,13 @@ 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
|
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
|
@@ -50,19 +50,19 @@ describe 'PatchedcontainerContainerDistribution' do
|
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "repository_version"' 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_labels"' do
|
60
60
|
it 'should work' do
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
-
describe 'test attribute "
|
65
|
+
describe 'test attribute "repository"' 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
|
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.5.
|
4
|
+
version: 2.5.2
|
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-04-
|
11
|
+
date: 2021-04-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -265,7 +265,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
265
265
|
- !ruby/object:Gem::Version
|
266
266
|
version: '0'
|
267
267
|
requirements: []
|
268
|
-
rubygems_version: 3.0.3
|
268
|
+
rubygems_version: 3.0.3.1
|
269
269
|
signing_key:
|
270
270
|
specification_version: 4
|
271
271
|
summary: Pulp 3 API Ruby Gem
|