pulp_container_client 2.4.0.dev1614828140 → 2.4.0.dev1614914600
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pulp_container_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContainerContainerDistribution.md +7 -7
- data/docs/ContainerContainerDistributionResponse.md +9 -9
- data/docs/PatchedcontainerContainerDistribution.md +7 -7
- data/lib/pulp_container_client/models/container_container_distribution.rb +26 -26
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +35 -35
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +26 -26
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_distribution_spec.rb +6 -6
- data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
- 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: 8c70117acef3e43a4a784fb2ed36ecd3ac7adf186425566eed9c043870926774
|
4
|
+
data.tar.gz: 6e2bbfc8d06e014536041541db9cda1db5b2cb116d6ff9e89be308f2d080b89d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11950d04f0449e2e322fa036d3cf9ea39d64a59c69c67506a35db0bab8fdb188fbbc0dd0cafa4e88498ef447cc1cb9330035fd1765f446e92fd3dcdc8dab4c05
|
7
|
+
data.tar.gz: 3aa6da6f08073156aa9bb9ff3a8916ba3ff8b52cfebd4be7dba740d3775cc2214e9e3da11562c7a8d6261b76d8e40ee1e4cc8d3e5e2ab3b10ea9120d68eec01b
|
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.4.0.
|
10
|
+
- Package version: 2.4.0.dev1614914600
|
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.4.0.
|
27
|
+
gem install ./pulp_container_client-2.4.0.dev1614914600.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_container_client-2.4.0.
|
30
|
+
(for development, run `gem install --dev ./pulp_container_client-2.4.0.dev1614914600.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.4.0.
|
36
|
+
gem 'pulp_container_client', '~> 2.4.0.dev1614914600'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -4,12 +4,12 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
7
8
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
8
9
|
**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]
|
10
|
-
**pulp_labels** | [**Object**](.md) | | [optional]
|
11
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
12
10
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
11
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
12
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [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::ContainerContainerDistribution.new(
|
21
|
+
instance = PulpContainerClient::ContainerContainerDistribution.new(repository: null,
|
22
|
+
repository_version: null,
|
22
23
|
name: null,
|
23
|
-
content_guard: null,
|
24
|
-
pulp_labels: null,
|
25
|
-
repository: null,
|
26
24
|
base_path: null,
|
25
|
+
pulp_labels: null,
|
26
|
+
content_guard: null,
|
27
27
|
private: null,
|
28
28
|
description: null)
|
29
29
|
```
|
@@ -4,13 +4,13 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
8
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
7
9
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
8
10
|
**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]
|
10
|
-
**pulp_labels** | [**Object**](.md) | | [optional]
|
11
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
12
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
13
11
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
12
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
13
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
14
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]
|
@@ -22,13 +22,13 @@ Name | Type | Description | Notes
|
|
22
22
|
```ruby
|
23
23
|
require 'PulpContainerClient'
|
24
24
|
|
25
|
-
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(
|
26
|
-
name: null,
|
27
|
-
content_guard: null,
|
28
|
-
pulp_labels: null,
|
25
|
+
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(repository: null,
|
29
26
|
pulp_href: null,
|
30
|
-
|
27
|
+
repository_version: null,
|
28
|
+
name: null,
|
31
29
|
base_path: null,
|
30
|
+
pulp_labels: null,
|
31
|
+
content_guard: null,
|
32
32
|
pulp_created: null,
|
33
33
|
registry_path: null,
|
34
34
|
namespace: null,
|
@@ -4,12 +4,12 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
7
8
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
8
9
|
**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]
|
10
|
-
**pulp_labels** | [**Object**](.md) | | [optional]
|
11
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
12
10
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional]
|
11
|
+
**pulp_labels** | [**Object**](.md) | | [optional]
|
12
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [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(
|
21
|
+
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(repository: null,
|
22
|
+
repository_version: null,
|
22
23
|
name: null,
|
23
|
-
content_guard: null,
|
24
|
-
pulp_labels: null,
|
25
|
-
repository: null,
|
26
24
|
base_path: null,
|
25
|
+
pulp_labels: null,
|
26
|
+
content_guard: null,
|
27
27
|
private: null,
|
28
28
|
description: null)
|
29
29
|
```
|
@@ -15,22 +15,22 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class ContainerContainerDistribution
|
18
|
+
# The latest RepositoryVersion for this Repository will be served.
|
19
|
+
attr_accessor :repository
|
20
|
+
|
18
21
|
# RepositoryVersion to be served
|
19
22
|
attr_accessor :repository_version
|
20
23
|
|
21
24
|
# A unique name. Ex, `rawhide` and `stable`.
|
22
25
|
attr_accessor :name
|
23
26
|
|
24
|
-
#
|
25
|
-
attr_accessor :
|
27
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
28
|
+
attr_accessor :base_path
|
26
29
|
|
27
30
|
attr_accessor :pulp_labels
|
28
31
|
|
29
|
-
#
|
30
|
-
attr_accessor :
|
31
|
-
|
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
|
32
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
33
|
+
attr_accessor :content_guard
|
34
34
|
|
35
35
|
# Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access.
|
36
36
|
attr_accessor :private
|
@@ -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
|
+
:'repository' => :'repository',
|
44
45
|
:'repository_version' => :'repository_version',
|
45
46
|
:'name' => :'name',
|
46
|
-
:'content_guard' => :'content_guard',
|
47
|
-
:'pulp_labels' => :'pulp_labels',
|
48
|
-
:'repository' => :'repository',
|
49
47
|
:'base_path' => :'base_path',
|
48
|
+
:'pulp_labels' => :'pulp_labels',
|
49
|
+
:'content_guard' => :'content_guard',
|
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
|
+
:'repository' => :'String',
|
58
59
|
:'repository_version' => :'String',
|
59
60
|
:'name' => :'String',
|
60
|
-
:'content_guard' => :'String',
|
61
|
-
:'pulp_labels' => :'Object',
|
62
|
-
:'repository' => :'String',
|
63
61
|
:'base_path' => :'String',
|
62
|
+
:'pulp_labels' => :'Object',
|
63
|
+
:'content_guard' => :'String',
|
64
64
|
:'private' => :'Boolean',
|
65
65
|
:'description' => :'String'
|
66
66
|
}
|
@@ -69,8 +69,8 @@ module PulpContainerClient
|
|
69
69
|
# List of attributes with nullable: true
|
70
70
|
def self.openapi_nullable
|
71
71
|
Set.new([
|
72
|
-
:'repository_version',
|
73
72
|
:'repository',
|
73
|
+
:'repository_version',
|
74
74
|
:'description'
|
75
75
|
])
|
76
76
|
end
|
@@ -90,6 +90,10 @@ module PulpContainerClient
|
|
90
90
|
h[k.to_sym] = v
|
91
91
|
}
|
92
92
|
|
93
|
+
if attributes.key?(:'repository')
|
94
|
+
self.repository = attributes[:'repository']
|
95
|
+
end
|
96
|
+
|
93
97
|
if attributes.key?(:'repository_version')
|
94
98
|
self.repository_version = attributes[:'repository_version']
|
95
99
|
end
|
@@ -98,20 +102,16 @@ module PulpContainerClient
|
|
98
102
|
self.name = attributes[:'name']
|
99
103
|
end
|
100
104
|
|
101
|
-
if attributes.key?(:'
|
102
|
-
self.
|
105
|
+
if attributes.key?(:'base_path')
|
106
|
+
self.base_path = attributes[:'base_path']
|
103
107
|
end
|
104
108
|
|
105
109
|
if attributes.key?(:'pulp_labels')
|
106
110
|
self.pulp_labels = attributes[:'pulp_labels']
|
107
111
|
end
|
108
112
|
|
109
|
-
if attributes.key?(:'
|
110
|
-
self.
|
111
|
-
end
|
112
|
-
|
113
|
-
if attributes.key?(:'base_path')
|
114
|
-
self.base_path = attributes[:'base_path']
|
113
|
+
if attributes.key?(:'content_guard')
|
114
|
+
self.content_guard = attributes[:'content_guard']
|
115
115
|
end
|
116
116
|
|
117
117
|
if attributes.key?(:'private')
|
@@ -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
|
+
repository == o.repository &&
|
154
155
|
repository_version == o.repository_version &&
|
155
156
|
name == o.name &&
|
156
|
-
content_guard == o.content_guard &&
|
157
|
-
pulp_labels == o.pulp_labels &&
|
158
|
-
repository == o.repository &&
|
159
157
|
base_path == o.base_path &&
|
158
|
+
pulp_labels == o.pulp_labels &&
|
159
|
+
content_guard == o.content_guard &&
|
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
|
-
[repository_version, name,
|
173
|
+
[repository, repository_version, name, base_path, pulp_labels, content_guard, private, description].hash
|
174
174
|
end
|
175
175
|
|
176
176
|
# Builds the object from hash
|
@@ -15,24 +15,24 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class ContainerContainerDistributionResponse
|
18
|
+
# The latest RepositoryVersion for this Repository will be served.
|
19
|
+
attr_accessor :repository
|
20
|
+
|
21
|
+
attr_accessor :pulp_href
|
22
|
+
|
18
23
|
# RepositoryVersion to be served
|
19
24
|
attr_accessor :repository_version
|
20
25
|
|
21
26
|
# A unique name. Ex, `rawhide` and `stable`.
|
22
27
|
attr_accessor :name
|
23
28
|
|
24
|
-
#
|
25
|
-
attr_accessor :
|
29
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
30
|
+
attr_accessor :base_path
|
26
31
|
|
27
32
|
attr_accessor :pulp_labels
|
28
33
|
|
29
|
-
|
30
|
-
|
31
|
-
# The latest RepositoryVersion for this Repository will be served.
|
32
|
-
attr_accessor :repository
|
33
|
-
|
34
|
-
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
35
|
-
attr_accessor :base_path
|
34
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
35
|
+
attr_accessor :content_guard
|
36
36
|
|
37
37
|
# Timestamp of creation.
|
38
38
|
attr_accessor :pulp_created
|
@@ -52,13 +52,13 @@ module PulpContainerClient
|
|
52
52
|
# Attribute mapping from ruby-style variable name to JSON key.
|
53
53
|
def self.attribute_map
|
54
54
|
{
|
55
|
+
:'repository' => :'repository',
|
56
|
+
:'pulp_href' => :'pulp_href',
|
55
57
|
:'repository_version' => :'repository_version',
|
56
58
|
:'name' => :'name',
|
57
|
-
:'content_guard' => :'content_guard',
|
58
|
-
:'pulp_labels' => :'pulp_labels',
|
59
|
-
:'pulp_href' => :'pulp_href',
|
60
|
-
:'repository' => :'repository',
|
61
59
|
:'base_path' => :'base_path',
|
60
|
+
:'pulp_labels' => :'pulp_labels',
|
61
|
+
:'content_guard' => :'content_guard',
|
62
62
|
:'pulp_created' => :'pulp_created',
|
63
63
|
:'registry_path' => :'registry_path',
|
64
64
|
:'namespace' => :'namespace',
|
@@ -70,13 +70,13 @@ module PulpContainerClient
|
|
70
70
|
# Attribute type mapping.
|
71
71
|
def self.openapi_types
|
72
72
|
{
|
73
|
+
:'repository' => :'String',
|
74
|
+
:'pulp_href' => :'String',
|
73
75
|
:'repository_version' => :'String',
|
74
76
|
:'name' => :'String',
|
75
|
-
:'content_guard' => :'String',
|
76
|
-
:'pulp_labels' => :'Object',
|
77
|
-
:'pulp_href' => :'String',
|
78
|
-
:'repository' => :'String',
|
79
77
|
:'base_path' => :'String',
|
78
|
+
:'pulp_labels' => :'Object',
|
79
|
+
:'content_guard' => :'String',
|
80
80
|
:'pulp_created' => :'DateTime',
|
81
81
|
:'registry_path' => :'String',
|
82
82
|
:'namespace' => :'String',
|
@@ -88,8 +88,8 @@ module PulpContainerClient
|
|
88
88
|
# List of attributes with nullable: true
|
89
89
|
def self.openapi_nullable
|
90
90
|
Set.new([
|
91
|
-
:'repository_version',
|
92
91
|
:'repository',
|
92
|
+
:'repository_version',
|
93
93
|
:'description'
|
94
94
|
])
|
95
95
|
end
|
@@ -109,6 +109,14 @@ module PulpContainerClient
|
|
109
109
|
h[k.to_sym] = v
|
110
110
|
}
|
111
111
|
|
112
|
+
if attributes.key?(:'repository')
|
113
|
+
self.repository = attributes[:'repository']
|
114
|
+
end
|
115
|
+
|
116
|
+
if attributes.key?(:'pulp_href')
|
117
|
+
self.pulp_href = attributes[:'pulp_href']
|
118
|
+
end
|
119
|
+
|
112
120
|
if attributes.key?(:'repository_version')
|
113
121
|
self.repository_version = attributes[:'repository_version']
|
114
122
|
end
|
@@ -117,24 +125,16 @@ module PulpContainerClient
|
|
117
125
|
self.name = attributes[:'name']
|
118
126
|
end
|
119
127
|
|
120
|
-
if attributes.key?(:'
|
121
|
-
self.
|
128
|
+
if attributes.key?(:'base_path')
|
129
|
+
self.base_path = attributes[:'base_path']
|
122
130
|
end
|
123
131
|
|
124
132
|
if attributes.key?(:'pulp_labels')
|
125
133
|
self.pulp_labels = attributes[:'pulp_labels']
|
126
134
|
end
|
127
135
|
|
128
|
-
if attributes.key?(:'
|
129
|
-
self.
|
130
|
-
end
|
131
|
-
|
132
|
-
if attributes.key?(:'repository')
|
133
|
-
self.repository = attributes[:'repository']
|
134
|
-
end
|
135
|
-
|
136
|
-
if attributes.key?(:'base_path')
|
137
|
-
self.base_path = attributes[:'base_path']
|
136
|
+
if attributes.key?(:'content_guard')
|
137
|
+
self.content_guard = attributes[:'content_guard']
|
138
138
|
end
|
139
139
|
|
140
140
|
if attributes.key?(:'pulp_created')
|
@@ -186,13 +186,13 @@ module PulpContainerClient
|
|
186
186
|
def ==(o)
|
187
187
|
return true if self.equal?(o)
|
188
188
|
self.class == o.class &&
|
189
|
+
repository == o.repository &&
|
190
|
+
pulp_href == o.pulp_href &&
|
189
191
|
repository_version == o.repository_version &&
|
190
192
|
name == o.name &&
|
191
|
-
content_guard == o.content_guard &&
|
192
|
-
pulp_labels == o.pulp_labels &&
|
193
|
-
pulp_href == o.pulp_href &&
|
194
|
-
repository == o.repository &&
|
195
193
|
base_path == o.base_path &&
|
194
|
+
pulp_labels == o.pulp_labels &&
|
195
|
+
content_guard == o.content_guard &&
|
196
196
|
pulp_created == o.pulp_created &&
|
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
|
-
[
|
212
|
+
[repository, pulp_href, repository_version, name, base_path, pulp_labels, content_guard, pulp_created, registry_path, namespace, private, description].hash
|
213
213
|
end
|
214
214
|
|
215
215
|
# Builds the object from hash
|
@@ -15,22 +15,22 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class PatchedcontainerContainerDistribution
|
18
|
+
# The latest RepositoryVersion for this Repository will be served.
|
19
|
+
attr_accessor :repository
|
20
|
+
|
18
21
|
# RepositoryVersion to be served
|
19
22
|
attr_accessor :repository_version
|
20
23
|
|
21
24
|
# A unique name. Ex, `rawhide` and `stable`.
|
22
25
|
attr_accessor :name
|
23
26
|
|
24
|
-
#
|
25
|
-
attr_accessor :
|
27
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
28
|
+
attr_accessor :base_path
|
26
29
|
|
27
30
|
attr_accessor :pulp_labels
|
28
31
|
|
29
|
-
#
|
30
|
-
attr_accessor :
|
31
|
-
|
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
|
32
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
33
|
+
attr_accessor :content_guard
|
34
34
|
|
35
35
|
# Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access.
|
36
36
|
attr_accessor :private
|
@@ -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
|
+
:'repository' => :'repository',
|
44
45
|
:'repository_version' => :'repository_version',
|
45
46
|
:'name' => :'name',
|
46
|
-
:'content_guard' => :'content_guard',
|
47
|
-
:'pulp_labels' => :'pulp_labels',
|
48
|
-
:'repository' => :'repository',
|
49
47
|
:'base_path' => :'base_path',
|
48
|
+
:'pulp_labels' => :'pulp_labels',
|
49
|
+
:'content_guard' => :'content_guard',
|
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
|
+
:'repository' => :'String',
|
58
59
|
:'repository_version' => :'String',
|
59
60
|
:'name' => :'String',
|
60
|
-
:'content_guard' => :'String',
|
61
|
-
:'pulp_labels' => :'Object',
|
62
|
-
:'repository' => :'String',
|
63
61
|
:'base_path' => :'String',
|
62
|
+
:'pulp_labels' => :'Object',
|
63
|
+
:'content_guard' => :'String',
|
64
64
|
:'private' => :'Boolean',
|
65
65
|
:'description' => :'String'
|
66
66
|
}
|
@@ -69,8 +69,8 @@ module PulpContainerClient
|
|
69
69
|
# List of attributes with nullable: true
|
70
70
|
def self.openapi_nullable
|
71
71
|
Set.new([
|
72
|
-
:'repository_version',
|
73
72
|
:'repository',
|
73
|
+
:'repository_version',
|
74
74
|
:'description'
|
75
75
|
])
|
76
76
|
end
|
@@ -90,6 +90,10 @@ module PulpContainerClient
|
|
90
90
|
h[k.to_sym] = v
|
91
91
|
}
|
92
92
|
|
93
|
+
if attributes.key?(:'repository')
|
94
|
+
self.repository = attributes[:'repository']
|
95
|
+
end
|
96
|
+
|
93
97
|
if attributes.key?(:'repository_version')
|
94
98
|
self.repository_version = attributes[:'repository_version']
|
95
99
|
end
|
@@ -98,20 +102,16 @@ module PulpContainerClient
|
|
98
102
|
self.name = attributes[:'name']
|
99
103
|
end
|
100
104
|
|
101
|
-
if attributes.key?(:'
|
102
|
-
self.
|
105
|
+
if attributes.key?(:'base_path')
|
106
|
+
self.base_path = attributes[:'base_path']
|
103
107
|
end
|
104
108
|
|
105
109
|
if attributes.key?(:'pulp_labels')
|
106
110
|
self.pulp_labels = attributes[:'pulp_labels']
|
107
111
|
end
|
108
112
|
|
109
|
-
if attributes.key?(:'
|
110
|
-
self.
|
111
|
-
end
|
112
|
-
|
113
|
-
if attributes.key?(:'base_path')
|
114
|
-
self.base_path = attributes[:'base_path']
|
113
|
+
if attributes.key?(:'content_guard')
|
114
|
+
self.content_guard = attributes[:'content_guard']
|
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
|
+
repository == o.repository &&
|
144
145
|
repository_version == o.repository_version &&
|
145
146
|
name == o.name &&
|
146
|
-
content_guard == o.content_guard &&
|
147
|
-
pulp_labels == o.pulp_labels &&
|
148
|
-
repository == o.repository &&
|
149
147
|
base_path == o.base_path &&
|
148
|
+
pulp_labels == o.pulp_labels &&
|
149
|
+
content_guard == o.content_guard &&
|
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
|
-
[repository_version, name,
|
163
|
+
[repository, repository_version, name, base_path, pulp_labels, content_guard, private, description].hash
|
164
164
|
end
|
165
165
|
|
166
166
|
# Builds the object from hash
|
@@ -32,43 +32,43 @@ 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 "repository"' 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_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 "repository_version"' 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 "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
|
57
57
|
end
|
58
58
|
|
59
|
-
describe 'test attribute "
|
59
|
+
describe 'test attribute "base_path"' do
|
60
60
|
it 'should work' do
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
-
describe 'test attribute "
|
65
|
+
describe 'test attribute "pulp_labels"' 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 "content_guard"' 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
|
@@ -32,37 +32,37 @@ 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 "repository"' 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 "repository_version"' 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 "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_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 "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
|
@@ -32,37 +32,37 @@ 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 "repository"' 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 "repository_version"' 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 "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_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 "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
|
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.4.0.
|
4
|
+
version: 2.4.0.dev1614914600
|
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-03-
|
11
|
+
date: 2021-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|