pulp_container_client 2.2.0 → 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContainerContainerDistribution.md +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 +4 -4
- data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
- metadata +40 -40
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2cfdbcfd6b48851983a3d2872145a8808ed3f088f8154c878a1966b688665146
|
4
|
+
data.tar.gz: c9419abc2b334a2789a0299fdd14cce7ef368533e8e75c3a87fc0fdc6ae3978a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b84642ba97d02f3cc85610cafdf99578865c6a27fa4e2004de87636173a7c5004861222d1bb08b71a2c589f6cfa1baf78a05a8ae0b24e823873a5baf4f602220
|
7
|
+
data.tar.gz: 6ca2b73f9f5f9fd8d0f61a8759b1ca95cba8156e4f9a8a7911204827598a52c6af8e55313c59b8afb61e9699e56ee01eff836caa51de066621308afac04f7886
|
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.
|
10
|
+
- Package version: 2.2.1
|
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.
|
27
|
+
gem install ./pulp_container_client-2.2.1.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_container_client-2.2.
|
30
|
+
(for development, run `gem install --dev ./pulp_container_client-2.2.1.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.
|
36
|
+
gem 'pulp_container_client', '~> 2.2.1'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -4,22 +4,22 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
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\") |
|
7
|
+
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
9
8
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
9
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
10
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
11
|
-
**
|
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(
|
19
|
-
base_path: null,
|
18
|
+
instance = PulpContainerClient::ContainerContainerDistribution.new(repository_version: null,
|
20
19
|
name: null,
|
20
|
+
repository: null,
|
21
21
|
content_guard: null,
|
22
|
-
|
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
|
-
**
|
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\") |
|
7
|
+
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
10
8
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
11
|
-
**
|
9
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
12
10
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
13
|
-
**
|
11
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
12
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
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
|
-
repository: null,
|
24
|
-
base_path: null,
|
22
|
+
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(repository_version: null,
|
25
23
|
name: null,
|
26
|
-
|
24
|
+
repository: null,
|
27
25
|
content_guard: null,
|
28
|
-
|
26
|
+
pulp_created: null,
|
27
|
+
pulp_href: 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
|
-
**
|
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]
|
7
|
+
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
9
8
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
9
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
10
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
11
|
-
**
|
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(
|
19
|
-
base_path: null,
|
18
|
+
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(repository_version: null,
|
20
19
|
name: null,
|
20
|
+
repository: null,
|
21
21
|
content_guard: null,
|
22
|
-
|
22
|
+
base_path: 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
|
-
#
|
19
|
-
attr_accessor :
|
20
|
-
|
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\")
|
22
|
-
attr_accessor :base_path
|
18
|
+
# RepositoryVersion to be served
|
19
|
+
attr_accessor :repository_version
|
23
20
|
|
24
21
|
# A unique name. Ex, `rawhide` and `stable`.
|
25
22
|
attr_accessor :name
|
26
23
|
|
24
|
+
# The latest RepositoryVersion for this Repository will be served.
|
25
|
+
attr_accessor :repository
|
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
|
+
# 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
|
-
:'
|
37
|
-
:'base_path' => :'base_path',
|
36
|
+
:'repository_version' => :'repository_version',
|
38
37
|
:'name' => :'name',
|
38
|
+
:'repository' => :'repository',
|
39
39
|
:'content_guard' => :'content_guard',
|
40
|
-
:'
|
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
|
-
:'
|
48
|
-
:'base_path' => :'String',
|
47
|
+
:'repository_version' => :'String',
|
49
48
|
:'name' => :'String',
|
49
|
+
:'repository' => :'String',
|
50
50
|
:'content_guard' => :'String',
|
51
|
-
:'
|
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',
|
58
59
|
:'repository',
|
59
|
-
:'repository_version'
|
60
60
|
])
|
61
61
|
end
|
62
62
|
|
@@ -75,24 +75,24 @@ module PulpContainerClient
|
|
75
75
|
h[k.to_sym] = v
|
76
76
|
}
|
77
77
|
|
78
|
-
if attributes.key?(:'
|
79
|
-
self.
|
80
|
-
end
|
81
|
-
|
82
|
-
if attributes.key?(:'base_path')
|
83
|
-
self.base_path = attributes[:'base_path']
|
78
|
+
if attributes.key?(:'repository_version')
|
79
|
+
self.repository_version = attributes[:'repository_version']
|
84
80
|
end
|
85
81
|
|
86
82
|
if attributes.key?(:'name')
|
87
83
|
self.name = attributes[:'name']
|
88
84
|
end
|
89
85
|
|
86
|
+
if attributes.key?(:'repository')
|
87
|
+
self.repository = attributes[:'repository']
|
88
|
+
end
|
89
|
+
|
90
90
|
if attributes.key?(:'content_guard')
|
91
91
|
self.content_guard = attributes[:'content_guard']
|
92
92
|
end
|
93
93
|
|
94
|
-
if attributes.key?(:'
|
95
|
-
self.
|
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
|
-
|
128
|
-
base_path == o.base_path &&
|
127
|
+
repository_version == o.repository_version &&
|
129
128
|
name == o.name &&
|
129
|
+
repository == o.repository &&
|
130
130
|
content_guard == o.content_guard &&
|
131
|
-
|
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_version, name, repository, content_guard, 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
|
-
#
|
19
|
-
attr_accessor :
|
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
|
18
|
+
# RepositoryVersion to be served
|
19
|
+
attr_accessor :repository_version
|
26
20
|
|
27
21
|
# A unique name. Ex, `rawhide` and `stable`.
|
28
22
|
attr_accessor :name
|
29
23
|
|
30
|
-
|
24
|
+
# The latest RepositoryVersion for this Repository will be served.
|
25
|
+
attr_accessor :repository
|
31
26
|
|
32
27
|
# An optional content-guard. If none is specified, a default one will be used.
|
33
28
|
attr_accessor :content_guard
|
34
29
|
|
35
|
-
#
|
36
|
-
attr_accessor :
|
30
|
+
# Timestamp of creation.
|
31
|
+
attr_accessor :pulp_created
|
32
|
+
|
33
|
+
attr_accessor :pulp_href
|
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
|
-
:'
|
48
|
-
:'repository' => :'repository',
|
49
|
-
:'base_path' => :'base_path',
|
47
|
+
:'repository_version' => :'repository_version',
|
50
48
|
:'name' => :'name',
|
51
|
-
:'
|
49
|
+
:'repository' => :'repository',
|
52
50
|
:'content_guard' => :'content_guard',
|
53
|
-
:'
|
51
|
+
:'pulp_created' => :'pulp_created',
|
52
|
+
:'pulp_href' => :'pulp_href',
|
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
|
-
:'
|
63
|
-
:'repository' => :'String',
|
64
|
-
:'base_path' => :'String',
|
62
|
+
:'repository_version' => :'String',
|
65
63
|
:'name' => :'String',
|
66
|
-
:'
|
64
|
+
:'repository' => :'String',
|
67
65
|
:'content_guard' => :'String',
|
68
|
-
:'
|
66
|
+
:'pulp_created' => :'DateTime',
|
67
|
+
:'pulp_href' => :'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',
|
78
77
|
:'repository_version',
|
78
|
+
:'repository',
|
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.
|
97
|
+
if attributes.key?(:'repository_version')
|
98
|
+
self.repository_version = attributes[:'repository_version']
|
99
|
+
end
|
100
|
+
|
101
|
+
if attributes.key?(:'name')
|
102
|
+
self.name = attributes[:'name']
|
99
103
|
end
|
100
104
|
|
101
105
|
if attributes.key?(:'repository')
|
102
106
|
self.repository = attributes[:'repository']
|
103
107
|
end
|
104
108
|
|
105
|
-
if attributes.key?(:'
|
106
|
-
self.
|
109
|
+
if attributes.key?(:'content_guard')
|
110
|
+
self.content_guard = attributes[:'content_guard']
|
107
111
|
end
|
108
112
|
|
109
|
-
if attributes.key?(:'
|
110
|
-
self.
|
113
|
+
if attributes.key?(:'pulp_created')
|
114
|
+
self.pulp_created = attributes[:'pulp_created']
|
111
115
|
end
|
112
116
|
|
113
117
|
if attributes.key?(:'pulp_href')
|
114
118
|
self.pulp_href = attributes[:'pulp_href']
|
115
119
|
end
|
116
120
|
|
117
|
-
if attributes.key?(:'
|
118
|
-
self.
|
119
|
-
end
|
120
|
-
|
121
|
-
if attributes.key?(:'repository_version')
|
122
|
-
self.repository_version = attributes[:'repository_version']
|
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
|
-
|
163
|
-
repository == o.repository &&
|
164
|
-
base_path == o.base_path &&
|
162
|
+
repository_version == o.repository_version &&
|
165
163
|
name == o.name &&
|
166
|
-
|
164
|
+
repository == o.repository &&
|
167
165
|
content_guard == o.content_guard &&
|
168
|
-
|
166
|
+
pulp_created == o.pulp_created &&
|
167
|
+
pulp_href == o.pulp_href &&
|
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_version, name, repository, content_guard, pulp_created, pulp_href, base_path, 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
|
-
#
|
19
|
-
attr_accessor :
|
20
|
-
|
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\")
|
22
|
-
attr_accessor :base_path
|
18
|
+
# RepositoryVersion to be served
|
19
|
+
attr_accessor :repository_version
|
23
20
|
|
24
21
|
# A unique name. Ex, `rawhide` and `stable`.
|
25
22
|
attr_accessor :name
|
26
23
|
|
24
|
+
# The latest RepositoryVersion for this Repository will be served.
|
25
|
+
attr_accessor :repository
|
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
|
+
# 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
|
-
:'
|
37
|
-
:'base_path' => :'base_path',
|
36
|
+
:'repository_version' => :'repository_version',
|
38
37
|
:'name' => :'name',
|
38
|
+
:'repository' => :'repository',
|
39
39
|
:'content_guard' => :'content_guard',
|
40
|
-
:'
|
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
|
-
:'
|
48
|
-
:'base_path' => :'String',
|
47
|
+
:'repository_version' => :'String',
|
49
48
|
:'name' => :'String',
|
49
|
+
:'repository' => :'String',
|
50
50
|
:'content_guard' => :'String',
|
51
|
-
:'
|
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',
|
58
59
|
:'repository',
|
59
|
-
:'repository_version'
|
60
60
|
])
|
61
61
|
end
|
62
62
|
|
@@ -75,24 +75,24 @@ module PulpContainerClient
|
|
75
75
|
h[k.to_sym] = v
|
76
76
|
}
|
77
77
|
|
78
|
-
if attributes.key?(:'
|
79
|
-
self.
|
80
|
-
end
|
81
|
-
|
82
|
-
if attributes.key?(:'base_path')
|
83
|
-
self.base_path = attributes[:'base_path']
|
78
|
+
if attributes.key?(:'repository_version')
|
79
|
+
self.repository_version = attributes[:'repository_version']
|
84
80
|
end
|
85
81
|
|
86
82
|
if attributes.key?(:'name')
|
87
83
|
self.name = attributes[:'name']
|
88
84
|
end
|
89
85
|
|
86
|
+
if attributes.key?(:'repository')
|
87
|
+
self.repository = attributes[:'repository']
|
88
|
+
end
|
89
|
+
|
90
90
|
if attributes.key?(:'content_guard')
|
91
91
|
self.content_guard = attributes[:'content_guard']
|
92
92
|
end
|
93
93
|
|
94
|
-
if attributes.key?(:'
|
95
|
-
self.
|
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
|
-
|
118
|
-
base_path == o.base_path &&
|
117
|
+
repository_version == o.repository_version &&
|
119
118
|
name == o.name &&
|
119
|
+
repository == o.repository &&
|
120
120
|
content_guard == o.content_guard &&
|
121
|
-
|
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_version, name, repository, content_guard, 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_version"' 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 "repository"' 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 "content_guard"' 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 "pulp_href"' 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,19 +32,19 @@ 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_version"' 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 "repository"' 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
|
@@ -56,7 +56,7 @@ describe 'ContainerContainerDistribution' do
|
|
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,19 +32,19 @@ 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_version"' 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 "repository"' 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
|
@@ -56,7 +56,7 @@ describe 'PatchedcontainerContainerDistribution' do
|
|
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.2.
|
4
|
+
version: 2.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -267,59 +267,59 @@ signing_key:
|
|
267
267
|
specification_version: 4
|
268
268
|
summary: Pulp 3 API Ruby Gem
|
269
269
|
test_files:
|
270
|
-
- spec/api/remotes_container_api_spec.rb
|
271
|
-
- spec/api/content_blobs_api_spec.rb
|
272
270
|
- spec/api/repositories_container_versions_api_spec.rb
|
273
|
-
- spec/api/content_manifests_api_spec.rb
|
274
|
-
- spec/api/token_api_spec.rb
|
275
271
|
- spec/api/repositories_container_push_api_spec.rb
|
272
|
+
- spec/api/token_api_spec.rb
|
273
|
+
- spec/api/repositories_container_api_spec.rb
|
274
|
+
- spec/api/content_blobs_api_spec.rb
|
276
275
|
- spec/api/distributions_container_api_spec.rb
|
277
|
-
- spec/api/content_tags_api_spec.rb
|
278
276
|
- spec/api/pulp_container_namespaces_api_spec.rb
|
279
277
|
- spec/api/contentguards_content_redirect_api_spec.rb
|
280
|
-
- spec/api/
|
278
|
+
- spec/api/remotes_container_api_spec.rb
|
279
|
+
- spec/api/content_tags_api_spec.rb
|
280
|
+
- spec/api/content_manifests_api_spec.rb
|
281
281
|
- spec/api_client_spec.rb
|
282
282
|
- spec/configuration_spec.rb
|
283
|
-
- spec/models/
|
284
|
-
- spec/models/
|
285
|
-
- spec/models/repository_version_spec.rb
|
286
|
-
- spec/models/paginatedcontainer_content_redirect_content_guard_response_list_spec.rb
|
287
|
-
- spec/models/manifest_copy_spec.rb
|
288
|
-
- spec/models/paginated_repository_version_response_list_spec.rb
|
289
|
-
- spec/models/tag_image_spec.rb
|
290
|
-
- spec/models/container_blob_response_spec.rb
|
283
|
+
- spec/models/patchedcontainer_container_distribution_spec.rb
|
284
|
+
- spec/models/container_container_namespace_response_spec.rb
|
291
285
|
- spec/models/content_summary_spec.rb
|
292
|
-
- spec/models/
|
293
|
-
- spec/models/
|
286
|
+
- spec/models/manifest_copy_spec.rb
|
287
|
+
- spec/models/async_operation_response_spec.rb
|
294
288
|
- spec/models/paginatedcontainer_container_push_repository_response_list_spec.rb
|
295
|
-
- spec/models/
|
296
|
-
- spec/models/container_container_namespace_spec.rb
|
297
|
-
- spec/models/container_container_repository_spec.rb
|
298
|
-
- spec/models/paginatedcontainer_container_namespace_response_list_spec.rb
|
299
|
-
- spec/models/container_container_push_repository_spec.rb
|
289
|
+
- spec/models/container_content_redirect_content_guard_response_spec.rb
|
300
290
|
- spec/models/container_container_distribution_spec.rb
|
291
|
+
- spec/models/paginatedcontainer_blob_response_list_spec.rb
|
292
|
+
- spec/models/container_blob_response_spec.rb
|
293
|
+
- spec/models/container_container_push_repository_spec.rb
|
294
|
+
- spec/models/container_container_remote_response_spec.rb
|
301
295
|
- spec/models/policy_enum_spec.rb
|
302
|
-
- spec/models/oci_build_image_spec.rb
|
303
|
-
- spec/models/container_container_remote_spec.rb
|
304
296
|
- spec/models/patchedcontainer_content_redirect_content_guard_spec.rb
|
305
|
-
- spec/models/
|
297
|
+
- spec/models/paginatedcontainer_container_namespace_response_list_spec.rb
|
298
|
+
- spec/models/container_tag_response_spec.rb
|
299
|
+
- spec/models/tag_image_spec.rb
|
300
|
+
- spec/models/container_container_namespace_spec.rb
|
301
|
+
- spec/models/content_summary_response_spec.rb
|
302
|
+
- spec/models/paginatedcontainer_manifest_response_list_spec.rb
|
303
|
+
- spec/models/un_tag_image_spec.rb
|
304
|
+
- spec/models/paginatedcontainer_container_remote_response_list_spec.rb
|
305
|
+
- spec/models/repository_version_spec.rb
|
306
306
|
- spec/models/paginatedcontainer_tag_response_list_spec.rb
|
307
|
+
- spec/models/patchedcontainer_container_remote_spec.rb
|
308
|
+
- spec/models/oci_build_image_spec.rb
|
309
|
+
- spec/models/container_container_push_repository_response_spec.rb
|
310
|
+
- spec/models/patchedcontainer_container_repository_spec.rb
|
307
311
|
- spec/models/paginatedcontainer_container_distribution_response_list_spec.rb
|
308
|
-
- spec/models/
|
309
|
-
- spec/models/
|
310
|
-
- spec/models/
|
312
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
313
|
+
- spec/models/container_manifest_response_spec.rb
|
314
|
+
- spec/models/repository_version_response_spec.rb
|
315
|
+
- spec/models/container_container_repository_spec.rb
|
311
316
|
- spec/models/recursive_manage_spec.rb
|
312
|
-
- spec/models/
|
313
|
-
- spec/models/
|
314
|
-
- spec/models/
|
315
|
-
- spec/models/container_container_push_repository_response_spec.rb
|
316
|
-
- spec/models/un_tag_image_spec.rb
|
317
|
+
- spec/models/paginatedcontainer_content_redirect_content_guard_response_list_spec.rb
|
318
|
+
- spec/models/repository_sync_url_spec.rb
|
319
|
+
- spec/models/tag_copy_spec.rb
|
317
320
|
- spec/models/paginatedcontainer_container_repository_response_list_spec.rb
|
318
|
-
- spec/models/container_tag_response_spec.rb
|
319
|
-
- spec/models/patchedcontainer_container_repository_spec.rb
|
320
321
|
- spec/models/container_content_redirect_content_guard_spec.rb
|
321
|
-
- spec/models/
|
322
|
-
- spec/models/
|
323
|
-
- spec/models/
|
324
|
-
- spec/models/patchedcontainer_container_distribution_spec.rb
|
322
|
+
- spec/models/container_container_repository_response_spec.rb
|
323
|
+
- spec/models/container_container_remote_spec.rb
|
324
|
+
- spec/models/container_container_distribution_response_spec.rb
|
325
325
|
- spec/spec_helper.rb
|