pulp_container_client 2.3.0.dev01611547658 → 2.3.0.dev01611717997
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 +6 -6
- data/docs/ContainerContainerDistributionResponse.md +10 -10
- data/docs/PatchedcontainerContainerDistribution.md +6 -6
- data/lib/pulp_container_client/models/container_container_distribution.rb +31 -31
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +45 -45
- 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 +5 -5
- data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
- 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: 2d19e95f54cdcffc9322078192e90263f8f244aef04d97f6466b0b74e958fafe
|
4
|
+
data.tar.gz: d39f1e2a3d65bfa9adfd17b8d7abc52ee38ebef263e8f8b35da2093978792dc6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4907b1a7598229ae2e6f36692dd4a8b67e8d13278b611bd43c964aed26f00269a641a953d029683b9ff4cfd2cb76b0ddbef3e616d3d2e18eb90da7863abbe9ae
|
7
|
+
data.tar.gz: 05b090e258b6db44ba9552f34ee54e507fb53dde55f38c3529903a62f4850876f0effa1b0c091e1e8cc39198429f86cdafecc595844f66956f7bfb00e883c40e
|
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.3.0.
|
10
|
+
- Package version: 2.3.0.dev01611717997
|
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.3.0.
|
27
|
+
gem install ./pulp_container_client-2.3.0.dev01611717997.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_container_client-2.3.0.
|
30
|
+
(for development, run `gem install --dev ./pulp_container_client-2.3.0.dev01611717997.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.3.0.
|
36
|
+
gem 'pulp_container_client', '~> 2.3.0.dev01611717997'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -4,22 +4,22 @@
|
|
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
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
9
|
-
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
10
7
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
11
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]
|
10
|
+
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
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
12
|
|
13
13
|
## Code Sample
|
14
14
|
|
15
15
|
```ruby
|
16
16
|
require 'PulpContainerClient'
|
17
17
|
|
18
|
-
instance = PulpContainerClient::ContainerContainerDistribution.new(
|
18
|
+
instance = PulpContainerClient::ContainerContainerDistribution.new(repository: null,
|
19
|
+
name: null,
|
19
20
|
content_guard: null,
|
20
21
|
repository_version: null,
|
21
|
-
|
22
|
-
name: null)
|
22
|
+
base_path: null)
|
23
23
|
```
|
24
24
|
|
25
25
|
|
@@ -4,13 +4,13 @@
|
|
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
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
9
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
10
|
-
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
11
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
12
7
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
8
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
13
9
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
10
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
11
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
12
|
+
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
13
|
+
**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\") |
|
14
14
|
**registry_path** | **String** | The Registry hostame/name/ to use with docker pull command defined by this distribution. | [optional] [readonly]
|
15
15
|
**namespace** | **String** | Namespace this distribution belongs to. | [optional] [readonly]
|
16
16
|
|
@@ -19,13 +19,13 @@ Name | Type | Description | Notes
|
|
19
19
|
```ruby
|
20
20
|
require 'PulpContainerClient'
|
21
21
|
|
22
|
-
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(
|
23
|
-
content_guard: null,
|
22
|
+
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(repository: null,
|
24
23
|
pulp_href: null,
|
25
|
-
repository_version: null,
|
26
|
-
pulp_created: null,
|
27
|
-
repository: null,
|
28
24
|
name: null,
|
25
|
+
pulp_created: null,
|
26
|
+
content_guard: null,
|
27
|
+
repository_version: null,
|
28
|
+
base_path: null,
|
29
29
|
registry_path: null,
|
30
30
|
namespace: null)
|
31
31
|
```
|
@@ -4,22 +4,22 @@
|
|
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
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
9
|
-
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
10
7
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
11
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]
|
10
|
+
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
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\") | [optional]
|
12
12
|
|
13
13
|
## Code Sample
|
14
14
|
|
15
15
|
```ruby
|
16
16
|
require 'PulpContainerClient'
|
17
17
|
|
18
|
-
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(
|
18
|
+
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(repository: null,
|
19
|
+
name: null,
|
19
20
|
content_guard: null,
|
20
21
|
repository_version: null,
|
21
|
-
|
22
|
-
name: null)
|
22
|
+
base_path: null)
|
23
23
|
```
|
24
24
|
|
25
25
|
|
@@ -15,8 +15,11 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class ContainerContainerDistribution
|
18
|
-
# The
|
19
|
-
attr_accessor :
|
18
|
+
# The latest RepositoryVersion for this Repository will be served.
|
19
|
+
attr_accessor :repository
|
20
|
+
|
21
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
22
|
+
attr_accessor :name
|
20
23
|
|
21
24
|
# An optional content-guard. If none is specified, a default one will be used.
|
22
25
|
attr_accessor :content_guard
|
@@ -24,39 +27,36 @@ module PulpContainerClient
|
|
24
27
|
# RepositoryVersion to be served
|
25
28
|
attr_accessor :repository_version
|
26
29
|
|
27
|
-
# The
|
28
|
-
attr_accessor :
|
29
|
-
|
30
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
31
|
-
attr_accessor :name
|
30
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
31
|
+
attr_accessor :base_path
|
32
32
|
|
33
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
34
34
|
def self.attribute_map
|
35
35
|
{
|
36
|
-
:'
|
36
|
+
:'repository' => :'repository',
|
37
|
+
:'name' => :'name',
|
37
38
|
:'content_guard' => :'content_guard',
|
38
39
|
:'repository_version' => :'repository_version',
|
39
|
-
:'
|
40
|
-
:'name' => :'name'
|
40
|
+
:'base_path' => :'base_path'
|
41
41
|
}
|
42
42
|
end
|
43
43
|
|
44
44
|
# Attribute type mapping.
|
45
45
|
def self.openapi_types
|
46
46
|
{
|
47
|
-
:'
|
47
|
+
:'repository' => :'String',
|
48
|
+
:'name' => :'String',
|
48
49
|
:'content_guard' => :'String',
|
49
50
|
:'repository_version' => :'String',
|
50
|
-
:'
|
51
|
-
:'name' => :'String'
|
51
|
+
:'base_path' => :'String'
|
52
52
|
}
|
53
53
|
end
|
54
54
|
|
55
55
|
# List of attributes with nullable: true
|
56
56
|
def self.openapi_nullable
|
57
57
|
Set.new([
|
58
|
-
:'repository_version',
|
59
58
|
:'repository',
|
59
|
+
:'repository_version',
|
60
60
|
])
|
61
61
|
end
|
62
62
|
|
@@ -75,8 +75,12 @@ module PulpContainerClient
|
|
75
75
|
h[k.to_sym] = v
|
76
76
|
}
|
77
77
|
|
78
|
-
if attributes.key?(:'
|
79
|
-
self.
|
78
|
+
if attributes.key?(:'repository')
|
79
|
+
self.repository = attributes[:'repository']
|
80
|
+
end
|
81
|
+
|
82
|
+
if attributes.key?(:'name')
|
83
|
+
self.name = attributes[:'name']
|
80
84
|
end
|
81
85
|
|
82
86
|
if attributes.key?(:'content_guard')
|
@@ -87,12 +91,8 @@ module PulpContainerClient
|
|
87
91
|
self.repository_version = attributes[:'repository_version']
|
88
92
|
end
|
89
93
|
|
90
|
-
if attributes.key?(:'
|
91
|
-
self.
|
92
|
-
end
|
93
|
-
|
94
|
-
if attributes.key?(:'name')
|
95
|
-
self.name = attributes[:'name']
|
94
|
+
if attributes.key?(:'base_path')
|
95
|
+
self.base_path = attributes[:'base_path']
|
96
96
|
end
|
97
97
|
end
|
98
98
|
|
@@ -100,22 +100,22 @@ module PulpContainerClient
|
|
100
100
|
# @return Array for valid properties with the reasons
|
101
101
|
def list_invalid_properties
|
102
102
|
invalid_properties = Array.new
|
103
|
-
if @base_path.nil?
|
104
|
-
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
105
|
-
end
|
106
|
-
|
107
103
|
if @name.nil?
|
108
104
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
109
105
|
end
|
110
106
|
|
107
|
+
if @base_path.nil?
|
108
|
+
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
109
|
+
end
|
110
|
+
|
111
111
|
invalid_properties
|
112
112
|
end
|
113
113
|
|
114
114
|
# Check to see if the all the properties in the model are valid
|
115
115
|
# @return true if the model is valid
|
116
116
|
def valid?
|
117
|
-
return false if @base_path.nil?
|
118
117
|
return false if @name.nil?
|
118
|
+
return false if @base_path.nil?
|
119
119
|
true
|
120
120
|
end
|
121
121
|
|
@@ -124,11 +124,11 @@ module PulpContainerClient
|
|
124
124
|
def ==(o)
|
125
125
|
return true if self.equal?(o)
|
126
126
|
self.class == o.class &&
|
127
|
-
|
127
|
+
repository == o.repository &&
|
128
|
+
name == o.name &&
|
128
129
|
content_guard == o.content_guard &&
|
129
130
|
repository_version == o.repository_version &&
|
130
|
-
|
131
|
-
name == o.name
|
131
|
+
base_path == o.base_path
|
132
132
|
end
|
133
133
|
|
134
134
|
# @see the `==` method
|
@@ -140,7 +140,7 @@ module PulpContainerClient
|
|
140
140
|
# Calculates hash code according to all attributes.
|
141
141
|
# @return [Integer] Hash code
|
142
142
|
def hash
|
143
|
-
[
|
143
|
+
[repository, name, content_guard, repository_version, base_path].hash
|
144
144
|
end
|
145
145
|
|
146
146
|
# Builds the object from hash
|
@@ -15,25 +15,25 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class ContainerContainerDistributionResponse
|
18
|
-
# The
|
19
|
-
attr_accessor :
|
20
|
-
|
21
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
22
|
-
attr_accessor :content_guard
|
18
|
+
# The latest RepositoryVersion for this Repository will be served.
|
19
|
+
attr_accessor :repository
|
23
20
|
|
24
21
|
attr_accessor :pulp_href
|
25
22
|
|
26
|
-
#
|
27
|
-
attr_accessor :
|
23
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
24
|
+
attr_accessor :name
|
28
25
|
|
29
26
|
# Timestamp of creation.
|
30
27
|
attr_accessor :pulp_created
|
31
28
|
|
32
|
-
#
|
33
|
-
attr_accessor :
|
29
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
30
|
+
attr_accessor :content_guard
|
34
31
|
|
35
|
-
#
|
36
|
-
attr_accessor :
|
32
|
+
# RepositoryVersion to be served
|
33
|
+
attr_accessor :repository_version
|
34
|
+
|
35
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
36
|
+
attr_accessor :base_path
|
37
37
|
|
38
38
|
# The Registry hostame/name/ to use with docker pull command defined by this distribution.
|
39
39
|
attr_accessor :registry_path
|
@@ -44,13 +44,13 @@ module PulpContainerClient
|
|
44
44
|
# Attribute mapping from ruby-style variable name to JSON key.
|
45
45
|
def self.attribute_map
|
46
46
|
{
|
47
|
-
:'base_path' => :'base_path',
|
48
|
-
:'content_guard' => :'content_guard',
|
49
|
-
:'pulp_href' => :'pulp_href',
|
50
|
-
:'repository_version' => :'repository_version',
|
51
|
-
:'pulp_created' => :'pulp_created',
|
52
47
|
:'repository' => :'repository',
|
48
|
+
:'pulp_href' => :'pulp_href',
|
53
49
|
:'name' => :'name',
|
50
|
+
:'pulp_created' => :'pulp_created',
|
51
|
+
:'content_guard' => :'content_guard',
|
52
|
+
:'repository_version' => :'repository_version',
|
53
|
+
:'base_path' => :'base_path',
|
54
54
|
:'registry_path' => :'registry_path',
|
55
55
|
:'namespace' => :'namespace'
|
56
56
|
}
|
@@ -59,13 +59,13 @@ module PulpContainerClient
|
|
59
59
|
# Attribute type mapping.
|
60
60
|
def self.openapi_types
|
61
61
|
{
|
62
|
-
:'base_path' => :'String',
|
63
|
-
:'content_guard' => :'String',
|
64
|
-
:'pulp_href' => :'String',
|
65
|
-
:'repository_version' => :'String',
|
66
|
-
:'pulp_created' => :'DateTime',
|
67
62
|
:'repository' => :'String',
|
63
|
+
:'pulp_href' => :'String',
|
68
64
|
:'name' => :'String',
|
65
|
+
:'pulp_created' => :'DateTime',
|
66
|
+
:'content_guard' => :'String',
|
67
|
+
:'repository_version' => :'String',
|
68
|
+
:'base_path' => :'String',
|
69
69
|
:'registry_path' => :'String',
|
70
70
|
:'namespace' => :'String'
|
71
71
|
}
|
@@ -74,8 +74,8 @@ module PulpContainerClient
|
|
74
74
|
# List of attributes with nullable: true
|
75
75
|
def self.openapi_nullable
|
76
76
|
Set.new([
|
77
|
-
:'repository_version',
|
78
77
|
:'repository',
|
78
|
+
:'repository_version',
|
79
79
|
])
|
80
80
|
end
|
81
81
|
|
@@ -94,32 +94,32 @@ module PulpContainerClient
|
|
94
94
|
h[k.to_sym] = v
|
95
95
|
}
|
96
96
|
|
97
|
-
if attributes.key?(:'
|
98
|
-
self.
|
99
|
-
end
|
100
|
-
|
101
|
-
if attributes.key?(:'content_guard')
|
102
|
-
self.content_guard = attributes[:'content_guard']
|
97
|
+
if attributes.key?(:'repository')
|
98
|
+
self.repository = attributes[:'repository']
|
103
99
|
end
|
104
100
|
|
105
101
|
if attributes.key?(:'pulp_href')
|
106
102
|
self.pulp_href = attributes[:'pulp_href']
|
107
103
|
end
|
108
104
|
|
109
|
-
if attributes.key?(:'
|
110
|
-
self.
|
105
|
+
if attributes.key?(:'name')
|
106
|
+
self.name = attributes[:'name']
|
111
107
|
end
|
112
108
|
|
113
109
|
if attributes.key?(:'pulp_created')
|
114
110
|
self.pulp_created = attributes[:'pulp_created']
|
115
111
|
end
|
116
112
|
|
117
|
-
if attributes.key?(:'
|
118
|
-
self.
|
113
|
+
if attributes.key?(:'content_guard')
|
114
|
+
self.content_guard = attributes[:'content_guard']
|
119
115
|
end
|
120
116
|
|
121
|
-
if attributes.key?(:'
|
122
|
-
self.
|
117
|
+
if attributes.key?(:'repository_version')
|
118
|
+
self.repository_version = attributes[:'repository_version']
|
119
|
+
end
|
120
|
+
|
121
|
+
if attributes.key?(:'base_path')
|
122
|
+
self.base_path = attributes[:'base_path']
|
123
123
|
end
|
124
124
|
|
125
125
|
if attributes.key?(:'registry_path')
|
@@ -135,22 +135,22 @@ module PulpContainerClient
|
|
135
135
|
# @return Array for valid properties with the reasons
|
136
136
|
def list_invalid_properties
|
137
137
|
invalid_properties = Array.new
|
138
|
-
if @base_path.nil?
|
139
|
-
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
140
|
-
end
|
141
|
-
|
142
138
|
if @name.nil?
|
143
139
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
144
140
|
end
|
145
141
|
|
142
|
+
if @base_path.nil?
|
143
|
+
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
144
|
+
end
|
145
|
+
|
146
146
|
invalid_properties
|
147
147
|
end
|
148
148
|
|
149
149
|
# Check to see if the all the properties in the model are valid
|
150
150
|
# @return true if the model is valid
|
151
151
|
def valid?
|
152
|
-
return false if @base_path.nil?
|
153
152
|
return false if @name.nil?
|
153
|
+
return false if @base_path.nil?
|
154
154
|
true
|
155
155
|
end
|
156
156
|
|
@@ -159,13 +159,13 @@ module PulpContainerClient
|
|
159
159
|
def ==(o)
|
160
160
|
return true if self.equal?(o)
|
161
161
|
self.class == o.class &&
|
162
|
-
base_path == o.base_path &&
|
163
|
-
content_guard == o.content_guard &&
|
164
|
-
pulp_href == o.pulp_href &&
|
165
|
-
repository_version == o.repository_version &&
|
166
|
-
pulp_created == o.pulp_created &&
|
167
162
|
repository == o.repository &&
|
163
|
+
pulp_href == o.pulp_href &&
|
168
164
|
name == o.name &&
|
165
|
+
pulp_created == o.pulp_created &&
|
166
|
+
content_guard == o.content_guard &&
|
167
|
+
repository_version == o.repository_version &&
|
168
|
+
base_path == o.base_path &&
|
169
169
|
registry_path == o.registry_path &&
|
170
170
|
namespace == o.namespace
|
171
171
|
end
|
@@ -179,7 +179,7 @@ module PulpContainerClient
|
|
179
179
|
# Calculates hash code according to all attributes.
|
180
180
|
# @return [Integer] Hash code
|
181
181
|
def hash
|
182
|
-
[
|
182
|
+
[repository, pulp_href, name, pulp_created, content_guard, repository_version, base_path, registry_path, namespace].hash
|
183
183
|
end
|
184
184
|
|
185
185
|
# Builds the object from hash
|
@@ -15,8 +15,11 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class PatchedcontainerContainerDistribution
|
18
|
-
# The
|
19
|
-
attr_accessor :
|
18
|
+
# The latest RepositoryVersion for this Repository will be served.
|
19
|
+
attr_accessor :repository
|
20
|
+
|
21
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
22
|
+
attr_accessor :name
|
20
23
|
|
21
24
|
# An optional content-guard. If none is specified, a default one will be used.
|
22
25
|
attr_accessor :content_guard
|
@@ -24,39 +27,36 @@ module PulpContainerClient
|
|
24
27
|
# RepositoryVersion to be served
|
25
28
|
attr_accessor :repository_version
|
26
29
|
|
27
|
-
# The
|
28
|
-
attr_accessor :
|
29
|
-
|
30
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
31
|
-
attr_accessor :name
|
30
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
31
|
+
attr_accessor :base_path
|
32
32
|
|
33
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
34
34
|
def self.attribute_map
|
35
35
|
{
|
36
|
-
:'
|
36
|
+
:'repository' => :'repository',
|
37
|
+
:'name' => :'name',
|
37
38
|
:'content_guard' => :'content_guard',
|
38
39
|
:'repository_version' => :'repository_version',
|
39
|
-
:'
|
40
|
-
:'name' => :'name'
|
40
|
+
:'base_path' => :'base_path'
|
41
41
|
}
|
42
42
|
end
|
43
43
|
|
44
44
|
# Attribute type mapping.
|
45
45
|
def self.openapi_types
|
46
46
|
{
|
47
|
-
:'
|
47
|
+
:'repository' => :'String',
|
48
|
+
:'name' => :'String',
|
48
49
|
:'content_guard' => :'String',
|
49
50
|
:'repository_version' => :'String',
|
50
|
-
:'
|
51
|
-
:'name' => :'String'
|
51
|
+
:'base_path' => :'String'
|
52
52
|
}
|
53
53
|
end
|
54
54
|
|
55
55
|
# List of attributes with nullable: true
|
56
56
|
def self.openapi_nullable
|
57
57
|
Set.new([
|
58
|
-
:'repository_version',
|
59
58
|
:'repository',
|
59
|
+
:'repository_version',
|
60
60
|
])
|
61
61
|
end
|
62
62
|
|
@@ -75,8 +75,12 @@ module PulpContainerClient
|
|
75
75
|
h[k.to_sym] = v
|
76
76
|
}
|
77
77
|
|
78
|
-
if attributes.key?(:'
|
79
|
-
self.
|
78
|
+
if attributes.key?(:'repository')
|
79
|
+
self.repository = attributes[:'repository']
|
80
|
+
end
|
81
|
+
|
82
|
+
if attributes.key?(:'name')
|
83
|
+
self.name = attributes[:'name']
|
80
84
|
end
|
81
85
|
|
82
86
|
if attributes.key?(:'content_guard')
|
@@ -87,12 +91,8 @@ module PulpContainerClient
|
|
87
91
|
self.repository_version = attributes[:'repository_version']
|
88
92
|
end
|
89
93
|
|
90
|
-
if attributes.key?(:'
|
91
|
-
self.
|
92
|
-
end
|
93
|
-
|
94
|
-
if attributes.key?(:'name')
|
95
|
-
self.name = attributes[:'name']
|
94
|
+
if attributes.key?(:'base_path')
|
95
|
+
self.base_path = attributes[:'base_path']
|
96
96
|
end
|
97
97
|
end
|
98
98
|
|
@@ -114,11 +114,11 @@ module PulpContainerClient
|
|
114
114
|
def ==(o)
|
115
115
|
return true if self.equal?(o)
|
116
116
|
self.class == o.class &&
|
117
|
-
|
117
|
+
repository == o.repository &&
|
118
|
+
name == o.name &&
|
118
119
|
content_guard == o.content_guard &&
|
119
120
|
repository_version == o.repository_version &&
|
120
|
-
|
121
|
-
name == o.name
|
121
|
+
base_path == o.base_path
|
122
122
|
end
|
123
123
|
|
124
124
|
# @see the `==` method
|
@@ -130,7 +130,7 @@ module PulpContainerClient
|
|
130
130
|
# Calculates hash code according to all attributes.
|
131
131
|
# @return [Integer] Hash code
|
132
132
|
def hash
|
133
|
-
[
|
133
|
+
[repository, name, content_guard, repository_version, base_path].hash
|
134
134
|
end
|
135
135
|
|
136
136
|
# 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 "name"' do
|
48
48
|
it 'should work' do
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "pulp_created"' do
|
54
54
|
it 'should work' do
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
describe 'test attribute "
|
59
|
+
describe 'test attribute "content_guard"' 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_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
|
69
69
|
end
|
70
70
|
|
71
|
-
describe 'test attribute "
|
71
|
+
describe 'test attribute "base_path"' 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,31 +32,31 @@ 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 "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 "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
|
@@ -32,31 +32,31 @@ 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 "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 "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
|
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.3.0.
|
4
|
+
version: 2.3.0.dev01611717997
|
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-01-
|
11
|
+
date: 2021-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|