pulp_container_client 2.3.0.dev01611977129 → 2.3.0.dev01612063510
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 +7 -7
- data/docs/ContainerContainerDistributionResponse.md +10 -10
- data/docs/PatchedcontainerContainerDistribution.md +7 -7
- data/lib/pulp_container_client/models/container_container_distribution.rb +33 -33
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +46 -46
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +28 -28
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +8 -8
- data/spec/models/container_container_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9eb456d0ae802813bbfe45e0cd12798996516c2a725e23172db54681b80f697a
|
4
|
+
data.tar.gz: 426c5936ff8bae7a58fa534c9b1f0c563558a337173be2e40f1d9bc29dd2f639
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe43660744458f2670a3c175aa277f905530649e90a1da647f6e0f41969418a59b76f3c4855433710b265c10ea19f062c50f5d1bb3950ac16cc16cc5e0af3dfe
|
7
|
+
data.tar.gz: cec7f3b1a54e45b307c2bc1b12796c2c58d807728f9fdc41c464372b41857580bc6aba7895c8407552290986310df8e0a57925e5ce6ca76e77d1b2f50916315a
|
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.dev01612063510
|
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.dev01612063510.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.dev01612063510.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.dev01612063510'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -4,24 +4,24 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
7
|
+
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
8
8
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
9
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
10
9
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
10
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
11
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
11
12
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
12
|
-
**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\") |
|
13
13
|
|
14
14
|
## Code Sample
|
15
15
|
|
16
16
|
```ruby
|
17
17
|
require 'PulpContainerClient'
|
18
18
|
|
19
|
-
instance = PulpContainerClient::ContainerContainerDistribution.new(
|
19
|
+
instance = PulpContainerClient::ContainerContainerDistribution.new(base_path: null,
|
20
20
|
repository: null,
|
21
|
-
content_guard: null,
|
22
21
|
repository_version: null,
|
23
|
-
|
24
|
-
|
22
|
+
content_guard: null,
|
23
|
+
name: null,
|
24
|
+
pulp_labels: 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`. |
|
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\") |
|
9
8
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
10
|
-
**
|
9
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
11
10
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
11
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
12
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
13
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
12
14
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
13
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
14
|
-
**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\") |
|
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,
|
23
|
+
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(base_path: null,
|
25
24
|
repository: null,
|
26
|
-
|
25
|
+
pulp_created: null,
|
27
26
|
repository_version: null,
|
27
|
+
content_guard: null,
|
28
|
+
pulp_href: null,
|
29
|
+
name: null,
|
28
30
|
pulp_labels: null,
|
29
|
-
pulp_created: null,
|
30
|
-
base_path: 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
|
-
**
|
7
|
+
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional]
|
8
8
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
9
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
10
9
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
10
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
11
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
11
12
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
12
|
-
**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]
|
13
13
|
|
14
14
|
## Code Sample
|
15
15
|
|
16
16
|
```ruby
|
17
17
|
require 'PulpContainerClient'
|
18
18
|
|
19
|
-
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(
|
19
|
+
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(base_path: null,
|
20
20
|
repository: null,
|
21
|
-
content_guard: null,
|
22
21
|
repository_version: null,
|
23
|
-
|
24
|
-
|
22
|
+
content_guard: null,
|
23
|
+
name: null,
|
24
|
+
pulp_labels: null)
|
25
25
|
```
|
26
26
|
|
27
27
|
|
@@ -15,44 +15,44 @@ 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
21
|
# The latest RepositoryVersion for this Repository will be served.
|
22
22
|
attr_accessor :repository
|
23
23
|
|
24
|
+
# RepositoryVersion to be served
|
25
|
+
attr_accessor :repository_version
|
26
|
+
|
24
27
|
# An optional content-guard. If none is specified, a default one will be used.
|
25
28
|
attr_accessor :content_guard
|
26
29
|
|
27
|
-
#
|
28
|
-
attr_accessor :
|
30
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
31
|
+
attr_accessor :name
|
29
32
|
|
30
33
|
attr_accessor :pulp_labels
|
31
34
|
|
32
|
-
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
33
|
-
attr_accessor :base_path
|
34
|
-
|
35
35
|
# Attribute mapping from ruby-style variable name to JSON key.
|
36
36
|
def self.attribute_map
|
37
37
|
{
|
38
|
-
:'
|
38
|
+
:'base_path' => :'base_path',
|
39
39
|
:'repository' => :'repository',
|
40
|
-
:'content_guard' => :'content_guard',
|
41
40
|
:'repository_version' => :'repository_version',
|
42
|
-
:'
|
43
|
-
:'
|
41
|
+
:'content_guard' => :'content_guard',
|
42
|
+
:'name' => :'name',
|
43
|
+
:'pulp_labels' => :'pulp_labels'
|
44
44
|
}
|
45
45
|
end
|
46
46
|
|
47
47
|
# Attribute type mapping.
|
48
48
|
def self.openapi_types
|
49
49
|
{
|
50
|
-
:'
|
50
|
+
:'base_path' => :'String',
|
51
51
|
:'repository' => :'String',
|
52
|
-
:'content_guard' => :'String',
|
53
52
|
:'repository_version' => :'String',
|
54
|
-
:'
|
55
|
-
:'
|
53
|
+
:'content_guard' => :'String',
|
54
|
+
:'name' => :'String',
|
55
|
+
:'pulp_labels' => :'Object'
|
56
56
|
}
|
57
57
|
end
|
58
58
|
|
@@ -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
86
|
if attributes.key?(:'repository')
|
87
87
|
self.repository = attributes[:'repository']
|
88
88
|
end
|
89
89
|
|
90
|
+
if attributes.key?(:'repository_version')
|
91
|
+
self.repository_version = attributes[:'repository_version']
|
92
|
+
end
|
93
|
+
|
90
94
|
if attributes.key?(:'content_guard')
|
91
95
|
self.content_guard = attributes[:'content_guard']
|
92
96
|
end
|
93
97
|
|
94
|
-
if attributes.key?(:'
|
95
|
-
self.
|
98
|
+
if attributes.key?(:'name')
|
99
|
+
self.name = attributes[:'name']
|
96
100
|
end
|
97
101
|
|
98
102
|
if attributes.key?(:'pulp_labels')
|
99
103
|
self.pulp_labels = attributes[:'pulp_labels']
|
100
104
|
end
|
101
|
-
|
102
|
-
if attributes.key?(:'base_path')
|
103
|
-
self.base_path = attributes[:'base_path']
|
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
|
-
|
135
|
+
base_path == o.base_path &&
|
136
136
|
repository == o.repository &&
|
137
|
-
content_guard == o.content_guard &&
|
138
137
|
repository_version == o.repository_version &&
|
139
|
-
|
140
|
-
|
138
|
+
content_guard == o.content_guard &&
|
139
|
+
name == o.name &&
|
140
|
+
pulp_labels == o.pulp_labels
|
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, repository, repository_version, content_guard, name, pulp_labels].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
|
-
|
20
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
21
|
-
attr_accessor :name
|
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
|
22
20
|
|
23
21
|
# The latest RepositoryVersion for this Repository will be served.
|
24
22
|
attr_accessor :repository
|
25
23
|
|
26
|
-
#
|
27
|
-
attr_accessor :
|
24
|
+
# Timestamp of creation.
|
25
|
+
attr_accessor :pulp_created
|
28
26
|
|
29
27
|
# RepositoryVersion to be served
|
30
28
|
attr_accessor :repository_version
|
31
29
|
|
32
|
-
|
30
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
31
|
+
attr_accessor :content_guard
|
33
32
|
|
34
|
-
|
35
|
-
attr_accessor :pulp_created
|
33
|
+
attr_accessor :pulp_href
|
36
34
|
|
37
|
-
#
|
38
|
-
attr_accessor :
|
35
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
36
|
+
attr_accessor :name
|
37
|
+
|
38
|
+
attr_accessor :pulp_labels
|
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',
|
49
|
+
:'base_path' => :'base_path',
|
51
50
|
:'repository' => :'repository',
|
52
|
-
:'
|
51
|
+
:'pulp_created' => :'pulp_created',
|
53
52
|
:'repository_version' => :'repository_version',
|
53
|
+
:'content_guard' => :'content_guard',
|
54
|
+
:'pulp_href' => :'pulp_href',
|
55
|
+
:'name' => :'name',
|
54
56
|
:'pulp_labels' => :'pulp_labels',
|
55
|
-
:'pulp_created' => :'pulp_created',
|
56
|
-
:'base_path' => :'base_path',
|
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',
|
65
|
+
:'base_path' => :'String',
|
67
66
|
:'repository' => :'String',
|
68
|
-
:'
|
67
|
+
:'pulp_created' => :'DateTime',
|
69
68
|
:'repository_version' => :'String',
|
69
|
+
:'content_guard' => :'String',
|
70
|
+
:'pulp_href' => :'String',
|
71
|
+
:'name' => :'String',
|
70
72
|
:'pulp_labels' => :'Object',
|
71
|
-
:'pulp_created' => :'DateTime',
|
72
|
-
:'base_path' => :'String',
|
73
73
|
:'registry_path' => :'String',
|
74
74
|
:'namespace' => :'String'
|
75
75
|
}
|
@@ -98,36 +98,36 @@ module PulpContainerClient
|
|
98
98
|
h[k.to_sym] = v
|
99
99
|
}
|
100
100
|
|
101
|
-
if attributes.key?(:'
|
102
|
-
self.
|
103
|
-
end
|
104
|
-
|
105
|
-
if attributes.key?(:'name')
|
106
|
-
self.name = attributes[:'name']
|
101
|
+
if attributes.key?(:'base_path')
|
102
|
+
self.base_path = attributes[:'base_path']
|
107
103
|
end
|
108
104
|
|
109
105
|
if attributes.key?(:'repository')
|
110
106
|
self.repository = attributes[:'repository']
|
111
107
|
end
|
112
108
|
|
113
|
-
if attributes.key?(:'
|
114
|
-
self.
|
109
|
+
if attributes.key?(:'pulp_created')
|
110
|
+
self.pulp_created = attributes[:'pulp_created']
|
115
111
|
end
|
116
112
|
|
117
113
|
if attributes.key?(:'repository_version')
|
118
114
|
self.repository_version = attributes[:'repository_version']
|
119
115
|
end
|
120
116
|
|
121
|
-
if attributes.key?(:'
|
122
|
-
self.
|
117
|
+
if attributes.key?(:'content_guard')
|
118
|
+
self.content_guard = attributes[:'content_guard']
|
123
119
|
end
|
124
120
|
|
125
|
-
if attributes.key?(:'
|
126
|
-
self.
|
121
|
+
if attributes.key?(:'pulp_href')
|
122
|
+
self.pulp_href = attributes[:'pulp_href']
|
127
123
|
end
|
128
124
|
|
129
|
-
if attributes.key?(:'
|
130
|
-
self.
|
125
|
+
if attributes.key?(:'name')
|
126
|
+
self.name = attributes[:'name']
|
127
|
+
end
|
128
|
+
|
129
|
+
if attributes.key?(:'pulp_labels')
|
130
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
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 &&
|
170
|
+
base_path == o.base_path &&
|
172
171
|
repository == o.repository &&
|
173
|
-
|
172
|
+
pulp_created == o.pulp_created &&
|
174
173
|
repository_version == o.repository_version &&
|
174
|
+
content_guard == o.content_guard &&
|
175
|
+
pulp_href == o.pulp_href &&
|
176
|
+
name == o.name &&
|
175
177
|
pulp_labels == o.pulp_labels &&
|
176
|
-
pulp_created == o.pulp_created &&
|
177
|
-
base_path == o.base_path &&
|
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
|
+
[base_path, repository, pulp_created, repository_version, content_guard, pulp_href, name, pulp_labels, registry_path, namespace].hash
|
192
192
|
end
|
193
193
|
|
194
194
|
# Builds the object from hash
|
@@ -15,44 +15,44 @@ 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
21
|
# The latest RepositoryVersion for this Repository will be served.
|
22
22
|
attr_accessor :repository
|
23
23
|
|
24
|
+
# RepositoryVersion to be served
|
25
|
+
attr_accessor :repository_version
|
26
|
+
|
24
27
|
# An optional content-guard. If none is specified, a default one will be used.
|
25
28
|
attr_accessor :content_guard
|
26
29
|
|
27
|
-
#
|
28
|
-
attr_accessor :
|
30
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
31
|
+
attr_accessor :name
|
29
32
|
|
30
33
|
attr_accessor :pulp_labels
|
31
34
|
|
32
|
-
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
33
|
-
attr_accessor :base_path
|
34
|
-
|
35
35
|
# Attribute mapping from ruby-style variable name to JSON key.
|
36
36
|
def self.attribute_map
|
37
37
|
{
|
38
|
-
:'
|
38
|
+
:'base_path' => :'base_path',
|
39
39
|
:'repository' => :'repository',
|
40
|
-
:'content_guard' => :'content_guard',
|
41
40
|
:'repository_version' => :'repository_version',
|
42
|
-
:'
|
43
|
-
:'
|
41
|
+
:'content_guard' => :'content_guard',
|
42
|
+
:'name' => :'name',
|
43
|
+
:'pulp_labels' => :'pulp_labels'
|
44
44
|
}
|
45
45
|
end
|
46
46
|
|
47
47
|
# Attribute type mapping.
|
48
48
|
def self.openapi_types
|
49
49
|
{
|
50
|
-
:'
|
50
|
+
:'base_path' => :'String',
|
51
51
|
:'repository' => :'String',
|
52
|
-
:'content_guard' => :'String',
|
53
52
|
:'repository_version' => :'String',
|
54
|
-
:'
|
55
|
-
:'
|
53
|
+
:'content_guard' => :'String',
|
54
|
+
:'name' => :'String',
|
55
|
+
:'pulp_labels' => :'Object'
|
56
56
|
}
|
57
57
|
end
|
58
58
|
|
@@ -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
86
|
if attributes.key?(:'repository')
|
87
87
|
self.repository = attributes[:'repository']
|
88
88
|
end
|
89
89
|
|
90
|
+
if attributes.key?(:'repository_version')
|
91
|
+
self.repository_version = attributes[:'repository_version']
|
92
|
+
end
|
93
|
+
|
90
94
|
if attributes.key?(:'content_guard')
|
91
95
|
self.content_guard = attributes[:'content_guard']
|
92
96
|
end
|
93
97
|
|
94
|
-
if attributes.key?(:'
|
95
|
-
self.
|
98
|
+
if attributes.key?(:'name')
|
99
|
+
self.name = attributes[:'name']
|
96
100
|
end
|
97
101
|
|
98
102
|
if attributes.key?(:'pulp_labels')
|
99
103
|
self.pulp_labels = attributes[:'pulp_labels']
|
100
104
|
end
|
101
|
-
|
102
|
-
if attributes.key?(:'base_path')
|
103
|
-
self.base_path = attributes[:'base_path']
|
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
|
-
|
125
|
+
base_path == o.base_path &&
|
126
126
|
repository == o.repository &&
|
127
|
-
content_guard == o.content_guard &&
|
128
127
|
repository_version == o.repository_version &&
|
129
|
-
|
130
|
-
|
128
|
+
content_guard == o.content_guard &&
|
129
|
+
name == o.name &&
|
130
|
+
pulp_labels == o.pulp_labels
|
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, repository, repository_version, content_guard, name, pulp_labels].hash
|
143
143
|
end
|
144
144
|
|
145
145
|
# Builds the object from hash
|
@@ -32,49 +32,49 @@ 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 "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
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "pulp_created"' do
|
48
48
|
it 'should work' do
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "repository_version"' do
|
54
54
|
it 'should work' do
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
describe 'test attribute "
|
59
|
+
describe 'test attribute "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 "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 "name"' 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
|
75
75
|
end
|
76
76
|
|
77
|
-
describe 'test attribute "
|
77
|
+
describe 'test attribute "pulp_labels"' 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,7 +32,7 @@ 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
|
@@ -44,25 +44,25 @@ describe 'ContainerContainerDistribution' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "repository_version"' 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 "name"' 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_labels"' 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,7 +32,7 @@ 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
|
@@ -44,25 +44,25 @@ describe 'PatchedcontainerContainerDistribution' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "repository_version"' 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 "name"' 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_labels"' 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.dev01612063510
|
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-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|