pulp_container_client 2.2.0.post0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContainerContainerDistribution.md +5 -5
- data/docs/ContainerContainerDistributionResponse.md +9 -9
- data/docs/PatchedcontainerContainerDistribution.md +5 -5
- data/lib/pulp_container_client/models/container_container_distribution.rb +20 -20
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +36 -36
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +20 -20
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +6 -6
- data/spec/models/container_container_distribution_spec.rb +3 -3
- data/spec/models/patchedcontainer_container_distribution_spec.rb +3 -3
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d36850fef19082065fc20b14a1dc88d4d2c06ed144cac3a48e7d4315f7f5aec2
|
|
4
|
+
data.tar.gz: a0920c905748d6f90e9f8fc61efcc7788324aa294f56c5d1455ebd0065a10a56
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8b5d3254ea2994f87a2fe7e17446a7211233e2b658c92578423c65812a39b8237777cd6da19932ce2368f7de0854e853f55b403ff0a6fbb4a6a98b99796caf7b
|
|
7
|
+
data.tar.gz: 167d97da15a0e2908a1cf2bb81977f33b43eb2dcc6ed83dbbec4510a991de26a072e299c3de5af9001cb26ccfd84fce46be0eeff30c516e07581f0fe75318eab
|
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.2.0
|
|
10
|
+
- Package version: 2.2.0
|
|
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.2.0.
|
|
27
|
+
gem install ./pulp_container_client-2.2.0.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./pulp_container_client-2.2.0.
|
|
30
|
+
(for development, run `gem install --dev ./pulp_container_client-2.2.0.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.2.0
|
|
36
|
+
gem 'pulp_container_client', '~> 2.2.0'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -4,22 +4,22 @@
|
|
|
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
|
**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
|
-
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
|
9
9
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
10
10
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
11
|
-
**
|
|
11
|
+
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
|
12
12
|
|
|
13
13
|
## Code Sample
|
|
14
14
|
|
|
15
15
|
```ruby
|
|
16
16
|
require 'PulpContainerClient'
|
|
17
17
|
|
|
18
|
-
instance = PulpContainerClient::ContainerContainerDistribution.new(
|
|
19
|
-
|
|
18
|
+
instance = PulpContainerClient::ContainerContainerDistribution.new(repository: null,
|
|
19
|
+
base_path: null,
|
|
20
20
|
name: null,
|
|
21
21
|
content_guard: null,
|
|
22
|
-
|
|
22
|
+
repository_version: 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
|
-
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
|
9
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
|
10
7
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
8
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
9
|
+
**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
10
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
11
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
|
12
12
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
13
|
-
**
|
|
13
|
+
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
|
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
|
-
|
|
24
|
-
|
|
25
|
-
pulp_created: null,
|
|
22
|
+
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(pulp_created: null,
|
|
23
|
+
repository: null,
|
|
24
|
+
base_path: null,
|
|
26
25
|
name: null,
|
|
26
|
+
pulp_href: null,
|
|
27
27
|
content_guard: null,
|
|
28
|
-
|
|
28
|
+
repository_version: 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
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
7
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]
|
|
8
|
-
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
|
9
9
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
|
10
10
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
11
|
-
**
|
|
11
|
+
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
|
12
12
|
|
|
13
13
|
## Code Sample
|
|
14
14
|
|
|
15
15
|
```ruby
|
|
16
16
|
require 'PulpContainerClient'
|
|
17
17
|
|
|
18
|
-
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(
|
|
19
|
-
|
|
18
|
+
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(repository: null,
|
|
19
|
+
base_path: null,
|
|
20
20
|
name: null,
|
|
21
21
|
content_guard: null,
|
|
22
|
-
|
|
22
|
+
repository_version: null)
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
|
|
@@ -15,48 +15,48 @@ 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
|
# 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
22
|
attr_accessor :base_path
|
|
20
23
|
|
|
21
|
-
# RepositoryVersion to be served
|
|
22
|
-
attr_accessor :repository_version
|
|
23
|
-
|
|
24
24
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
25
25
|
attr_accessor :name
|
|
26
26
|
|
|
27
27
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
28
28
|
attr_accessor :content_guard
|
|
29
29
|
|
|
30
|
-
#
|
|
31
|
-
attr_accessor :
|
|
30
|
+
# RepositoryVersion to be served
|
|
31
|
+
attr_accessor :repository_version
|
|
32
32
|
|
|
33
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
34
34
|
def self.attribute_map
|
|
35
35
|
{
|
|
36
|
+
:'repository' => :'repository',
|
|
36
37
|
:'base_path' => :'base_path',
|
|
37
|
-
:'repository_version' => :'repository_version',
|
|
38
38
|
:'name' => :'name',
|
|
39
39
|
:'content_guard' => :'content_guard',
|
|
40
|
-
:'
|
|
40
|
+
:'repository_version' => :'repository_version'
|
|
41
41
|
}
|
|
42
42
|
end
|
|
43
43
|
|
|
44
44
|
# Attribute type mapping.
|
|
45
45
|
def self.openapi_types
|
|
46
46
|
{
|
|
47
|
+
:'repository' => :'String',
|
|
47
48
|
:'base_path' => :'String',
|
|
48
|
-
:'repository_version' => :'String',
|
|
49
49
|
:'name' => :'String',
|
|
50
50
|
:'content_guard' => :'String',
|
|
51
|
-
:'
|
|
51
|
+
:'repository_version' => :'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
|
-
:'
|
|
59
|
-
:'
|
|
58
|
+
:'repository',
|
|
59
|
+
:'repository_version'
|
|
60
60
|
])
|
|
61
61
|
end
|
|
62
62
|
|
|
@@ -75,12 +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
80
|
end
|
|
81
81
|
|
|
82
|
-
if attributes.key?(:'
|
|
83
|
-
self.
|
|
82
|
+
if attributes.key?(:'base_path')
|
|
83
|
+
self.base_path = attributes[:'base_path']
|
|
84
84
|
end
|
|
85
85
|
|
|
86
86
|
if attributes.key?(:'name')
|
|
@@ -91,8 +91,8 @@ module PulpContainerClient
|
|
|
91
91
|
self.content_guard = attributes[:'content_guard']
|
|
92
92
|
end
|
|
93
93
|
|
|
94
|
-
if attributes.key?(:'
|
|
95
|
-
self.
|
|
94
|
+
if attributes.key?(:'repository_version')
|
|
95
|
+
self.repository_version = attributes[:'repository_version']
|
|
96
96
|
end
|
|
97
97
|
end
|
|
98
98
|
|
|
@@ -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
|
+
repository == o.repository &&
|
|
127
128
|
base_path == o.base_path &&
|
|
128
|
-
repository_version == o.repository_version &&
|
|
129
129
|
name == o.name &&
|
|
130
130
|
content_guard == o.content_guard &&
|
|
131
|
-
|
|
131
|
+
repository_version == o.repository_version
|
|
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, base_path, name, content_guard, repository_version].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 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
|
-
|
|
21
|
-
# RepositoryVersion to be served
|
|
22
|
-
attr_accessor :repository_version
|
|
23
|
-
|
|
24
|
-
attr_accessor :pulp_href
|
|
25
|
-
|
|
26
18
|
# Timestamp of creation.
|
|
27
19
|
attr_accessor :pulp_created
|
|
28
20
|
|
|
21
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
22
|
+
attr_accessor :repository
|
|
23
|
+
|
|
24
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
25
|
+
attr_accessor :base_path
|
|
26
|
+
|
|
29
27
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
30
28
|
attr_accessor :name
|
|
31
29
|
|
|
30
|
+
attr_accessor :pulp_href
|
|
31
|
+
|
|
32
32
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
33
33
|
attr_accessor :content_guard
|
|
34
34
|
|
|
35
|
-
#
|
|
36
|
-
attr_accessor :
|
|
35
|
+
# RepositoryVersion to be served
|
|
36
|
+
attr_accessor :repository_version
|
|
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
|
-
:'repository_version' => :'repository_version',
|
|
49
|
-
:'pulp_href' => :'pulp_href',
|
|
50
47
|
:'pulp_created' => :'pulp_created',
|
|
48
|
+
:'repository' => :'repository',
|
|
49
|
+
:'base_path' => :'base_path',
|
|
51
50
|
:'name' => :'name',
|
|
51
|
+
:'pulp_href' => :'pulp_href',
|
|
52
52
|
:'content_guard' => :'content_guard',
|
|
53
|
-
:'
|
|
53
|
+
:'repository_version' => :'repository_version',
|
|
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
|
-
:'repository_version' => :'String',
|
|
64
|
-
:'pulp_href' => :'String',
|
|
65
62
|
:'pulp_created' => :'DateTime',
|
|
63
|
+
:'repository' => :'String',
|
|
64
|
+
:'base_path' => :'String',
|
|
66
65
|
:'name' => :'String',
|
|
66
|
+
:'pulp_href' => :'String',
|
|
67
67
|
:'content_guard' => :'String',
|
|
68
|
-
:'
|
|
68
|
+
:'repository_version' => :'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?(:'repository_version')
|
|
102
|
-
self.repository_version = attributes[:'repository_version']
|
|
97
|
+
if attributes.key?(:'pulp_created')
|
|
98
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
103
99
|
end
|
|
104
100
|
|
|
105
|
-
if attributes.key?(:'
|
|
106
|
-
self.
|
|
101
|
+
if attributes.key?(:'repository')
|
|
102
|
+
self.repository = attributes[:'repository']
|
|
107
103
|
end
|
|
108
104
|
|
|
109
|
-
if attributes.key?(:'
|
|
110
|
-
self.
|
|
105
|
+
if attributes.key?(:'base_path')
|
|
106
|
+
self.base_path = attributes[:'base_path']
|
|
111
107
|
end
|
|
112
108
|
|
|
113
109
|
if attributes.key?(:'name')
|
|
114
110
|
self.name = attributes[:'name']
|
|
115
111
|
end
|
|
116
112
|
|
|
113
|
+
if attributes.key?(:'pulp_href')
|
|
114
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
115
|
+
end
|
|
116
|
+
|
|
117
117
|
if attributes.key?(:'content_guard')
|
|
118
118
|
self.content_guard = attributes[:'content_guard']
|
|
119
119
|
end
|
|
120
120
|
|
|
121
|
-
if attributes.key?(:'
|
|
122
|
-
self.
|
|
121
|
+
if attributes.key?(:'repository_version')
|
|
122
|
+
self.repository_version = attributes[:'repository_version']
|
|
123
123
|
end
|
|
124
124
|
|
|
125
125
|
if attributes.key?(:'registry_path')
|
|
@@ -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
|
-
repository_version == o.repository_version &&
|
|
164
|
-
pulp_href == o.pulp_href &&
|
|
165
162
|
pulp_created == o.pulp_created &&
|
|
163
|
+
repository == o.repository &&
|
|
164
|
+
base_path == o.base_path &&
|
|
166
165
|
name == o.name &&
|
|
166
|
+
pulp_href == o.pulp_href &&
|
|
167
167
|
content_guard == o.content_guard &&
|
|
168
|
-
|
|
168
|
+
repository_version == o.repository_version &&
|
|
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
|
+
[pulp_created, repository, base_path, name, pulp_href, content_guard, repository_version, registry_path, namespace].hash
|
|
183
183
|
end
|
|
184
184
|
|
|
185
185
|
# Builds the object from hash
|
|
@@ -15,48 +15,48 @@ 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
|
# 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
22
|
attr_accessor :base_path
|
|
20
23
|
|
|
21
|
-
# RepositoryVersion to be served
|
|
22
|
-
attr_accessor :repository_version
|
|
23
|
-
|
|
24
24
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
25
25
|
attr_accessor :name
|
|
26
26
|
|
|
27
27
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
28
28
|
attr_accessor :content_guard
|
|
29
29
|
|
|
30
|
-
#
|
|
31
|
-
attr_accessor :
|
|
30
|
+
# RepositoryVersion to be served
|
|
31
|
+
attr_accessor :repository_version
|
|
32
32
|
|
|
33
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
34
34
|
def self.attribute_map
|
|
35
35
|
{
|
|
36
|
+
:'repository' => :'repository',
|
|
36
37
|
:'base_path' => :'base_path',
|
|
37
|
-
:'repository_version' => :'repository_version',
|
|
38
38
|
:'name' => :'name',
|
|
39
39
|
:'content_guard' => :'content_guard',
|
|
40
|
-
:'
|
|
40
|
+
:'repository_version' => :'repository_version'
|
|
41
41
|
}
|
|
42
42
|
end
|
|
43
43
|
|
|
44
44
|
# Attribute type mapping.
|
|
45
45
|
def self.openapi_types
|
|
46
46
|
{
|
|
47
|
+
:'repository' => :'String',
|
|
47
48
|
:'base_path' => :'String',
|
|
48
|
-
:'repository_version' => :'String',
|
|
49
49
|
:'name' => :'String',
|
|
50
50
|
:'content_guard' => :'String',
|
|
51
|
-
:'
|
|
51
|
+
:'repository_version' => :'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
|
-
:'
|
|
59
|
-
:'
|
|
58
|
+
:'repository',
|
|
59
|
+
:'repository_version'
|
|
60
60
|
])
|
|
61
61
|
end
|
|
62
62
|
|
|
@@ -75,12 +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
80
|
end
|
|
81
81
|
|
|
82
|
-
if attributes.key?(:'
|
|
83
|
-
self.
|
|
82
|
+
if attributes.key?(:'base_path')
|
|
83
|
+
self.base_path = attributes[:'base_path']
|
|
84
84
|
end
|
|
85
85
|
|
|
86
86
|
if attributes.key?(:'name')
|
|
@@ -91,8 +91,8 @@ module PulpContainerClient
|
|
|
91
91
|
self.content_guard = attributes[:'content_guard']
|
|
92
92
|
end
|
|
93
93
|
|
|
94
|
-
if attributes.key?(:'
|
|
95
|
-
self.
|
|
94
|
+
if attributes.key?(:'repository_version')
|
|
95
|
+
self.repository_version = attributes[:'repository_version']
|
|
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
|
+
repository == o.repository &&
|
|
117
118
|
base_path == o.base_path &&
|
|
118
|
-
repository_version == o.repository_version &&
|
|
119
119
|
name == o.name &&
|
|
120
120
|
content_guard == o.content_guard &&
|
|
121
|
-
|
|
121
|
+
repository_version == o.repository_version
|
|
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, base_path, name, content_guard, repository_version].hash
|
|
134
134
|
end
|
|
135
135
|
|
|
136
136
|
# Builds the object from hash
|
|
@@ -32,31 +32,31 @@ 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_created"' 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"' 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 "base_path"' 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 "pulp_href"' do
|
|
60
60
|
it 'should work' do
|
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
62
|
end
|
|
@@ -68,7 +68,7 @@ describe 'ContainerContainerDistributionResponse' do
|
|
|
68
68
|
end
|
|
69
69
|
end
|
|
70
70
|
|
|
71
|
-
describe 'test attribute "
|
|
71
|
+
describe 'test attribute "repository_version"' 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,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 "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 "base_path"' 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
|
|
@@ -56,7 +56,7 @@ describe 'ContainerContainerDistribution' do
|
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
describe 'test attribute "
|
|
59
|
+
describe 'test attribute "repository_version"' 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,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 "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 "base_path"' 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
|
|
@@ -56,7 +56,7 @@ describe 'PatchedcontainerContainerDistribution' do
|
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
describe 'test attribute "
|
|
59
|
+
describe 'test attribute "repository_version"' 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.2.0
|
|
4
|
+
version: 2.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-12-
|
|
11
|
+
date: 2020-12-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -258,9 +258,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
258
258
|
version: '1.9'
|
|
259
259
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
260
260
|
requirements:
|
|
261
|
-
- - "
|
|
261
|
+
- - ">="
|
|
262
262
|
- !ruby/object:Gem::Version
|
|
263
|
-
version:
|
|
263
|
+
version: '0'
|
|
264
264
|
requirements: []
|
|
265
265
|
rubygems_version: 3.0.3
|
|
266
266
|
signing_key:
|