pulp_gem_client 0.7.0 → 0.7.2
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/ContentGemApi.md +22 -8
- data/docs/DistributionsGemApi.md +76 -34
- data/docs/GemGemContentResponse.md +2 -0
- data/docs/GemGemRemoteResponse.md +1 -1
- data/docs/PublicationsGemApi.md +44 -18
- data/docs/RemotesGemApi.md +72 -32
- data/docs/RepositoriesGemApi.md +88 -40
- data/docs/RepositoriesGemVersionsApi.md +22 -10
- data/docs/RepositoryVersionResponse.md +3 -1
- data/lib/pulp_gem_client/api/content_gem_api.rb +15 -0
- data/lib/pulp_gem_client/api/distributions_gem_api.rb +42 -3
- data/lib/pulp_gem_client/api/publications_gem_api.rb +30 -3
- data/lib/pulp_gem_client/api/remotes_gem_api.rb +36 -0
- data/lib/pulp_gem_client/api/repositories_gem_api.rb +42 -0
- data/lib/pulp_gem_client/api/repositories_gem_versions_api.rb +15 -3
- data/lib/pulp_gem_client/models/gem_gem_content_response.rb +10 -1
- data/lib/pulp_gem_client/models/gem_gem_remote.rb +0 -17
- data/lib/pulp_gem_client/models/gem_gem_remote_response.rb +0 -17
- data/lib/pulp_gem_client/models/gem_gem_repository.rb +0 -15
- data/lib/pulp_gem_client/models/gem_gem_repository_response.rb +0 -15
- data/lib/pulp_gem_client/models/paginated_repository_version_response_list.rb +0 -2
- data/lib/pulp_gem_client/models/paginatedgem_gem_content_response_list.rb +0 -2
- data/lib/pulp_gem_client/models/paginatedgem_gem_distribution_response_list.rb +0 -2
- data/lib/pulp_gem_client/models/paginatedgem_gem_publication_response_list.rb +0 -2
- data/lib/pulp_gem_client/models/paginatedgem_gem_remote_response_list.rb +0 -2
- data/lib/pulp_gem_client/models/paginatedgem_gem_repository_response_list.rb +0 -2
- data/lib/pulp_gem_client/models/patchedgem_gem_remote.rb +0 -17
- data/lib/pulp_gem_client/models/patchedgem_gem_repository.rb +0 -15
- data/lib/pulp_gem_client/models/repository_version_response.rb +13 -4
- data/lib/pulp_gem_client/version.rb +1 -1
- data/pulp_gem_client.gemspec +0 -1
- data/spec/api/content_gem_api_spec.rb +5 -0
- data/spec/api/distributions_gem_api_spec.rb +14 -1
- data/spec/api/publications_gem_api_spec.rb +10 -1
- data/spec/api/remotes_gem_api_spec.rb +12 -0
- data/spec/api/repositories_gem_api_spec.rb +14 -0
- data/spec/api/repositories_gem_versions_api_spec.rb +5 -1
- data/spec/models/gem_gem_content_response_spec.rb +6 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +28 -48
@@ -189,8 +189,6 @@ module PulpGemClient
|
|
189
189
|
:'sock_connect_timeout',
|
190
190
|
:'sock_read_timeout',
|
191
191
|
:'rate_limit',
|
192
|
-
:'includes',
|
193
|
-
:'excludes'
|
194
192
|
])
|
195
193
|
end
|
196
194
|
|
@@ -361,10 +359,6 @@ module PulpGemClient
|
|
361
359
|
invalid_properties.push('invalid value for "password", the character length must be great than or equal to 1.')
|
362
360
|
end
|
363
361
|
|
364
|
-
if !@download_concurrency.nil? && @download_concurrency < 1
|
365
|
-
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
366
|
-
end
|
367
|
-
|
368
362
|
if !@total_timeout.nil? && @total_timeout < 0.0
|
369
363
|
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
|
370
364
|
end
|
@@ -398,7 +392,6 @@ module PulpGemClient
|
|
398
392
|
return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
|
399
393
|
return false if !@username.nil? && @username.to_s.length < 1
|
400
394
|
return false if !@password.nil? && @password.to_s.length < 1
|
401
|
-
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
402
395
|
return false if !@total_timeout.nil? && @total_timeout < 0.0
|
403
396
|
return false if !@connect_timeout.nil? && @connect_timeout < 0.0
|
404
397
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
@@ -514,16 +507,6 @@ module PulpGemClient
|
|
514
507
|
@password = password
|
515
508
|
end
|
516
509
|
|
517
|
-
# Custom attribute writer method with validation
|
518
|
-
# @param [Object] download_concurrency Value to be assigned
|
519
|
-
def download_concurrency=(download_concurrency)
|
520
|
-
if !download_concurrency.nil? && download_concurrency < 1
|
521
|
-
fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
|
522
|
-
end
|
523
|
-
|
524
|
-
@download_concurrency = download_concurrency
|
525
|
-
end
|
526
|
-
|
527
510
|
# Custom attribute writer method with validation
|
528
511
|
# @param [Object] total_timeout Value to be assigned
|
529
512
|
def total_timeout=(total_timeout)
|
@@ -117,10 +117,6 @@ module PulpGemClient
|
|
117
117
|
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
118
118
|
end
|
119
119
|
|
120
|
-
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
121
|
-
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
122
|
-
end
|
123
|
-
|
124
120
|
invalid_properties
|
125
121
|
end
|
126
122
|
|
@@ -130,7 +126,6 @@ module PulpGemClient
|
|
130
126
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
131
127
|
return false if !@name.nil? && @name.to_s.length < 1
|
132
128
|
return false if !@description.nil? && @description.to_s.length < 1
|
133
|
-
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
134
129
|
true
|
135
130
|
end
|
136
131
|
|
@@ -158,16 +153,6 @@ module PulpGemClient
|
|
158
153
|
@description = description
|
159
154
|
end
|
160
155
|
|
161
|
-
# Custom attribute writer method with validation
|
162
|
-
# @param [Object] retain_repo_versions Value to be assigned
|
163
|
-
def retain_repo_versions=(retain_repo_versions)
|
164
|
-
if !retain_repo_versions.nil? && retain_repo_versions < 1
|
165
|
-
fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
|
166
|
-
end
|
167
|
-
|
168
|
-
@retain_repo_versions = retain_repo_versions
|
169
|
-
end
|
170
|
-
|
171
156
|
# Checks equality by comparing each attribute.
|
172
157
|
# @param [Object] Object to be compared
|
173
158
|
def ==(o)
|
@@ -37,6 +37,8 @@ module PulpGemClient
|
|
37
37
|
# Various count summaries of the content in the version and the HREF to view them.
|
38
38
|
attr_accessor :content_summary
|
39
39
|
|
40
|
+
attr_accessor :vuln_report
|
41
|
+
|
40
42
|
# Attribute mapping from ruby-style variable name to JSON key.
|
41
43
|
def self.attribute_map
|
42
44
|
{
|
@@ -47,7 +49,8 @@ module PulpGemClient
|
|
47
49
|
:'number' => :'number',
|
48
50
|
:'repository' => :'repository',
|
49
51
|
:'base_version' => :'base_version',
|
50
|
-
:'content_summary' => :'content_summary'
|
52
|
+
:'content_summary' => :'content_summary',
|
53
|
+
:'vuln_report' => :'vuln_report'
|
51
54
|
}
|
52
55
|
end
|
53
56
|
|
@@ -66,7 +69,8 @@ module PulpGemClient
|
|
66
69
|
:'number' => :'Integer',
|
67
70
|
:'repository' => :'String',
|
68
71
|
:'base_version' => :'String',
|
69
|
-
:'content_summary' => :'ContentSummaryResponse'
|
72
|
+
:'content_summary' => :'ContentSummaryResponse',
|
73
|
+
:'vuln_report' => :'String'
|
70
74
|
}
|
71
75
|
end
|
72
76
|
|
@@ -122,6 +126,10 @@ module PulpGemClient
|
|
122
126
|
if attributes.key?(:'content_summary')
|
123
127
|
self.content_summary = attributes[:'content_summary']
|
124
128
|
end
|
129
|
+
|
130
|
+
if attributes.key?(:'vuln_report')
|
131
|
+
self.vuln_report = attributes[:'vuln_report']
|
132
|
+
end
|
125
133
|
end
|
126
134
|
|
127
135
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -151,7 +159,8 @@ module PulpGemClient
|
|
151
159
|
number == o.number &&
|
152
160
|
repository == o.repository &&
|
153
161
|
base_version == o.base_version &&
|
154
|
-
content_summary == o.content_summary
|
162
|
+
content_summary == o.content_summary &&
|
163
|
+
vuln_report == o.vuln_report
|
155
164
|
end
|
156
165
|
|
157
166
|
# @see the `==` method
|
@@ -163,7 +172,7 @@ module PulpGemClient
|
|
163
172
|
# Calculates hash code according to all attributes.
|
164
173
|
# @return [Integer] Hash code
|
165
174
|
def hash
|
166
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, number, repository, base_version, content_summary].hash
|
175
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, number, repository, base_version, content_summary, vuln_report].hash
|
167
176
|
end
|
168
177
|
|
169
178
|
# Builds the object from hash
|
data/pulp_gem_client.gemspec
CHANGED
@@ -28,7 +28,6 @@ Gem::Specification.new do |s|
|
|
28
28
|
s.required_ruby_version = ">= 2.7"
|
29
29
|
s.metadata = {}
|
30
30
|
|
31
|
-
s.add_runtime_dependency 'faraday-net_http', '>= 2.0', '< 3.1'
|
32
31
|
s.add_runtime_dependency 'faraday', '>= 1.0.1', '< 2.9'
|
33
32
|
s.add_runtime_dependency 'faraday-multipart'
|
34
33
|
s.add_runtime_dependency 'marcel'
|
@@ -36,6 +36,7 @@ describe 'ContentGemApi' do
|
|
36
36
|
# Create a gem content
|
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 [String] :artifact Artifact file representing the physical content
|
@@ -51,6 +52,7 @@ describe 'ContentGemApi' do
|
|
51
52
|
# List gem contents
|
52
53
|
# A ViewSet for GemContent.
|
53
54
|
# @param [Hash] opts the optional parameters
|
55
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
54
56
|
# @option opts [String] :checksum Filter results where checksum matches value
|
55
57
|
# @option opts [Integer] :limit Number of results to return per page.
|
56
58
|
# @option opts [String] :name Filter results where name matches value
|
@@ -81,6 +83,7 @@ describe 'ContentGemApi' do
|
|
81
83
|
# A ViewSet for GemContent.
|
82
84
|
# @param gem_gem_content_href
|
83
85
|
# @param [Hash] opts the optional parameters
|
86
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
84
87
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
85
88
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
86
89
|
# @return [GemGemContentResponse]
|
@@ -96,6 +99,7 @@ describe 'ContentGemApi' do
|
|
96
99
|
# @param gem_gem_content_href
|
97
100
|
# @param set_label
|
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
|
# @return [SetLabelResponse]
|
100
104
|
describe 'set_label test' do
|
101
105
|
it 'should work' do
|
@@ -109,6 +113,7 @@ describe 'ContentGemApi' do
|
|
109
113
|
# @param gem_gem_content_href
|
110
114
|
# @param unset_label
|
111
115
|
# @param [Hash] opts the optional parameters
|
116
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
112
117
|
# @return [UnsetLabelResponse]
|
113
118
|
describe 'unset_label test' do
|
114
119
|
it 'should work' do
|
@@ -38,6 +38,7 @@ describe 'DistributionsGemApi' do
|
|
38
38
|
# @param gem_gem_distribution_href
|
39
39
|
# @param nested_role
|
40
40
|
# @param [Hash] opts the optional parameters
|
41
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
41
42
|
# @return [NestedRoleResponse]
|
42
43
|
describe 'add_role test' do
|
43
44
|
it 'should work' do
|
@@ -50,6 +51,7 @@ describe 'DistributionsGemApi' do
|
|
50
51
|
# Trigger an asynchronous create task
|
51
52
|
# @param gem_gem_distribution
|
52
53
|
# @param [Hash] opts the optional parameters
|
54
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
53
55
|
# @return [AsyncOperationResponse]
|
54
56
|
describe 'create test' do
|
55
57
|
it 'should work' do
|
@@ -62,6 +64,7 @@ describe 'DistributionsGemApi' do
|
|
62
64
|
# Trigger an asynchronous delete task
|
63
65
|
# @param gem_gem_distribution_href
|
64
66
|
# @param [Hash] opts the optional parameters
|
67
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
65
68
|
# @return [AsyncOperationResponse]
|
66
69
|
describe 'delete test' do
|
67
70
|
it 'should work' do
|
@@ -73,10 +76,12 @@ describe 'DistributionsGemApi' do
|
|
73
76
|
# List gem distributions
|
74
77
|
# ViewSet for GemDistributions.
|
75
78
|
# @param [Hash] opts the optional parameters
|
79
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
76
80
|
# @option opts [String] :base_path Filter results where base_path matches value
|
77
81
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
78
82
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
79
83
|
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
84
|
+
# @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
|
80
85
|
# @option opts [Integer] :limit Number of results to return per page.
|
81
86
|
# @option opts [String] :name Filter results where name matches value
|
82
87
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -88,7 +93,7 @@ describe 'DistributionsGemApi' do
|
|
88
93
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
89
94
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
90
95
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
91
|
-
# @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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
96
|
+
# @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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
92
97
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
93
98
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
94
99
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
@@ -111,6 +116,7 @@ describe 'DistributionsGemApi' do
|
|
111
116
|
# List roles assigned to this object.
|
112
117
|
# @param gem_gem_distribution_href
|
113
118
|
# @param [Hash] opts the optional parameters
|
119
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
114
120
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
115
121
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
116
122
|
# @return [ObjectRolesResponse]
|
@@ -125,6 +131,7 @@ describe 'DistributionsGemApi' do
|
|
125
131
|
# List permissions available to the current user on this object.
|
126
132
|
# @param gem_gem_distribution_href
|
127
133
|
# @param [Hash] opts the optional parameters
|
134
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
128
135
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
129
136
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
130
137
|
# @return [MyPermissionsResponse]
|
@@ -140,6 +147,7 @@ describe 'DistributionsGemApi' do
|
|
140
147
|
# @param gem_gem_distribution_href
|
141
148
|
# @param patchedgem_gem_distribution
|
142
149
|
# @param [Hash] opts the optional parameters
|
150
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
143
151
|
# @return [AsyncOperationResponse]
|
144
152
|
describe 'partial_update test' do
|
145
153
|
it 'should work' do
|
@@ -152,6 +160,7 @@ describe 'DistributionsGemApi' do
|
|
152
160
|
# ViewSet for GemDistributions.
|
153
161
|
# @param gem_gem_distribution_href
|
154
162
|
# @param [Hash] opts the optional parameters
|
163
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
155
164
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
156
165
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
157
166
|
# @return [GemGemDistributionResponse]
|
@@ -167,6 +176,7 @@ describe 'DistributionsGemApi' do
|
|
167
176
|
# @param gem_gem_distribution_href
|
168
177
|
# @param nested_role
|
169
178
|
# @param [Hash] opts the optional parameters
|
179
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
170
180
|
# @return [NestedRoleResponse]
|
171
181
|
describe 'remove_role test' do
|
172
182
|
it 'should work' do
|
@@ -180,6 +190,7 @@ describe 'DistributionsGemApi' do
|
|
180
190
|
# @param gem_gem_distribution_href
|
181
191
|
# @param set_label
|
182
192
|
# @param [Hash] opts the optional parameters
|
193
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
183
194
|
# @return [SetLabelResponse]
|
184
195
|
describe 'set_label test' do
|
185
196
|
it 'should work' do
|
@@ -193,6 +204,7 @@ describe 'DistributionsGemApi' do
|
|
193
204
|
# @param gem_gem_distribution_href
|
194
205
|
# @param unset_label
|
195
206
|
# @param [Hash] opts the optional parameters
|
207
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
196
208
|
# @return [UnsetLabelResponse]
|
197
209
|
describe 'unset_label test' do
|
198
210
|
it 'should work' do
|
@@ -206,6 +218,7 @@ describe 'DistributionsGemApi' do
|
|
206
218
|
# @param gem_gem_distribution_href
|
207
219
|
# @param gem_gem_distribution
|
208
220
|
# @param [Hash] opts the optional parameters
|
221
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
209
222
|
# @return [AsyncOperationResponse]
|
210
223
|
describe 'update test' do
|
211
224
|
it 'should work' do
|
@@ -38,6 +38,7 @@ describe 'PublicationsGemApi' do
|
|
38
38
|
# @param gem_gem_publication_href
|
39
39
|
# @param nested_role
|
40
40
|
# @param [Hash] opts the optional parameters
|
41
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
41
42
|
# @return [NestedRoleResponse]
|
42
43
|
describe 'add_role test' do
|
43
44
|
it 'should work' do
|
@@ -50,6 +51,7 @@ describe 'PublicationsGemApi' do
|
|
50
51
|
# Trigger an asynchronous task to publish gem content
|
51
52
|
# @param gem_gem_publication
|
52
53
|
# @param [Hash] opts the optional parameters
|
54
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
53
55
|
# @return [AsyncOperationResponse]
|
54
56
|
describe 'create test' do
|
55
57
|
it 'should work' do
|
@@ -62,6 +64,7 @@ describe 'PublicationsGemApi' do
|
|
62
64
|
# A ViewSet for GemPublication.
|
63
65
|
# @param gem_gem_publication_href
|
64
66
|
# @param [Hash] opts the optional parameters
|
67
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
65
68
|
# @return [nil]
|
66
69
|
describe 'delete test' do
|
67
70
|
it 'should work' do
|
@@ -73,11 +76,13 @@ describe 'PublicationsGemApi' do
|
|
73
76
|
# List gem publications
|
74
77
|
# A ViewSet for GemPublication.
|
75
78
|
# @param [Hash] opts the optional parameters
|
79
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
80
|
+
# @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
|
76
81
|
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
77
82
|
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
78
83
|
# @option opts [Integer] :limit Number of results to return per page.
|
79
84
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
80
|
-
# @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) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
85
|
+
# @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) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
81
86
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
82
87
|
# @option opts [Time] :pulp_created Filter results where pulp_created matches value
|
83
88
|
# @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
|
@@ -105,6 +110,7 @@ describe 'PublicationsGemApi' do
|
|
105
110
|
# List roles assigned to this object.
|
106
111
|
# @param gem_gem_publication_href
|
107
112
|
# @param [Hash] opts the optional parameters
|
113
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
108
114
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
109
115
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
110
116
|
# @return [ObjectRolesResponse]
|
@@ -119,6 +125,7 @@ describe 'PublicationsGemApi' do
|
|
119
125
|
# List permissions available to the current user on this object.
|
120
126
|
# @param gem_gem_publication_href
|
121
127
|
# @param [Hash] opts the optional parameters
|
128
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
122
129
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
123
130
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
124
131
|
# @return [MyPermissionsResponse]
|
@@ -133,6 +140,7 @@ describe 'PublicationsGemApi' do
|
|
133
140
|
# A ViewSet for GemPublication.
|
134
141
|
# @param gem_gem_publication_href
|
135
142
|
# @param [Hash] opts the optional parameters
|
143
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
136
144
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
137
145
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
138
146
|
# @return [GemGemPublicationResponse]
|
@@ -148,6 +156,7 @@ describe 'PublicationsGemApi' do
|
|
148
156
|
# @param gem_gem_publication_href
|
149
157
|
# @param nested_role
|
150
158
|
# @param [Hash] opts the optional parameters
|
159
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
151
160
|
# @return [NestedRoleResponse]
|
152
161
|
describe 'remove_role test' do
|
153
162
|
it 'should work' do
|
@@ -38,6 +38,7 @@ describe 'RemotesGemApi' do
|
|
38
38
|
# @param gem_gem_remote_href
|
39
39
|
# @param nested_role
|
40
40
|
# @param [Hash] opts the optional parameters
|
41
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
41
42
|
# @return [NestedRoleResponse]
|
42
43
|
describe 'add_role test' do
|
43
44
|
it 'should work' do
|
@@ -50,6 +51,7 @@ describe 'RemotesGemApi' do
|
|
50
51
|
# A ViewSet for GemRemote.
|
51
52
|
# @param gem_gem_remote
|
52
53
|
# @param [Hash] opts the optional parameters
|
54
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
53
55
|
# @return [GemGemRemoteResponse]
|
54
56
|
describe 'create test' do
|
55
57
|
it 'should work' do
|
@@ -62,6 +64,7 @@ describe 'RemotesGemApi' do
|
|
62
64
|
# Trigger an asynchronous delete task
|
63
65
|
# @param gem_gem_remote_href
|
64
66
|
# @param [Hash] opts the optional parameters
|
67
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
65
68
|
# @return [AsyncOperationResponse]
|
66
69
|
describe 'delete test' do
|
67
70
|
it 'should work' do
|
@@ -73,6 +76,7 @@ describe 'RemotesGemApi' do
|
|
73
76
|
# List gem remotes
|
74
77
|
# A ViewSet for GemRemote.
|
75
78
|
# @param [Hash] opts the optional parameters
|
79
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
76
80
|
# @option opts [Integer] :limit Number of results to return per page.
|
77
81
|
# @option opts [String] :name Filter results where name matches value
|
78
82
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -111,6 +115,7 @@ describe 'RemotesGemApi' do
|
|
111
115
|
# List roles assigned to this object.
|
112
116
|
# @param gem_gem_remote_href
|
113
117
|
# @param [Hash] opts the optional parameters
|
118
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
114
119
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
115
120
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
116
121
|
# @return [ObjectRolesResponse]
|
@@ -125,6 +130,7 @@ describe 'RemotesGemApi' do
|
|
125
130
|
# List permissions available to the current user on this object.
|
126
131
|
# @param gem_gem_remote_href
|
127
132
|
# @param [Hash] opts the optional parameters
|
133
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
128
134
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
129
135
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
130
136
|
# @return [MyPermissionsResponse]
|
@@ -140,6 +146,7 @@ describe 'RemotesGemApi' do
|
|
140
146
|
# @param gem_gem_remote_href
|
141
147
|
# @param patchedgem_gem_remote
|
142
148
|
# @param [Hash] opts the optional parameters
|
149
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
143
150
|
# @return [AsyncOperationResponse]
|
144
151
|
describe 'partial_update test' do
|
145
152
|
it 'should work' do
|
@@ -152,6 +159,7 @@ describe 'RemotesGemApi' do
|
|
152
159
|
# A ViewSet for GemRemote.
|
153
160
|
# @param gem_gem_remote_href
|
154
161
|
# @param [Hash] opts the optional parameters
|
162
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
155
163
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
156
164
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
157
165
|
# @return [GemGemRemoteResponse]
|
@@ -167,6 +175,7 @@ describe 'RemotesGemApi' do
|
|
167
175
|
# @param gem_gem_remote_href
|
168
176
|
# @param nested_role
|
169
177
|
# @param [Hash] opts the optional parameters
|
178
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
170
179
|
# @return [NestedRoleResponse]
|
171
180
|
describe 'remove_role test' do
|
172
181
|
it 'should work' do
|
@@ -180,6 +189,7 @@ describe 'RemotesGemApi' do
|
|
180
189
|
# @param gem_gem_remote_href
|
181
190
|
# @param set_label
|
182
191
|
# @param [Hash] opts the optional parameters
|
192
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
183
193
|
# @return [SetLabelResponse]
|
184
194
|
describe 'set_label test' do
|
185
195
|
it 'should work' do
|
@@ -193,6 +203,7 @@ describe 'RemotesGemApi' do
|
|
193
203
|
# @param gem_gem_remote_href
|
194
204
|
# @param unset_label
|
195
205
|
# @param [Hash] opts the optional parameters
|
206
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
196
207
|
# @return [UnsetLabelResponse]
|
197
208
|
describe 'unset_label test' do
|
198
209
|
it 'should work' do
|
@@ -206,6 +217,7 @@ describe 'RemotesGemApi' do
|
|
206
217
|
# @param gem_gem_remote_href
|
207
218
|
# @param gem_gem_remote
|
208
219
|
# @param [Hash] opts the optional parameters
|
220
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
209
221
|
# @return [AsyncOperationResponse]
|
210
222
|
describe 'update test' do
|
211
223
|
it 'should work' do
|
@@ -38,6 +38,7 @@ describe 'RepositoriesGemApi' do
|
|
38
38
|
# @param gem_gem_repository_href
|
39
39
|
# @param nested_role
|
40
40
|
# @param [Hash] opts the optional parameters
|
41
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
41
42
|
# @return [NestedRoleResponse]
|
42
43
|
describe 'add_role test' do
|
43
44
|
it 'should work' do
|
@@ -50,6 +51,7 @@ describe 'RepositoriesGemApi' do
|
|
50
51
|
# A ViewSet for GemRepository.
|
51
52
|
# @param gem_gem_repository
|
52
53
|
# @param [Hash] opts the optional parameters
|
54
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
53
55
|
# @return [GemGemRepositoryResponse]
|
54
56
|
describe 'create test' do
|
55
57
|
it 'should work' do
|
@@ -62,6 +64,7 @@ describe 'RepositoriesGemApi' do
|
|
62
64
|
# Trigger an asynchronous delete task
|
63
65
|
# @param gem_gem_repository_href
|
64
66
|
# @param [Hash] opts the optional parameters
|
67
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
65
68
|
# @return [AsyncOperationResponse]
|
66
69
|
describe 'delete test' do
|
67
70
|
it 'should work' do
|
@@ -73,6 +76,7 @@ describe 'RepositoriesGemApi' do
|
|
73
76
|
# List gem repositorys
|
74
77
|
# A ViewSet for GemRepository.
|
75
78
|
# @param [Hash] opts the optional parameters
|
79
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
76
80
|
# @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
|
77
81
|
# @option opts [Integer] :limit Number of results to return per page.
|
78
82
|
# @option opts [String] :name Filter results where name matches value
|
@@ -115,6 +119,7 @@ describe 'RepositoriesGemApi' do
|
|
115
119
|
# List roles assigned to this object.
|
116
120
|
# @param gem_gem_repository_href
|
117
121
|
# @param [Hash] opts the optional parameters
|
122
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
118
123
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
119
124
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
120
125
|
# @return [ObjectRolesResponse]
|
@@ -130,6 +135,7 @@ describe 'RepositoriesGemApi' do
|
|
130
135
|
# @param gem_gem_repository_href
|
131
136
|
# @param repository_add_remove_content
|
132
137
|
# @param [Hash] opts the optional parameters
|
138
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
133
139
|
# @return [AsyncOperationResponse]
|
134
140
|
describe 'modify test' do
|
135
141
|
it 'should work' do
|
@@ -142,6 +148,7 @@ describe 'RepositoriesGemApi' do
|
|
142
148
|
# List permissions available to the current user on this object.
|
143
149
|
# @param gem_gem_repository_href
|
144
150
|
# @param [Hash] opts the optional parameters
|
151
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
145
152
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
146
153
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
147
154
|
# @return [MyPermissionsResponse]
|
@@ -157,6 +164,7 @@ describe 'RepositoriesGemApi' do
|
|
157
164
|
# @param gem_gem_repository_href
|
158
165
|
# @param patchedgem_gem_repository
|
159
166
|
# @param [Hash] opts the optional parameters
|
167
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
160
168
|
# @return [AsyncOperationResponse]
|
161
169
|
describe 'partial_update test' do
|
162
170
|
it 'should work' do
|
@@ -169,6 +177,7 @@ describe 'RepositoriesGemApi' do
|
|
169
177
|
# A ViewSet for GemRepository.
|
170
178
|
# @param gem_gem_repository_href
|
171
179
|
# @param [Hash] opts the optional parameters
|
180
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
172
181
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
173
182
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
174
183
|
# @return [GemGemRepositoryResponse]
|
@@ -184,6 +193,7 @@ describe 'RepositoriesGemApi' do
|
|
184
193
|
# @param gem_gem_repository_href
|
185
194
|
# @param nested_role
|
186
195
|
# @param [Hash] opts the optional parameters
|
196
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
187
197
|
# @return [NestedRoleResponse]
|
188
198
|
describe 'remove_role test' do
|
189
199
|
it 'should work' do
|
@@ -197,6 +207,7 @@ describe 'RepositoriesGemApi' do
|
|
197
207
|
# @param gem_gem_repository_href
|
198
208
|
# @param set_label
|
199
209
|
# @param [Hash] opts the optional parameters
|
210
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
200
211
|
# @return [SetLabelResponse]
|
201
212
|
describe 'set_label test' do
|
202
213
|
it 'should work' do
|
@@ -210,6 +221,7 @@ describe 'RepositoriesGemApi' do
|
|
210
221
|
# @param gem_gem_repository_href
|
211
222
|
# @param repository_sync_url
|
212
223
|
# @param [Hash] opts the optional parameters
|
224
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
213
225
|
# @return [AsyncOperationResponse]
|
214
226
|
describe 'sync test' do
|
215
227
|
it 'should work' do
|
@@ -223,6 +235,7 @@ describe 'RepositoriesGemApi' do
|
|
223
235
|
# @param gem_gem_repository_href
|
224
236
|
# @param unset_label
|
225
237
|
# @param [Hash] opts the optional parameters
|
238
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
226
239
|
# @return [UnsetLabelResponse]
|
227
240
|
describe 'unset_label test' do
|
228
241
|
it 'should work' do
|
@@ -236,6 +249,7 @@ describe 'RepositoriesGemApi' do
|
|
236
249
|
# @param gem_gem_repository_href
|
237
250
|
# @param gem_gem_repository
|
238
251
|
# @param [Hash] opts the optional parameters
|
252
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
239
253
|
# @return [AsyncOperationResponse]
|
240
254
|
describe 'update test' do
|
241
255
|
it 'should work' do
|