pulp_container_client 2.0.2 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContainerContainerDistribution.md +7 -7
- data/docs/ContainerContainerDistributionResponse.md +10 -10
- data/docs/PatchedcontainerContainerDistribution.md +7 -7
- data/lib/pulp_container_client/models/container_container_distribution.rb +35 -35
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +48 -48
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +30 -30
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b25fb470f71876178c4b0ad540e557a59e366c9e25d7252321c8a566f37baba
|
4
|
+
data.tar.gz: a41abfb800c24ddd16e0ca970b12ad7e08609b8af31272de721ba5ff928a1fba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f9bc7398e125db4172ca153bc4adb81708449cea983fa26084436e38070a155a37a885d8a9e1ba0ad573fc229ba82c1fbb1dda9a648321d7ae678abdd82ed3b
|
7
|
+
data.tar.gz: c9a353ad95b7d1708f5a8ebbab5fc7c18caf4a4f2c0e11850fd1f7b6efb326ab60e9492414518ae7ccd63c8727d4e223f6ad26cfabea94304600c207b27c25a0
|
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.0
|
10
|
+
- Package version: 2.1.0
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build pulp_container_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_container_client-2.0.
|
27
|
+
gem install ./pulp_container_client-2.1.0.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_container_client-2.0.
|
30
|
+
(for development, run `gem install --dev ./pulp_container_client-2.1.0.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'pulp_container_client', '~> 2.0
|
36
|
+
gem 'pulp_container_client', '~> 2.1.0'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -4,22 +4,22 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
8
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
9
|
-
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
10
7
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
11
8
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
9
|
+
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
10
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
11
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
12
12
|
|
13
13
|
## Code Sample
|
14
14
|
|
15
15
|
```ruby
|
16
16
|
require 'PulpContainerClient'
|
17
17
|
|
18
|
-
instance = PulpContainerClient::ContainerContainerDistribution.new(
|
19
|
-
|
18
|
+
instance = PulpContainerClient::ContainerContainerDistribution.new(name: null,
|
19
|
+
repository_version: null,
|
20
20
|
base_path: null,
|
21
|
-
|
22
|
-
|
21
|
+
repository: null,
|
22
|
+
content_guard: null)
|
23
23
|
```
|
24
24
|
|
25
25
|
|
@@ -4,13 +4,13 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
8
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
9
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
10
|
-
**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
|
-
**pulp_href** | **String** | | [optional] [readonly]
|
12
7
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
13
8
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
9
|
+
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
10
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
11
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
12
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
13
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
14
14
|
**registry_path** | **String** | The Registry hostame/name/ to use with docker pull command defined by this distribution. | [optional] [readonly]
|
15
15
|
|
16
16
|
## Code Sample
|
@@ -18,13 +18,13 @@ Name | Type | Description | Notes
|
|
18
18
|
```ruby
|
19
19
|
require 'PulpContainerClient'
|
20
20
|
|
21
|
-
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(
|
22
|
-
|
23
|
-
pulp_created: null,
|
21
|
+
instance = PulpContainerClient::ContainerContainerDistributionResponse.new(name: null,
|
22
|
+
repository_version: null,
|
24
23
|
base_path: null,
|
24
|
+
pulp_created: null,
|
25
|
+
repository: null,
|
26
|
+
content_guard: null,
|
25
27
|
pulp_href: null,
|
26
|
-
name: null,
|
27
|
-
repository_version: null,
|
28
28
|
registry_path: null)
|
29
29
|
```
|
30
30
|
|
@@ -4,22 +4,22 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
8
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
9
|
-
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional]
|
10
7
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
11
8
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
9
|
+
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional]
|
10
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
11
|
+
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
12
12
|
|
13
13
|
## Code Sample
|
14
14
|
|
15
15
|
```ruby
|
16
16
|
require 'PulpContainerClient'
|
17
17
|
|
18
|
-
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(
|
19
|
-
|
18
|
+
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(name: null,
|
19
|
+
repository_version: null,
|
20
20
|
base_path: null,
|
21
|
-
|
22
|
-
|
21
|
+
repository: null,
|
22
|
+
content_guard: null)
|
23
23
|
```
|
24
24
|
|
25
25
|
|
@@ -15,48 +15,48 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class ContainerContainerDistribution
|
18
|
-
#
|
19
|
-
attr_accessor :
|
18
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
19
|
+
attr_accessor :name
|
20
20
|
|
21
|
-
#
|
22
|
-
attr_accessor :
|
21
|
+
# RepositoryVersion to be served
|
22
|
+
attr_accessor :repository_version
|
23
23
|
|
24
24
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
25
25
|
attr_accessor :base_path
|
26
26
|
|
27
|
-
#
|
28
|
-
attr_accessor :
|
27
|
+
# The latest RepositoryVersion for this Repository will be served.
|
28
|
+
attr_accessor :repository
|
29
29
|
|
30
|
-
#
|
31
|
-
attr_accessor :
|
30
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
31
|
+
attr_accessor :content_guard
|
32
32
|
|
33
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
34
34
|
def self.attribute_map
|
35
35
|
{
|
36
|
-
:'content_guard' => :'content_guard',
|
37
|
-
:'repository' => :'repository',
|
38
|
-
:'base_path' => :'base_path',
|
39
36
|
:'name' => :'name',
|
40
|
-
:'repository_version' => :'repository_version'
|
37
|
+
:'repository_version' => :'repository_version',
|
38
|
+
:'base_path' => :'base_path',
|
39
|
+
:'repository' => :'repository',
|
40
|
+
:'content_guard' => :'content_guard'
|
41
41
|
}
|
42
42
|
end
|
43
43
|
|
44
44
|
# Attribute type mapping.
|
45
45
|
def self.openapi_types
|
46
46
|
{
|
47
|
-
:'content_guard' => :'String',
|
48
|
-
:'repository' => :'String',
|
49
|
-
:'base_path' => :'String',
|
50
47
|
:'name' => :'String',
|
51
|
-
:'repository_version' => :'String'
|
48
|
+
:'repository_version' => :'String',
|
49
|
+
:'base_path' => :'String',
|
50
|
+
:'repository' => :'String',
|
51
|
+
:'content_guard' => :'String'
|
52
52
|
}
|
53
53
|
end
|
54
54
|
|
55
55
|
# List of attributes with nullable: true
|
56
56
|
def self.openapi_nullable
|
57
57
|
Set.new([
|
58
|
+
:'repository_version',
|
58
59
|
:'repository',
|
59
|
-
:'repository_version'
|
60
60
|
])
|
61
61
|
end
|
62
62
|
|
@@ -75,24 +75,24 @@ module PulpContainerClient
|
|
75
75
|
h[k.to_sym] = v
|
76
76
|
}
|
77
77
|
|
78
|
-
if attributes.key?(:'
|
79
|
-
self.
|
78
|
+
if attributes.key?(:'name')
|
79
|
+
self.name = attributes[:'name']
|
80
80
|
end
|
81
81
|
|
82
|
-
if attributes.key?(:'
|
83
|
-
self.
|
82
|
+
if attributes.key?(:'repository_version')
|
83
|
+
self.repository_version = attributes[:'repository_version']
|
84
84
|
end
|
85
85
|
|
86
86
|
if attributes.key?(:'base_path')
|
87
87
|
self.base_path = attributes[:'base_path']
|
88
88
|
end
|
89
89
|
|
90
|
-
if attributes.key?(:'
|
91
|
-
self.
|
90
|
+
if attributes.key?(:'repository')
|
91
|
+
self.repository = attributes[:'repository']
|
92
92
|
end
|
93
93
|
|
94
|
-
if attributes.key?(:'
|
95
|
-
self.
|
94
|
+
if attributes.key?(:'content_guard')
|
95
|
+
self.content_guard = attributes[:'content_guard']
|
96
96
|
end
|
97
97
|
end
|
98
98
|
|
@@ -100,22 +100,22 @@ module PulpContainerClient
|
|
100
100
|
# @return Array for valid properties with the reasons
|
101
101
|
def list_invalid_properties
|
102
102
|
invalid_properties = Array.new
|
103
|
-
if @base_path.nil?
|
104
|
-
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
105
|
-
end
|
106
|
-
|
107
103
|
if @name.nil?
|
108
104
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
109
105
|
end
|
110
106
|
|
107
|
+
if @base_path.nil?
|
108
|
+
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
109
|
+
end
|
110
|
+
|
111
111
|
invalid_properties
|
112
112
|
end
|
113
113
|
|
114
114
|
# Check to see if the all the properties in the model are valid
|
115
115
|
# @return true if the model is valid
|
116
116
|
def valid?
|
117
|
-
return false if @base_path.nil?
|
118
117
|
return false if @name.nil?
|
118
|
+
return false if @base_path.nil?
|
119
119
|
true
|
120
120
|
end
|
121
121
|
|
@@ -124,11 +124,11 @@ module PulpContainerClient
|
|
124
124
|
def ==(o)
|
125
125
|
return true if self.equal?(o)
|
126
126
|
self.class == o.class &&
|
127
|
-
content_guard == o.content_guard &&
|
128
|
-
repository == o.repository &&
|
129
|
-
base_path == o.base_path &&
|
130
127
|
name == o.name &&
|
131
|
-
repository_version == o.repository_version
|
128
|
+
repository_version == o.repository_version &&
|
129
|
+
base_path == o.base_path &&
|
130
|
+
repository == o.repository &&
|
131
|
+
content_guard == o.content_guard
|
132
132
|
end
|
133
133
|
|
134
134
|
# @see the `==` method
|
@@ -140,7 +140,7 @@ module PulpContainerClient
|
|
140
140
|
# Calculates hash code according to all attributes.
|
141
141
|
# @return [Integer] Hash code
|
142
142
|
def hash
|
143
|
-
[
|
143
|
+
[name, repository_version, base_path, repository, content_guard].hash
|
144
144
|
end
|
145
145
|
|
146
146
|
# Builds the object from hash
|
@@ -15,25 +15,25 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class ContainerContainerDistributionResponse
|
18
|
-
#
|
19
|
-
attr_accessor :
|
20
|
-
|
21
|
-
# The latest RepositoryVersion for this Repository will be served.
|
22
|
-
attr_accessor :repository
|
18
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
19
|
+
attr_accessor :name
|
23
20
|
|
24
|
-
#
|
25
|
-
attr_accessor :
|
21
|
+
# RepositoryVersion to be served
|
22
|
+
attr_accessor :repository_version
|
26
23
|
|
27
24
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
28
25
|
attr_accessor :base_path
|
29
26
|
|
30
|
-
|
27
|
+
# Timestamp of creation.
|
28
|
+
attr_accessor :pulp_created
|
31
29
|
|
32
|
-
#
|
33
|
-
attr_accessor :
|
30
|
+
# The latest RepositoryVersion for this Repository will be served.
|
31
|
+
attr_accessor :repository
|
34
32
|
|
35
|
-
#
|
36
|
-
attr_accessor :
|
33
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
34
|
+
attr_accessor :content_guard
|
35
|
+
|
36
|
+
attr_accessor :pulp_href
|
37
37
|
|
38
38
|
# The Registry hostame/name/ to use with docker pull command defined by this distribution.
|
39
39
|
attr_accessor :registry_path
|
@@ -41,13 +41,13 @@ module PulpContainerClient
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
42
42
|
def self.attribute_map
|
43
43
|
{
|
44
|
-
:'content_guard' => :'content_guard',
|
45
|
-
:'repository' => :'repository',
|
46
|
-
:'pulp_created' => :'pulp_created',
|
47
|
-
:'base_path' => :'base_path',
|
48
|
-
:'pulp_href' => :'pulp_href',
|
49
44
|
:'name' => :'name',
|
50
45
|
:'repository_version' => :'repository_version',
|
46
|
+
:'base_path' => :'base_path',
|
47
|
+
:'pulp_created' => :'pulp_created',
|
48
|
+
:'repository' => :'repository',
|
49
|
+
:'content_guard' => :'content_guard',
|
50
|
+
:'pulp_href' => :'pulp_href',
|
51
51
|
:'registry_path' => :'registry_path'
|
52
52
|
}
|
53
53
|
end
|
@@ -55,13 +55,13 @@ module PulpContainerClient
|
|
55
55
|
# Attribute type mapping.
|
56
56
|
def self.openapi_types
|
57
57
|
{
|
58
|
-
:'content_guard' => :'String',
|
59
|
-
:'repository' => :'String',
|
60
|
-
:'pulp_created' => :'DateTime',
|
61
|
-
:'base_path' => :'String',
|
62
|
-
:'pulp_href' => :'String',
|
63
58
|
:'name' => :'String',
|
64
59
|
:'repository_version' => :'String',
|
60
|
+
:'base_path' => :'String',
|
61
|
+
:'pulp_created' => :'DateTime',
|
62
|
+
:'repository' => :'String',
|
63
|
+
:'content_guard' => :'String',
|
64
|
+
:'pulp_href' => :'String',
|
65
65
|
:'registry_path' => :'String'
|
66
66
|
}
|
67
67
|
end
|
@@ -69,8 +69,8 @@ module PulpContainerClient
|
|
69
69
|
# List of attributes with nullable: true
|
70
70
|
def self.openapi_nullable
|
71
71
|
Set.new([
|
72
|
-
:'repository',
|
73
72
|
:'repository_version',
|
73
|
+
:'repository',
|
74
74
|
])
|
75
75
|
end
|
76
76
|
|
@@ -89,32 +89,32 @@ module PulpContainerClient
|
|
89
89
|
h[k.to_sym] = v
|
90
90
|
}
|
91
91
|
|
92
|
-
if attributes.key?(:'
|
93
|
-
self.
|
94
|
-
end
|
95
|
-
|
96
|
-
if attributes.key?(:'repository')
|
97
|
-
self.repository = attributes[:'repository']
|
92
|
+
if attributes.key?(:'name')
|
93
|
+
self.name = attributes[:'name']
|
98
94
|
end
|
99
95
|
|
100
|
-
if attributes.key?(:'
|
101
|
-
self.
|
96
|
+
if attributes.key?(:'repository_version')
|
97
|
+
self.repository_version = attributes[:'repository_version']
|
102
98
|
end
|
103
99
|
|
104
100
|
if attributes.key?(:'base_path')
|
105
101
|
self.base_path = attributes[:'base_path']
|
106
102
|
end
|
107
103
|
|
108
|
-
if attributes.key?(:'
|
109
|
-
self.
|
104
|
+
if attributes.key?(:'pulp_created')
|
105
|
+
self.pulp_created = attributes[:'pulp_created']
|
110
106
|
end
|
111
107
|
|
112
|
-
if attributes.key?(:'
|
113
|
-
self.
|
108
|
+
if attributes.key?(:'repository')
|
109
|
+
self.repository = attributes[:'repository']
|
114
110
|
end
|
115
111
|
|
116
|
-
if attributes.key?(:'
|
117
|
-
self.
|
112
|
+
if attributes.key?(:'content_guard')
|
113
|
+
self.content_guard = attributes[:'content_guard']
|
114
|
+
end
|
115
|
+
|
116
|
+
if attributes.key?(:'pulp_href')
|
117
|
+
self.pulp_href = attributes[:'pulp_href']
|
118
118
|
end
|
119
119
|
|
120
120
|
if attributes.key?(:'registry_path')
|
@@ -126,22 +126,22 @@ module PulpContainerClient
|
|
126
126
|
# @return Array for valid properties with the reasons
|
127
127
|
def list_invalid_properties
|
128
128
|
invalid_properties = Array.new
|
129
|
-
if @base_path.nil?
|
130
|
-
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
131
|
-
end
|
132
|
-
|
133
129
|
if @name.nil?
|
134
130
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
135
131
|
end
|
136
132
|
|
133
|
+
if @base_path.nil?
|
134
|
+
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
135
|
+
end
|
136
|
+
|
137
137
|
invalid_properties
|
138
138
|
end
|
139
139
|
|
140
140
|
# Check to see if the all the properties in the model are valid
|
141
141
|
# @return true if the model is valid
|
142
142
|
def valid?
|
143
|
-
return false if @base_path.nil?
|
144
143
|
return false if @name.nil?
|
144
|
+
return false if @base_path.nil?
|
145
145
|
true
|
146
146
|
end
|
147
147
|
|
@@ -150,13 +150,13 @@ module PulpContainerClient
|
|
150
150
|
def ==(o)
|
151
151
|
return true if self.equal?(o)
|
152
152
|
self.class == o.class &&
|
153
|
-
content_guard == o.content_guard &&
|
154
|
-
repository == o.repository &&
|
155
|
-
pulp_created == o.pulp_created &&
|
156
|
-
base_path == o.base_path &&
|
157
|
-
pulp_href == o.pulp_href &&
|
158
153
|
name == o.name &&
|
159
154
|
repository_version == o.repository_version &&
|
155
|
+
base_path == o.base_path &&
|
156
|
+
pulp_created == o.pulp_created &&
|
157
|
+
repository == o.repository &&
|
158
|
+
content_guard == o.content_guard &&
|
159
|
+
pulp_href == o.pulp_href &&
|
160
160
|
registry_path == o.registry_path
|
161
161
|
end
|
162
162
|
|
@@ -169,7 +169,7 @@ module PulpContainerClient
|
|
169
169
|
# Calculates hash code according to all attributes.
|
170
170
|
# @return [Integer] Hash code
|
171
171
|
def hash
|
172
|
-
[
|
172
|
+
[name, repository_version, base_path, pulp_created, repository, content_guard, pulp_href, registry_path].hash
|
173
173
|
end
|
174
174
|
|
175
175
|
# Builds the object from hash
|
@@ -15,48 +15,48 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class PatchedcontainerContainerDistribution
|
18
|
-
#
|
19
|
-
attr_accessor :
|
18
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
19
|
+
attr_accessor :name
|
20
20
|
|
21
|
-
#
|
22
|
-
attr_accessor :
|
21
|
+
# RepositoryVersion to be served
|
22
|
+
attr_accessor :repository_version
|
23
23
|
|
24
24
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
25
25
|
attr_accessor :base_path
|
26
26
|
|
27
|
-
#
|
28
|
-
attr_accessor :
|
27
|
+
# The latest RepositoryVersion for this Repository will be served.
|
28
|
+
attr_accessor :repository
|
29
29
|
|
30
|
-
#
|
31
|
-
attr_accessor :
|
30
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
31
|
+
attr_accessor :content_guard
|
32
32
|
|
33
33
|
# Attribute mapping from ruby-style variable name to JSON key.
|
34
34
|
def self.attribute_map
|
35
35
|
{
|
36
|
-
:'content_guard' => :'content_guard',
|
37
|
-
:'repository' => :'repository',
|
38
|
-
:'base_path' => :'base_path',
|
39
36
|
:'name' => :'name',
|
40
|
-
:'repository_version' => :'repository_version'
|
37
|
+
:'repository_version' => :'repository_version',
|
38
|
+
:'base_path' => :'base_path',
|
39
|
+
:'repository' => :'repository',
|
40
|
+
:'content_guard' => :'content_guard'
|
41
41
|
}
|
42
42
|
end
|
43
43
|
|
44
44
|
# Attribute type mapping.
|
45
45
|
def self.openapi_types
|
46
46
|
{
|
47
|
-
:'content_guard' => :'String',
|
48
|
-
:'repository' => :'String',
|
49
|
-
:'base_path' => :'String',
|
50
47
|
:'name' => :'String',
|
51
|
-
:'repository_version' => :'String'
|
48
|
+
:'repository_version' => :'String',
|
49
|
+
:'base_path' => :'String',
|
50
|
+
:'repository' => :'String',
|
51
|
+
:'content_guard' => :'String'
|
52
52
|
}
|
53
53
|
end
|
54
54
|
|
55
55
|
# List of attributes with nullable: true
|
56
56
|
def self.openapi_nullable
|
57
57
|
Set.new([
|
58
|
+
:'repository_version',
|
58
59
|
:'repository',
|
59
|
-
:'repository_version'
|
60
60
|
])
|
61
61
|
end
|
62
62
|
|
@@ -75,24 +75,24 @@ module PulpContainerClient
|
|
75
75
|
h[k.to_sym] = v
|
76
76
|
}
|
77
77
|
|
78
|
-
if attributes.key?(:'
|
79
|
-
self.
|
78
|
+
if attributes.key?(:'name')
|
79
|
+
self.name = attributes[:'name']
|
80
80
|
end
|
81
81
|
|
82
|
-
if attributes.key?(:'
|
83
|
-
self.
|
82
|
+
if attributes.key?(:'repository_version')
|
83
|
+
self.repository_version = attributes[:'repository_version']
|
84
84
|
end
|
85
85
|
|
86
86
|
if attributes.key?(:'base_path')
|
87
87
|
self.base_path = attributes[:'base_path']
|
88
88
|
end
|
89
89
|
|
90
|
-
if attributes.key?(:'
|
91
|
-
self.
|
90
|
+
if attributes.key?(:'repository')
|
91
|
+
self.repository = attributes[:'repository']
|
92
92
|
end
|
93
93
|
|
94
|
-
if attributes.key?(:'
|
95
|
-
self.
|
94
|
+
if attributes.key?(:'content_guard')
|
95
|
+
self.content_guard = attributes[:'content_guard']
|
96
96
|
end
|
97
97
|
end
|
98
98
|
|
@@ -114,11 +114,11 @@ module PulpContainerClient
|
|
114
114
|
def ==(o)
|
115
115
|
return true if self.equal?(o)
|
116
116
|
self.class == o.class &&
|
117
|
-
content_guard == o.content_guard &&
|
118
|
-
repository == o.repository &&
|
119
|
-
base_path == o.base_path &&
|
120
117
|
name == o.name &&
|
121
|
-
repository_version == o.repository_version
|
118
|
+
repository_version == o.repository_version &&
|
119
|
+
base_path == o.base_path &&
|
120
|
+
repository == o.repository &&
|
121
|
+
content_guard == o.content_guard
|
122
122
|
end
|
123
123
|
|
124
124
|
# @see the `==` method
|
@@ -130,7 +130,7 @@ module PulpContainerClient
|
|
130
130
|
# Calculates hash code according to all attributes.
|
131
131
|
# @return [Integer] Hash code
|
132
132
|
def hash
|
133
|
-
[
|
133
|
+
[name, repository_version, base_path, repository, content_guard].hash
|
134
134
|
end
|
135
135
|
|
136
136
|
# Builds the object from hash
|
@@ -32,43 +32,43 @@ describe 'ContainerContainerDistributionResponse' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerDistributionResponse)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "name"' 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_version"' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "base_path"' do
|
48
48
|
it 'should work' do
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "pulp_created"' 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 "repository"' 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
|
69
69
|
end
|
70
70
|
|
71
|
-
describe 'test attribute "
|
71
|
+
describe 'test attribute "pulp_href"' do
|
72
72
|
it 'should work' do
|
73
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
74
|
end
|
@@ -32,13 +32,13 @@ describe 'ContainerContainerDistribution' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerDistribution)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "name"' 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_version"' 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,13 +50,13 @@ describe 'ContainerContainerDistribution' do
|
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "repository"' 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
|
@@ -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 "name"' 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_version"' 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,13 +50,13 @@ describe 'PatchedcontainerContainerDistribution' do
|
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "repository"' 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
|
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.0
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-09-
|
11
|
+
date: 2020-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|