pulp_container_client 2.8.2 → 2.8.3
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 +6 -6
- data/docs/ContainerContainerDistributionResponse.md +8 -8
- data/docs/ContainerContainerPushRepository.md +5 -5
- data/docs/ContainerContainerPushRepositoryResponse.md +5 -5
- data/docs/PatchedcontainerContainerDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPushRepository.md +5 -5
- data/lib/pulp_container_client/models/container_container_distribution.rb +30 -30
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +39 -39
- data/lib/pulp_container_client/models/container_container_push_repository.rb +27 -27
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +30 -30
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +25 -25
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +22 -22
- 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/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 +5 -5
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +3 -3
- metadata +44 -44
|
@@ -15,42 +15,42 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# Serializer for Container Push Repositories.
|
|
17
17
|
class ContainerContainerPushRepository
|
|
18
|
-
#
|
|
19
|
-
attr_accessor :
|
|
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
20
|
|
|
21
21
|
# A unique name for this repository.
|
|
22
22
|
attr_accessor :name
|
|
23
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
24
|
attr_accessor :pulp_labels
|
|
28
25
|
|
|
26
|
+
# An optional description.
|
|
27
|
+
attr_accessor :description
|
|
28
|
+
|
|
29
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
30
30
|
def self.attribute_map
|
|
31
31
|
{
|
|
32
|
-
:'description' => :'description',
|
|
33
|
-
:'name' => :'name',
|
|
34
32
|
:'retain_repo_versions' => :'retain_repo_versions',
|
|
35
|
-
:'
|
|
33
|
+
:'name' => :'name',
|
|
34
|
+
:'pulp_labels' => :'pulp_labels',
|
|
35
|
+
:'description' => :'description'
|
|
36
36
|
}
|
|
37
37
|
end
|
|
38
38
|
|
|
39
39
|
# Attribute type mapping.
|
|
40
40
|
def self.openapi_types
|
|
41
41
|
{
|
|
42
|
-
:'description' => :'String',
|
|
43
|
-
:'name' => :'String',
|
|
44
42
|
:'retain_repo_versions' => :'Integer',
|
|
45
|
-
:'
|
|
43
|
+
:'name' => :'String',
|
|
44
|
+
:'pulp_labels' => :'Object',
|
|
45
|
+
:'description' => :'String'
|
|
46
46
|
}
|
|
47
47
|
end
|
|
48
48
|
|
|
49
49
|
# List of attributes with nullable: true
|
|
50
50
|
def self.openapi_nullable
|
|
51
51
|
Set.new([
|
|
52
|
-
:'description',
|
|
53
52
|
:'retain_repo_versions',
|
|
53
|
+
:'description'
|
|
54
54
|
])
|
|
55
55
|
end
|
|
56
56
|
|
|
@@ -69,43 +69,43 @@ module PulpContainerClient
|
|
|
69
69
|
h[k.to_sym] = v
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
if attributes.key?(:'
|
|
73
|
-
self.
|
|
72
|
+
if attributes.key?(:'retain_repo_versions')
|
|
73
|
+
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
74
74
|
end
|
|
75
75
|
|
|
76
76
|
if attributes.key?(:'name')
|
|
77
77
|
self.name = attributes[:'name']
|
|
78
78
|
end
|
|
79
79
|
|
|
80
|
-
if attributes.key?(:'retain_repo_versions')
|
|
81
|
-
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
82
|
-
end
|
|
83
|
-
|
|
84
80
|
if attributes.key?(:'pulp_labels')
|
|
85
81
|
self.pulp_labels = attributes[:'pulp_labels']
|
|
86
82
|
end
|
|
83
|
+
|
|
84
|
+
if attributes.key?(:'description')
|
|
85
|
+
self.description = attributes[:'description']
|
|
86
|
+
end
|
|
87
87
|
end
|
|
88
88
|
|
|
89
89
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
90
90
|
# @return Array for valid properties with the reasons
|
|
91
91
|
def list_invalid_properties
|
|
92
92
|
invalid_properties = Array.new
|
|
93
|
-
if @name.nil?
|
|
94
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
95
|
-
end
|
|
96
|
-
|
|
97
93
|
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
98
94
|
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
|
99
95
|
end
|
|
100
96
|
|
|
97
|
+
if @name.nil?
|
|
98
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
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 @name.nil?
|
|
108
107
|
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
108
|
+
return false if @name.nil?
|
|
109
109
|
true
|
|
110
110
|
end
|
|
111
111
|
|
|
@@ -124,10 +124,10 @@ module PulpContainerClient
|
|
|
124
124
|
def ==(o)
|
|
125
125
|
return true if self.equal?(o)
|
|
126
126
|
self.class == o.class &&
|
|
127
|
-
description == o.description &&
|
|
128
|
-
name == o.name &&
|
|
129
127
|
retain_repo_versions == o.retain_repo_versions &&
|
|
130
|
-
|
|
128
|
+
name == o.name &&
|
|
129
|
+
pulp_labels == o.pulp_labels &&
|
|
130
|
+
description == o.description
|
|
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
|
+
[retain_repo_versions, name, pulp_labels, description].hash
|
|
143
143
|
end
|
|
144
144
|
|
|
145
145
|
# Builds the object from hash
|
|
@@ -17,14 +17,8 @@ module PulpContainerClient
|
|
|
17
17
|
class ContainerContainerPushRepositoryResponse
|
|
18
18
|
attr_accessor :versions_href
|
|
19
19
|
|
|
20
|
-
# An optional description.
|
|
21
|
-
attr_accessor :description
|
|
22
|
-
|
|
23
20
|
attr_accessor :latest_version_href
|
|
24
21
|
|
|
25
|
-
# A unique name for this repository.
|
|
26
|
-
attr_accessor :name
|
|
27
|
-
|
|
28
22
|
# Timestamp of creation.
|
|
29
23
|
attr_accessor :pulp_created
|
|
30
24
|
|
|
@@ -33,19 +27,25 @@ module PulpContainerClient
|
|
|
33
27
|
|
|
34
28
|
attr_accessor :pulp_href
|
|
35
29
|
|
|
30
|
+
# A unique name for this repository.
|
|
31
|
+
attr_accessor :name
|
|
32
|
+
|
|
36
33
|
attr_accessor :pulp_labels
|
|
37
34
|
|
|
35
|
+
# An optional description.
|
|
36
|
+
attr_accessor :description
|
|
37
|
+
|
|
38
38
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
39
39
|
def self.attribute_map
|
|
40
40
|
{
|
|
41
41
|
:'versions_href' => :'versions_href',
|
|
42
|
-
:'description' => :'description',
|
|
43
42
|
:'latest_version_href' => :'latest_version_href',
|
|
44
|
-
:'name' => :'name',
|
|
45
43
|
:'pulp_created' => :'pulp_created',
|
|
46
44
|
:'retain_repo_versions' => :'retain_repo_versions',
|
|
47
45
|
:'pulp_href' => :'pulp_href',
|
|
48
|
-
:'
|
|
46
|
+
:'name' => :'name',
|
|
47
|
+
:'pulp_labels' => :'pulp_labels',
|
|
48
|
+
:'description' => :'description'
|
|
49
49
|
}
|
|
50
50
|
end
|
|
51
51
|
|
|
@@ -53,21 +53,21 @@ module PulpContainerClient
|
|
|
53
53
|
def self.openapi_types
|
|
54
54
|
{
|
|
55
55
|
:'versions_href' => :'String',
|
|
56
|
-
:'description' => :'String',
|
|
57
56
|
:'latest_version_href' => :'String',
|
|
58
|
-
:'name' => :'String',
|
|
59
57
|
:'pulp_created' => :'DateTime',
|
|
60
58
|
:'retain_repo_versions' => :'Integer',
|
|
61
59
|
:'pulp_href' => :'String',
|
|
62
|
-
:'
|
|
60
|
+
:'name' => :'String',
|
|
61
|
+
:'pulp_labels' => :'Object',
|
|
62
|
+
:'description' => :'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
|
-
:'description',
|
|
70
69
|
:'retain_repo_versions',
|
|
70
|
+
:'description'
|
|
71
71
|
])
|
|
72
72
|
end
|
|
73
73
|
|
|
@@ -90,18 +90,10 @@ module PulpContainerClient
|
|
|
90
90
|
self.versions_href = attributes[:'versions_href']
|
|
91
91
|
end
|
|
92
92
|
|
|
93
|
-
if attributes.key?(:'description')
|
|
94
|
-
self.description = attributes[:'description']
|
|
95
|
-
end
|
|
96
|
-
|
|
97
93
|
if attributes.key?(:'latest_version_href')
|
|
98
94
|
self.latest_version_href = attributes[:'latest_version_href']
|
|
99
95
|
end
|
|
100
96
|
|
|
101
|
-
if attributes.key?(:'name')
|
|
102
|
-
self.name = attributes[:'name']
|
|
103
|
-
end
|
|
104
|
-
|
|
105
97
|
if attributes.key?(:'pulp_created')
|
|
106
98
|
self.pulp_created = attributes[:'pulp_created']
|
|
107
99
|
end
|
|
@@ -114,31 +106,39 @@ module PulpContainerClient
|
|
|
114
106
|
self.pulp_href = attributes[:'pulp_href']
|
|
115
107
|
end
|
|
116
108
|
|
|
109
|
+
if attributes.key?(:'name')
|
|
110
|
+
self.name = attributes[:'name']
|
|
111
|
+
end
|
|
112
|
+
|
|
117
113
|
if attributes.key?(:'pulp_labels')
|
|
118
114
|
self.pulp_labels = attributes[:'pulp_labels']
|
|
119
115
|
end
|
|
116
|
+
|
|
117
|
+
if attributes.key?(:'description')
|
|
118
|
+
self.description = attributes[:'description']
|
|
119
|
+
end
|
|
120
120
|
end
|
|
121
121
|
|
|
122
122
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
123
123
|
# @return Array for valid properties with the reasons
|
|
124
124
|
def list_invalid_properties
|
|
125
125
|
invalid_properties = Array.new
|
|
126
|
-
if @name.nil?
|
|
127
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
128
|
-
end
|
|
129
|
-
|
|
130
126
|
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
131
127
|
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
|
132
128
|
end
|
|
133
129
|
|
|
130
|
+
if @name.nil?
|
|
131
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
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 @name.nil?
|
|
141
140
|
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
141
|
+
return false if @name.nil?
|
|
142
142
|
true
|
|
143
143
|
end
|
|
144
144
|
|
|
@@ -158,13 +158,13 @@ module PulpContainerClient
|
|
|
158
158
|
return true if self.equal?(o)
|
|
159
159
|
self.class == o.class &&
|
|
160
160
|
versions_href == o.versions_href &&
|
|
161
|
-
description == o.description &&
|
|
162
161
|
latest_version_href == o.latest_version_href &&
|
|
163
|
-
name == o.name &&
|
|
164
162
|
pulp_created == o.pulp_created &&
|
|
165
163
|
retain_repo_versions == o.retain_repo_versions &&
|
|
166
164
|
pulp_href == o.pulp_href &&
|
|
167
|
-
|
|
165
|
+
name == o.name &&
|
|
166
|
+
pulp_labels == o.pulp_labels &&
|
|
167
|
+
description == o.description
|
|
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
|
-
[versions_href,
|
|
179
|
+
[versions_href, latest_version_href, pulp_created, retain_repo_versions, pulp_href, name, pulp_labels, description].hash
|
|
180
180
|
end
|
|
181
181
|
|
|
182
182
|
# Builds the object from hash
|
|
@@ -15,20 +15,20 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for ContainerDistribution.
|
|
17
17
|
class PatchedcontainerContainerDistribution
|
|
18
|
-
#
|
|
19
|
-
attr_accessor :
|
|
20
|
-
|
|
21
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
|
22
|
-
attr_accessor :name
|
|
18
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
19
|
+
attr_accessor :content_guard
|
|
23
20
|
|
|
24
21
|
# The latest RepositoryVersion for this Repository will be served.
|
|
25
22
|
attr_accessor :repository
|
|
26
23
|
|
|
27
|
-
#
|
|
28
|
-
attr_accessor :
|
|
24
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
25
|
+
attr_accessor :name
|
|
29
26
|
|
|
30
27
|
attr_accessor :pulp_labels
|
|
31
28
|
|
|
29
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
30
|
+
attr_accessor :base_path
|
|
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
|
-
:'base_path' => :'base_path',
|
|
45
|
-
:'name' => :'name',
|
|
46
|
-
:'repository' => :'repository',
|
|
47
44
|
:'content_guard' => :'content_guard',
|
|
45
|
+
:'repository' => :'repository',
|
|
46
|
+
:'name' => :'name',
|
|
48
47
|
:'pulp_labels' => :'pulp_labels',
|
|
48
|
+
:'base_path' => :'base_path',
|
|
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
|
-
:'base_path' => :'String',
|
|
59
|
-
:'name' => :'String',
|
|
60
|
-
:'repository' => :'String',
|
|
61
58
|
:'content_guard' => :'String',
|
|
59
|
+
:'repository' => :'String',
|
|
60
|
+
:'name' => :'String',
|
|
62
61
|
:'pulp_labels' => :'Object',
|
|
62
|
+
:'base_path' => :'String',
|
|
63
63
|
:'repository_version' => :'String',
|
|
64
64
|
:'private' => :'Boolean',
|
|
65
65
|
:'description' => :'String'
|
|
@@ -90,26 +90,26 @@ module PulpContainerClient
|
|
|
90
90
|
h[k.to_sym] = v
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
if attributes.key?(:'
|
|
94
|
-
self.
|
|
95
|
-
end
|
|
96
|
-
|
|
97
|
-
if attributes.key?(:'name')
|
|
98
|
-
self.name = attributes[:'name']
|
|
93
|
+
if attributes.key?(:'content_guard')
|
|
94
|
+
self.content_guard = attributes[:'content_guard']
|
|
99
95
|
end
|
|
100
96
|
|
|
101
97
|
if attributes.key?(:'repository')
|
|
102
98
|
self.repository = attributes[:'repository']
|
|
103
99
|
end
|
|
104
100
|
|
|
105
|
-
if attributes.key?(:'
|
|
106
|
-
self.
|
|
101
|
+
if attributes.key?(:'name')
|
|
102
|
+
self.name = attributes[:'name']
|
|
107
103
|
end
|
|
108
104
|
|
|
109
105
|
if attributes.key?(:'pulp_labels')
|
|
110
106
|
self.pulp_labels = attributes[:'pulp_labels']
|
|
111
107
|
end
|
|
112
108
|
|
|
109
|
+
if attributes.key?(:'base_path')
|
|
110
|
+
self.base_path = attributes[:'base_path']
|
|
111
|
+
end
|
|
112
|
+
|
|
113
113
|
if attributes.key?(:'repository_version')
|
|
114
114
|
self.repository_version = attributes[:'repository_version']
|
|
115
115
|
end
|
|
@@ -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
|
-
base_path == o.base_path &&
|
|
145
|
-
name == o.name &&
|
|
146
|
-
repository == o.repository &&
|
|
147
144
|
content_guard == o.content_guard &&
|
|
145
|
+
repository == o.repository &&
|
|
146
|
+
name == o.name &&
|
|
148
147
|
pulp_labels == o.pulp_labels &&
|
|
148
|
+
base_path == o.base_path &&
|
|
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
|
+
[content_guard, repository, name, pulp_labels, base_path, repository_version, private, description].hash
|
|
164
164
|
end
|
|
165
165
|
|
|
166
166
|
# Builds the object from hash
|
|
@@ -15,42 +15,42 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# Serializer for Container Push Repositories.
|
|
17
17
|
class PatchedcontainerContainerPushRepository
|
|
18
|
-
#
|
|
19
|
-
attr_accessor :
|
|
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
20
|
|
|
21
21
|
# A unique name for this repository.
|
|
22
22
|
attr_accessor :name
|
|
23
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
24
|
attr_accessor :pulp_labels
|
|
28
25
|
|
|
26
|
+
# An optional description.
|
|
27
|
+
attr_accessor :description
|
|
28
|
+
|
|
29
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
30
30
|
def self.attribute_map
|
|
31
31
|
{
|
|
32
|
-
:'description' => :'description',
|
|
33
|
-
:'name' => :'name',
|
|
34
32
|
:'retain_repo_versions' => :'retain_repo_versions',
|
|
35
|
-
:'
|
|
33
|
+
:'name' => :'name',
|
|
34
|
+
:'pulp_labels' => :'pulp_labels',
|
|
35
|
+
:'description' => :'description'
|
|
36
36
|
}
|
|
37
37
|
end
|
|
38
38
|
|
|
39
39
|
# Attribute type mapping.
|
|
40
40
|
def self.openapi_types
|
|
41
41
|
{
|
|
42
|
-
:'description' => :'String',
|
|
43
|
-
:'name' => :'String',
|
|
44
42
|
:'retain_repo_versions' => :'Integer',
|
|
45
|
-
:'
|
|
43
|
+
:'name' => :'String',
|
|
44
|
+
:'pulp_labels' => :'Object',
|
|
45
|
+
:'description' => :'String'
|
|
46
46
|
}
|
|
47
47
|
end
|
|
48
48
|
|
|
49
49
|
# List of attributes with nullable: true
|
|
50
50
|
def self.openapi_nullable
|
|
51
51
|
Set.new([
|
|
52
|
-
:'description',
|
|
53
52
|
:'retain_repo_versions',
|
|
53
|
+
:'description'
|
|
54
54
|
])
|
|
55
55
|
end
|
|
56
56
|
|
|
@@ -69,21 +69,21 @@ module PulpContainerClient
|
|
|
69
69
|
h[k.to_sym] = v
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
if attributes.key?(:'
|
|
73
|
-
self.
|
|
72
|
+
if attributes.key?(:'retain_repo_versions')
|
|
73
|
+
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
74
74
|
end
|
|
75
75
|
|
|
76
76
|
if attributes.key?(:'name')
|
|
77
77
|
self.name = attributes[:'name']
|
|
78
78
|
end
|
|
79
79
|
|
|
80
|
-
if attributes.key?(:'retain_repo_versions')
|
|
81
|
-
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
82
|
-
end
|
|
83
|
-
|
|
84
80
|
if attributes.key?(:'pulp_labels')
|
|
85
81
|
self.pulp_labels = attributes[:'pulp_labels']
|
|
86
82
|
end
|
|
83
|
+
|
|
84
|
+
if attributes.key?(:'description')
|
|
85
|
+
self.description = attributes[:'description']
|
|
86
|
+
end
|
|
87
87
|
end
|
|
88
88
|
|
|
89
89
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -119,10 +119,10 @@ module PulpContainerClient
|
|
|
119
119
|
def ==(o)
|
|
120
120
|
return true if self.equal?(o)
|
|
121
121
|
self.class == o.class &&
|
|
122
|
-
description == o.description &&
|
|
123
|
-
name == o.name &&
|
|
124
122
|
retain_repo_versions == o.retain_repo_versions &&
|
|
125
|
-
|
|
123
|
+
name == o.name &&
|
|
124
|
+
pulp_labels == o.pulp_labels &&
|
|
125
|
+
description == o.description
|
|
126
126
|
end
|
|
127
127
|
|
|
128
128
|
# @see the `==` method
|
|
@@ -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
|
+
[retain_repo_versions, name, pulp_labels, description].hash
|
|
138
138
|
end
|
|
139
139
|
|
|
140
140
|
# 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 "content_guard"' 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_created"' 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_href"' 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,19 +56,19 @@ describe 'ContainerContainerDistributionResponse' do
|
|
|
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
|
|
69
69
|
end
|
|
70
70
|
|
|
71
|
-
describe 'test attribute "
|
|
71
|
+
describe 'test attribute "base_path"' 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,31 +32,31 @@ 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 "content_guard"' 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 "name"' 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_labels"' 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 "base_path"' 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
|
|
@@ -38,43 +38,43 @@ describe 'ContainerContainerPushRepositoryResponse' do
|
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
describe 'test attribute "
|
|
41
|
+
describe 'test attribute "latest_version_href"' 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 "retain_repo_versions"' 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 "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 "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
|
|
69
69
|
end
|
|
70
70
|
|
|
71
|
-
describe 'test attribute "
|
|
71
|
+
describe 'test attribute "pulp_labels"' 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 "description"' 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 '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 "retain_repo_versions"' 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,13 +44,13 @@ describe 'ContainerContainerPushRepository' do
|
|
|
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
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
-
describe 'test attribute "
|
|
53
|
+
describe 'test attribute "description"' 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
|