pulpcore_client 3.81.0 → 3.82.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 +5 -4
- data/docs/AccessPoliciesApi.md +28 -12
- data/docs/ArtifactDistributionResponse.md +14 -14
- data/docs/ArtifactsApi.md +14 -4
- data/docs/ContentApi.md +2 -0
- data/docs/ContentOpenpgpPublickeyApi.md +22 -8
- data/docs/ContentOpenpgpPublicsubkeyApi.md +20 -8
- data/docs/ContentOpenpgpSignatureApi.md +20 -8
- data/docs/ContentOpenpgpUserattributeApi.md +20 -8
- data/docs/ContentOpenpgpUseridApi.md +20 -8
- data/docs/ContentguardsApi.md +2 -0
- data/docs/ContentguardsCompositeApi.md +56 -24
- data/docs/ContentguardsContentRedirectApi.md +56 -24
- data/docs/ContentguardsHeaderApi.md +56 -24
- data/docs/ContentguardsRbacApi.md +56 -24
- data/docs/DistributionsApi.md +2 -0
- data/docs/DistributionsArtifactsApi.md +4 -0
- data/docs/DistributionsOpenpgpApi.md +52 -24
- data/docs/DomainsApi.md +60 -28
- data/docs/ExportersFilesystemApi.md +36 -16
- data/docs/ExportersFilesystemExportsApi.md +20 -8
- data/docs/ExportersPulpApi.md +36 -16
- data/docs/ExportersPulpExportsApi.md +20 -8
- data/docs/GroupsApi.md +56 -24
- data/docs/GroupsRolesApi.md +20 -8
- data/docs/GroupsUsersApi.md +18 -8
- data/docs/ImportersPulpApi.md +36 -16
- data/docs/ImportersPulpImportCheckApi.md +8 -4
- data/docs/ImportersPulpImportsApi.md +20 -8
- data/docs/LivezApi.md +14 -5
- data/docs/LoginApi.md +34 -15
- data/docs/OrphansApi.md +10 -5
- data/docs/OrphansCleanupApi.md +8 -4
- data/docs/PublicationsApi.md +2 -0
- data/docs/RemotesApi.md +2 -0
- data/docs/RepairApi.md +8 -4
- data/docs/RepositoriesApi.md +2 -0
- data/docs/RepositoriesOpenpgpKeyringApi.md +80 -36
- data/docs/RepositoriesReclaimSpaceApi.md +8 -4
- data/docs/RepositoryVersionsApi.md +2 -0
- data/docs/RolesApi.md +36 -16
- data/docs/SigningServicesApi.md +4 -0
- data/docs/StatusApi.md +14 -5
- data/docs/TaskGroupsApi.md +12 -4
- data/docs/TaskSchedulesApi.md +24 -8
- data/docs/TasksApi.md +52 -22
- data/docs/UploadsApi.md +50 -20
- data/docs/UpstreamPulpsApi.md +64 -28
- data/docs/UsersApi.md +36 -16
- data/docs/UsersRolesApi.md +20 -8
- data/docs/WorkersApi.md +4 -0
- data/lib/pulpcore_client/api/access_policies_api.rb +15 -0
- data/lib/pulpcore_client/api/artifacts_api.rb +12 -0
- data/lib/pulpcore_client/api/content_api.rb +3 -0
- data/lib/pulpcore_client/api/content_openpgp_publickey_api.rb +15 -0
- data/lib/pulpcore_client/api/content_openpgp_publicsubkey_api.rb +12 -0
- data/lib/pulpcore_client/api/content_openpgp_signature_api.rb +12 -0
- data/lib/pulpcore_client/api/content_openpgp_userattribute_api.rb +12 -0
- data/lib/pulpcore_client/api/content_openpgp_userid_api.rb +12 -0
- data/lib/pulpcore_client/api/contentguards_api.rb +3 -0
- data/lib/pulpcore_client/api/contentguards_composite_api.rb +30 -0
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +30 -0
- data/lib/pulpcore_client/api/contentguards_header_api.rb +30 -0
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +30 -0
- data/lib/pulpcore_client/api/distributions_api.rb +3 -0
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +6 -0
- data/lib/pulpcore_client/api/distributions_openpgp_api.rb +24 -0
- data/lib/pulpcore_client/api/domains_api.rb +27 -0
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +18 -0
- data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +12 -0
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +18 -0
- data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +12 -0
- data/lib/pulpcore_client/api/groups_api.rb +30 -0
- data/lib/pulpcore_client/api/groups_roles_api.rb +12 -0
- data/lib/pulpcore_client/api/groups_users_api.rb +9 -0
- data/lib/pulpcore_client/api/importers_pulp_api.rb +18 -0
- data/lib/pulpcore_client/api/importers_pulp_import_check_api.rb +3 -0
- data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +12 -0
- data/lib/pulpcore_client/api/livez_api.rb +9 -0
- data/lib/pulpcore_client/api/login_api.rb +15 -0
- data/lib/pulpcore_client/api/orphans_api.rb +3 -0
- data/lib/pulpcore_client/api/orphans_cleanup_api.rb +3 -0
- data/lib/pulpcore_client/api/publications_api.rb +3 -0
- data/lib/pulpcore_client/api/remotes_api.rb +3 -0
- data/lib/pulpcore_client/api/repair_api.rb +3 -0
- data/lib/pulpcore_client/api/repositories_api.rb +3 -0
- data/lib/pulpcore_client/api/repositories_openpgp_keyring_api.rb +39 -0
- data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +3 -0
- data/lib/pulpcore_client/api/repository_versions_api.rb +3 -0
- data/lib/pulpcore_client/api/roles_api.rb +18 -0
- data/lib/pulpcore_client/api/signing_services_api.rb +6 -0
- data/lib/pulpcore_client/api/status_api.rb +9 -0
- data/lib/pulpcore_client/api/task_groups_api.rb +9 -0
- data/lib/pulpcore_client/api/task_schedules_api.rb +18 -0
- data/lib/pulpcore_client/api/tasks_api.rb +33 -3
- data/lib/pulpcore_client/api/uploads_api.rb +30 -0
- data/lib/pulpcore_client/api/upstream_pulps_api.rb +33 -0
- data/lib/pulpcore_client/api/users_api.rb +18 -0
- data/lib/pulpcore_client/api/users_roles_api.rb +12 -0
- data/lib/pulpcore_client/api/workers_api.rb +6 -0
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +69 -69
- data/lib/pulpcore_client/models/composite_content_guard.rb +1 -1
- data/lib/pulpcore_client/models/composite_content_guard_response.rb +1 -1
- data/lib/pulpcore_client/models/content_guard_response.rb +1 -1
- data/lib/pulpcore_client/models/patched_composite_content_guard.rb +1 -1
- data/lib/pulpcore_client/models/patched_rbac_content_guard.rb +1 -1
- data/lib/pulpcore_client/models/rbac_content_guard.rb +1 -1
- data/lib/pulpcore_client/models/rbac_content_guard_response.rb +1 -1
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/api/access_policies_api_spec.rb +5 -0
- data/spec/api/artifacts_api_spec.rb +4 -0
- data/spec/api/content_api_spec.rb +1 -0
- data/spec/api/content_openpgp_publickey_api_spec.rb +5 -0
- data/spec/api/content_openpgp_publicsubkey_api_spec.rb +4 -0
- data/spec/api/content_openpgp_signature_api_spec.rb +4 -0
- data/spec/api/content_openpgp_userattribute_api_spec.rb +4 -0
- data/spec/api/content_openpgp_userid_api_spec.rb +4 -0
- data/spec/api/contentguards_api_spec.rb +1 -0
- data/spec/api/contentguards_composite_api_spec.rb +10 -0
- data/spec/api/contentguards_content_redirect_api_spec.rb +10 -0
- data/spec/api/contentguards_header_api_spec.rb +10 -0
- data/spec/api/contentguards_rbac_api_spec.rb +10 -0
- data/spec/api/distributions_api_spec.rb +1 -0
- data/spec/api/distributions_artifacts_api_spec.rb +2 -0
- data/spec/api/distributions_openpgp_api_spec.rb +8 -0
- data/spec/api/domains_api_spec.rb +9 -0
- data/spec/api/exporters_filesystem_api_spec.rb +6 -0
- data/spec/api/exporters_filesystem_exports_api_spec.rb +4 -0
- data/spec/api/exporters_pulp_api_spec.rb +6 -0
- data/spec/api/exporters_pulp_exports_api_spec.rb +4 -0
- data/spec/api/groups_api_spec.rb +10 -0
- data/spec/api/groups_roles_api_spec.rb +4 -0
- data/spec/api/groups_users_api_spec.rb +3 -0
- data/spec/api/importers_pulp_api_spec.rb +6 -0
- data/spec/api/importers_pulp_import_check_api_spec.rb +1 -0
- data/spec/api/importers_pulp_imports_api_spec.rb +4 -0
- data/spec/api/livez_api_spec.rb +3 -0
- data/spec/api/login_api_spec.rb +5 -0
- data/spec/api/orphans_api_spec.rb +1 -0
- data/spec/api/orphans_cleanup_api_spec.rb +1 -0
- data/spec/api/publications_api_spec.rb +1 -0
- data/spec/api/remotes_api_spec.rb +1 -0
- data/spec/api/repair_api_spec.rb +1 -0
- data/spec/api/repositories_api_spec.rb +1 -0
- data/spec/api/repositories_openpgp_keyring_api_spec.rb +13 -0
- data/spec/api/repositories_reclaim_space_api_spec.rb +1 -0
- data/spec/api/repository_versions_api_spec.rb +1 -0
- data/spec/api/roles_api_spec.rb +6 -0
- data/spec/api/signing_services_api_spec.rb +2 -0
- data/spec/api/status_api_spec.rb +3 -0
- data/spec/api/task_groups_api_spec.rb +3 -0
- data/spec/api/task_schedules_api_spec.rb +6 -0
- data/spec/api/tasks_api_spec.rb +11 -1
- data/spec/api/uploads_api_spec.rb +10 -0
- data/spec/api/upstream_pulps_api_spec.rb +11 -0
- data/spec/api/users_api_spec.rb +6 -0
- data/spec/api/users_roles_api_spec.rb +4 -0
- data/spec/api/workers_api_spec.rb +2 -0
- data/spec/models/artifact_distribution_response_spec.rb +11 -11
- metadata +190 -190
@@ -16,51 +16,51 @@ require 'time'
|
|
16
16
|
module PulpcoreClient
|
17
17
|
# A serializer for ArtifactDistribution.
|
18
18
|
class ArtifactDistributionResponse
|
19
|
-
# 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.
|
20
|
-
attr_accessor :pulp_last_updated
|
21
|
-
|
22
|
-
# Whether this distribution should be shown in the content app.
|
23
|
-
attr_accessor :hidden
|
24
|
-
|
25
|
-
attr_accessor :pulp_href
|
26
|
-
|
27
|
-
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
28
|
-
attr_accessor :no_content_change_since
|
29
|
-
|
30
19
|
# Timestamp of creation.
|
31
20
|
attr_accessor :pulp_created
|
32
21
|
|
33
|
-
#
|
34
|
-
attr_accessor :
|
22
|
+
# The URL for accessing the publication as defined by this distribution.
|
23
|
+
attr_accessor :base_url
|
24
|
+
|
25
|
+
# Whether this distribution should be shown in the content app.
|
26
|
+
attr_accessor :hidden
|
35
27
|
|
36
28
|
attr_accessor :pulp_labels
|
37
29
|
|
38
|
-
# The
|
39
|
-
attr_accessor :
|
30
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
31
|
+
attr_accessor :base_path
|
40
32
|
|
41
33
|
# An optional content-guard.
|
42
34
|
attr_accessor :content_guard
|
43
35
|
|
36
|
+
# 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.
|
37
|
+
attr_accessor :pulp_last_updated
|
38
|
+
|
39
|
+
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
40
|
+
attr_accessor :no_content_change_since
|
41
|
+
|
44
42
|
# The Pulp Resource Name (PRN).
|
45
43
|
attr_accessor :prn
|
46
44
|
|
47
|
-
|
48
|
-
|
45
|
+
attr_accessor :pulp_href
|
46
|
+
|
47
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
48
|
+
attr_accessor :name
|
49
49
|
|
50
50
|
# Attribute mapping from ruby-style variable name to JSON key.
|
51
51
|
def self.attribute_map
|
52
52
|
{
|
53
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
54
|
-
:'hidden' => :'hidden',
|
55
|
-
:'pulp_href' => :'pulp_href',
|
56
|
-
:'no_content_change_since' => :'no_content_change_since',
|
57
53
|
:'pulp_created' => :'pulp_created',
|
58
|
-
:'name' => :'name',
|
59
|
-
:'pulp_labels' => :'pulp_labels',
|
60
54
|
:'base_url' => :'base_url',
|
55
|
+
:'hidden' => :'hidden',
|
56
|
+
:'pulp_labels' => :'pulp_labels',
|
57
|
+
:'base_path' => :'base_path',
|
61
58
|
:'content_guard' => :'content_guard',
|
59
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
60
|
+
:'no_content_change_since' => :'no_content_change_since',
|
62
61
|
:'prn' => :'prn',
|
63
|
-
:'
|
62
|
+
:'pulp_href' => :'pulp_href',
|
63
|
+
:'name' => :'name'
|
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_last_updated' => :'Time',
|
76
|
-
:'hidden' => :'Boolean',
|
77
|
-
:'pulp_href' => :'String',
|
78
|
-
:'no_content_change_since' => :'String',
|
79
75
|
:'pulp_created' => :'Time',
|
80
|
-
:'name' => :'String',
|
81
|
-
:'pulp_labels' => :'Hash<String, String>',
|
82
76
|
:'base_url' => :'String',
|
77
|
+
:'hidden' => :'Boolean',
|
78
|
+
:'pulp_labels' => :'Hash<String, String>',
|
79
|
+
:'base_path' => :'String',
|
83
80
|
:'content_guard' => :'String',
|
81
|
+
:'pulp_last_updated' => :'Time',
|
82
|
+
:'no_content_change_since' => :'String',
|
84
83
|
:'prn' => :'String',
|
85
|
-
:'
|
84
|
+
:'pulp_href' => :'String',
|
85
|
+
:'name' => :'String'
|
86
86
|
}
|
87
87
|
end
|
88
88
|
|
@@ -108,8 +108,12 @@ module PulpcoreClient
|
|
108
108
|
h[k.to_sym] = v
|
109
109
|
}
|
110
110
|
|
111
|
-
if attributes.key?(:'
|
112
|
-
self.
|
111
|
+
if attributes.key?(:'pulp_created')
|
112
|
+
self.pulp_created = attributes[:'pulp_created']
|
113
|
+
end
|
114
|
+
|
115
|
+
if attributes.key?(:'base_url')
|
116
|
+
self.base_url = attributes[:'base_url']
|
113
117
|
end
|
114
118
|
|
115
119
|
if attributes.key?(:'hidden')
|
@@ -118,46 +122,42 @@ module PulpcoreClient
|
|
118
122
|
self.hidden = false
|
119
123
|
end
|
120
124
|
|
121
|
-
if attributes.key?(:'pulp_href')
|
122
|
-
self.pulp_href = attributes[:'pulp_href']
|
123
|
-
end
|
124
|
-
|
125
|
-
if attributes.key?(:'no_content_change_since')
|
126
|
-
self.no_content_change_since = attributes[:'no_content_change_since']
|
127
|
-
end
|
128
|
-
|
129
|
-
if attributes.key?(:'pulp_created')
|
130
|
-
self.pulp_created = attributes[:'pulp_created']
|
131
|
-
end
|
132
|
-
|
133
|
-
if attributes.key?(:'name')
|
134
|
-
self.name = attributes[:'name']
|
135
|
-
else
|
136
|
-
self.name = nil
|
137
|
-
end
|
138
|
-
|
139
125
|
if attributes.key?(:'pulp_labels')
|
140
126
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
141
127
|
self.pulp_labels = value
|
142
128
|
end
|
143
129
|
end
|
144
130
|
|
145
|
-
if attributes.key?(:'
|
146
|
-
self.
|
131
|
+
if attributes.key?(:'base_path')
|
132
|
+
self.base_path = attributes[:'base_path']
|
133
|
+
else
|
134
|
+
self.base_path = nil
|
147
135
|
end
|
148
136
|
|
149
137
|
if attributes.key?(:'content_guard')
|
150
138
|
self.content_guard = attributes[:'content_guard']
|
151
139
|
end
|
152
140
|
|
141
|
+
if attributes.key?(:'pulp_last_updated')
|
142
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
143
|
+
end
|
144
|
+
|
145
|
+
if attributes.key?(:'no_content_change_since')
|
146
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
147
|
+
end
|
148
|
+
|
153
149
|
if attributes.key?(:'prn')
|
154
150
|
self.prn = attributes[:'prn']
|
155
151
|
end
|
156
152
|
|
157
|
-
if attributes.key?(:'
|
158
|
-
self.
|
153
|
+
if attributes.key?(:'pulp_href')
|
154
|
+
self.pulp_href = attributes[:'pulp_href']
|
155
|
+
end
|
156
|
+
|
157
|
+
if attributes.key?(:'name')
|
158
|
+
self.name = attributes[:'name']
|
159
159
|
else
|
160
|
-
self.
|
160
|
+
self.name = nil
|
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_last_updated == o.pulp_last_updated &&
|
195
|
-
hidden == o.hidden &&
|
196
|
-
pulp_href == o.pulp_href &&
|
197
|
-
no_content_change_since == o.no_content_change_since &&
|
198
194
|
pulp_created == o.pulp_created &&
|
199
|
-
name == o.name &&
|
200
|
-
pulp_labels == o.pulp_labels &&
|
201
195
|
base_url == o.base_url &&
|
196
|
+
hidden == o.hidden &&
|
197
|
+
pulp_labels == o.pulp_labels &&
|
198
|
+
base_path == o.base_path &&
|
202
199
|
content_guard == o.content_guard &&
|
200
|
+
pulp_last_updated == o.pulp_last_updated &&
|
201
|
+
no_content_change_since == o.no_content_change_since &&
|
203
202
|
prn == o.prn &&
|
204
|
-
|
203
|
+
pulp_href == o.pulp_href &&
|
204
|
+
name == o.name
|
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
|
+
[pulp_created, base_url, hidden, pulp_labels, base_path, content_guard, pulp_last_updated, no_content_change_since, prn, pulp_href, name].hash
|
217
217
|
end
|
218
218
|
|
219
219
|
# Builds the object from hash
|
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module PulpcoreClient
|
17
|
-
# Base
|
17
|
+
# Base class for content guard serializers.
|
18
18
|
class CompositeContentGuard
|
19
19
|
# The unique name.
|
20
20
|
attr_accessor :name
|
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module PulpcoreClient
|
17
|
-
# Base
|
17
|
+
# Base class for content guard serializers.
|
18
18
|
class CompositeContentGuardResponse
|
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
|
17
|
+
# Base class for content guard serializers.
|
18
18
|
class ContentGuardResponse
|
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
|
17
|
+
# Base class for content guard serializers.
|
18
18
|
class PatchedCompositeContentGuard
|
19
19
|
# The unique name.
|
20
20
|
attr_accessor :name
|
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module PulpcoreClient
|
17
|
-
# Base
|
17
|
+
# Base class for content guard serializers.
|
18
18
|
class PatchedRBACContentGuard
|
19
19
|
# The unique name.
|
20
20
|
attr_accessor :name
|
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module PulpcoreClient
|
17
|
-
# Base
|
17
|
+
# Base class for content guard serializers.
|
18
18
|
class RBACContentGuard
|
19
19
|
# The unique name.
|
20
20
|
attr_accessor :name
|
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module PulpcoreClient
|
17
|
-
# Base
|
17
|
+
# Base class for content guard serializers.
|
18
18
|
class RBACContentGuardResponse
|
19
19
|
attr_accessor :pulp_href
|
20
20
|
|
@@ -36,6 +36,7 @@ describe 'AccessPoliciesApi' do
|
|
36
36
|
# List access policys
|
37
37
|
# ViewSet for AccessPolicy.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
39
40
|
# @option opts [Boolean] :customized Filter results where customized matches value
|
40
41
|
# @option opts [Integer] :limit Number of results to return per page.
|
41
42
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
@@ -68,6 +69,7 @@ describe 'AccessPoliciesApi' do
|
|
68
69
|
# @param access_policy_href
|
69
70
|
# @param patched_access_policy
|
70
71
|
# @param [Hash] opts the optional parameters
|
72
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
71
73
|
# @return [AccessPolicyResponse]
|
72
74
|
describe 'partial_update test' do
|
73
75
|
it 'should work' do
|
@@ -80,6 +82,7 @@ describe 'AccessPoliciesApi' do
|
|
80
82
|
# ViewSet for AccessPolicy.
|
81
83
|
# @param access_policy_href
|
82
84
|
# @param [Hash] opts the optional parameters
|
85
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
83
86
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
84
87
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
85
88
|
# @return [AccessPolicyResponse]
|
@@ -93,6 +96,7 @@ describe 'AccessPoliciesApi' do
|
|
93
96
|
# Reset the access policy to its uncustomized default value.
|
94
97
|
# @param access_policy_href
|
95
98
|
# @param [Hash] opts the optional parameters
|
99
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
96
100
|
# @return [AccessPolicyResponse]
|
97
101
|
describe 'reset test' do
|
98
102
|
it 'should work' do
|
@@ -106,6 +110,7 @@ describe 'AccessPoliciesApi' do
|
|
106
110
|
# @param access_policy_href
|
107
111
|
# @param access_policy
|
108
112
|
# @param [Hash] opts the optional parameters
|
113
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
109
114
|
# @return [AccessPolicyResponse]
|
110
115
|
describe 'update test' do
|
111
116
|
it 'should work' do
|
@@ -37,6 +37,7 @@ describe 'ArtifactsApi' do
|
|
37
37
|
# 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.
|
38
38
|
# @param file The stored file.
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
40
41
|
# @option opts [Integer] :size The size of the file in bytes.
|
41
42
|
# @option opts [String] :md5 The MD5 checksum of the file if available.
|
42
43
|
# @option opts [String] :sha1 The SHA-1 checksum of the file if available.
|
@@ -56,6 +57,7 @@ describe 'ArtifactsApi' do
|
|
56
57
|
# Remove Artifact only if it is not associated with any Content.
|
57
58
|
# @param artifact_href
|
58
59
|
# @param [Hash] opts the optional parameters
|
60
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
59
61
|
# @return [nil]
|
60
62
|
describe 'delete test' do
|
61
63
|
it 'should work' do
|
@@ -67,6 +69,7 @@ describe 'ArtifactsApi' do
|
|
67
69
|
# List artifacts
|
68
70
|
# 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.
|
69
71
|
# @param [Hash] opts the optional parameters
|
72
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
70
73
|
# @option opts [Integer] :limit Number of results to return per page.
|
71
74
|
# @option opts [String] :md5 Filter results where md5 matches value
|
72
75
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
@@ -96,6 +99,7 @@ describe 'ArtifactsApi' do
|
|
96
99
|
# 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.
|
97
100
|
# @param artifact_href
|
98
101
|
# @param [Hash] opts the optional parameters
|
102
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
99
103
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
100
104
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
101
105
|
# @return [ArtifactResponse]
|
@@ -36,6 +36,7 @@ describe 'ContentApi' do
|
|
36
36
|
# List content
|
37
37
|
# Endpoint to list all content.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
39
40
|
# @option opts [Integer] :limit Number of results to return per page.
|
40
41
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
41
42
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -36,6 +36,7 @@ describe 'ContentOpenpgpPublickeyApi' do
|
|
36
36
|
# Create an open pgp public key
|
37
37
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
39
40
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
40
41
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
41
42
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
@@ -52,6 +53,7 @@ describe 'ContentOpenpgpPublickeyApi' do
|
|
52
53
|
# List open pgp public keys
|
53
54
|
# A ViewSet for uploads that do not require to store an uploaded content as an Artifact.
|
54
55
|
# @param [Hash] opts the optional parameters
|
56
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
55
57
|
# @option opts [String] :fingerprint Filter results where fingerprint matches value
|
56
58
|
# @option opts [Integer] :limit Number of results to return per page.
|
57
59
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
@@ -79,6 +81,7 @@ describe 'ContentOpenpgpPublickeyApi' do
|
|
79
81
|
# A ViewSet for uploads that do not require to store an uploaded content as an Artifact.
|
80
82
|
# @param open_p_g_p_public_key_href
|
81
83
|
# @param [Hash] opts the optional parameters
|
84
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
82
85
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
83
86
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
84
87
|
# @return [OpenPGPPublicKeyResponse]
|
@@ -94,6 +97,7 @@ describe 'ContentOpenpgpPublickeyApi' do
|
|
94
97
|
# @param open_p_g_p_public_key_href
|
95
98
|
# @param set_label
|
96
99
|
# @param [Hash] opts the optional parameters
|
100
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
97
101
|
# @return [SetLabelResponse]
|
98
102
|
describe 'set_label test' do
|
99
103
|
it 'should work' do
|
@@ -107,6 +111,7 @@ describe 'ContentOpenpgpPublickeyApi' do
|
|
107
111
|
# @param open_p_g_p_public_key_href
|
108
112
|
# @param unset_label
|
109
113
|
# @param [Hash] opts the optional parameters
|
114
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
110
115
|
# @return [UnsetLabelResponse]
|
111
116
|
describe 'unset_label test' do
|
112
117
|
it 'should work' do
|
@@ -36,6 +36,7 @@ describe 'ContentOpenpgpPublicsubkeyApi' do
|
|
36
36
|
# List open pgp public subkeys
|
37
37
|
# Content viewset that supports only GET by default.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
39
40
|
# @option opts [String] :fingerprint Filter results where fingerprint matches value
|
40
41
|
# @option opts [Integer] :limit Number of results to return per page.
|
41
42
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
@@ -63,6 +64,7 @@ describe 'ContentOpenpgpPublicsubkeyApi' do
|
|
63
64
|
# Content viewset that supports only GET by default.
|
64
65
|
# @param open_p_g_p_public_subkey_href
|
65
66
|
# @param [Hash] opts the optional parameters
|
67
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
66
68
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
67
69
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
68
70
|
# @return [OpenPGPPublicSubkeyResponse]
|
@@ -78,6 +80,7 @@ describe 'ContentOpenpgpPublicsubkeyApi' do
|
|
78
80
|
# @param open_p_g_p_public_subkey_href
|
79
81
|
# @param set_label
|
80
82
|
# @param [Hash] opts the optional parameters
|
83
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
81
84
|
# @return [SetLabelResponse]
|
82
85
|
describe 'set_label test' do
|
83
86
|
it 'should work' do
|
@@ -91,6 +94,7 @@ describe 'ContentOpenpgpPublicsubkeyApi' do
|
|
91
94
|
# @param open_p_g_p_public_subkey_href
|
92
95
|
# @param unset_label
|
93
96
|
# @param [Hash] opts the optional parameters
|
97
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
94
98
|
# @return [UnsetLabelResponse]
|
95
99
|
describe 'unset_label test' do
|
96
100
|
it 'should work' do
|
@@ -36,6 +36,7 @@ describe 'ContentOpenpgpSignatureApi' do
|
|
36
36
|
# List open pgp signatures
|
37
37
|
# Content viewset that supports only GET by default.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
39
40
|
# @option opts [String] :issuer Filter results where issuer matches value
|
40
41
|
# @option opts [Integer] :limit Number of results to return per page.
|
41
42
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
@@ -63,6 +64,7 @@ describe 'ContentOpenpgpSignatureApi' do
|
|
63
64
|
# Content viewset that supports only GET by default.
|
64
65
|
# @param open_p_g_p_signature_href
|
65
66
|
# @param [Hash] opts the optional parameters
|
67
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
66
68
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
67
69
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
68
70
|
# @return [OpenPGPSignatureResponse]
|
@@ -78,6 +80,7 @@ describe 'ContentOpenpgpSignatureApi' do
|
|
78
80
|
# @param open_p_g_p_signature_href
|
79
81
|
# @param set_label
|
80
82
|
# @param [Hash] opts the optional parameters
|
83
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
81
84
|
# @return [SetLabelResponse]
|
82
85
|
describe 'set_label test' do
|
83
86
|
it 'should work' do
|
@@ -91,6 +94,7 @@ describe 'ContentOpenpgpSignatureApi' do
|
|
91
94
|
# @param open_p_g_p_signature_href
|
92
95
|
# @param unset_label
|
93
96
|
# @param [Hash] opts the optional parameters
|
97
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
94
98
|
# @return [UnsetLabelResponse]
|
95
99
|
describe 'unset_label test' do
|
96
100
|
it 'should work' do
|
@@ -36,6 +36,7 @@ describe 'ContentOpenpgpUserattributeApi' do
|
|
36
36
|
# List open pgp user attributes
|
37
37
|
# Content viewset that supports only GET by default.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
39
40
|
# @option opts [Integer] :limit Number of results to return per page.
|
40
41
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
41
42
|
# @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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `raw_data` - Raw data * `-raw_data` - Raw data (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -63,6 +64,7 @@ describe 'ContentOpenpgpUserattributeApi' do
|
|
63
64
|
# Content viewset that supports only GET by default.
|
64
65
|
# @param open_p_g_p_user_attribute_href
|
65
66
|
# @param [Hash] opts the optional parameters
|
67
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
66
68
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
67
69
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
68
70
|
# @return [OpenPGPUserAttributeResponse]
|
@@ -78,6 +80,7 @@ describe 'ContentOpenpgpUserattributeApi' do
|
|
78
80
|
# @param open_p_g_p_user_attribute_href
|
79
81
|
# @param set_label
|
80
82
|
# @param [Hash] opts the optional parameters
|
83
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
81
84
|
# @return [SetLabelResponse]
|
82
85
|
describe 'set_label test' do
|
83
86
|
it 'should work' do
|
@@ -91,6 +94,7 @@ describe 'ContentOpenpgpUserattributeApi' do
|
|
91
94
|
# @param open_p_g_p_user_attribute_href
|
92
95
|
# @param unset_label
|
93
96
|
# @param [Hash] opts the optional parameters
|
97
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
94
98
|
# @return [UnsetLabelResponse]
|
95
99
|
describe 'unset_label test' do
|
96
100
|
it 'should work' do
|
@@ -36,6 +36,7 @@ describe 'ContentOpenpgpUseridApi' do
|
|
36
36
|
# List open pgp user ids
|
37
37
|
# Content viewset that supports only GET by default.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
39
40
|
# @option opts [Integer] :limit Number of results to return per page.
|
40
41
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
41
42
|
# @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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `raw_data` - Raw data * `-raw_data` - Raw data (descending) * `user_id` - User id * `-user_id` - User id (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -71,6 +72,7 @@ describe 'ContentOpenpgpUseridApi' do
|
|
71
72
|
# Content viewset that supports only GET by default.
|
72
73
|
# @param open_p_g_p_user_i_d_href
|
73
74
|
# @param [Hash] opts the optional parameters
|
75
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
74
76
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
75
77
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
76
78
|
# @return [OpenPGPUserIDResponse]
|
@@ -86,6 +88,7 @@ describe 'ContentOpenpgpUseridApi' do
|
|
86
88
|
# @param open_p_g_p_user_i_d_href
|
87
89
|
# @param set_label
|
88
90
|
# @param [Hash] opts the optional parameters
|
91
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
89
92
|
# @return [SetLabelResponse]
|
90
93
|
describe 'set_label test' do
|
91
94
|
it 'should work' do
|
@@ -99,6 +102,7 @@ describe 'ContentOpenpgpUseridApi' do
|
|
99
102
|
# @param open_p_g_p_user_i_d_href
|
100
103
|
# @param unset_label
|
101
104
|
# @param [Hash] opts the optional parameters
|
105
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
102
106
|
# @return [UnsetLabelResponse]
|
103
107
|
describe 'unset_label test' do
|
104
108
|
it 'should work' do
|
@@ -36,6 +36,7 @@ describe 'ContentguardsApi' do
|
|
36
36
|
# List content guards
|
37
37
|
# Endpoint to list all contentguards.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
39
40
|
# @option opts [Integer] :limit Number of results to return per page.
|
40
41
|
# @option opts [String] :name Filter results where name matches value
|
41
42
|
# @option opts [String] :name__contains Filter results where name contains value
|