pulp_container_client 2.8.9 → 2.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContainerContainerDistribution.md +4 -4
- data/docs/ContainerContainerDistributionResponse.md +8 -8
- data/docs/ContainerContainerPushRepository.md +3 -3
- data/docs/ContainerContainerPushRepositoryResponse.md +11 -11
- data/docs/PatchedcontainerContainerDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPushRepository.md +3 -3
- data/git_push.sh +58 -0
- data/lib/pulp_container_client/api_client.rb +5 -2
- data/lib/pulp_container_client/configuration.rb +0 -1
- data/lib/pulp_container_client/models/container_container_distribution.rb +17 -17
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +33 -33
- data/lib/pulp_container_client/models/container_container_push_repository.rb +17 -17
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +46 -46
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +17 -17
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +12 -12
- data/lib/pulp_container_client/version.rb +1 -1
- data/pulp_container_client.gemspec +3 -3
- data/spec/models/container_container_distribution_response_spec.rb +6 -6
- data/spec/models/container_container_distribution_spec.rb +3 -3
- data/spec/models/container_container_push_repository_response_spec.rb +7 -7
- data/spec/models/container_container_push_repository_spec.rb +3 -3
- data/spec/models/patchedcontainer_container_distribution_spec.rb +3 -3
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +3 -3
- metadata +47 -52
@@ -15,23 +15,23 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# Serializer for Container Push Repositories.
|
17
17
|
class ContainerContainerPushRepository
|
18
|
-
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
19
|
-
attr_accessor :retain_repo_versions
|
20
|
-
|
21
18
|
# A unique name for this repository.
|
22
19
|
attr_accessor :name
|
23
20
|
|
24
21
|
# An optional description.
|
25
22
|
attr_accessor :description
|
26
23
|
|
24
|
+
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
25
|
+
attr_accessor :retain_repo_versions
|
26
|
+
|
27
27
|
attr_accessor :pulp_labels
|
28
28
|
|
29
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
30
30
|
def self.attribute_map
|
31
31
|
{
|
32
|
-
:'retain_repo_versions' => :'retain_repo_versions',
|
33
32
|
:'name' => :'name',
|
34
33
|
:'description' => :'description',
|
34
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
35
35
|
:'pulp_labels' => :'pulp_labels'
|
36
36
|
}
|
37
37
|
end
|
@@ -39,9 +39,9 @@ module PulpContainerClient
|
|
39
39
|
# Attribute type mapping.
|
40
40
|
def self.openapi_types
|
41
41
|
{
|
42
|
-
:'retain_repo_versions' => :'Integer',
|
43
42
|
:'name' => :'String',
|
44
43
|
:'description' => :'String',
|
44
|
+
:'retain_repo_versions' => :'Integer',
|
45
45
|
:'pulp_labels' => :'Object'
|
46
46
|
}
|
47
47
|
end
|
@@ -49,8 +49,8 @@ module PulpContainerClient
|
|
49
49
|
# List of attributes with nullable: true
|
50
50
|
def self.openapi_nullable
|
51
51
|
Set.new([
|
52
|
-
:'retain_repo_versions',
|
53
52
|
:'description',
|
53
|
+
:'retain_repo_versions',
|
54
54
|
])
|
55
55
|
end
|
56
56
|
|
@@ -69,10 +69,6 @@ module PulpContainerClient
|
|
69
69
|
h[k.to_sym] = v
|
70
70
|
}
|
71
71
|
|
72
|
-
if attributes.key?(:'retain_repo_versions')
|
73
|
-
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
74
|
-
end
|
75
|
-
|
76
72
|
if attributes.key?(:'name')
|
77
73
|
self.name = attributes[:'name']
|
78
74
|
end
|
@@ -81,6 +77,10 @@ module PulpContainerClient
|
|
81
77
|
self.description = attributes[:'description']
|
82
78
|
end
|
83
79
|
|
80
|
+
if attributes.key?(:'retain_repo_versions')
|
81
|
+
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
82
|
+
end
|
83
|
+
|
84
84
|
if attributes.key?(:'pulp_labels')
|
85
85
|
self.pulp_labels = attributes[:'pulp_labels']
|
86
86
|
end
|
@@ -90,22 +90,22 @@ module PulpContainerClient
|
|
90
90
|
# @return Array for valid properties with the reasons
|
91
91
|
def list_invalid_properties
|
92
92
|
invalid_properties = Array.new
|
93
|
-
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
94
|
-
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
95
|
-
end
|
96
|
-
|
97
93
|
if @name.nil?
|
98
94
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
99
95
|
end
|
100
96
|
|
97
|
+
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
98
|
+
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
99
|
+
end
|
100
|
+
|
101
101
|
invalid_properties
|
102
102
|
end
|
103
103
|
|
104
104
|
# Check to see if the all the properties in the model are valid
|
105
105
|
# @return true if the model is valid
|
106
106
|
def valid?
|
107
|
-
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
108
107
|
return false if @name.nil?
|
108
|
+
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
109
109
|
true
|
110
110
|
end
|
111
111
|
|
@@ -124,9 +124,9 @@ module PulpContainerClient
|
|
124
124
|
def ==(o)
|
125
125
|
return true if self.equal?(o)
|
126
126
|
self.class == o.class &&
|
127
|
-
retain_repo_versions == o.retain_repo_versions &&
|
128
127
|
name == o.name &&
|
129
128
|
description == o.description &&
|
129
|
+
retain_repo_versions == o.retain_repo_versions &&
|
130
130
|
pulp_labels == o.pulp_labels
|
131
131
|
end
|
132
132
|
|
@@ -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
|
+
[name, description, retain_repo_versions, pulp_labels].hash
|
143
143
|
end
|
144
144
|
|
145
145
|
# Builds the object from hash
|
@@ -15,59 +15,59 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# Serializer for Container Push Repositories.
|
17
17
|
class ContainerContainerPushRepositoryResponse
|
18
|
-
attr_accessor :versions_href
|
19
|
-
|
20
|
-
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
21
|
-
attr_accessor :retain_repo_versions
|
22
|
-
|
23
|
-
attr_accessor :latest_version_href
|
24
|
-
|
25
18
|
# A unique name for this repository.
|
26
19
|
attr_accessor :name
|
27
20
|
|
28
21
|
# An optional description.
|
29
22
|
attr_accessor :description
|
30
23
|
|
31
|
-
|
24
|
+
# Timestamp of creation.
|
25
|
+
attr_accessor :pulp_created
|
26
|
+
|
27
|
+
attr_accessor :latest_version_href
|
28
|
+
|
29
|
+
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
30
|
+
attr_accessor :retain_repo_versions
|
31
|
+
|
32
|
+
attr_accessor :versions_href
|
32
33
|
|
33
34
|
attr_accessor :pulp_labels
|
34
35
|
|
35
|
-
|
36
|
-
attr_accessor :pulp_created
|
36
|
+
attr_accessor :pulp_href
|
37
37
|
|
38
38
|
# Attribute mapping from ruby-style variable name to JSON key.
|
39
39
|
def self.attribute_map
|
40
40
|
{
|
41
|
-
:'versions_href' => :'versions_href',
|
42
|
-
:'retain_repo_versions' => :'retain_repo_versions',
|
43
|
-
:'latest_version_href' => :'latest_version_href',
|
44
41
|
:'name' => :'name',
|
45
42
|
:'description' => :'description',
|
46
|
-
:'
|
43
|
+
:'pulp_created' => :'pulp_created',
|
44
|
+
:'latest_version_href' => :'latest_version_href',
|
45
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
46
|
+
:'versions_href' => :'versions_href',
|
47
47
|
:'pulp_labels' => :'pulp_labels',
|
48
|
-
:'
|
48
|
+
:'pulp_href' => :'pulp_href'
|
49
49
|
}
|
50
50
|
end
|
51
51
|
|
52
52
|
# Attribute type mapping.
|
53
53
|
def self.openapi_types
|
54
54
|
{
|
55
|
-
:'versions_href' => :'String',
|
56
|
-
:'retain_repo_versions' => :'Integer',
|
57
|
-
:'latest_version_href' => :'String',
|
58
55
|
:'name' => :'String',
|
59
56
|
:'description' => :'String',
|
60
|
-
:'
|
57
|
+
:'pulp_created' => :'DateTime',
|
58
|
+
:'latest_version_href' => :'String',
|
59
|
+
:'retain_repo_versions' => :'Integer',
|
60
|
+
:'versions_href' => :'String',
|
61
61
|
:'pulp_labels' => :'Object',
|
62
|
-
:'
|
62
|
+
:'pulp_href' => :'String'
|
63
63
|
}
|
64
64
|
end
|
65
65
|
|
66
66
|
# List of attributes with nullable: true
|
67
67
|
def self.openapi_nullable
|
68
68
|
Set.new([
|
69
|
-
:'retain_repo_versions',
|
70
69
|
:'description',
|
70
|
+
:'retain_repo_versions',
|
71
71
|
])
|
72
72
|
end
|
73
73
|
|
@@ -86,36 +86,36 @@ module PulpContainerClient
|
|
86
86
|
h[k.to_sym] = v
|
87
87
|
}
|
88
88
|
|
89
|
-
if attributes.key?(:'
|
90
|
-
self.
|
89
|
+
if attributes.key?(:'name')
|
90
|
+
self.name = attributes[:'name']
|
91
91
|
end
|
92
92
|
|
93
|
-
if attributes.key?(:'
|
94
|
-
self.
|
93
|
+
if attributes.key?(:'description')
|
94
|
+
self.description = attributes[:'description']
|
95
95
|
end
|
96
96
|
|
97
|
-
if attributes.key?(:'
|
98
|
-
self.
|
97
|
+
if attributes.key?(:'pulp_created')
|
98
|
+
self.pulp_created = attributes[:'pulp_created']
|
99
99
|
end
|
100
100
|
|
101
|
-
if attributes.key?(:'
|
102
|
-
self.
|
101
|
+
if attributes.key?(:'latest_version_href')
|
102
|
+
self.latest_version_href = attributes[:'latest_version_href']
|
103
103
|
end
|
104
104
|
|
105
|
-
if attributes.key?(:'
|
106
|
-
self.
|
105
|
+
if attributes.key?(:'retain_repo_versions')
|
106
|
+
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
107
107
|
end
|
108
108
|
|
109
|
-
if attributes.key?(:'
|
110
|
-
self.
|
109
|
+
if attributes.key?(:'versions_href')
|
110
|
+
self.versions_href = attributes[:'versions_href']
|
111
111
|
end
|
112
112
|
|
113
113
|
if attributes.key?(:'pulp_labels')
|
114
114
|
self.pulp_labels = attributes[:'pulp_labels']
|
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
|
end
|
121
121
|
|
@@ -123,22 +123,22 @@ module PulpContainerClient
|
|
123
123
|
# @return Array for valid properties with the reasons
|
124
124
|
def list_invalid_properties
|
125
125
|
invalid_properties = Array.new
|
126
|
-
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
127
|
-
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
128
|
-
end
|
129
|
-
|
130
126
|
if @name.nil?
|
131
127
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
132
128
|
end
|
133
129
|
|
130
|
+
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
131
|
+
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
132
|
+
end
|
133
|
+
|
134
134
|
invalid_properties
|
135
135
|
end
|
136
136
|
|
137
137
|
# Check to see if the all the properties in the model are valid
|
138
138
|
# @return true if the model is valid
|
139
139
|
def valid?
|
140
|
-
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
141
140
|
return false if @name.nil?
|
141
|
+
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
142
142
|
true
|
143
143
|
end
|
144
144
|
|
@@ -157,14 +157,14 @@ module PulpContainerClient
|
|
157
157
|
def ==(o)
|
158
158
|
return true if self.equal?(o)
|
159
159
|
self.class == o.class &&
|
160
|
-
versions_href == o.versions_href &&
|
161
|
-
retain_repo_versions == o.retain_repo_versions &&
|
162
|
-
latest_version_href == o.latest_version_href &&
|
163
160
|
name == o.name &&
|
164
161
|
description == o.description &&
|
165
|
-
|
162
|
+
pulp_created == o.pulp_created &&
|
163
|
+
latest_version_href == o.latest_version_href &&
|
164
|
+
retain_repo_versions == o.retain_repo_versions &&
|
165
|
+
versions_href == o.versions_href &&
|
166
166
|
pulp_labels == o.pulp_labels &&
|
167
|
-
|
167
|
+
pulp_href == o.pulp_href
|
168
168
|
end
|
169
169
|
|
170
170
|
# @see the `==` method
|
@@ -176,7 +176,7 @@ module PulpContainerClient
|
|
176
176
|
# Calculates hash code according to all attributes.
|
177
177
|
# @return [Integer] Hash code
|
178
178
|
def hash
|
179
|
-
[
|
179
|
+
[name, description, pulp_created, latest_version_href, retain_repo_versions, versions_href, pulp_labels, pulp_href].hash
|
180
180
|
end
|
181
181
|
|
182
182
|
# Builds the object from hash
|
@@ -15,8 +15,7 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class PatchedcontainerContainerDistribution
|
18
|
-
|
19
|
-
attr_accessor :repository
|
18
|
+
attr_accessor :pulp_labels
|
20
19
|
|
21
20
|
# A unique name. Ex, `rawhide` and `stable`.
|
22
21
|
attr_accessor :name
|
@@ -24,11 +23,12 @@ module PulpContainerClient
|
|
24
23
|
# 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
24
|
attr_accessor :base_path
|
26
25
|
|
26
|
+
# The latest RepositoryVersion for this Repository will be served.
|
27
|
+
attr_accessor :repository
|
28
|
+
|
27
29
|
# An optional content-guard. If none is specified, a default one will be used.
|
28
30
|
attr_accessor :content_guard
|
29
31
|
|
30
|
-
attr_accessor :pulp_labels
|
31
|
-
|
32
32
|
# RepositoryVersion to be served
|
33
33
|
attr_accessor :repository_version
|
34
34
|
|
@@ -41,11 +41,11 @@ module PulpContainerClient
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
42
42
|
def self.attribute_map
|
43
43
|
{
|
44
|
-
:'
|
44
|
+
:'pulp_labels' => :'pulp_labels',
|
45
45
|
:'name' => :'name',
|
46
46
|
:'base_path' => :'base_path',
|
47
|
+
:'repository' => :'repository',
|
47
48
|
:'content_guard' => :'content_guard',
|
48
|
-
:'pulp_labels' => :'pulp_labels',
|
49
49
|
:'repository_version' => :'repository_version',
|
50
50
|
:'private' => :'private',
|
51
51
|
:'description' => :'description'
|
@@ -55,11 +55,11 @@ module PulpContainerClient
|
|
55
55
|
# Attribute type mapping.
|
56
56
|
def self.openapi_types
|
57
57
|
{
|
58
|
-
:'
|
58
|
+
:'pulp_labels' => :'Object',
|
59
59
|
:'name' => :'String',
|
60
60
|
:'base_path' => :'String',
|
61
|
+
:'repository' => :'String',
|
61
62
|
:'content_guard' => :'String',
|
62
|
-
:'pulp_labels' => :'Object',
|
63
63
|
:'repository_version' => :'String',
|
64
64
|
:'private' => :'Boolean',
|
65
65
|
:'description' => :'String'
|
@@ -90,8 +90,8 @@ module PulpContainerClient
|
|
90
90
|
h[k.to_sym] = v
|
91
91
|
}
|
92
92
|
|
93
|
-
if attributes.key?(:'
|
94
|
-
self.
|
93
|
+
if attributes.key?(:'pulp_labels')
|
94
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
95
95
|
end
|
96
96
|
|
97
97
|
if attributes.key?(:'name')
|
@@ -102,12 +102,12 @@ module PulpContainerClient
|
|
102
102
|
self.base_path = attributes[:'base_path']
|
103
103
|
end
|
104
104
|
|
105
|
-
if attributes.key?(:'
|
106
|
-
self.
|
105
|
+
if attributes.key?(:'repository')
|
106
|
+
self.repository = attributes[:'repository']
|
107
107
|
end
|
108
108
|
|
109
|
-
if attributes.key?(:'
|
110
|
-
self.
|
109
|
+
if attributes.key?(:'content_guard')
|
110
|
+
self.content_guard = attributes[:'content_guard']
|
111
111
|
end
|
112
112
|
|
113
113
|
if attributes.key?(:'repository_version')
|
@@ -141,11 +141,11 @@ module PulpContainerClient
|
|
141
141
|
def ==(o)
|
142
142
|
return true if self.equal?(o)
|
143
143
|
self.class == o.class &&
|
144
|
-
|
144
|
+
pulp_labels == o.pulp_labels &&
|
145
145
|
name == o.name &&
|
146
146
|
base_path == o.base_path &&
|
147
|
+
repository == o.repository &&
|
147
148
|
content_guard == o.content_guard &&
|
148
|
-
pulp_labels == o.pulp_labels &&
|
149
149
|
repository_version == o.repository_version &&
|
150
150
|
private == o.private &&
|
151
151
|
description == o.description
|
@@ -160,7 +160,7 @@ module PulpContainerClient
|
|
160
160
|
# Calculates hash code according to all attributes.
|
161
161
|
# @return [Integer] Hash code
|
162
162
|
def hash
|
163
|
-
[
|
163
|
+
[pulp_labels, name, base_path, repository, content_guard, repository_version, private, description].hash
|
164
164
|
end
|
165
165
|
|
166
166
|
# Builds the object from hash
|
@@ -15,23 +15,23 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# Serializer for Container Push Repositories.
|
17
17
|
class PatchedcontainerContainerPushRepository
|
18
|
-
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
19
|
-
attr_accessor :retain_repo_versions
|
20
|
-
|
21
18
|
# A unique name for this repository.
|
22
19
|
attr_accessor :name
|
23
20
|
|
24
21
|
# An optional description.
|
25
22
|
attr_accessor :description
|
26
23
|
|
24
|
+
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
25
|
+
attr_accessor :retain_repo_versions
|
26
|
+
|
27
27
|
attr_accessor :pulp_labels
|
28
28
|
|
29
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
30
30
|
def self.attribute_map
|
31
31
|
{
|
32
|
-
:'retain_repo_versions' => :'retain_repo_versions',
|
33
32
|
:'name' => :'name',
|
34
33
|
:'description' => :'description',
|
34
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
35
35
|
:'pulp_labels' => :'pulp_labels'
|
36
36
|
}
|
37
37
|
end
|
@@ -39,9 +39,9 @@ module PulpContainerClient
|
|
39
39
|
# Attribute type mapping.
|
40
40
|
def self.openapi_types
|
41
41
|
{
|
42
|
-
:'retain_repo_versions' => :'Integer',
|
43
42
|
:'name' => :'String',
|
44
43
|
:'description' => :'String',
|
44
|
+
:'retain_repo_versions' => :'Integer',
|
45
45
|
:'pulp_labels' => :'Object'
|
46
46
|
}
|
47
47
|
end
|
@@ -49,8 +49,8 @@ module PulpContainerClient
|
|
49
49
|
# List of attributes with nullable: true
|
50
50
|
def self.openapi_nullable
|
51
51
|
Set.new([
|
52
|
-
:'retain_repo_versions',
|
53
52
|
:'description',
|
53
|
+
:'retain_repo_versions',
|
54
54
|
])
|
55
55
|
end
|
56
56
|
|
@@ -69,10 +69,6 @@ module PulpContainerClient
|
|
69
69
|
h[k.to_sym] = v
|
70
70
|
}
|
71
71
|
|
72
|
-
if attributes.key?(:'retain_repo_versions')
|
73
|
-
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
74
|
-
end
|
75
|
-
|
76
72
|
if attributes.key?(:'name')
|
77
73
|
self.name = attributes[:'name']
|
78
74
|
end
|
@@ -81,6 +77,10 @@ module PulpContainerClient
|
|
81
77
|
self.description = attributes[:'description']
|
82
78
|
end
|
83
79
|
|
80
|
+
if attributes.key?(:'retain_repo_versions')
|
81
|
+
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
82
|
+
end
|
83
|
+
|
84
84
|
if attributes.key?(:'pulp_labels')
|
85
85
|
self.pulp_labels = attributes[:'pulp_labels']
|
86
86
|
end
|
@@ -119,9 +119,9 @@ module PulpContainerClient
|
|
119
119
|
def ==(o)
|
120
120
|
return true if self.equal?(o)
|
121
121
|
self.class == o.class &&
|
122
|
-
retain_repo_versions == o.retain_repo_versions &&
|
123
122
|
name == o.name &&
|
124
123
|
description == o.description &&
|
124
|
+
retain_repo_versions == o.retain_repo_versions &&
|
125
125
|
pulp_labels == o.pulp_labels
|
126
126
|
end
|
127
127
|
|
@@ -134,7 +134,7 @@ module PulpContainerClient
|
|
134
134
|
# Calculates hash code according to all attributes.
|
135
135
|
# @return [Integer] Hash code
|
136
136
|
def hash
|
137
|
-
[
|
137
|
+
[name, description, retain_repo_versions, pulp_labels].hash
|
138
138
|
end
|
139
139
|
|
140
140
|
# Builds the object from hash
|
@@ -21,13 +21,13 @@ Gem::Specification.new do |s|
|
|
21
21
|
s.platform = Gem::Platform::RUBY
|
22
22
|
s.authors = ["OpenAPI-Generator"]
|
23
23
|
s.email = ["pulp-list@redhat.com"]
|
24
|
-
s.homepage = "https://
|
24
|
+
s.homepage = "https://openapi-generator.tech"
|
25
25
|
s.summary = "Pulp 3 API Ruby Gem"
|
26
26
|
s.description = "Fetch, Upload, Organize, and Distribute Software Packages"
|
27
|
-
s.license = '
|
27
|
+
s.license = 'GPL-2.0+'
|
28
28
|
s.required_ruby_version = ">= 1.9"
|
29
29
|
|
30
|
-
s.add_runtime_dependency 'faraday', '>=
|
30
|
+
s.add_runtime_dependency 'faraday', '>= 0.14.0'
|
31
31
|
s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
|
32
32
|
|
33
33
|
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
@@ -32,7 +32,7 @@ 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_labels"' 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,31 +44,31 @@ describe 'ContainerContainerDistributionResponse' do
|
|
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,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 "pulp_labels"' 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
|
@@ -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,37 +32,37 @@ describe 'ContainerContainerPushRepositoryResponse' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerPushRepositoryResponse)
|
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 "description"' 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 "latest_version_href"' 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 "retain_repo_versions"' 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 "versions_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
|
@@ -74,7 +74,7 @@ describe 'ContainerContainerPushRepositoryResponse' do
|
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
-
describe 'test attribute "
|
77
|
+
describe 'test attribute "pulp_href"' 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,19 +32,19 @@ describe 'ContainerContainerPushRepository' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerPushRepository)
|
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 "description"' 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 "retain_repo_versions"' 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
|