pulp_container_client 2.3.0.dev01611115725 → 2.3.0.dev01611288388
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 +5 -5
- data/docs/ContainerContainerDistributionResponse.md +7 -7
- data/docs/PatchedcontainerContainerDistribution.md +5 -5
- data/lib/pulp_container_client/models/container_container_distribution.rb +23 -23
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +34 -34
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +18 -18
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +5 -5
- data/spec/models/container_container_distribution_spec.rb +3 -3
- data/spec/models/patchedcontainer_container_distribution_spec.rb +3 -3
- metadata +38 -38
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 313e55b46da5b970a39f889b550713ca5460adde1722d9b7b4b07f51bf395b7d
|
4
|
+
data.tar.gz: cb8ed9cb09ba4ae82af117d182857157a99f44152b1115e0002fb28a94049e21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67a99e075f55aded8e0b74c66d8188f0c5710cd59067daa6c7fb2451b958658a0b1479b2ad0e0e177dafd8e71680a7cfa16dd8f77bd64fad93d4c320ec63e253
|
7
|
+
data.tar.gz: cdb5cc1c0e13a197ffef0475731168f6657085adcb3b169bd7790036ba3209fd1611f1046aa18b4db42948c3d14a377b772ceba3651a2880550fb9cfdf0c41b9
|
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.dev01611288388
|
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.dev01611288388.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.dev01611288388.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.dev01611288388'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -4,10 +4,10 @@
|
|
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\") |
|
7
8
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
8
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [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
|
@@ -15,10 +15,10 @@ Name | Type | Description | Notes
|
|
15
15
|
```ruby
|
16
16
|
require 'PulpContainerClient'
|
17
17
|
|
18
|
-
instance = PulpContainerClient::ContainerContainerDistribution.new(
|
19
|
-
|
18
|
+
instance = PulpContainerClient::ContainerContainerDistribution.new(base_path: null,
|
19
|
+
repository: null,
|
20
20
|
name: null,
|
21
|
-
|
21
|
+
content_guard: null,
|
22
22
|
repository_version: null)
|
23
23
|
```
|
24
24
|
|
@@ -4,12 +4,12 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
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
9
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
8
11
|
**pulp_href** | **String** | | [optional] [readonly]
|
9
12
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
10
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
11
|
-
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
12
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
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]
|
@@ -19,12 +19,12 @@ Name | Type | Description | Notes
|
|
19
19
|
```ruby
|
20
20
|
require 'PulpContainerClient'
|
21
21
|
|
22
|
-
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(
|
22
|
+
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(pulp_created: null,
|
23
|
+
base_path: null,
|
24
|
+
repository: null,
|
25
|
+
name: null,
|
23
26
|
pulp_href: null,
|
24
27
|
content_guard: null,
|
25
|
-
name: null,
|
26
|
-
base_path: null,
|
27
|
-
pulp_created: null,
|
28
28
|
repository_version: null,
|
29
29
|
registry_path: null,
|
30
30
|
namespace: null)
|
@@ -4,10 +4,10 @@
|
|
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]
|
7
8
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
8
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [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
|
@@ -15,10 +15,10 @@ Name | Type | Description | Notes
|
|
15
15
|
```ruby
|
16
16
|
require 'PulpContainerClient'
|
17
17
|
|
18
|
-
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(
|
19
|
-
|
18
|
+
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(base_path: null,
|
19
|
+
repository: null,
|
20
20
|
name: null,
|
21
|
-
|
21
|
+
content_guard: null,
|
22
22
|
repository_version: null)
|
23
23
|
```
|
24
24
|
|
@@ -15,17 +15,17 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class ContainerContainerDistribution
|
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
|
+
|
18
21
|
# The latest RepositoryVersion for this Repository will be served.
|
19
22
|
attr_accessor :repository
|
20
23
|
|
21
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
22
|
-
attr_accessor :content_guard
|
23
|
-
|
24
24
|
# A unique name. Ex, `rawhide` and `stable`.
|
25
25
|
attr_accessor :name
|
26
26
|
|
27
|
-
#
|
28
|
-
attr_accessor :
|
27
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
28
|
+
attr_accessor :content_guard
|
29
29
|
|
30
30
|
# RepositoryVersion to be served
|
31
31
|
attr_accessor :repository_version
|
@@ -33,10 +33,10 @@ module PulpContainerClient
|
|
33
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
34
34
|
def self.attribute_map
|
35
35
|
{
|
36
|
+
:'base_path' => :'base_path',
|
36
37
|
:'repository' => :'repository',
|
37
|
-
:'content_guard' => :'content_guard',
|
38
38
|
:'name' => :'name',
|
39
|
-
:'
|
39
|
+
:'content_guard' => :'content_guard',
|
40
40
|
:'repository_version' => :'repository_version'
|
41
41
|
}
|
42
42
|
end
|
@@ -44,10 +44,10 @@ module PulpContainerClient
|
|
44
44
|
# Attribute type mapping.
|
45
45
|
def self.openapi_types
|
46
46
|
{
|
47
|
+
:'base_path' => :'String',
|
47
48
|
:'repository' => :'String',
|
48
|
-
:'content_guard' => :'String',
|
49
49
|
:'name' => :'String',
|
50
|
-
:'
|
50
|
+
:'content_guard' => :'String',
|
51
51
|
:'repository_version' => :'String'
|
52
52
|
}
|
53
53
|
end
|
@@ -75,20 +75,20 @@ module PulpContainerClient
|
|
75
75
|
h[k.to_sym] = v
|
76
76
|
}
|
77
77
|
|
78
|
-
if attributes.key?(:'
|
79
|
-
self.
|
78
|
+
if attributes.key?(:'base_path')
|
79
|
+
self.base_path = attributes[:'base_path']
|
80
80
|
end
|
81
81
|
|
82
|
-
if attributes.key?(:'
|
83
|
-
self.
|
82
|
+
if attributes.key?(:'repository')
|
83
|
+
self.repository = attributes[:'repository']
|
84
84
|
end
|
85
85
|
|
86
86
|
if attributes.key?(:'name')
|
87
87
|
self.name = attributes[:'name']
|
88
88
|
end
|
89
89
|
|
90
|
-
if attributes.key?(:'
|
91
|
-
self.
|
90
|
+
if attributes.key?(:'content_guard')
|
91
|
+
self.content_guard = attributes[:'content_guard']
|
92
92
|
end
|
93
93
|
|
94
94
|
if attributes.key?(:'repository_version')
|
@@ -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 @name.nil?
|
104
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
105
|
-
end
|
106
|
-
|
107
103
|
if @base_path.nil?
|
108
104
|
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
109
105
|
end
|
110
106
|
|
107
|
+
if @name.nil?
|
108
|
+
invalid_properties.push('invalid value for "name", name 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 @name.nil?
|
118
117
|
return false if @base_path.nil?
|
118
|
+
return false if @name.nil?
|
119
119
|
true
|
120
120
|
end
|
121
121
|
|
@@ -124,10 +124,10 @@ module PulpContainerClient
|
|
124
124
|
def ==(o)
|
125
125
|
return true if self.equal?(o)
|
126
126
|
self.class == o.class &&
|
127
|
+
base_path == o.base_path &&
|
127
128
|
repository == o.repository &&
|
128
|
-
content_guard == o.content_guard &&
|
129
129
|
name == o.name &&
|
130
|
-
|
130
|
+
content_guard == o.content_guard &&
|
131
131
|
repository_version == o.repository_version
|
132
132
|
end
|
133
133
|
|
@@ -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
|
+
[base_path, repository, name, content_guard, repository_version].hash
|
144
144
|
end
|
145
145
|
|
146
146
|
# Builds the object from hash
|
@@ -15,22 +15,22 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class ContainerContainerDistributionResponse
|
18
|
-
#
|
19
|
-
attr_accessor :
|
18
|
+
# Timestamp of creation.
|
19
|
+
attr_accessor :pulp_created
|
20
20
|
|
21
|
-
|
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
|
22
23
|
|
23
|
-
#
|
24
|
-
attr_accessor :
|
24
|
+
# The latest RepositoryVersion for this Repository will be served.
|
25
|
+
attr_accessor :repository
|
25
26
|
|
26
27
|
# A unique name. Ex, `rawhide` and `stable`.
|
27
28
|
attr_accessor :name
|
28
29
|
|
29
|
-
|
30
|
-
attr_accessor :base_path
|
30
|
+
attr_accessor :pulp_href
|
31
31
|
|
32
|
-
#
|
33
|
-
attr_accessor :
|
32
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
33
|
+
attr_accessor :content_guard
|
34
34
|
|
35
35
|
# RepositoryVersion to be served
|
36
36
|
attr_accessor :repository_version
|
@@ -44,12 +44,12 @@ module PulpContainerClient
|
|
44
44
|
# Attribute mapping from ruby-style variable name to JSON key.
|
45
45
|
def self.attribute_map
|
46
46
|
{
|
47
|
+
:'pulp_created' => :'pulp_created',
|
48
|
+
:'base_path' => :'base_path',
|
47
49
|
:'repository' => :'repository',
|
50
|
+
:'name' => :'name',
|
48
51
|
:'pulp_href' => :'pulp_href',
|
49
52
|
:'content_guard' => :'content_guard',
|
50
|
-
:'name' => :'name',
|
51
|
-
:'base_path' => :'base_path',
|
52
|
-
:'pulp_created' => :'pulp_created',
|
53
53
|
:'repository_version' => :'repository_version',
|
54
54
|
:'registry_path' => :'registry_path',
|
55
55
|
:'namespace' => :'namespace'
|
@@ -59,12 +59,12 @@ module PulpContainerClient
|
|
59
59
|
# Attribute type mapping.
|
60
60
|
def self.openapi_types
|
61
61
|
{
|
62
|
+
:'pulp_created' => :'DateTime',
|
63
|
+
:'base_path' => :'String',
|
62
64
|
:'repository' => :'String',
|
65
|
+
:'name' => :'String',
|
63
66
|
:'pulp_href' => :'String',
|
64
67
|
:'content_guard' => :'String',
|
65
|
-
:'name' => :'String',
|
66
|
-
:'base_path' => :'String',
|
67
|
-
:'pulp_created' => :'DateTime',
|
68
68
|
:'repository_version' => :'String',
|
69
69
|
:'registry_path' => :'String',
|
70
70
|
:'namespace' => :'String'
|
@@ -94,28 +94,28 @@ module PulpContainerClient
|
|
94
94
|
h[k.to_sym] = v
|
95
95
|
}
|
96
96
|
|
97
|
-
if attributes.key?(:'
|
98
|
-
self.
|
97
|
+
if attributes.key?(:'pulp_created')
|
98
|
+
self.pulp_created = attributes[:'pulp_created']
|
99
99
|
end
|
100
100
|
|
101
|
-
if attributes.key?(:'
|
102
|
-
self.
|
101
|
+
if attributes.key?(:'base_path')
|
102
|
+
self.base_path = attributes[:'base_path']
|
103
103
|
end
|
104
104
|
|
105
|
-
if attributes.key?(:'
|
106
|
-
self.
|
105
|
+
if attributes.key?(:'repository')
|
106
|
+
self.repository = attributes[:'repository']
|
107
107
|
end
|
108
108
|
|
109
109
|
if attributes.key?(:'name')
|
110
110
|
self.name = attributes[:'name']
|
111
111
|
end
|
112
112
|
|
113
|
-
if attributes.key?(:'
|
114
|
-
self.
|
113
|
+
if attributes.key?(:'pulp_href')
|
114
|
+
self.pulp_href = attributes[:'pulp_href']
|
115
115
|
end
|
116
116
|
|
117
|
-
if attributes.key?(:'
|
118
|
-
self.
|
117
|
+
if attributes.key?(:'content_guard')
|
118
|
+
self.content_guard = attributes[:'content_guard']
|
119
119
|
end
|
120
120
|
|
121
121
|
if attributes.key?(:'repository_version')
|
@@ -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 @name.nil?
|
139
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
140
|
-
end
|
141
|
-
|
142
138
|
if @base_path.nil?
|
143
139
|
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
144
140
|
end
|
145
141
|
|
142
|
+
if @name.nil?
|
143
|
+
invalid_properties.push('invalid value for "name", name 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 @name.nil?
|
153
152
|
return false if @base_path.nil?
|
153
|
+
return false if @name.nil?
|
154
154
|
true
|
155
155
|
end
|
156
156
|
|
@@ -159,12 +159,12 @@ module PulpContainerClient
|
|
159
159
|
def ==(o)
|
160
160
|
return true if self.equal?(o)
|
161
161
|
self.class == o.class &&
|
162
|
+
pulp_created == o.pulp_created &&
|
163
|
+
base_path == o.base_path &&
|
162
164
|
repository == o.repository &&
|
165
|
+
name == o.name &&
|
163
166
|
pulp_href == o.pulp_href &&
|
164
167
|
content_guard == o.content_guard &&
|
165
|
-
name == o.name &&
|
166
|
-
base_path == o.base_path &&
|
167
|
-
pulp_created == o.pulp_created &&
|
168
168
|
repository_version == o.repository_version &&
|
169
169
|
registry_path == o.registry_path &&
|
170
170
|
namespace == o.namespace
|
@@ -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, base_path, repository, name, pulp_href, content_guard, repository_version, registry_path, namespace].hash
|
183
183
|
end
|
184
184
|
|
185
185
|
# Builds the object from hash
|
@@ -15,17 +15,17 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class PatchedcontainerContainerDistribution
|
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
|
+
|
18
21
|
# The latest RepositoryVersion for this Repository will be served.
|
19
22
|
attr_accessor :repository
|
20
23
|
|
21
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
22
|
-
attr_accessor :content_guard
|
23
|
-
|
24
24
|
# A unique name. Ex, `rawhide` and `stable`.
|
25
25
|
attr_accessor :name
|
26
26
|
|
27
|
-
#
|
28
|
-
attr_accessor :
|
27
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
28
|
+
attr_accessor :content_guard
|
29
29
|
|
30
30
|
# RepositoryVersion to be served
|
31
31
|
attr_accessor :repository_version
|
@@ -33,10 +33,10 @@ module PulpContainerClient
|
|
33
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
34
34
|
def self.attribute_map
|
35
35
|
{
|
36
|
+
:'base_path' => :'base_path',
|
36
37
|
:'repository' => :'repository',
|
37
|
-
:'content_guard' => :'content_guard',
|
38
38
|
:'name' => :'name',
|
39
|
-
:'
|
39
|
+
:'content_guard' => :'content_guard',
|
40
40
|
:'repository_version' => :'repository_version'
|
41
41
|
}
|
42
42
|
end
|
@@ -44,10 +44,10 @@ module PulpContainerClient
|
|
44
44
|
# Attribute type mapping.
|
45
45
|
def self.openapi_types
|
46
46
|
{
|
47
|
+
:'base_path' => :'String',
|
47
48
|
:'repository' => :'String',
|
48
|
-
:'content_guard' => :'String',
|
49
49
|
:'name' => :'String',
|
50
|
-
:'
|
50
|
+
:'content_guard' => :'String',
|
51
51
|
:'repository_version' => :'String'
|
52
52
|
}
|
53
53
|
end
|
@@ -75,20 +75,20 @@ module PulpContainerClient
|
|
75
75
|
h[k.to_sym] = v
|
76
76
|
}
|
77
77
|
|
78
|
-
if attributes.key?(:'
|
79
|
-
self.
|
78
|
+
if attributes.key?(:'base_path')
|
79
|
+
self.base_path = attributes[:'base_path']
|
80
80
|
end
|
81
81
|
|
82
|
-
if attributes.key?(:'
|
83
|
-
self.
|
82
|
+
if attributes.key?(:'repository')
|
83
|
+
self.repository = attributes[:'repository']
|
84
84
|
end
|
85
85
|
|
86
86
|
if attributes.key?(:'name')
|
87
87
|
self.name = attributes[:'name']
|
88
88
|
end
|
89
89
|
|
90
|
-
if attributes.key?(:'
|
91
|
-
self.
|
90
|
+
if attributes.key?(:'content_guard')
|
91
|
+
self.content_guard = attributes[:'content_guard']
|
92
92
|
end
|
93
93
|
|
94
94
|
if attributes.key?(:'repository_version')
|
@@ -114,10 +114,10 @@ module PulpContainerClient
|
|
114
114
|
def ==(o)
|
115
115
|
return true if self.equal?(o)
|
116
116
|
self.class == o.class &&
|
117
|
+
base_path == o.base_path &&
|
117
118
|
repository == o.repository &&
|
118
|
-
content_guard == o.content_guard &&
|
119
119
|
name == o.name &&
|
120
|
-
|
120
|
+
content_guard == o.content_guard &&
|
121
121
|
repository_version == o.repository_version
|
122
122
|
end
|
123
123
|
|
@@ -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
|
+
[base_path, repository, name, content_guard, repository_version].hash
|
134
134
|
end
|
135
135
|
|
136
136
|
# Builds the object from hash
|
@@ -32,19 +32,19 @@ 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 "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
|
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,13 +56,13 @@ describe 'ContainerContainerDistributionResponse' do
|
|
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
|
63
63
|
end
|
64
64
|
|
65
|
-
describe 'test attribute "
|
65
|
+
describe 'test attribute "content_guard"' do
|
66
66
|
it 'should work' do
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
68
|
end
|
@@ -32,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 "base_path"' 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
|
@@ -50,7 +50,7 @@ describe 'ContainerContainerDistribution' do
|
|
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
|
@@ -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 "base_path"' 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
|
@@ -50,7 +50,7 @@ describe 'PatchedcontainerContainerDistribution' do
|
|
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
|
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.dev01611288388
|
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-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -264,58 +264,58 @@ signing_key:
|
|
264
264
|
specification_version: 4
|
265
265
|
summary: Pulp 3 API Ruby Gem
|
266
266
|
test_files:
|
267
|
-
- spec/api/
|
267
|
+
- spec/api/content_blobs_api_spec.rb
|
268
268
|
- spec/api/distributions_container_api_spec.rb
|
269
|
-
- spec/api/
|
269
|
+
- spec/api/content_manifests_api_spec.rb
|
270
|
+
- spec/api/repositories_container_versions_api_spec.rb
|
270
271
|
- spec/api/content_tags_api_spec.rb
|
272
|
+
- spec/api/pulp_container_namespaces_api_spec.rb
|
273
|
+
- spec/api/remotes_container_api_spec.rb
|
271
274
|
- spec/api/repositories_container_api_spec.rb
|
272
|
-
- spec/api/
|
275
|
+
- spec/api/repositories_container_push_api_spec.rb
|
273
276
|
- spec/api/token_api_spec.rb
|
274
|
-
- spec/api/content_blobs_api_spec.rb
|
275
|
-
- spec/api/pulp_container_namespaces_api_spec.rb
|
276
277
|
- spec/api/contentguards_content_redirect_api_spec.rb
|
277
|
-
- spec/api/content_manifests_api_spec.rb
|
278
278
|
- spec/api_client_spec.rb
|
279
279
|
- spec/configuration_spec.rb
|
280
|
-
- spec/models/
|
281
|
-
- spec/models/container_container_repository_response_spec.rb
|
280
|
+
- spec/models/content_summary_spec.rb
|
282
281
|
- spec/models/container_tag_response_spec.rb
|
283
|
-
- spec/models/
|
284
|
-
- spec/models/
|
285
|
-
- spec/models/
|
286
|
-
- spec/models/
|
282
|
+
- spec/models/paginatedcontainer_container_namespace_response_list_spec.rb
|
283
|
+
- spec/models/container_container_namespace_response_spec.rb
|
284
|
+
- spec/models/repository_version_spec.rb
|
285
|
+
- spec/models/content_summary_response_spec.rb
|
286
|
+
- spec/models/un_tag_image_spec.rb
|
287
|
+
- spec/models/patchedcontainer_container_distribution_spec.rb
|
287
288
|
- spec/models/paginatedcontainer_content_redirect_content_guard_response_list_spec.rb
|
288
|
-
- spec/models/
|
289
|
-
- spec/models/policy_enum_spec.rb
|
290
|
-
- spec/models/container_container_push_repository_response_spec.rb
|
289
|
+
- spec/models/patchedcontainer_container_remote_spec.rb
|
291
290
|
- spec/models/container_container_remote_spec.rb
|
292
|
-
- spec/models/manifest_copy_spec.rb
|
293
|
-
- spec/models/content_summary_response_spec.rb
|
294
|
-
- spec/models/paginatedcontainer_container_namespace_response_list_spec.rb
|
295
|
-
- spec/models/container_blob_response_spec.rb
|
296
|
-
- spec/models/paginatedcontainer_container_repository_response_list_spec.rb
|
297
|
-
- spec/models/container_container_distribution_spec.rb
|
298
291
|
- spec/models/container_container_distribution_response_spec.rb
|
299
|
-
- spec/models/
|
300
|
-
- spec/models/
|
301
|
-
- spec/models/container_content_redirect_content_guard_response_spec.rb
|
302
|
-
- spec/models/content_summary_spec.rb
|
292
|
+
- spec/models/paginatedcontainer_manifest_response_list_spec.rb
|
293
|
+
- spec/models/container_container_push_repository_response_spec.rb
|
303
294
|
- spec/models/repository_version_response_spec.rb
|
304
|
-
- spec/models/
|
305
|
-
- spec/models/
|
306
|
-
- spec/models/
|
295
|
+
- spec/models/patchedcontainer_content_redirect_content_guard_spec.rb
|
296
|
+
- spec/models/paginatedcontainer_container_remote_response_list_spec.rb
|
297
|
+
- spec/models/paginatedcontainer_container_repository_response_list_spec.rb
|
307
298
|
- spec/models/paginatedcontainer_container_distribution_response_list_spec.rb
|
308
|
-
- spec/models/container_container_namespace_spec.rb
|
309
299
|
- spec/models/repository_sync_url_spec.rb
|
300
|
+
- spec/models/paginatedcontainer_container_push_repository_response_list_spec.rb
|
301
|
+
- spec/models/container_container_repository_response_spec.rb
|
302
|
+
- spec/models/patchedcontainer_container_repository_spec.rb
|
303
|
+
- spec/models/container_blob_response_spec.rb
|
304
|
+
- spec/models/tag_copy_spec.rb
|
310
305
|
- spec/models/async_operation_response_spec.rb
|
306
|
+
- spec/models/policy_enum_spec.rb
|
307
|
+
- spec/models/manifest_copy_spec.rb
|
308
|
+
- spec/models/container_container_repository_spec.rb
|
311
309
|
- spec/models/recursive_manage_spec.rb
|
312
|
-
- spec/models/paginatedcontainer_manifest_response_list_spec.rb
|
313
|
-
- spec/models/patchedcontainer_container_distribution_spec.rb
|
314
|
-
- spec/models/container_manifest_response_spec.rb
|
315
|
-
- spec/models/paginatedcontainer_container_push_repository_response_list_spec.rb
|
316
|
-
- spec/models/container_content_redirect_content_guard_spec.rb
|
317
310
|
- spec/models/paginatedcontainer_tag_response_list_spec.rb
|
318
|
-
- spec/models/
|
311
|
+
- spec/models/container_content_redirect_content_guard_response_spec.rb
|
319
312
|
- spec/models/oci_build_image_spec.rb
|
320
|
-
- spec/models/
|
313
|
+
- spec/models/tag_image_spec.rb
|
314
|
+
- spec/models/container_content_redirect_content_guard_spec.rb
|
315
|
+
- spec/models/container_container_remote_response_spec.rb
|
316
|
+
- spec/models/container_manifest_response_spec.rb
|
317
|
+
- spec/models/container_container_namespace_spec.rb
|
318
|
+
- spec/models/paginatedcontainer_blob_response_list_spec.rb
|
319
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
320
|
+
- spec/models/container_container_distribution_spec.rb
|
321
321
|
- spec/spec_helper.rb
|