pulpcore_client 3.116.3 → 3.117.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 +19 -19
- data/docs/ArtifactsApi.md +3 -3
- data/docs/Domain.md +3 -1
- data/docs/DomainResponse.md +5 -1
- data/docs/PatchedDomain.md +3 -1
- data/docs/PatchedUser.md +1 -1
- data/docs/RemotesApi.md +1 -1
- data/docs/TasksApi.md +3 -3
- data/docs/User.md +1 -1
- data/docs/VulnReportApi.md +3 -3
- data/docs/WorkersApi.md +2 -2
- data/lib/pulpcore_client/api/artifacts_api.rb +6 -6
- data/lib/pulpcore_client/api/remotes_api.rb +2 -2
- data/lib/pulpcore_client/api/tasks_api.rb +6 -6
- data/lib/pulpcore_client/api/vuln_report_api.rb +6 -6
- data/lib/pulpcore_client/api/workers_api.rb +4 -4
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +81 -81
- data/lib/pulpcore_client/models/artifact_response.rb +1 -1
- data/lib/pulpcore_client/models/domain.rb +15 -4
- data/lib/pulpcore_client/models/domain_response.rb +25 -4
- data/lib/pulpcore_client/models/group_progress_report_response.rb +1 -1
- data/lib/pulpcore_client/models/minimal_task_response.rb +1 -1
- data/lib/pulpcore_client/models/multiple_artifact_content_response.rb +1 -1
- data/lib/pulpcore_client/models/nested_open_pgp_public_subkey.rb +1 -1
- data/lib/pulpcore_client/models/nested_open_pgp_public_subkey_response.rb +1 -1
- data/lib/pulpcore_client/models/nested_open_pgp_signature.rb +1 -1
- data/lib/pulpcore_client/models/nested_open_pgp_signature_response.rb +1 -1
- data/lib/pulpcore_client/models/nested_open_pgp_user_attribute.rb +1 -1
- data/lib/pulpcore_client/models/nested_open_pgp_user_attribute_response.rb +1 -1
- data/lib/pulpcore_client/models/nested_open_pgp_user_id.rb +1 -1
- data/lib/pulpcore_client/models/nested_open_pgp_user_id_response.rb +1 -1
- data/lib/pulpcore_client/models/nested_role.rb +1 -1
- data/lib/pulpcore_client/models/nested_role_response.rb +1 -1
- data/lib/pulpcore_client/models/open_pgp_keyring.rb +1 -1
- data/lib/pulpcore_client/models/open_pgp_keyring_response.rb +1 -1
- data/lib/pulpcore_client/models/open_pgp_public_subkey_response.rb +1 -1
- data/lib/pulpcore_client/models/open_pgp_signature_response.rb +1 -1
- data/lib/pulpcore_client/models/open_pgp_user_attribute_response.rb +1 -1
- data/lib/pulpcore_client/models/open_pgp_user_id_response.rb +1 -1
- data/lib/pulpcore_client/models/patched_domain.rb +15 -4
- data/lib/pulpcore_client/models/patched_open_pgp_keyring.rb +1 -1
- data/lib/pulpcore_client/models/patched_user.rb +1 -1
- data/lib/pulpcore_client/models/progress_report_response.rb +1 -1
- data/lib/pulpcore_client/models/publication_response.rb +1 -1
- data/lib/pulpcore_client/models/repository_add_remove_content.rb +1 -1
- data/lib/pulpcore_client/models/repository_response.rb +1 -1
- data/lib/pulpcore_client/models/repository_version_response.rb +1 -1
- data/lib/pulpcore_client/models/task_group_response.rb +1 -1
- data/lib/pulpcore_client/models/task_response.rb +1 -1
- data/lib/pulpcore_client/models/task_schedule_response.rb +1 -1
- data/lib/pulpcore_client/models/user.rb +1 -1
- data/lib/pulpcore_client/models/worker_response.rb +1 -1
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/api/artifacts_api_spec.rb +3 -3
- data/spec/api/remotes_api_spec.rb +1 -1
- data/spec/api/tasks_api_spec.rb +3 -3
- data/spec/api/vuln_report_api_spec.rb +3 -3
- data/spec/api/workers_api_spec.rb +2 -2
- data/spec/models/artifact_distribution_response_spec.rb +12 -12
- data/spec/models/domain_response_spec.rb +12 -0
- data/spec/models/domain_spec.rb +6 -0
- data/spec/models/patched_domain_spec.rb +6 -0
- metadata +195 -195
|
@@ -20,7 +20,7 @@ module PulpcoreClient
|
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
22
|
# List app statuss
|
|
23
|
-
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the
|
|
23
|
+
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the `register_with` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
25
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
26
26
|
# @option opts [Time] :last_heartbeat Filter results where last_heartbeat matches value
|
|
@@ -57,7 +57,7 @@ module PulpcoreClient
|
|
|
57
57
|
end
|
|
58
58
|
|
|
59
59
|
# List app statuss
|
|
60
|
-
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the `
|
|
60
|
+
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the `register_with` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
61
61
|
# @param [Hash] opts the optional parameters
|
|
62
62
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
63
63
|
# @option opts [Time] :last_heartbeat Filter results where last_heartbeat matches value
|
|
@@ -165,7 +165,7 @@ module PulpcoreClient
|
|
|
165
165
|
end
|
|
166
166
|
|
|
167
167
|
# Inspect an app status
|
|
168
|
-
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the
|
|
168
|
+
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the `register_with` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
169
169
|
# @param worker_href [String]
|
|
170
170
|
# @param [Hash] opts the optional parameters
|
|
171
171
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
@@ -178,7 +178,7 @@ module PulpcoreClient
|
|
|
178
178
|
end
|
|
179
179
|
|
|
180
180
|
# Inspect an app status
|
|
181
|
-
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the `
|
|
181
|
+
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the `register_with` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
182
182
|
# @param worker_href [String]
|
|
183
183
|
# @param [Hash] opts the optional parameters
|
|
184
184
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
@@ -16,59 +16,59 @@ require 'time'
|
|
|
16
16
|
module PulpcoreClient
|
|
17
17
|
# A serializer for ArtifactDistribution.
|
|
18
18
|
class ArtifactDistributionResponse
|
|
19
|
-
|
|
20
|
-
attr_accessor :content_guard
|
|
21
|
-
|
|
22
|
-
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
23
|
-
attr_accessor :no_content_change_since
|
|
24
|
-
|
|
25
|
-
attr_accessor :pulp_labels
|
|
19
|
+
attr_accessor :pulp_href
|
|
26
20
|
|
|
27
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\")
|
|
28
22
|
attr_accessor :base_path
|
|
29
23
|
|
|
30
|
-
#
|
|
31
|
-
attr_accessor :
|
|
24
|
+
# 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.
|
|
25
|
+
attr_accessor :pulp_last_updated
|
|
32
26
|
|
|
33
|
-
#
|
|
34
|
-
attr_accessor :
|
|
27
|
+
# Whether this distribution should be shown in the content app.
|
|
28
|
+
attr_accessor :hidden
|
|
35
29
|
|
|
36
|
-
#
|
|
37
|
-
attr_accessor :
|
|
30
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
31
|
+
attr_accessor :name
|
|
38
32
|
|
|
39
33
|
# The Pulp Resource Name (PRN) of the associated optional content guard.
|
|
40
34
|
attr_accessor :content_guard_prn
|
|
41
35
|
|
|
42
|
-
|
|
36
|
+
# The URL for accessing the publication as defined by this distribution.
|
|
37
|
+
attr_accessor :base_url
|
|
43
38
|
|
|
44
|
-
|
|
45
|
-
attr_accessor :pulp_last_updated
|
|
39
|
+
attr_accessor :pulp_labels
|
|
46
40
|
|
|
47
41
|
# The Pulp Resource Name (PRN).
|
|
48
42
|
attr_accessor :prn
|
|
49
43
|
|
|
50
|
-
#
|
|
51
|
-
attr_accessor :
|
|
44
|
+
# An optional content-guard.
|
|
45
|
+
attr_accessor :content_guard
|
|
52
46
|
|
|
53
|
-
#
|
|
54
|
-
attr_accessor :
|
|
47
|
+
# RepositoryVersion to be served
|
|
48
|
+
attr_accessor :repository_version
|
|
49
|
+
|
|
50
|
+
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
51
|
+
attr_accessor :no_content_change_since
|
|
52
|
+
|
|
53
|
+
# Timestamp of creation.
|
|
54
|
+
attr_accessor :pulp_created
|
|
55
55
|
|
|
56
56
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
57
57
|
def self.attribute_map
|
|
58
58
|
{
|
|
59
|
-
:'content_guard' => :'content_guard',
|
|
60
|
-
:'no_content_change_since' => :'no_content_change_since',
|
|
61
|
-
:'pulp_labels' => :'pulp_labels',
|
|
62
|
-
:'base_path' => :'base_path',
|
|
63
|
-
:'repository_version' => :'repository_version',
|
|
64
|
-
:'pulp_created' => :'pulp_created',
|
|
65
|
-
:'base_url' => :'base_url',
|
|
66
|
-
:'content_guard_prn' => :'content_guard_prn',
|
|
67
59
|
:'pulp_href' => :'pulp_href',
|
|
60
|
+
:'base_path' => :'base_path',
|
|
68
61
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
69
|
-
:'prn' => :'prn',
|
|
70
62
|
:'hidden' => :'hidden',
|
|
71
|
-
:'name' => :'name'
|
|
63
|
+
:'name' => :'name',
|
|
64
|
+
:'content_guard_prn' => :'content_guard_prn',
|
|
65
|
+
:'base_url' => :'base_url',
|
|
66
|
+
:'pulp_labels' => :'pulp_labels',
|
|
67
|
+
:'prn' => :'prn',
|
|
68
|
+
:'content_guard' => :'content_guard',
|
|
69
|
+
:'repository_version' => :'repository_version',
|
|
70
|
+
:'no_content_change_since' => :'no_content_change_since',
|
|
71
|
+
:'pulp_created' => :'pulp_created'
|
|
72
72
|
}
|
|
73
73
|
end
|
|
74
74
|
|
|
@@ -80,19 +80,19 @@ module PulpcoreClient
|
|
|
80
80
|
# Attribute type mapping.
|
|
81
81
|
def self.openapi_types
|
|
82
82
|
{
|
|
83
|
-
:'content_guard' => :'String',
|
|
84
|
-
:'no_content_change_since' => :'String',
|
|
85
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
86
|
-
:'base_path' => :'String',
|
|
87
|
-
:'repository_version' => :'String',
|
|
88
|
-
:'pulp_created' => :'Time',
|
|
89
|
-
:'base_url' => :'String',
|
|
90
|
-
:'content_guard_prn' => :'String',
|
|
91
83
|
:'pulp_href' => :'String',
|
|
84
|
+
:'base_path' => :'String',
|
|
92
85
|
:'pulp_last_updated' => :'Time',
|
|
93
|
-
:'prn' => :'String',
|
|
94
86
|
:'hidden' => :'Boolean',
|
|
95
|
-
:'name' => :'String'
|
|
87
|
+
:'name' => :'String',
|
|
88
|
+
:'content_guard_prn' => :'String',
|
|
89
|
+
:'base_url' => :'String',
|
|
90
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
91
|
+
:'prn' => :'String',
|
|
92
|
+
:'content_guard' => :'String',
|
|
93
|
+
:'repository_version' => :'String',
|
|
94
|
+
:'no_content_change_since' => :'String',
|
|
95
|
+
:'pulp_created' => :'Time'
|
|
96
96
|
}
|
|
97
97
|
end
|
|
98
98
|
|
|
@@ -119,18 +119,8 @@ module PulpcoreClient
|
|
|
119
119
|
h[k.to_sym] = v
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
if attributes.key?(:'
|
|
123
|
-
self.
|
|
124
|
-
end
|
|
125
|
-
|
|
126
|
-
if attributes.key?(:'no_content_change_since')
|
|
127
|
-
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
128
|
-
end
|
|
129
|
-
|
|
130
|
-
if attributes.key?(:'pulp_labels')
|
|
131
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
132
|
-
self.pulp_labels = value
|
|
133
|
-
end
|
|
122
|
+
if attributes.key?(:'pulp_href')
|
|
123
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
134
124
|
end
|
|
135
125
|
|
|
136
126
|
if attributes.key?(:'base_path')
|
|
@@ -139,44 +129,54 @@ module PulpcoreClient
|
|
|
139
129
|
self.base_path = nil
|
|
140
130
|
end
|
|
141
131
|
|
|
142
|
-
if attributes.key?(:'
|
|
143
|
-
self.
|
|
132
|
+
if attributes.key?(:'pulp_last_updated')
|
|
133
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
144
134
|
end
|
|
145
135
|
|
|
146
|
-
if attributes.key?(:'
|
|
147
|
-
self.
|
|
136
|
+
if attributes.key?(:'hidden')
|
|
137
|
+
self.hidden = attributes[:'hidden']
|
|
138
|
+
else
|
|
139
|
+
self.hidden = false
|
|
148
140
|
end
|
|
149
141
|
|
|
150
|
-
if attributes.key?(:'
|
|
151
|
-
self.
|
|
142
|
+
if attributes.key?(:'name')
|
|
143
|
+
self.name = attributes[:'name']
|
|
144
|
+
else
|
|
145
|
+
self.name = nil
|
|
152
146
|
end
|
|
153
147
|
|
|
154
148
|
if attributes.key?(:'content_guard_prn')
|
|
155
149
|
self.content_guard_prn = attributes[:'content_guard_prn']
|
|
156
150
|
end
|
|
157
151
|
|
|
158
|
-
if attributes.key?(:'
|
|
159
|
-
self.
|
|
152
|
+
if attributes.key?(:'base_url')
|
|
153
|
+
self.base_url = attributes[:'base_url']
|
|
160
154
|
end
|
|
161
155
|
|
|
162
|
-
if attributes.key?(:'
|
|
163
|
-
|
|
156
|
+
if attributes.key?(:'pulp_labels')
|
|
157
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
158
|
+
self.pulp_labels = value
|
|
159
|
+
end
|
|
164
160
|
end
|
|
165
161
|
|
|
166
162
|
if attributes.key?(:'prn')
|
|
167
163
|
self.prn = attributes[:'prn']
|
|
168
164
|
end
|
|
169
165
|
|
|
170
|
-
if attributes.key?(:'
|
|
171
|
-
self.
|
|
172
|
-
else
|
|
173
|
-
self.hidden = false
|
|
166
|
+
if attributes.key?(:'content_guard')
|
|
167
|
+
self.content_guard = attributes[:'content_guard']
|
|
174
168
|
end
|
|
175
169
|
|
|
176
|
-
if attributes.key?(:'
|
|
177
|
-
self.
|
|
178
|
-
|
|
179
|
-
|
|
170
|
+
if attributes.key?(:'repository_version')
|
|
171
|
+
self.repository_version = attributes[:'repository_version']
|
|
172
|
+
end
|
|
173
|
+
|
|
174
|
+
if attributes.key?(:'no_content_change_since')
|
|
175
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
176
|
+
end
|
|
177
|
+
|
|
178
|
+
if attributes.key?(:'pulp_created')
|
|
179
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
180
180
|
end
|
|
181
181
|
end
|
|
182
182
|
|
|
@@ -210,19 +210,19 @@ module PulpcoreClient
|
|
|
210
210
|
def ==(o)
|
|
211
211
|
return true if self.equal?(o)
|
|
212
212
|
self.class == o.class &&
|
|
213
|
-
content_guard == o.content_guard &&
|
|
214
|
-
no_content_change_since == o.no_content_change_since &&
|
|
215
|
-
pulp_labels == o.pulp_labels &&
|
|
216
|
-
base_path == o.base_path &&
|
|
217
|
-
repository_version == o.repository_version &&
|
|
218
|
-
pulp_created == o.pulp_created &&
|
|
219
|
-
base_url == o.base_url &&
|
|
220
|
-
content_guard_prn == o.content_guard_prn &&
|
|
221
213
|
pulp_href == o.pulp_href &&
|
|
214
|
+
base_path == o.base_path &&
|
|
222
215
|
pulp_last_updated == o.pulp_last_updated &&
|
|
223
|
-
prn == o.prn &&
|
|
224
216
|
hidden == o.hidden &&
|
|
225
|
-
name == o.name
|
|
217
|
+
name == o.name &&
|
|
218
|
+
content_guard_prn == o.content_guard_prn &&
|
|
219
|
+
base_url == o.base_url &&
|
|
220
|
+
pulp_labels == o.pulp_labels &&
|
|
221
|
+
prn == o.prn &&
|
|
222
|
+
content_guard == o.content_guard &&
|
|
223
|
+
repository_version == o.repository_version &&
|
|
224
|
+
no_content_change_since == o.no_content_change_since &&
|
|
225
|
+
pulp_created == o.pulp_created
|
|
226
226
|
end
|
|
227
227
|
|
|
228
228
|
# @see the `==` method
|
|
@@ -234,7 +234,7 @@ module PulpcoreClient
|
|
|
234
234
|
# Calculates hash code according to all attributes.
|
|
235
235
|
# @return [Integer] Hash code
|
|
236
236
|
def hash
|
|
237
|
-
[
|
|
237
|
+
[pulp_href, base_path, pulp_last_updated, hidden, name, content_guard_prn, base_url, pulp_labels, prn, content_guard, repository_version, no_content_change_since, pulp_created].hash
|
|
238
238
|
end
|
|
239
239
|
|
|
240
240
|
# Builds the object from hash
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpcoreClient
|
|
17
|
-
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the
|
|
17
|
+
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the `ref_name` attribute in the ModelSerializers's `Meta` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
|
18
18
|
class ArtifactResponse
|
|
19
19
|
attr_accessor :pulp_href
|
|
20
20
|
|
|
@@ -36,6 +36,9 @@ module PulpcoreClient
|
|
|
36
36
|
# Boolean to hide distributions with a content guard in the content app.
|
|
37
37
|
attr_accessor :hide_guarded_distributions
|
|
38
38
|
|
|
39
|
+
# An optional content-guard that is automatically assigned to new distributions created within this domain when they do not specify their own content-guard. To apply multiple guards by default, use a composite content-guard.
|
|
40
|
+
attr_accessor :default_content_guard
|
|
41
|
+
|
|
39
42
|
class EnumAttributeValidator
|
|
40
43
|
attr_reader :datatype
|
|
41
44
|
attr_reader :allowable_values
|
|
@@ -67,7 +70,8 @@ module PulpcoreClient
|
|
|
67
70
|
:'storage_class' => :'storage_class',
|
|
68
71
|
:'storage_settings' => :'storage_settings',
|
|
69
72
|
:'redirect_to_object_storage' => :'redirect_to_object_storage',
|
|
70
|
-
:'hide_guarded_distributions' => :'hide_guarded_distributions'
|
|
73
|
+
:'hide_guarded_distributions' => :'hide_guarded_distributions',
|
|
74
|
+
:'default_content_guard' => :'default_content_guard'
|
|
71
75
|
}
|
|
72
76
|
end
|
|
73
77
|
|
|
@@ -85,7 +89,8 @@ module PulpcoreClient
|
|
|
85
89
|
:'storage_class' => :'StorageClassEnum',
|
|
86
90
|
:'storage_settings' => :'Object',
|
|
87
91
|
:'redirect_to_object_storage' => :'Boolean',
|
|
88
|
-
:'hide_guarded_distributions' => :'Boolean'
|
|
92
|
+
:'hide_guarded_distributions' => :'Boolean',
|
|
93
|
+
:'default_content_guard' => :'String'
|
|
89
94
|
}
|
|
90
95
|
end
|
|
91
96
|
|
|
@@ -93,6 +98,7 @@ module PulpcoreClient
|
|
|
93
98
|
def self.openapi_nullable
|
|
94
99
|
Set.new([
|
|
95
100
|
:'description',
|
|
101
|
+
:'default_content_guard'
|
|
96
102
|
])
|
|
97
103
|
end
|
|
98
104
|
|
|
@@ -150,6 +156,10 @@ module PulpcoreClient
|
|
|
150
156
|
else
|
|
151
157
|
self.hide_guarded_distributions = false
|
|
152
158
|
end
|
|
159
|
+
|
|
160
|
+
if attributes.key?(:'default_content_guard')
|
|
161
|
+
self.default_content_guard = attributes[:'default_content_guard']
|
|
162
|
+
end
|
|
153
163
|
end
|
|
154
164
|
|
|
155
165
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -247,7 +257,8 @@ module PulpcoreClient
|
|
|
247
257
|
storage_class == o.storage_class &&
|
|
248
258
|
storage_settings == o.storage_settings &&
|
|
249
259
|
redirect_to_object_storage == o.redirect_to_object_storage &&
|
|
250
|
-
hide_guarded_distributions == o.hide_guarded_distributions
|
|
260
|
+
hide_guarded_distributions == o.hide_guarded_distributions &&
|
|
261
|
+
default_content_guard == o.default_content_guard
|
|
251
262
|
end
|
|
252
263
|
|
|
253
264
|
# @see the `==` method
|
|
@@ -259,7 +270,7 @@ module PulpcoreClient
|
|
|
259
270
|
# Calculates hash code according to all attributes.
|
|
260
271
|
# @return [Integer] Hash code
|
|
261
272
|
def hash
|
|
262
|
-
[name, description, pulp_labels, storage_class, storage_settings, redirect_to_object_storage, hide_guarded_distributions].hash
|
|
273
|
+
[name, description, pulp_labels, storage_class, storage_settings, redirect_to_object_storage, hide_guarded_distributions, default_content_guard].hash
|
|
263
274
|
end
|
|
264
275
|
|
|
265
276
|
# Builds the object from hash
|
|
@@ -47,6 +47,12 @@ module PulpcoreClient
|
|
|
47
47
|
# Boolean to hide distributions with a content guard in the content app.
|
|
48
48
|
attr_accessor :hide_guarded_distributions
|
|
49
49
|
|
|
50
|
+
# An optional content-guard that is automatically assigned to new distributions created within this domain when they do not specify their own content-guard. To apply multiple guards by default, use a composite content-guard.
|
|
51
|
+
attr_accessor :default_content_guard
|
|
52
|
+
|
|
53
|
+
# The Pulp Resource Name (PRN) of the domain's default content-guard.
|
|
54
|
+
attr_accessor :default_content_guard_prn
|
|
55
|
+
|
|
50
56
|
class EnumAttributeValidator
|
|
51
57
|
attr_reader :datatype
|
|
52
58
|
attr_reader :allowable_values
|
|
@@ -82,7 +88,9 @@ module PulpcoreClient
|
|
|
82
88
|
:'storage_class' => :'storage_class',
|
|
83
89
|
:'storage_settings' => :'storage_settings',
|
|
84
90
|
:'redirect_to_object_storage' => :'redirect_to_object_storage',
|
|
85
|
-
:'hide_guarded_distributions' => :'hide_guarded_distributions'
|
|
91
|
+
:'hide_guarded_distributions' => :'hide_guarded_distributions',
|
|
92
|
+
:'default_content_guard' => :'default_content_guard',
|
|
93
|
+
:'default_content_guard_prn' => :'default_content_guard_prn'
|
|
86
94
|
}
|
|
87
95
|
end
|
|
88
96
|
|
|
@@ -104,7 +112,9 @@ module PulpcoreClient
|
|
|
104
112
|
:'storage_class' => :'StorageClassEnum',
|
|
105
113
|
:'storage_settings' => :'Object',
|
|
106
114
|
:'redirect_to_object_storage' => :'Boolean',
|
|
107
|
-
:'hide_guarded_distributions' => :'Boolean'
|
|
115
|
+
:'hide_guarded_distributions' => :'Boolean',
|
|
116
|
+
:'default_content_guard' => :'String',
|
|
117
|
+
:'default_content_guard_prn' => :'String'
|
|
108
118
|
}
|
|
109
119
|
end
|
|
110
120
|
|
|
@@ -112,6 +122,7 @@ module PulpcoreClient
|
|
|
112
122
|
def self.openapi_nullable
|
|
113
123
|
Set.new([
|
|
114
124
|
:'description',
|
|
125
|
+
:'default_content_guard',
|
|
115
126
|
])
|
|
116
127
|
end
|
|
117
128
|
|
|
@@ -185,6 +196,14 @@ module PulpcoreClient
|
|
|
185
196
|
else
|
|
186
197
|
self.hide_guarded_distributions = false
|
|
187
198
|
end
|
|
199
|
+
|
|
200
|
+
if attributes.key?(:'default_content_guard')
|
|
201
|
+
self.default_content_guard = attributes[:'default_content_guard']
|
|
202
|
+
end
|
|
203
|
+
|
|
204
|
+
if attributes.key?(:'default_content_guard_prn')
|
|
205
|
+
self.default_content_guard_prn = attributes[:'default_content_guard_prn']
|
|
206
|
+
end
|
|
188
207
|
end
|
|
189
208
|
|
|
190
209
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -262,7 +281,9 @@ module PulpcoreClient
|
|
|
262
281
|
storage_class == o.storage_class &&
|
|
263
282
|
storage_settings == o.storage_settings &&
|
|
264
283
|
redirect_to_object_storage == o.redirect_to_object_storage &&
|
|
265
|
-
hide_guarded_distributions == o.hide_guarded_distributions
|
|
284
|
+
hide_guarded_distributions == o.hide_guarded_distributions &&
|
|
285
|
+
default_content_guard == o.default_content_guard &&
|
|
286
|
+
default_content_guard_prn == o.default_content_guard_prn
|
|
266
287
|
end
|
|
267
288
|
|
|
268
289
|
# @see the `==` method
|
|
@@ -274,7 +295,7 @@ module PulpcoreClient
|
|
|
274
295
|
# Calculates hash code according to all attributes.
|
|
275
296
|
# @return [Integer] Hash code
|
|
276
297
|
def 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
|
|
298
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, name, description, pulp_labels, storage_class, storage_settings, redirect_to_object_storage, hide_guarded_distributions, default_content_guard, default_content_guard_prn].hash
|
|
278
299
|
end
|
|
279
300
|
|
|
280
301
|
# Builds the object from hash
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpcoreClient
|
|
17
|
-
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the
|
|
17
|
+
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the `ref_name` attribute in the ModelSerializers's `Meta` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
|
18
18
|
class GroupProgressReportResponse
|
|
19
19
|
# The message shown to the user for the group progress report.
|
|
20
20
|
attr_accessor :message
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpcoreClient
|
|
17
|
-
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the
|
|
17
|
+
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the `ref_name` attribute in the ModelSerializers's `Meta` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
|
18
18
|
class MinimalTaskResponse
|
|
19
19
|
attr_accessor :pulp_href
|
|
20
20
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpcoreClient
|
|
17
|
-
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the
|
|
17
|
+
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the `ref_name` attribute in the ModelSerializers's `Meta` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
|
18
18
|
class MultipleArtifactContentResponse
|
|
19
19
|
attr_accessor :pulp_href
|
|
20
20
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpcoreClient
|
|
17
|
-
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the
|
|
17
|
+
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the `ref_name` attribute in the ModelSerializers's `Meta` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
|
18
18
|
class NestedOpenPGPPublicSubkey
|
|
19
19
|
attr_accessor :fingerprint
|
|
20
20
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpcoreClient
|
|
17
|
-
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the
|
|
17
|
+
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the `ref_name` attribute in the ModelSerializers's `Meta` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
|
18
18
|
class NestedOpenPGPPublicSubkeyResponse
|
|
19
19
|
attr_accessor :fingerprint
|
|
20
20
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpcoreClient
|
|
17
|
-
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the
|
|
17
|
+
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the `ref_name` attribute in the ModelSerializers's `Meta` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
|
18
18
|
class NestedOpenPGPSignature
|
|
19
19
|
attr_accessor :issuer
|
|
20
20
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpcoreClient
|
|
17
|
-
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the
|
|
17
|
+
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the `ref_name` attribute in the ModelSerializers's `Meta` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
|
18
18
|
class NestedOpenPGPSignatureResponse
|
|
19
19
|
attr_accessor :issuer
|
|
20
20
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpcoreClient
|
|
17
|
-
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the
|
|
17
|
+
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the `ref_name` attribute in the ModelSerializers's `Meta` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
|
18
18
|
class NestedOpenPGPUserAttribute
|
|
19
19
|
attr_accessor :sha256
|
|
20
20
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpcoreClient
|
|
17
|
-
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the
|
|
17
|
+
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the `ref_name` attribute in the ModelSerializers's `Meta` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
|
18
18
|
class NestedOpenPGPUserAttributeResponse
|
|
19
19
|
attr_accessor :sha256
|
|
20
20
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpcoreClient
|
|
17
|
-
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the
|
|
17
|
+
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the `ref_name` attribute in the ModelSerializers's `Meta` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
|
18
18
|
class NestedOpenPGPUserID
|
|
19
19
|
attr_accessor :user_id
|
|
20
20
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpcoreClient
|
|
17
|
-
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the
|
|
17
|
+
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the `ref_name` attribute in the ModelSerializers's `Meta` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
|
18
18
|
class NestedOpenPGPUserIDResponse
|
|
19
19
|
attr_accessor :user_id
|
|
20
20
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpcoreClient
|
|
17
|
-
# Serializer to add/remove object roles to/from users/groups. This is used in conjunction with
|
|
17
|
+
# Serializer to add/remove object roles to/from users/groups. This is used in conjunction with `pulpcore.app.viewsets.base.RolesMixin` and requires the underlying object to be passed as `content_object` in the context.
|
|
18
18
|
class NestedRole
|
|
19
19
|
attr_accessor :users
|
|
20
20
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpcoreClient
|
|
17
|
-
# Serializer to add/remove object roles to/from users/groups. This is used in conjunction with
|
|
17
|
+
# Serializer to add/remove object roles to/from users/groups. This is used in conjunction with `pulpcore.app.viewsets.base.RolesMixin` and requires the underlying object to be passed as `content_object` in the context.
|
|
18
18
|
class NestedRoleResponse
|
|
19
19
|
attr_accessor :users
|
|
20
20
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpcoreClient
|
|
17
|
-
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the
|
|
17
|
+
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the `ref_name` attribute in the ModelSerializers's `Meta` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
|
18
18
|
class OpenPGPKeyring
|
|
19
19
|
attr_accessor :pulp_labels
|
|
20
20
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpcoreClient
|
|
17
|
-
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the
|
|
17
|
+
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the `ref_name` attribute in the ModelSerializers's `Meta` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
|
18
18
|
class OpenPGPKeyringResponse
|
|
19
19
|
attr_accessor :pulp_href
|
|
20
20
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpcoreClient
|
|
17
|
-
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the
|
|
17
|
+
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the `ref_name` attribute in the ModelSerializers's `Meta` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
|
18
18
|
class OpenPGPPublicSubkeyResponse
|
|
19
19
|
attr_accessor :pulp_href
|
|
20
20
|
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module PulpcoreClient
|
|
17
|
-
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the
|
|
17
|
+
# Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the `ref_name` attribute in the ModelSerializers's `Meta` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
|
18
18
|
class OpenPGPSignatureResponse
|
|
19
19
|
attr_accessor :pulp_href
|
|
20
20
|
|