pulp_container_client 2.5.0.dev1617766677 → 2.5.0.dev1617853049
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.
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 +8 -8
- data/docs/ContainerContainerDistributionResponse.md +10 -10
- data/docs/PatchedcontainerContainerDistribution.md +8 -8
- data/lib/pulp_container_client/models/container_container_distribution.rb +29 -29
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +38 -38
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +29 -29
- 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 +4 -4
- data/spec/models/patchedcontainer_container_distribution_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: 209b59c6a97c318e4cdb8f8ceee2142b4583c5aefb753ef62c5c716ac382c6d0
|
4
|
+
data.tar.gz: ea4246ed344a13abc47e14272e6ec1364d7e93c5fd66bd9e449cbf2c9b8e763d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 324bd8ae1fffbf498ab3a53b3dad164b98646916a67a4405367118d9b5ba19415e36143bc148da92ffb9bc3a610591f3e4f6af6f9516d576e8d50ad8fe2f7c23
|
7
|
+
data.tar.gz: 7859689608183cac4a412497170a5c79872e459bf8c2b8e0704e1d382bc304fbecbda0b61a8f0caa45144dce56fb8f55f80e56412e17bbc0e600d4d9b52b9339
|
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.0.
|
10
|
+
- Package version: 2.5.0.dev1617853049
|
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.0.
|
27
|
+
gem install ./pulp_container_client-2.5.0.dev1617853049.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_container_client-2.5.0.
|
30
|
+
(for development, run `gem install --dev ./pulp_container_client-2.5.0.dev1617853049.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.0.
|
36
|
+
gem 'pulp_container_client', '~> 2.5.0.dev1617853049'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -4,12 +4,12 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
8
|
-
**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\") |
|
9
7
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
10
|
-
**
|
11
|
-
**
|
8
|
+
**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\") |
|
9
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
12
10
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
11
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
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]
|
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(pulp_labels: null,
|
22
22
|
base_path: null,
|
23
|
-
|
24
|
-
repository_version: null,
|
25
|
-
repository: null,
|
23
|
+
content_guard: null,
|
26
24
|
name: null,
|
25
|
+
repository: null,
|
26
|
+
repository_version: 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
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
8
|
-
**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\") |
|
9
7
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
10
|
-
**
|
11
|
-
**
|
12
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
8
|
+
**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\") |
|
9
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
13
10
|
**pulp_href** | **String** | | [optional] [readonly]
|
11
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
14
12
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
13
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
14
|
+
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
15
15
|
**registry_path** | **String** | The Registry hostame/name/ to use with docker pull command defined by this distribution. | [optional] [readonly]
|
16
16
|
**namespace** | **String** | Namespace this distribution belongs to. | [optional] [readonly]
|
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(
|
25
|
+
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(pulp_labels: null,
|
26
26
|
base_path: null,
|
27
|
-
|
28
|
-
pulp_created: null,
|
29
|
-
repository_version: null,
|
30
|
-
repository: null,
|
27
|
+
content_guard: null,
|
31
28
|
pulp_href: null,
|
29
|
+
pulp_created: null,
|
32
30
|
name: null,
|
31
|
+
repository: null,
|
32
|
+
repository_version: 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
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
8
|
-
**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]
|
9
7
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
10
|
-
**
|
11
|
-
**
|
8
|
+
**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]
|
9
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
12
10
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
11
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
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]
|
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(pulp_labels: null,
|
22
22
|
base_path: null,
|
23
|
-
|
24
|
-
repository_version: null,
|
25
|
-
repository: null,
|
23
|
+
content_guard: null,
|
26
24
|
name: null,
|
25
|
+
repository: null,
|
26
|
+
repository_version: 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
|
-
|
19
|
-
attr_accessor :content_guard
|
18
|
+
attr_accessor :pulp_labels
|
20
19
|
|
21
20
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
22
21
|
attr_accessor :base_path
|
23
22
|
|
24
|
-
|
23
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
24
|
+
attr_accessor :content_guard
|
25
25
|
|
26
|
-
#
|
27
|
-
attr_accessor :
|
26
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
27
|
+
attr_accessor :name
|
28
28
|
|
29
29
|
# The latest RepositoryVersion for this Repository will be served.
|
30
30
|
attr_accessor :repository
|
31
31
|
|
32
|
-
#
|
33
|
-
attr_accessor :
|
32
|
+
# RepositoryVersion to be served
|
33
|
+
attr_accessor :repository_version
|
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
|
-
:'content_guard' => :'content_guard',
|
45
|
-
:'base_path' => :'base_path',
|
46
44
|
:'pulp_labels' => :'pulp_labels',
|
47
|
-
:'
|
48
|
-
:'
|
45
|
+
:'base_path' => :'base_path',
|
46
|
+
:'content_guard' => :'content_guard',
|
49
47
|
:'name' => :'name',
|
48
|
+
:'repository' => :'repository',
|
49
|
+
:'repository_version' => :'repository_version',
|
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
|
-
:'content_guard' => :'String',
|
59
|
-
:'base_path' => :'String',
|
60
58
|
:'pulp_labels' => :'Object',
|
61
|
-
:'
|
62
|
-
:'
|
59
|
+
:'base_path' => :'String',
|
60
|
+
:'content_guard' => :'String',
|
63
61
|
:'name' => :'String',
|
62
|
+
:'repository' => :'String',
|
63
|
+
:'repository_version' => :'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,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?(:'pulp_labels')
|
94
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
95
95
|
end
|
96
96
|
|
97
97
|
if attributes.key?(:'base_path')
|
98
98
|
self.base_path = attributes[:'base_path']
|
99
99
|
end
|
100
100
|
|
101
|
-
if attributes.key?(:'
|
102
|
-
self.
|
101
|
+
if attributes.key?(:'content_guard')
|
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?(:'repository')
|
110
110
|
self.repository = attributes[:'repository']
|
111
111
|
end
|
112
112
|
|
113
|
-
if attributes.key?(:'
|
114
|
-
self.
|
113
|
+
if attributes.key?(:'repository_version')
|
114
|
+
self.repository_version = attributes[:'repository_version']
|
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
|
-
content_guard == o.content_guard &&
|
155
|
-
base_path == o.base_path &&
|
156
154
|
pulp_labels == o.pulp_labels &&
|
157
|
-
|
158
|
-
|
155
|
+
base_path == o.base_path &&
|
156
|
+
content_guard == o.content_guard &&
|
159
157
|
name == o.name &&
|
158
|
+
repository == o.repository &&
|
159
|
+
repository_version == o.repository_version &&
|
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
|
+
[pulp_labels, base_path, content_guard, name, repository, repository_version, 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 :content_guard
|
18
|
+
attr_accessor :pulp_labels
|
20
19
|
|
21
20
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
22
21
|
attr_accessor :base_path
|
23
22
|
|
24
|
-
|
23
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
24
|
+
attr_accessor :content_guard
|
25
|
+
|
26
|
+
attr_accessor :pulp_href
|
25
27
|
|
26
28
|
# Timestamp of creation.
|
27
29
|
attr_accessor :pulp_created
|
28
30
|
|
29
|
-
#
|
30
|
-
attr_accessor :
|
31
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
32
|
+
attr_accessor :name
|
31
33
|
|
32
34
|
# The latest RepositoryVersion for this Repository will be served.
|
33
35
|
attr_accessor :repository
|
34
36
|
|
35
|
-
|
36
|
-
|
37
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
38
|
-
attr_accessor :name
|
37
|
+
# RepositoryVersion to be served
|
38
|
+
attr_accessor :repository_version
|
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
|
-
:'content_guard' => :'content_guard',
|
56
|
-
:'base_path' => :'base_path',
|
57
55
|
:'pulp_labels' => :'pulp_labels',
|
58
|
-
:'
|
59
|
-
:'
|
60
|
-
:'repository' => :'repository',
|
56
|
+
:'base_path' => :'base_path',
|
57
|
+
:'content_guard' => :'content_guard',
|
61
58
|
:'pulp_href' => :'pulp_href',
|
59
|
+
:'pulp_created' => :'pulp_created',
|
62
60
|
:'name' => :'name',
|
61
|
+
:'repository' => :'repository',
|
62
|
+
:'repository_version' => :'repository_version',
|
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
|
-
:'content_guard' => :'String',
|
74
|
-
:'base_path' => :'String',
|
75
73
|
:'pulp_labels' => :'Object',
|
76
|
-
:'
|
77
|
-
:'
|
78
|
-
:'repository' => :'String',
|
74
|
+
:'base_path' => :'String',
|
75
|
+
:'content_guard' => :'String',
|
79
76
|
:'pulp_href' => :'String',
|
77
|
+
:'pulp_created' => :'DateTime',
|
80
78
|
:'name' => :'String',
|
79
|
+
:'repository' => :'String',
|
80
|
+
:'repository_version' => :'String',
|
81
81
|
:'registry_path' => :'String',
|
82
82
|
:'namespace' => :'String',
|
83
83
|
:'private' => :'Boolean',
|
@@ -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,36 +109,36 @@ module PulpContainerClient
|
|
109
109
|
h[k.to_sym] = v
|
110
110
|
}
|
111
111
|
|
112
|
-
if attributes.key?(:'
|
113
|
-
self.
|
112
|
+
if attributes.key?(:'pulp_labels')
|
113
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
114
114
|
end
|
115
115
|
|
116
116
|
if attributes.key?(:'base_path')
|
117
117
|
self.base_path = attributes[:'base_path']
|
118
118
|
end
|
119
119
|
|
120
|
-
if attributes.key?(:'
|
121
|
-
self.
|
120
|
+
if attributes.key?(:'content_guard')
|
121
|
+
self.content_guard = attributes[:'content_guard']
|
122
|
+
end
|
123
|
+
|
124
|
+
if attributes.key?(:'pulp_href')
|
125
|
+
self.pulp_href = attributes[:'pulp_href']
|
122
126
|
end
|
123
127
|
|
124
128
|
if attributes.key?(:'pulp_created')
|
125
129
|
self.pulp_created = attributes[:'pulp_created']
|
126
130
|
end
|
127
131
|
|
128
|
-
if attributes.key?(:'
|
129
|
-
self.
|
132
|
+
if attributes.key?(:'name')
|
133
|
+
self.name = attributes[:'name']
|
130
134
|
end
|
131
135
|
|
132
136
|
if attributes.key?(:'repository')
|
133
137
|
self.repository = attributes[:'repository']
|
134
138
|
end
|
135
139
|
|
136
|
-
if attributes.key?(:'
|
137
|
-
self.
|
138
|
-
end
|
139
|
-
|
140
|
-
if attributes.key?(:'name')
|
141
|
-
self.name = attributes[:'name']
|
140
|
+
if attributes.key?(:'repository_version')
|
141
|
+
self.repository_version = attributes[:'repository_version']
|
142
142
|
end
|
143
143
|
|
144
144
|
if attributes.key?(:'registry_path')
|
@@ -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
|
-
content_guard == o.content_guard &&
|
190
|
-
base_path == o.base_path &&
|
191
189
|
pulp_labels == o.pulp_labels &&
|
192
|
-
|
193
|
-
|
194
|
-
repository == o.repository &&
|
190
|
+
base_path == o.base_path &&
|
191
|
+
content_guard == o.content_guard &&
|
195
192
|
pulp_href == o.pulp_href &&
|
193
|
+
pulp_created == o.pulp_created &&
|
196
194
|
name == o.name &&
|
195
|
+
repository == o.repository &&
|
196
|
+
repository_version == o.repository_version &&
|
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
|
+
[pulp_labels, base_path, content_guard, pulp_href, pulp_created, name, repository, repository_version, 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
|
-
|
19
|
-
attr_accessor :content_guard
|
18
|
+
attr_accessor :pulp_labels
|
20
19
|
|
21
20
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
22
21
|
attr_accessor :base_path
|
23
22
|
|
24
|
-
|
23
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
24
|
+
attr_accessor :content_guard
|
25
25
|
|
26
|
-
#
|
27
|
-
attr_accessor :
|
26
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
27
|
+
attr_accessor :name
|
28
28
|
|
29
29
|
# The latest RepositoryVersion for this Repository will be served.
|
30
30
|
attr_accessor :repository
|
31
31
|
|
32
|
-
#
|
33
|
-
attr_accessor :
|
32
|
+
# RepositoryVersion to be served
|
33
|
+
attr_accessor :repository_version
|
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
|
-
:'content_guard' => :'content_guard',
|
45
|
-
:'base_path' => :'base_path',
|
46
44
|
:'pulp_labels' => :'pulp_labels',
|
47
|
-
:'
|
48
|
-
:'
|
45
|
+
:'base_path' => :'base_path',
|
46
|
+
:'content_guard' => :'content_guard',
|
49
47
|
:'name' => :'name',
|
48
|
+
:'repository' => :'repository',
|
49
|
+
:'repository_version' => :'repository_version',
|
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
|
-
:'content_guard' => :'String',
|
59
|
-
:'base_path' => :'String',
|
60
58
|
:'pulp_labels' => :'Object',
|
61
|
-
:'
|
62
|
-
:'
|
59
|
+
:'base_path' => :'String',
|
60
|
+
:'content_guard' => :'String',
|
63
61
|
:'name' => :'String',
|
62
|
+
:'repository' => :'String',
|
63
|
+
:'repository_version' => :'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,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?(:'pulp_labels')
|
94
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
95
95
|
end
|
96
96
|
|
97
97
|
if attributes.key?(:'base_path')
|
98
98
|
self.base_path = attributes[:'base_path']
|
99
99
|
end
|
100
100
|
|
101
|
-
if attributes.key?(:'
|
102
|
-
self.
|
101
|
+
if attributes.key?(:'content_guard')
|
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?(:'repository')
|
110
110
|
self.repository = attributes[:'repository']
|
111
111
|
end
|
112
112
|
|
113
|
-
if attributes.key?(:'
|
114
|
-
self.
|
113
|
+
if attributes.key?(:'repository_version')
|
114
|
+
self.repository_version = attributes[:'repository_version']
|
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
|
-
content_guard == o.content_guard &&
|
145
|
-
base_path == o.base_path &&
|
146
144
|
pulp_labels == o.pulp_labels &&
|
147
|
-
|
148
|
-
|
145
|
+
base_path == o.base_path &&
|
146
|
+
content_guard == o.content_guard &&
|
149
147
|
name == o.name &&
|
148
|
+
repository == o.repository &&
|
149
|
+
repository_version == o.repository_version &&
|
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
|
+
[pulp_labels, base_path, content_guard, name, repository, repository_version, private, description].hash
|
164
164
|
end
|
165
165
|
|
166
166
|
# Builds the object from hash
|
@@ -32,7 +32,7 @@ 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 "pulp_labels"' 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
|
@@ -44,37 +44,37 @@ describe 'ContainerContainerDistributionResponse' do
|
|
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 "pulp_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_created"' 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 "repository"' do
|
72
72
|
it 'should work' do
|
73
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
-
describe 'test attribute "
|
77
|
+
describe 'test attribute "repository_version"' 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,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 "pulp_labels"' 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
|
@@ -44,13 +44,13 @@ describe 'ContainerContainerDistribution' do
|
|
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 "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
|
@@ -62,7 +62,7 @@ describe 'ContainerContainerDistribution' do
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
-
describe 'test attribute "
|
65
|
+
describe 'test attribute "repository_version"' 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 '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 "pulp_labels"' 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
|
@@ -44,13 +44,13 @@ describe 'PatchedcontainerContainerDistribution' do
|
|
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 "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
|
@@ -62,7 +62,7 @@ describe 'PatchedcontainerContainerDistribution' do
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
-
describe 'test attribute "
|
65
|
+
describe 'test attribute "repository_version"' 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.0.
|
4
|
+
version: 2.5.0.dev1617853049
|
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-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|