pulpcore_client 3.57.0 → 3.58.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/ArtifactDistributionResponse.md +12 -10
- data/docs/DistributionResponse.md +2 -0
- data/docs/UpstreamPulpResponse.md +3 -1
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +58 -48
- data/lib/pulpcore_client/models/distribution_response.rb +11 -1
- data/lib/pulpcore_client/models/upstream_pulp_response.rb +15 -5
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/models/artifact_distribution_response_spec.rb +13 -7
- data/spec/models/distribution_response_spec.rb +6 -0
- data/spec/models/upstream_pulp_response_spec.rb +6 -0
- 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: 47ef11cf928bf4b06ee62b4717a943035721d12e880ffd9cc9474e7b23738d51
|
|
4
|
+
data.tar.gz: e13ed4c21b675342c73d1254d4d27671322fd9543dd20bf46f1b8263e08dfe82
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3bb3ee1dbffd3ea011b992cc1bd5e15f8b6456efd5fc0ea324c86cf5f0247d15f3bdccb5b150c390a70870f37f61f63f99e9ec8c6566b7c122140fa09cab4bd0
|
|
7
|
+
data.tar.gz: caa5856076b99f8dbe9610938cbdd5987dcdf390db23cc6d87620c1caa7ddcb7e25c358d74cbec126f3c991e0039908b9e3aea66f84407534f6d2de553cf9ba1
|
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: 3.
|
|
10
|
+
- Package version: 3.58.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 pulpcore_client.gemspec
|
|
|
24
24
|
Then either install the gem locally:
|
|
25
25
|
|
|
26
26
|
```shell
|
|
27
|
-
gem install ./pulpcore_client-3.
|
|
27
|
+
gem install ./pulpcore_client-3.58.0.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./pulpcore_client-3.
|
|
30
|
+
(for development, run `gem install --dev ./pulpcore_client-3.58.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 'pulpcore_client', '~> 3.
|
|
36
|
+
gem 'pulpcore_client', '~> 3.58.0'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -5,14 +5,15 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
|
8
|
-
**
|
|
9
|
-
**
|
|
10
|
-
**pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
|
|
8
|
+
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
|
9
|
+
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
|
11
10
|
**pulp_href** | **String** | | [optional] [readonly]
|
|
11
|
+
**no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional] [readonly]
|
|
12
12
|
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
13
|
+
**pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
|
|
14
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
13
15
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
14
|
-
**
|
|
15
|
-
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
|
16
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
16
17
|
|
|
17
18
|
## Code Sample
|
|
18
19
|
|
|
@@ -20,14 +21,15 @@ Name | Type | Description | Notes
|
|
|
20
21
|
require 'PulpcoreClient'
|
|
21
22
|
|
|
22
23
|
instance = PulpcoreClient::ArtifactDistributionResponse.new(content_guard: null,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
pulp_last_updated: null,
|
|
24
|
+
base_path: null,
|
|
25
|
+
base_url: null,
|
|
26
26
|
pulp_href: null,
|
|
27
|
+
no_content_change_since: null,
|
|
27
28
|
hidden: null,
|
|
29
|
+
pulp_last_updated: null,
|
|
30
|
+
pulp_labels: null,
|
|
28
31
|
pulp_created: null,
|
|
29
|
-
|
|
30
|
-
base_url: null)
|
|
32
|
+
name: null)
|
|
31
33
|
```
|
|
32
34
|
|
|
33
35
|
|
|
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
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
11
|
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
|
12
12
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
|
13
|
+
**no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional] [readonly]
|
|
13
14
|
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
14
15
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
15
16
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
@@ -26,6 +27,7 @@ instance = PulpcoreClient::DistributionResponse.new(pulp_href: null,
|
|
|
26
27
|
base_path: null,
|
|
27
28
|
base_url: null,
|
|
28
29
|
content_guard: null,
|
|
30
|
+
no_content_change_since: null,
|
|
29
31
|
hidden: null,
|
|
30
32
|
pulp_labels: null,
|
|
31
33
|
name: null,
|
|
@@ -16,6 +16,7 @@ Name | Type | Description | Notes
|
|
|
16
16
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
|
17
17
|
**hidden_fields** | [**Array<RemoteResponseHiddenFields>**](RemoteResponseHiddenFields.md) | List of hidden (write only) fields | [optional] [readonly]
|
|
18
18
|
**pulp_label_select** | **String** | One or more comma separated labels that will be used to filter distributions on the upstream Pulp. E.g. \"foo=bar,key=val\" or \"foo,key\" | [optional]
|
|
19
|
+
**last_replication** | **DateTime** | Timestamp of the last replication that occurred. Equals to 'null' if no replication task has been executed. | [optional] [readonly]
|
|
19
20
|
|
|
20
21
|
## Code Sample
|
|
21
22
|
|
|
@@ -33,7 +34,8 @@ instance = PulpcoreClient::UpstreamPulpResponse.new(pulp_href: null,
|
|
|
33
34
|
client_cert: null,
|
|
34
35
|
tls_validation: null,
|
|
35
36
|
hidden_fields: null,
|
|
36
|
-
pulp_label_select: null
|
|
37
|
+
pulp_label_select: null,
|
|
38
|
+
last_replication: null)
|
|
37
39
|
```
|
|
38
40
|
|
|
39
41
|
|
|
@@ -18,40 +18,44 @@ module PulpcoreClient
|
|
|
18
18
|
# An optional content-guard.
|
|
19
19
|
attr_accessor :content_guard
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
|
24
|
-
attr_accessor :name
|
|
21
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
22
|
+
attr_accessor :base_path
|
|
25
23
|
|
|
26
|
-
#
|
|
27
|
-
attr_accessor :
|
|
24
|
+
# The URL for accessing the publication as defined by this distribution.
|
|
25
|
+
attr_accessor :base_url
|
|
28
26
|
|
|
29
27
|
attr_accessor :pulp_href
|
|
30
28
|
|
|
29
|
+
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
30
|
+
attr_accessor :no_content_change_since
|
|
31
|
+
|
|
31
32
|
# Whether this distribution should be shown in the content app.
|
|
32
33
|
attr_accessor :hidden
|
|
33
34
|
|
|
35
|
+
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
|
36
|
+
attr_accessor :pulp_last_updated
|
|
37
|
+
|
|
38
|
+
attr_accessor :pulp_labels
|
|
39
|
+
|
|
34
40
|
# Timestamp of creation.
|
|
35
41
|
attr_accessor :pulp_created
|
|
36
42
|
|
|
37
|
-
#
|
|
38
|
-
attr_accessor :
|
|
39
|
-
|
|
40
|
-
# The URL for accessing the publication as defined by this distribution.
|
|
41
|
-
attr_accessor :base_url
|
|
43
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
44
|
+
attr_accessor :name
|
|
42
45
|
|
|
43
46
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
44
47
|
def self.attribute_map
|
|
45
48
|
{
|
|
46
49
|
:'content_guard' => :'content_guard',
|
|
47
|
-
:'
|
|
48
|
-
:'
|
|
49
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
50
|
+
:'base_path' => :'base_path',
|
|
51
|
+
:'base_url' => :'base_url',
|
|
50
52
|
:'pulp_href' => :'pulp_href',
|
|
53
|
+
:'no_content_change_since' => :'no_content_change_since',
|
|
51
54
|
:'hidden' => :'hidden',
|
|
55
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
56
|
+
:'pulp_labels' => :'pulp_labels',
|
|
52
57
|
:'pulp_created' => :'pulp_created',
|
|
53
|
-
:'
|
|
54
|
-
:'base_url' => :'base_url'
|
|
58
|
+
:'name' => :'name'
|
|
55
59
|
}
|
|
56
60
|
end
|
|
57
61
|
|
|
@@ -59,14 +63,15 @@ module PulpcoreClient
|
|
|
59
63
|
def self.openapi_types
|
|
60
64
|
{
|
|
61
65
|
:'content_guard' => :'String',
|
|
62
|
-
:'
|
|
63
|
-
:'
|
|
64
|
-
:'pulp_last_updated' => :'DateTime',
|
|
66
|
+
:'base_path' => :'String',
|
|
67
|
+
:'base_url' => :'String',
|
|
65
68
|
:'pulp_href' => :'String',
|
|
69
|
+
:'no_content_change_since' => :'String',
|
|
66
70
|
:'hidden' => :'Boolean',
|
|
71
|
+
:'pulp_last_updated' => :'DateTime',
|
|
72
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
67
73
|
:'pulp_created' => :'DateTime',
|
|
68
|
-
:'
|
|
69
|
-
:'base_url' => :'String'
|
|
74
|
+
:'name' => :'String'
|
|
70
75
|
}
|
|
71
76
|
end
|
|
72
77
|
|
|
@@ -96,40 +101,44 @@ module PulpcoreClient
|
|
|
96
101
|
self.content_guard = attributes[:'content_guard']
|
|
97
102
|
end
|
|
98
103
|
|
|
99
|
-
if attributes.key?(:'
|
|
100
|
-
|
|
101
|
-
self.pulp_labels = value
|
|
102
|
-
end
|
|
103
|
-
end
|
|
104
|
-
|
|
105
|
-
if attributes.key?(:'name')
|
|
106
|
-
self.name = attributes[:'name']
|
|
104
|
+
if attributes.key?(:'base_path')
|
|
105
|
+
self.base_path = attributes[:'base_path']
|
|
107
106
|
end
|
|
108
107
|
|
|
109
|
-
if attributes.key?(:'
|
|
110
|
-
self.
|
|
108
|
+
if attributes.key?(:'base_url')
|
|
109
|
+
self.base_url = attributes[:'base_url']
|
|
111
110
|
end
|
|
112
111
|
|
|
113
112
|
if attributes.key?(:'pulp_href')
|
|
114
113
|
self.pulp_href = attributes[:'pulp_href']
|
|
115
114
|
end
|
|
116
115
|
|
|
116
|
+
if attributes.key?(:'no_content_change_since')
|
|
117
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
118
|
+
end
|
|
119
|
+
|
|
117
120
|
if attributes.key?(:'hidden')
|
|
118
121
|
self.hidden = attributes[:'hidden']
|
|
119
122
|
else
|
|
120
123
|
self.hidden = false
|
|
121
124
|
end
|
|
122
125
|
|
|
123
|
-
if attributes.key?(:'
|
|
124
|
-
self.
|
|
126
|
+
if attributes.key?(:'pulp_last_updated')
|
|
127
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
125
128
|
end
|
|
126
129
|
|
|
127
|
-
if attributes.key?(:'
|
|
128
|
-
|
|
130
|
+
if attributes.key?(:'pulp_labels')
|
|
131
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
132
|
+
self.pulp_labels = value
|
|
133
|
+
end
|
|
129
134
|
end
|
|
130
135
|
|
|
131
|
-
if attributes.key?(:'
|
|
132
|
-
self.
|
|
136
|
+
if attributes.key?(:'pulp_created')
|
|
137
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
138
|
+
end
|
|
139
|
+
|
|
140
|
+
if attributes.key?(:'name')
|
|
141
|
+
self.name = attributes[:'name']
|
|
133
142
|
end
|
|
134
143
|
end
|
|
135
144
|
|
|
@@ -137,22 +146,22 @@ module PulpcoreClient
|
|
|
137
146
|
# @return Array for valid properties with the reasons
|
|
138
147
|
def list_invalid_properties
|
|
139
148
|
invalid_properties = Array.new
|
|
140
|
-
if @name.nil?
|
|
141
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
142
|
-
end
|
|
143
|
-
|
|
144
149
|
if @base_path.nil?
|
|
145
150
|
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
|
146
151
|
end
|
|
147
152
|
|
|
153
|
+
if @name.nil?
|
|
154
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
155
|
+
end
|
|
156
|
+
|
|
148
157
|
invalid_properties
|
|
149
158
|
end
|
|
150
159
|
|
|
151
160
|
# Check to see if the all the properties in the model are valid
|
|
152
161
|
# @return true if the model is valid
|
|
153
162
|
def valid?
|
|
154
|
-
return false if @name.nil?
|
|
155
163
|
return false if @base_path.nil?
|
|
164
|
+
return false if @name.nil?
|
|
156
165
|
true
|
|
157
166
|
end
|
|
158
167
|
|
|
@@ -162,14 +171,15 @@ module PulpcoreClient
|
|
|
162
171
|
return true if self.equal?(o)
|
|
163
172
|
self.class == o.class &&
|
|
164
173
|
content_guard == o.content_guard &&
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
174
|
+
base_path == o.base_path &&
|
|
175
|
+
base_url == o.base_url &&
|
|
168
176
|
pulp_href == o.pulp_href &&
|
|
177
|
+
no_content_change_since == o.no_content_change_since &&
|
|
169
178
|
hidden == o.hidden &&
|
|
179
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
180
|
+
pulp_labels == o.pulp_labels &&
|
|
170
181
|
pulp_created == o.pulp_created &&
|
|
171
|
-
|
|
172
|
-
base_url == o.base_url
|
|
182
|
+
name == o.name
|
|
173
183
|
end
|
|
174
184
|
|
|
175
185
|
# @see the `==` method
|
|
@@ -181,7 +191,7 @@ module PulpcoreClient
|
|
|
181
191
|
# Calculates hash code according to all attributes.
|
|
182
192
|
# @return [Integer] Hash code
|
|
183
193
|
def hash
|
|
184
|
-
[content_guard,
|
|
194
|
+
[content_guard, base_path, base_url, pulp_href, no_content_change_since, hidden, pulp_last_updated, pulp_labels, pulp_created, name].hash
|
|
185
195
|
end
|
|
186
196
|
|
|
187
197
|
# Builds the object from hash
|
|
@@ -32,6 +32,9 @@ module PulpcoreClient
|
|
|
32
32
|
# An optional content-guard.
|
|
33
33
|
attr_accessor :content_guard
|
|
34
34
|
|
|
35
|
+
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
36
|
+
attr_accessor :no_content_change_since
|
|
37
|
+
|
|
35
38
|
# Whether this distribution should be shown in the content app.
|
|
36
39
|
attr_accessor :hidden
|
|
37
40
|
|
|
@@ -52,6 +55,7 @@ module PulpcoreClient
|
|
|
52
55
|
:'base_path' => :'base_path',
|
|
53
56
|
:'base_url' => :'base_url',
|
|
54
57
|
:'content_guard' => :'content_guard',
|
|
58
|
+
:'no_content_change_since' => :'no_content_change_since',
|
|
55
59
|
:'hidden' => :'hidden',
|
|
56
60
|
:'pulp_labels' => :'pulp_labels',
|
|
57
61
|
:'name' => :'name',
|
|
@@ -68,6 +72,7 @@ module PulpcoreClient
|
|
|
68
72
|
:'base_path' => :'String',
|
|
69
73
|
:'base_url' => :'String',
|
|
70
74
|
:'content_guard' => :'String',
|
|
75
|
+
:'no_content_change_since' => :'String',
|
|
71
76
|
:'hidden' => :'Boolean',
|
|
72
77
|
:'pulp_labels' => :'Hash<String, String>',
|
|
73
78
|
:'name' => :'String',
|
|
@@ -122,6 +127,10 @@ module PulpcoreClient
|
|
|
122
127
|
self.content_guard = attributes[:'content_guard']
|
|
123
128
|
end
|
|
124
129
|
|
|
130
|
+
if attributes.key?(:'no_content_change_since')
|
|
131
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
132
|
+
end
|
|
133
|
+
|
|
125
134
|
if attributes.key?(:'hidden')
|
|
126
135
|
self.hidden = attributes[:'hidden']
|
|
127
136
|
else
|
|
@@ -177,6 +186,7 @@ module PulpcoreClient
|
|
|
177
186
|
base_path == o.base_path &&
|
|
178
187
|
base_url == o.base_url &&
|
|
179
188
|
content_guard == o.content_guard &&
|
|
189
|
+
no_content_change_since == o.no_content_change_since &&
|
|
180
190
|
hidden == o.hidden &&
|
|
181
191
|
pulp_labels == o.pulp_labels &&
|
|
182
192
|
name == o.name &&
|
|
@@ -192,7 +202,7 @@ module PulpcoreClient
|
|
|
192
202
|
# Calculates hash code according to all attributes.
|
|
193
203
|
# @return [Integer] Hash code
|
|
194
204
|
def hash
|
|
195
|
-
[pulp_href, pulp_created, pulp_last_updated, base_path, base_url, content_guard, hidden, pulp_labels, name, repository].hash
|
|
205
|
+
[pulp_href, pulp_created, pulp_last_updated, base_path, base_url, content_guard, no_content_change_since, hidden, pulp_labels, name, repository].hash
|
|
196
206
|
end
|
|
197
207
|
|
|
198
208
|
# Builds the object from hash
|
|
@@ -50,6 +50,9 @@ module PulpcoreClient
|
|
|
50
50
|
# One or more comma separated labels that will be used to filter distributions on the upstream Pulp. E.g. \"foo=bar,key=val\" or \"foo,key\"
|
|
51
51
|
attr_accessor :pulp_label_select
|
|
52
52
|
|
|
53
|
+
# Timestamp of the last replication that occurred. Equals to 'null' if no replication task has been executed.
|
|
54
|
+
attr_accessor :last_replication
|
|
55
|
+
|
|
53
56
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
54
57
|
def self.attribute_map
|
|
55
58
|
{
|
|
@@ -64,7 +67,8 @@ module PulpcoreClient
|
|
|
64
67
|
:'client_cert' => :'client_cert',
|
|
65
68
|
:'tls_validation' => :'tls_validation',
|
|
66
69
|
:'hidden_fields' => :'hidden_fields',
|
|
67
|
-
:'pulp_label_select' => :'pulp_label_select'
|
|
70
|
+
:'pulp_label_select' => :'pulp_label_select',
|
|
71
|
+
:'last_replication' => :'last_replication'
|
|
68
72
|
}
|
|
69
73
|
end
|
|
70
74
|
|
|
@@ -82,7 +86,8 @@ module PulpcoreClient
|
|
|
82
86
|
:'client_cert' => :'String',
|
|
83
87
|
:'tls_validation' => :'Boolean',
|
|
84
88
|
:'hidden_fields' => :'Array<RemoteResponseHiddenFields>',
|
|
85
|
-
:'pulp_label_select' => :'String'
|
|
89
|
+
:'pulp_label_select' => :'String',
|
|
90
|
+
:'last_replication' => :'DateTime'
|
|
86
91
|
}
|
|
87
92
|
end
|
|
88
93
|
|
|
@@ -92,7 +97,7 @@ module PulpcoreClient
|
|
|
92
97
|
:'domain',
|
|
93
98
|
:'ca_cert',
|
|
94
99
|
:'client_cert',
|
|
95
|
-
:'pulp_label_select'
|
|
100
|
+
:'pulp_label_select',
|
|
96
101
|
])
|
|
97
102
|
end
|
|
98
103
|
|
|
@@ -160,6 +165,10 @@ module PulpcoreClient
|
|
|
160
165
|
if attributes.key?(:'pulp_label_select')
|
|
161
166
|
self.pulp_label_select = attributes[:'pulp_label_select']
|
|
162
167
|
end
|
|
168
|
+
|
|
169
|
+
if attributes.key?(:'last_replication')
|
|
170
|
+
self.last_replication = attributes[:'last_replication']
|
|
171
|
+
end
|
|
163
172
|
end
|
|
164
173
|
|
|
165
174
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -206,7 +215,8 @@ module PulpcoreClient
|
|
|
206
215
|
client_cert == o.client_cert &&
|
|
207
216
|
tls_validation == o.tls_validation &&
|
|
208
217
|
hidden_fields == o.hidden_fields &&
|
|
209
|
-
pulp_label_select == o.pulp_label_select
|
|
218
|
+
pulp_label_select == o.pulp_label_select &&
|
|
219
|
+
last_replication == o.last_replication
|
|
210
220
|
end
|
|
211
221
|
|
|
212
222
|
# @see the `==` method
|
|
@@ -218,7 +228,7 @@ module PulpcoreClient
|
|
|
218
228
|
# Calculates hash code according to all attributes.
|
|
219
229
|
# @return [Integer] Hash code
|
|
220
230
|
def hash
|
|
221
|
-
[pulp_href, pulp_created, pulp_last_updated, name, base_url, api_root, domain, ca_cert, client_cert, tls_validation, hidden_fields, pulp_label_select].hash
|
|
231
|
+
[pulp_href, pulp_created, pulp_last_updated, name, base_url, api_root, domain, ca_cert, client_cert, tls_validation, hidden_fields, pulp_label_select, last_replication].hash
|
|
222
232
|
end
|
|
223
233
|
|
|
224
234
|
# Builds the object from hash
|
|
@@ -38,25 +38,25 @@ describe 'ArtifactDistributionResponse' do
|
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
-
describe 'test attribute "
|
|
41
|
+
describe 'test attribute "base_path"' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
describe 'test attribute "
|
|
47
|
+
describe 'test attribute "base_url"' 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_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 "no_content_change_since"' 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
|
|
@@ -68,19 +68,25 @@ describe 'ArtifactDistributionResponse' do
|
|
|
68
68
|
end
|
|
69
69
|
end
|
|
70
70
|
|
|
71
|
-
describe 'test attribute "
|
|
71
|
+
describe 'test attribute "pulp_last_updated"' 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
|
|
81
81
|
end
|
|
82
82
|
|
|
83
|
-
describe 'test attribute "
|
|
83
|
+
describe 'test attribute "pulp_created"' do
|
|
84
|
+
it 'should work' do
|
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
describe 'test attribute "name"' do
|
|
84
90
|
it 'should work' do
|
|
85
91
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
86
92
|
end
|
|
@@ -68,6 +68,12 @@ describe 'DistributionResponse' do
|
|
|
68
68
|
end
|
|
69
69
|
end
|
|
70
70
|
|
|
71
|
+
describe 'test attribute "no_content_change_since"' do
|
|
72
|
+
it 'should work' do
|
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
|
|
71
77
|
describe 'test attribute "hidden"' do
|
|
72
78
|
it 'should work' do
|
|
73
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -104,4 +104,10 @@ describe 'UpstreamPulpResponse' do
|
|
|
104
104
|
end
|
|
105
105
|
end
|
|
106
106
|
|
|
107
|
+
describe 'test attribute "last_replication"' do
|
|
108
|
+
it 'should work' do
|
|
109
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
110
|
+
end
|
|
111
|
+
end
|
|
112
|
+
|
|
107
113
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pulpcore_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.58.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: 2024-08-
|
|
11
|
+
date: 2024-08-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|