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