pulpcore_client 3.71.2 → 3.72.1
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 +6 -4
- data/docs/ArtifactDistributionResponse.md +15 -15
- data/docs/Domain.md +2 -0
- data/docs/DomainResponse.md +2 -0
- data/docs/DomainsApi.md +150 -2
- data/docs/PatchedDomain.md +2 -0
- data/lib/pulpcore_client/api/domains_api.rb +154 -3
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +67 -67
- data/lib/pulpcore_client/models/domain.rb +12 -1
- data/lib/pulpcore_client/models/domain_response.rb +12 -1
- data/lib/pulpcore_client/models/patched_domain.rb +12 -1
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/api/domains_api_spec.rb +28 -1
- data/spec/models/artifact_distribution_response_spec.rb +9 -9
- data/spec/models/domain_response_spec.rb +6 -0
- data/spec/models/domain_spec.rb +6 -0
- data/spec/models/patched_domain_spec.rb +6 -0
- metadata +187 -187
@@ -16,51 +16,51 @@ require 'time'
|
|
16
16
|
module PulpcoreClient
|
17
17
|
# A serializer for ArtifactDistribution.
|
18
18
|
class ArtifactDistributionResponse
|
19
|
-
#
|
20
|
-
attr_accessor :
|
19
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
20
|
+
attr_accessor :base_path
|
21
21
|
|
22
22
|
# A unique name. Ex, `rawhide` and `stable`.
|
23
23
|
attr_accessor :name
|
24
24
|
|
25
|
-
# Timestamp
|
26
|
-
attr_accessor :
|
27
|
-
|
28
|
-
# 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.
|
29
|
-
attr_accessor :pulp_last_updated
|
25
|
+
# Timestamp of creation.
|
26
|
+
attr_accessor :pulp_created
|
30
27
|
|
31
|
-
|
32
|
-
attr_accessor :base_path
|
28
|
+
attr_accessor :pulp_labels
|
33
29
|
|
34
|
-
|
35
|
-
attr_accessor :content_guard
|
30
|
+
attr_accessor :pulp_href
|
36
31
|
|
37
32
|
# Whether this distribution should be shown in the content app.
|
38
33
|
attr_accessor :hidden
|
39
34
|
|
40
|
-
|
35
|
+
# An optional content-guard.
|
36
|
+
attr_accessor :content_guard
|
37
|
+
|
38
|
+
# The Pulp Resource Name (PRN).
|
39
|
+
attr_accessor :prn
|
41
40
|
|
42
41
|
# The URL for accessing the publication as defined by this distribution.
|
43
42
|
attr_accessor :base_url
|
44
43
|
|
45
|
-
|
44
|
+
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
45
|
+
attr_accessor :no_content_change_since
|
46
46
|
|
47
|
-
#
|
48
|
-
attr_accessor :
|
47
|
+
# 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.
|
48
|
+
attr_accessor :pulp_last_updated
|
49
49
|
|
50
50
|
# Attribute mapping from ruby-style variable name to JSON key.
|
51
51
|
def self.attribute_map
|
52
52
|
{
|
53
|
-
:'pulp_created' => :'pulp_created',
|
54
|
-
:'name' => :'name',
|
55
|
-
:'no_content_change_since' => :'no_content_change_since',
|
56
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
57
53
|
:'base_path' => :'base_path',
|
58
|
-
:'
|
59
|
-
:'
|
54
|
+
:'name' => :'name',
|
55
|
+
:'pulp_created' => :'pulp_created',
|
60
56
|
:'pulp_labels' => :'pulp_labels',
|
61
|
-
:'base_url' => :'base_url',
|
62
57
|
:'pulp_href' => :'pulp_href',
|
63
|
-
:'
|
58
|
+
:'hidden' => :'hidden',
|
59
|
+
:'content_guard' => :'content_guard',
|
60
|
+
:'prn' => :'prn',
|
61
|
+
:'base_url' => :'base_url',
|
62
|
+
:'no_content_change_since' => :'no_content_change_since',
|
63
|
+
:'pulp_last_updated' => :'pulp_last_updated'
|
64
64
|
}
|
65
65
|
end
|
66
66
|
|
@@ -72,17 +72,17 @@ module PulpcoreClient
|
|
72
72
|
# Attribute type mapping.
|
73
73
|
def self.openapi_types
|
74
74
|
{
|
75
|
-
:'pulp_created' => :'Time',
|
76
|
-
:'name' => :'String',
|
77
|
-
:'no_content_change_since' => :'String',
|
78
|
-
:'pulp_last_updated' => :'Time',
|
79
75
|
:'base_path' => :'String',
|
80
|
-
:'
|
81
|
-
:'
|
76
|
+
:'name' => :'String',
|
77
|
+
:'pulp_created' => :'Time',
|
82
78
|
:'pulp_labels' => :'Hash<String, String>',
|
83
|
-
:'base_url' => :'String',
|
84
79
|
:'pulp_href' => :'String',
|
85
|
-
:'
|
80
|
+
:'hidden' => :'Boolean',
|
81
|
+
:'content_guard' => :'String',
|
82
|
+
:'prn' => :'String',
|
83
|
+
:'base_url' => :'String',
|
84
|
+
:'no_content_change_since' => :'String',
|
85
|
+
:'pulp_last_updated' => :'Time'
|
86
86
|
}
|
87
87
|
end
|
88
88
|
|
@@ -108,8 +108,10 @@ module PulpcoreClient
|
|
108
108
|
h[k.to_sym] = v
|
109
109
|
}
|
110
110
|
|
111
|
-
if attributes.key?(:'
|
112
|
-
self.
|
111
|
+
if attributes.key?(:'base_path')
|
112
|
+
self.base_path = attributes[:'base_path']
|
113
|
+
else
|
114
|
+
self.base_path = nil
|
113
115
|
end
|
114
116
|
|
115
117
|
if attributes.key?(:'name')
|
@@ -118,22 +120,18 @@ module PulpcoreClient
|
|
118
120
|
self.name = nil
|
119
121
|
end
|
120
122
|
|
121
|
-
if attributes.key?(:'
|
122
|
-
self.
|
123
|
-
end
|
124
|
-
|
125
|
-
if attributes.key?(:'pulp_last_updated')
|
126
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
123
|
+
if attributes.key?(:'pulp_created')
|
124
|
+
self.pulp_created = attributes[:'pulp_created']
|
127
125
|
end
|
128
126
|
|
129
|
-
if attributes.key?(:'
|
130
|
-
|
131
|
-
|
132
|
-
|
127
|
+
if attributes.key?(:'pulp_labels')
|
128
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
129
|
+
self.pulp_labels = value
|
130
|
+
end
|
133
131
|
end
|
134
132
|
|
135
|
-
if attributes.key?(:'
|
136
|
-
self.
|
133
|
+
if attributes.key?(:'pulp_href')
|
134
|
+
self.pulp_href = attributes[:'pulp_href']
|
137
135
|
end
|
138
136
|
|
139
137
|
if attributes.key?(:'hidden')
|
@@ -142,22 +140,24 @@ module PulpcoreClient
|
|
142
140
|
self.hidden = false
|
143
141
|
end
|
144
142
|
|
145
|
-
if attributes.key?(:'
|
146
|
-
|
147
|
-
|
148
|
-
|
143
|
+
if attributes.key?(:'content_guard')
|
144
|
+
self.content_guard = attributes[:'content_guard']
|
145
|
+
end
|
146
|
+
|
147
|
+
if attributes.key?(:'prn')
|
148
|
+
self.prn = attributes[:'prn']
|
149
149
|
end
|
150
150
|
|
151
151
|
if attributes.key?(:'base_url')
|
152
152
|
self.base_url = attributes[:'base_url']
|
153
153
|
end
|
154
154
|
|
155
|
-
if attributes.key?(:'
|
156
|
-
self.
|
155
|
+
if attributes.key?(:'no_content_change_since')
|
156
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
157
157
|
end
|
158
158
|
|
159
|
-
if attributes.key?(:'
|
160
|
-
self.
|
159
|
+
if attributes.key?(:'pulp_last_updated')
|
160
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
161
161
|
end
|
162
162
|
end
|
163
163
|
|
@@ -166,14 +166,14 @@ module PulpcoreClient
|
|
166
166
|
def list_invalid_properties
|
167
167
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
168
168
|
invalid_properties = Array.new
|
169
|
-
if @name.nil?
|
170
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
171
|
-
end
|
172
|
-
|
173
169
|
if @base_path.nil?
|
174
170
|
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
175
171
|
end
|
176
172
|
|
173
|
+
if @name.nil?
|
174
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
175
|
+
end
|
176
|
+
|
177
177
|
invalid_properties
|
178
178
|
end
|
179
179
|
|
@@ -181,8 +181,8 @@ module PulpcoreClient
|
|
181
181
|
# @return true if the model is valid
|
182
182
|
def valid?
|
183
183
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
184
|
-
return false if @name.nil?
|
185
184
|
return false if @base_path.nil?
|
185
|
+
return false if @name.nil?
|
186
186
|
true
|
187
187
|
end
|
188
188
|
|
@@ -191,17 +191,17 @@ module PulpcoreClient
|
|
191
191
|
def ==(o)
|
192
192
|
return true if self.equal?(o)
|
193
193
|
self.class == o.class &&
|
194
|
-
pulp_created == o.pulp_created &&
|
195
|
-
name == o.name &&
|
196
|
-
no_content_change_since == o.no_content_change_since &&
|
197
|
-
pulp_last_updated == o.pulp_last_updated &&
|
198
194
|
base_path == o.base_path &&
|
199
|
-
|
200
|
-
|
195
|
+
name == o.name &&
|
196
|
+
pulp_created == o.pulp_created &&
|
201
197
|
pulp_labels == o.pulp_labels &&
|
202
|
-
base_url == o.base_url &&
|
203
198
|
pulp_href == o.pulp_href &&
|
204
|
-
|
199
|
+
hidden == o.hidden &&
|
200
|
+
content_guard == o.content_guard &&
|
201
|
+
prn == o.prn &&
|
202
|
+
base_url == o.base_url &&
|
203
|
+
no_content_change_since == o.no_content_change_since &&
|
204
|
+
pulp_last_updated == o.pulp_last_updated
|
205
205
|
end
|
206
206
|
|
207
207
|
# @see the `==` method
|
@@ -213,7 +213,7 @@ module PulpcoreClient
|
|
213
213
|
# Calculates hash code according to all attributes.
|
214
214
|
# @return [Integer] Hash code
|
215
215
|
def hash
|
216
|
-
[
|
216
|
+
[base_path, name, pulp_created, pulp_labels, pulp_href, hidden, content_guard, prn, base_url, no_content_change_since, pulp_last_updated].hash
|
217
217
|
end
|
218
218
|
|
219
219
|
# Builds the object from hash
|
@@ -22,6 +22,8 @@ module PulpcoreClient
|
|
22
22
|
# An optional description.
|
23
23
|
attr_accessor :description
|
24
24
|
|
25
|
+
attr_accessor :pulp_labels
|
26
|
+
|
25
27
|
# Backend storage class for domain. * `pulpcore.app.models.storage.FileSystem` - Use local filesystem as storage * `storages.backends.s3boto3.S3Boto3Storage` - Use Amazon S3 as storage * `storages.backends.azure_storage.AzureStorage` - Use Azure Blob as storage
|
26
28
|
attr_accessor :storage_class
|
27
29
|
|
@@ -61,6 +63,7 @@ module PulpcoreClient
|
|
61
63
|
{
|
62
64
|
:'name' => :'name',
|
63
65
|
:'description' => :'description',
|
66
|
+
:'pulp_labels' => :'pulp_labels',
|
64
67
|
:'storage_class' => :'storage_class',
|
65
68
|
:'storage_settings' => :'storage_settings',
|
66
69
|
:'redirect_to_object_storage' => :'redirect_to_object_storage',
|
@@ -78,6 +81,7 @@ module PulpcoreClient
|
|
78
81
|
{
|
79
82
|
:'name' => :'String',
|
80
83
|
:'description' => :'String',
|
84
|
+
:'pulp_labels' => :'Hash<String, String>',
|
81
85
|
:'storage_class' => :'StorageClassEnum',
|
82
86
|
:'storage_settings' => :'Object',
|
83
87
|
:'redirect_to_object_storage' => :'Boolean',
|
@@ -117,6 +121,12 @@ module PulpcoreClient
|
|
117
121
|
self.description = attributes[:'description']
|
118
122
|
end
|
119
123
|
|
124
|
+
if attributes.key?(:'pulp_labels')
|
125
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
126
|
+
self.pulp_labels = value
|
127
|
+
end
|
128
|
+
end
|
129
|
+
|
120
130
|
if attributes.key?(:'storage_class')
|
121
131
|
self.storage_class = attributes[:'storage_class']
|
122
132
|
else
|
@@ -233,6 +243,7 @@ module PulpcoreClient
|
|
233
243
|
self.class == o.class &&
|
234
244
|
name == o.name &&
|
235
245
|
description == o.description &&
|
246
|
+
pulp_labels == o.pulp_labels &&
|
236
247
|
storage_class == o.storage_class &&
|
237
248
|
storage_settings == o.storage_settings &&
|
238
249
|
redirect_to_object_storage == o.redirect_to_object_storage &&
|
@@ -248,7 +259,7 @@ module PulpcoreClient
|
|
248
259
|
# Calculates hash code according to all attributes.
|
249
260
|
# @return [Integer] Hash code
|
250
261
|
def hash
|
251
|
-
[name, description, storage_class, storage_settings, redirect_to_object_storage, hide_guarded_distributions].hash
|
262
|
+
[name, description, pulp_labels, storage_class, storage_settings, redirect_to_object_storage, hide_guarded_distributions].hash
|
252
263
|
end
|
253
264
|
|
254
265
|
# Builds the object from hash
|
@@ -33,6 +33,8 @@ module PulpcoreClient
|
|
33
33
|
# An optional description.
|
34
34
|
attr_accessor :description
|
35
35
|
|
36
|
+
attr_accessor :pulp_labels
|
37
|
+
|
36
38
|
# Backend storage class for domain. * `pulpcore.app.models.storage.FileSystem` - Use local filesystem as storage * `storages.backends.s3boto3.S3Boto3Storage` - Use Amazon S3 as storage * `storages.backends.azure_storage.AzureStorage` - Use Azure Blob as storage
|
37
39
|
attr_accessor :storage_class
|
38
40
|
|
@@ -76,6 +78,7 @@ module PulpcoreClient
|
|
76
78
|
:'pulp_last_updated' => :'pulp_last_updated',
|
77
79
|
:'name' => :'name',
|
78
80
|
:'description' => :'description',
|
81
|
+
:'pulp_labels' => :'pulp_labels',
|
79
82
|
:'storage_class' => :'storage_class',
|
80
83
|
:'storage_settings' => :'storage_settings',
|
81
84
|
:'redirect_to_object_storage' => :'redirect_to_object_storage',
|
@@ -97,6 +100,7 @@ module PulpcoreClient
|
|
97
100
|
:'pulp_last_updated' => :'Time',
|
98
101
|
:'name' => :'String',
|
99
102
|
:'description' => :'String',
|
103
|
+
:'pulp_labels' => :'Hash<String, String>',
|
100
104
|
:'storage_class' => :'StorageClassEnum',
|
101
105
|
:'storage_settings' => :'Object',
|
102
106
|
:'redirect_to_object_storage' => :'Boolean',
|
@@ -152,6 +156,12 @@ module PulpcoreClient
|
|
152
156
|
self.description = attributes[:'description']
|
153
157
|
end
|
154
158
|
|
159
|
+
if attributes.key?(:'pulp_labels')
|
160
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
161
|
+
self.pulp_labels = value
|
162
|
+
end
|
163
|
+
end
|
164
|
+
|
155
165
|
if attributes.key?(:'storage_class')
|
156
166
|
self.storage_class = attributes[:'storage_class']
|
157
167
|
else
|
@@ -248,6 +258,7 @@ module PulpcoreClient
|
|
248
258
|
pulp_last_updated == o.pulp_last_updated &&
|
249
259
|
name == o.name &&
|
250
260
|
description == o.description &&
|
261
|
+
pulp_labels == o.pulp_labels &&
|
251
262
|
storage_class == o.storage_class &&
|
252
263
|
storage_settings == o.storage_settings &&
|
253
264
|
redirect_to_object_storage == o.redirect_to_object_storage &&
|
@@ -263,7 +274,7 @@ module PulpcoreClient
|
|
263
274
|
# Calculates hash code according to all attributes.
|
264
275
|
# @return [Integer] Hash code
|
265
276
|
def hash
|
266
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, name, description, storage_class, storage_settings, redirect_to_object_storage, hide_guarded_distributions].hash
|
277
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, name, description, pulp_labels, storage_class, storage_settings, redirect_to_object_storage, hide_guarded_distributions].hash
|
267
278
|
end
|
268
279
|
|
269
280
|
# Builds the object from hash
|
@@ -22,6 +22,8 @@ module PulpcoreClient
|
|
22
22
|
# An optional description.
|
23
23
|
attr_accessor :description
|
24
24
|
|
25
|
+
attr_accessor :pulp_labels
|
26
|
+
|
25
27
|
# Backend storage class for domain. * `pulpcore.app.models.storage.FileSystem` - Use local filesystem as storage * `storages.backends.s3boto3.S3Boto3Storage` - Use Amazon S3 as storage * `storages.backends.azure_storage.AzureStorage` - Use Azure Blob as storage
|
26
28
|
attr_accessor :storage_class
|
27
29
|
|
@@ -61,6 +63,7 @@ module PulpcoreClient
|
|
61
63
|
{
|
62
64
|
:'name' => :'name',
|
63
65
|
:'description' => :'description',
|
66
|
+
:'pulp_labels' => :'pulp_labels',
|
64
67
|
:'storage_class' => :'storage_class',
|
65
68
|
:'storage_settings' => :'storage_settings',
|
66
69
|
:'redirect_to_object_storage' => :'redirect_to_object_storage',
|
@@ -78,6 +81,7 @@ module PulpcoreClient
|
|
78
81
|
{
|
79
82
|
:'name' => :'String',
|
80
83
|
:'description' => :'String',
|
84
|
+
:'pulp_labels' => :'Hash<String, String>',
|
81
85
|
:'storage_class' => :'StorageClassEnum',
|
82
86
|
:'storage_settings' => :'Object',
|
83
87
|
:'redirect_to_object_storage' => :'Boolean',
|
@@ -115,6 +119,12 @@ module PulpcoreClient
|
|
115
119
|
self.description = attributes[:'description']
|
116
120
|
end
|
117
121
|
|
122
|
+
if attributes.key?(:'pulp_labels')
|
123
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
124
|
+
self.pulp_labels = value
|
125
|
+
end
|
126
|
+
end
|
127
|
+
|
118
128
|
if attributes.key?(:'storage_class')
|
119
129
|
self.storage_class = attributes[:'storage_class']
|
120
130
|
end
|
@@ -212,6 +222,7 @@ module PulpcoreClient
|
|
212
222
|
self.class == o.class &&
|
213
223
|
name == o.name &&
|
214
224
|
description == o.description &&
|
225
|
+
pulp_labels == o.pulp_labels &&
|
215
226
|
storage_class == o.storage_class &&
|
216
227
|
storage_settings == o.storage_settings &&
|
217
228
|
redirect_to_object_storage == o.redirect_to_object_storage &&
|
@@ -227,7 +238,7 @@ module PulpcoreClient
|
|
227
238
|
# Calculates hash code according to all attributes.
|
228
239
|
# @return [Integer] Hash code
|
229
240
|
def hash
|
230
|
-
[name, description, storage_class, storage_settings, redirect_to_object_storage, hide_guarded_distributions].hash
|
241
|
+
[name, description, pulp_labels, storage_class, storage_settings, redirect_to_object_storage, hide_guarded_distributions].hash
|
231
242
|
end
|
232
243
|
|
233
244
|
# Builds the object from hash
|
@@ -71,10 +71,11 @@ describe 'DomainsApi' do
|
|
71
71
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
72
72
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
73
73
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
74
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `name` - Name * `-name` - Name (descending) * `description` - Description * `-description` - Description (descending) * `storage_class` - Storage class * `-storage_class` - Storage class (descending) * `storage_settings` - Storage settings * `-storage_settings` - Storage settings (descending) * `redirect_to_object_storage` - Redirect to object storage * `-redirect_to_object_storage` - Redirect to object storage (descending) * `hide_guarded_distributions` - Hide guarded distributions * `-hide_guarded_distributions` - Hide guarded distributions (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
74
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `storage_class` - Storage class * `-storage_class` - Storage class (descending) * `storage_settings` - Storage settings * `-storage_settings` - Storage settings (descending) * `redirect_to_object_storage` - Redirect to object storage * `-redirect_to_object_storage` - Redirect to object storage (descending) * `hide_guarded_distributions` - Hide guarded distributions * `-hide_guarded_distributions` - Hide guarded distributions (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
75
75
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
76
76
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
77
77
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
78
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
78
79
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
79
80
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
80
81
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
@@ -124,6 +125,32 @@ describe 'DomainsApi' do
|
|
124
125
|
end
|
125
126
|
end
|
126
127
|
|
128
|
+
# unit tests for set_label
|
129
|
+
# Set a label
|
130
|
+
# Set a single pulp_label on the object to a specific value or null.
|
131
|
+
# @param domain_href
|
132
|
+
# @param set_label
|
133
|
+
# @param [Hash] opts the optional parameters
|
134
|
+
# @return [SetLabelResponse]
|
135
|
+
describe 'set_label test' do
|
136
|
+
it 'should work' do
|
137
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
141
|
+
# unit tests for unset_label
|
142
|
+
# Unset a label
|
143
|
+
# Unset a single pulp_label on the object.
|
144
|
+
# @param domain_href
|
145
|
+
# @param unset_label
|
146
|
+
# @param [Hash] opts the optional parameters
|
147
|
+
# @return [UnsetLabelResponse]
|
148
|
+
describe 'unset_label test' do
|
149
|
+
it 'should work' do
|
150
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
127
154
|
# unit tests for update
|
128
155
|
# Update a domain
|
129
156
|
# Trigger an asynchronous update task
|
@@ -27,7 +27,7 @@ describe PulpcoreClient::ArtifactDistributionResponse do
|
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
30
|
-
describe 'test attribute "
|
30
|
+
describe 'test attribute "base_path"' do
|
31
31
|
it 'should work' do
|
32
32
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
33
|
end
|
@@ -39,37 +39,37 @@ describe PulpcoreClient::ArtifactDistributionResponse do
|
|
39
39
|
end
|
40
40
|
end
|
41
41
|
|
42
|
-
describe 'test attribute "
|
42
|
+
describe 'test attribute "pulp_created"' do
|
43
43
|
it 'should work' do
|
44
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
45
|
end
|
46
46
|
end
|
47
47
|
|
48
|
-
describe 'test attribute "
|
48
|
+
describe 'test attribute "pulp_labels"' do
|
49
49
|
it 'should work' do
|
50
50
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
54
|
-
describe 'test attribute "
|
54
|
+
describe 'test attribute "pulp_href"' do
|
55
55
|
it 'should work' do
|
56
56
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
57
|
end
|
58
58
|
end
|
59
59
|
|
60
|
-
describe 'test attribute "
|
60
|
+
describe 'test attribute "hidden"' do
|
61
61
|
it 'should work' do
|
62
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
63
63
|
end
|
64
64
|
end
|
65
65
|
|
66
|
-
describe 'test attribute "
|
66
|
+
describe 'test attribute "content_guard"' do
|
67
67
|
it 'should work' do
|
68
68
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
69
69
|
end
|
70
70
|
end
|
71
71
|
|
72
|
-
describe 'test attribute "
|
72
|
+
describe 'test attribute "prn"' do
|
73
73
|
it 'should work' do
|
74
74
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
75
75
|
end
|
@@ -81,13 +81,13 @@ describe PulpcoreClient::ArtifactDistributionResponse do
|
|
81
81
|
end
|
82
82
|
end
|
83
83
|
|
84
|
-
describe 'test attribute "
|
84
|
+
describe 'test attribute "no_content_change_since"' do
|
85
85
|
it 'should work' do
|
86
86
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
87
87
|
end
|
88
88
|
end
|
89
89
|
|
90
|
-
describe 'test attribute "
|
90
|
+
describe 'test attribute "pulp_last_updated"' do
|
91
91
|
it 'should work' do
|
92
92
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
93
93
|
end
|
@@ -63,6 +63,12 @@ describe PulpcoreClient::DomainResponse do
|
|
63
63
|
end
|
64
64
|
end
|
65
65
|
|
66
|
+
describe 'test attribute "pulp_labels"' do
|
67
|
+
it 'should work' do
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
66
72
|
describe 'test attribute "storage_class"' do
|
67
73
|
it 'should work' do
|
68
74
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
data/spec/models/domain_spec.rb
CHANGED
@@ -39,6 +39,12 @@ describe PulpcoreClient::Domain do
|
|
39
39
|
end
|
40
40
|
end
|
41
41
|
|
42
|
+
describe 'test attribute "pulp_labels"' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
42
48
|
describe 'test attribute "storage_class"' do
|
43
49
|
it 'should work' do
|
44
50
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
@@ -39,6 +39,12 @@ describe PulpcoreClient::PatchedDomain do
|
|
39
39
|
end
|
40
40
|
end
|
41
41
|
|
42
|
+
describe 'test attribute "pulp_labels"' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
42
48
|
describe 'test attribute "storage_class"' do
|
43
49
|
it 'should work' do
|
44
50
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|