pulp_python_client 3.12.3 → 3.12.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -10
- data/docs/ContentPackagesApi.md +22 -20
- data/docs/DistributionsPypiApi.md +4 -2
- data/docs/PackageMetadataResponse.md +3 -3
- data/docs/PublicationsPypiApi.md +12 -10
- data/docs/PythonPythonDistributionResponse.md +2 -0
- data/docs/PythonPythonPackageContent.md +6 -6
- data/docs/PythonPythonPackageContentResponse.md +8 -6
- data/docs/PythonPythonPublicationResponse.md +2 -0
- data/docs/PythonPythonRemoteResponse.md +2 -0
- data/docs/PythonPythonRepositoryResponse.md +2 -0
- data/docs/RemotesPythonApi.md +4 -2
- data/docs/RepositoriesPythonApi.md +8 -6
- data/docs/RepositoriesPythonVersionsApi.md +8 -6
- data/docs/RepositoryVersionResponse.md +2 -0
- data/lib/pulp_python_client/api/content_packages_api.rb +23 -20
- data/lib/pulp_python_client/api/distributions_pypi_api.rb +5 -2
- data/lib/pulp_python_client/api/publications_pypi_api.rb +14 -11
- data/lib/pulp_python_client/api/remotes_python_api.rb +5 -2
- data/lib/pulp_python_client/api/repositories_python_api.rb +9 -6
- data/lib/pulp_python_client/api/repositories_python_versions_api.rb +10 -7
- data/lib/pulp_python_client/models/package_metadata_response.rb +3 -3
- data/lib/pulp_python_client/models/python_python_distribution_response.rb +11 -1
- data/lib/pulp_python_client/models/python_python_package_content.rb +6 -6
- data/lib/pulp_python_client/models/python_python_package_content_response.rb +17 -7
- data/lib/pulp_python_client/models/python_python_publication_response.rb +11 -1
- data/lib/pulp_python_client/models/python_python_remote_response.rb +11 -1
- data/lib/pulp_python_client/models/python_python_repository_response.rb +11 -1
- data/lib/pulp_python_client/models/repository_add_remove_content.rb +1 -1
- data/lib/pulp_python_client/models/repository_version_response.rb +12 -2
- data/lib/pulp_python_client/version.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +11 -10
- data/spec/api/distributions_pypi_api_spec.rb +2 -1
- data/spec/api/publications_pypi_api_spec.rb +6 -5
- data/spec/api/remotes_python_api_spec.rb +2 -1
- data/spec/api/repositories_python_api_spec.rb +4 -3
- data/spec/api/repositories_python_versions_api_spec.rb +4 -3
- data/spec/models/python_python_distribution_response_spec.rb +6 -0
- data/spec/models/python_python_package_content_response_spec.rb +6 -0
- data/spec/models/python_python_publication_response_spec.rb +6 -0
- data/spec/models/python_python_remote_response_spec.rb +6 -0
- data/spec/models/python_python_repository_response_spec.rb +6 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +36 -36
@@ -17,6 +17,9 @@ module PulpPythonClient
|
|
17
17
|
class PythonPythonRemoteResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -95,6 +98,7 @@ module PulpPythonClient
|
|
95
98
|
def self.attribute_map
|
96
99
|
{
|
97
100
|
:'pulp_href' => :'pulp_href',
|
101
|
+
:'prn' => :'prn',
|
98
102
|
:'pulp_created' => :'pulp_created',
|
99
103
|
:'pulp_last_updated' => :'pulp_last_updated',
|
100
104
|
:'name' => :'name',
|
@@ -127,6 +131,7 @@ module PulpPythonClient
|
|
127
131
|
def self.openapi_types
|
128
132
|
{
|
129
133
|
:'pulp_href' => :'String',
|
134
|
+
:'prn' => :'String',
|
130
135
|
:'pulp_created' => :'DateTime',
|
131
136
|
:'pulp_last_updated' => :'DateTime',
|
132
137
|
:'name' => :'String',
|
@@ -190,6 +195,10 @@ module PulpPythonClient
|
|
190
195
|
self.pulp_href = attributes[:'pulp_href']
|
191
196
|
end
|
192
197
|
|
198
|
+
if attributes.key?(:'prn')
|
199
|
+
self.prn = attributes[:'prn']
|
200
|
+
end
|
201
|
+
|
193
202
|
if attributes.key?(:'pulp_created')
|
194
203
|
self.pulp_created = attributes[:'pulp_created']
|
195
204
|
end
|
@@ -411,6 +420,7 @@ module PulpPythonClient
|
|
411
420
|
return true if self.equal?(o)
|
412
421
|
self.class == o.class &&
|
413
422
|
pulp_href == o.pulp_href &&
|
423
|
+
prn == o.prn &&
|
414
424
|
pulp_created == o.pulp_created &&
|
415
425
|
pulp_last_updated == o.pulp_last_updated &&
|
416
426
|
name == o.name &&
|
@@ -447,7 +457,7 @@ module PulpPythonClient
|
|
447
457
|
# Calculates hash code according to all attributes.
|
448
458
|
# @return [Integer] Hash code
|
449
459
|
def hash
|
450
|
-
[pulp_href, pulp_created, pulp_last_updated, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, hidden_fields, includes, excludes, prereleases, package_types, keep_latest_packages, exclude_platforms].hash
|
460
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, hidden_fields, includes, excludes, prereleases, package_types, keep_latest_packages, exclude_platforms].hash
|
451
461
|
end
|
452
462
|
|
453
463
|
# Builds the object from hash
|
@@ -17,6 +17,9 @@ module PulpPythonClient
|
|
17
17
|
class PythonPythonRepositoryResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -48,6 +51,7 @@ module PulpPythonClient
|
|
48
51
|
def self.attribute_map
|
49
52
|
{
|
50
53
|
:'pulp_href' => :'pulp_href',
|
54
|
+
:'prn' => :'prn',
|
51
55
|
:'pulp_created' => :'pulp_created',
|
52
56
|
:'pulp_last_updated' => :'pulp_last_updated',
|
53
57
|
:'versions_href' => :'versions_href',
|
@@ -65,6 +69,7 @@ module PulpPythonClient
|
|
65
69
|
def self.openapi_types
|
66
70
|
{
|
67
71
|
:'pulp_href' => :'String',
|
72
|
+
:'prn' => :'String',
|
68
73
|
:'pulp_created' => :'DateTime',
|
69
74
|
:'pulp_last_updated' => :'DateTime',
|
70
75
|
:'versions_href' => :'String',
|
@@ -106,6 +111,10 @@ module PulpPythonClient
|
|
106
111
|
self.pulp_href = attributes[:'pulp_href']
|
107
112
|
end
|
108
113
|
|
114
|
+
if attributes.key?(:'prn')
|
115
|
+
self.prn = attributes[:'prn']
|
116
|
+
end
|
117
|
+
|
109
118
|
if attributes.key?(:'pulp_created')
|
110
119
|
self.pulp_created = attributes[:'pulp_created']
|
111
120
|
end
|
@@ -190,6 +199,7 @@ module PulpPythonClient
|
|
190
199
|
return true if self.equal?(o)
|
191
200
|
self.class == o.class &&
|
192
201
|
pulp_href == o.pulp_href &&
|
202
|
+
prn == o.prn &&
|
193
203
|
pulp_created == o.pulp_created &&
|
194
204
|
pulp_last_updated == o.pulp_last_updated &&
|
195
205
|
versions_href == o.versions_href &&
|
@@ -211,7 +221,7 @@ module PulpPythonClient
|
|
211
221
|
# Calculates hash code according to all attributes.
|
212
222
|
# @return [Integer] Hash code
|
213
223
|
def hash
|
214
|
-
[pulp_href, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, autopublish].hash
|
224
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, autopublish].hash
|
215
225
|
end
|
216
226
|
|
217
227
|
# Builds the object from hash
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpPythonClient
|
16
|
-
# Base serializer for use with
|
16
|
+
# 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.
|
17
17
|
class RepositoryAddRemoveContent
|
18
18
|
# A list of content units to add to a new repository version. This content is added after remove_content_units are removed.
|
19
19
|
attr_accessor :add_content_units
|
@@ -13,10 +13,13 @@ OpenAPI Generator version: 4.3.1
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpPythonClient
|
16
|
-
# Base serializer for use with
|
16
|
+
# 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.
|
17
17
|
class RepositoryVersionResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -37,6 +40,7 @@ module PulpPythonClient
|
|
37
40
|
def self.attribute_map
|
38
41
|
{
|
39
42
|
:'pulp_href' => :'pulp_href',
|
43
|
+
:'prn' => :'prn',
|
40
44
|
:'pulp_created' => :'pulp_created',
|
41
45
|
:'pulp_last_updated' => :'pulp_last_updated',
|
42
46
|
:'number' => :'number',
|
@@ -50,6 +54,7 @@ module PulpPythonClient
|
|
50
54
|
def self.openapi_types
|
51
55
|
{
|
52
56
|
:'pulp_href' => :'String',
|
57
|
+
:'prn' => :'String',
|
53
58
|
:'pulp_created' => :'DateTime',
|
54
59
|
:'pulp_last_updated' => :'DateTime',
|
55
60
|
:'number' => :'Integer',
|
@@ -84,6 +89,10 @@ module PulpPythonClient
|
|
84
89
|
self.pulp_href = attributes[:'pulp_href']
|
85
90
|
end
|
86
91
|
|
92
|
+
if attributes.key?(:'prn')
|
93
|
+
self.prn = attributes[:'prn']
|
94
|
+
end
|
95
|
+
|
87
96
|
if attributes.key?(:'pulp_created')
|
88
97
|
self.pulp_created = attributes[:'pulp_created']
|
89
98
|
end
|
@@ -128,6 +137,7 @@ module PulpPythonClient
|
|
128
137
|
return true if self.equal?(o)
|
129
138
|
self.class == o.class &&
|
130
139
|
pulp_href == o.pulp_href &&
|
140
|
+
prn == o.prn &&
|
131
141
|
pulp_created == o.pulp_created &&
|
132
142
|
pulp_last_updated == o.pulp_last_updated &&
|
133
143
|
number == o.number &&
|
@@ -145,7 +155,7 @@ module PulpPythonClient
|
|
145
155
|
# Calculates hash code according to all attributes.
|
146
156
|
# @return [Integer] Hash code
|
147
157
|
def hash
|
148
|
-
[pulp_href, pulp_created, pulp_last_updated, number, repository, base_version, content_summary].hash
|
158
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, number, repository, base_version, content_summary].hash
|
149
159
|
end
|
150
160
|
|
151
161
|
# Builds the object from hash
|
@@ -56,14 +56,14 @@ describe 'ContentPackagesApi' do
|
|
56
56
|
# @option opts [String] :license Text indicating the license covering the distribution
|
57
57
|
# @option opts [String] :requires_python The Python version(s) that the distribution is guaranteed to be compatible with.
|
58
58
|
# @option opts [String] :project_url A browsable URL for the project and a label for it, separated by a comma.
|
59
|
-
# @option opts [
|
59
|
+
# @option opts [Object] :project_urls A dictionary of labels and URLs for the project.
|
60
60
|
# @option opts [String] :platform A comma-separated list of platform specifications, summarizing the operating systems supported by the package.
|
61
61
|
# @option opts [String] :supported_platform Field to specify the OS and CPU for which the binary package was compiled.
|
62
|
-
# @option opts [
|
63
|
-
# @option opts [
|
64
|
-
# @option opts [
|
65
|
-
# @option opts [
|
66
|
-
# @option opts [
|
62
|
+
# @option opts [Object] :requires_dist A JSON list containing names of some other distutils project required by this distribution.
|
63
|
+
# @option opts [Object] :provides_dist A JSON list containing names of a Distutils project which is contained within this distribution.
|
64
|
+
# @option opts [Object] :obsoletes_dist A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
|
65
|
+
# @option opts [Object] :requires_external A JSON list containing some dependency in the system that the distribution is to be used.
|
66
|
+
# @option opts [Object] :classifiers A JSON list containing classification values for a Python package.
|
67
67
|
# @return [AsyncOperationResponse]
|
68
68
|
describe 'create test' do
|
69
69
|
it 'should work' do
|
@@ -90,12 +90,13 @@ describe 'ContentPackagesApi' do
|
|
90
90
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
91
91
|
# @option opts [String] :packagetype Filter results where packagetype matches value * `bdist_dmg` - bdist_dmg * `bdist_dumb` - bdist_dumb * `bdist_egg` - bdist_egg * `bdist_msi` - bdist_msi * `bdist_rpm` - bdist_rpm * `bdist_wheel` - bdist_wheel * `bdist_wininst` - bdist_wininst * `sdist` - sdist
|
92
92
|
# @option opts [Array<String>] :packagetype__in Filter results where packagetype is in a comma-separated list of values
|
93
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
93
94
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
94
95
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
95
|
-
# @option opts [String] :q
|
96
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
97
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
98
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
96
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
97
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
98
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
99
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
99
100
|
# @option opts [String] :requires_python Filter results where requires_python matches value
|
100
101
|
# @option opts [String] :requires_python__contains Filter results where requires_python contains value
|
101
102
|
# @option opts [Array<String>] :requires_python__in Filter results where requires_python is in a comma-separated list of values
|
@@ -89,10 +89,11 @@ describe 'DistributionsPypiApi' do
|
|
89
89
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
90
90
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
91
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)
|
92
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
92
93
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
93
94
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
94
95
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
95
|
-
# @option opts [String] :q
|
96
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
96
97
|
# @option opts [String] :repository Filter results where repository matches value
|
97
98
|
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
98
99
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
@@ -73,11 +73,12 @@ describe 'PublicationsPypiApi' do
|
|
73
73
|
# List python publications
|
74
74
|
# Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
|
75
75
|
# @param [Hash] opts the optional parameters
|
76
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
77
|
-
# @option opts [String] :content__in
|
76
|
+
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
77
|
+
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
78
78
|
# @option opts [Integer] :limit Number of results to return per page.
|
79
79
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
80
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)
|
81
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
81
82
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
82
83
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
83
84
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
@@ -86,9 +87,9 @@ describe 'PublicationsPypiApi' do
|
|
86
87
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
87
88
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
88
89
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
89
|
-
# @option opts [String] :q
|
90
|
-
# @option opts [String] :repository Repository referenced by HREF
|
91
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
90
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
91
|
+
# @option opts [String] :repository Repository referenced by HREF/PRN
|
92
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
92
93
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
93
94
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
94
95
|
# @return [PaginatedpythonPythonPublicationResponseList]
|
@@ -99,6 +99,7 @@ describe 'RemotesPythonApi' do
|
|
99
99
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
100
100
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
101
101
|
# @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) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
102
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
102
103
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
103
104
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
104
105
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
@@ -108,7 +109,7 @@ describe 'RemotesPythonApi' do
|
|
108
109
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
109
110
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
110
111
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
111
|
-
# @option opts [String] :q
|
112
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
112
113
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
113
114
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
114
115
|
# @return [PaginatedpythonPythonRemoteResponseList]
|
@@ -73,7 +73,7 @@ describe 'RepositoriesPythonApi' do
|
|
73
73
|
# List python repositorys
|
74
74
|
# PythonRepository represents a single Python repository, to which content can be synced, added, or removed.
|
75
75
|
# @param [Hash] opts the optional parameters
|
76
|
-
# @option opts [String] :latest_with_content Content Unit referenced by HREF
|
76
|
+
# @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
|
77
77
|
# @option opts [Integer] :limit Number of results to return per page.
|
78
78
|
# @option opts [String] :name Filter results where name matches value
|
79
79
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -86,10 +86,11 @@ describe 'RepositoriesPythonApi' do
|
|
86
86
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
87
87
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
88
88
|
# @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) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
89
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
89
90
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
90
91
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
91
92
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
92
|
-
# @option opts [String] :q
|
93
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
93
94
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
94
95
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
95
96
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
@@ -99,7 +100,7 @@ describe 'RepositoriesPythonApi' do
|
|
99
100
|
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
100
101
|
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
101
102
|
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
102
|
-
# @option opts [String] :with_content Content Unit referenced by HREF
|
103
|
+
# @option opts [String] :with_content Content Unit referenced by HREF/PRN
|
103
104
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
104
105
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
105
106
|
# @return [PaginatedpythonPythonRepositoryResponseList]
|
@@ -49,8 +49,8 @@ describe 'RepositoriesPythonVersionsApi' do
|
|
49
49
|
# PythonRepositoryVersion represents a single Python repository version.
|
50
50
|
# @param python_python_repository_href
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
|
-
# @option opts [String] :content Content Unit referenced by HREF
|
53
|
-
# @option opts [String] :content__in
|
52
|
+
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
53
|
+
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
54
54
|
# @option opts [Integer] :limit Number of results to return per page.
|
55
55
|
# @option opts [Integer] :number Filter results where number matches value
|
56
56
|
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
@@ -60,6 +60,7 @@ describe 'RepositoriesPythonVersionsApi' do
|
|
60
60
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
61
61
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
62
62
|
# @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) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
63
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
63
64
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
64
65
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
65
66
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
@@ -67,7 +68,7 @@ describe 'RepositoriesPythonVersionsApi' do
|
|
67
68
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
68
69
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
69
70
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
70
|
-
# @option opts [String] :q
|
71
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
71
72
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
72
73
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
73
74
|
# @return [PaginatedRepositoryVersionResponseList]
|
@@ -38,6 +38,12 @@ describe 'PythonPythonDistributionResponse' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
+
describe 'test attribute "prn"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
41
47
|
describe 'test attribute "pulp_created"' do
|
42
48
|
it 'should work' do
|
43
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -38,6 +38,12 @@ describe 'PythonPythonPackageContentResponse' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
+
describe 'test attribute "prn"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
41
47
|
describe 'test attribute "pulp_created"' do
|
42
48
|
it 'should work' do
|
43
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -38,6 +38,12 @@ describe 'PythonPythonPublicationResponse' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
+
describe 'test attribute "prn"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
41
47
|
describe 'test attribute "pulp_created"' do
|
42
48
|
it 'should work' do
|
43
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -38,6 +38,12 @@ describe 'PythonPythonRemoteResponse' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
+
describe 'test attribute "prn"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
41
47
|
describe 'test attribute "pulp_created"' do
|
42
48
|
it 'should work' do
|
43
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -38,6 +38,12 @@ describe 'PythonPythonRepositoryResponse' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
+
describe 'test attribute "prn"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
41
47
|
describe 'test attribute "pulp_created"' do
|
42
48
|
it 'should work' do
|
43
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -38,6 +38,12 @@ describe 'RepositoryVersionResponse' do
|
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
+
describe 'test attribute "prn"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
41
47
|
describe 'test attribute "pulp_created"' do
|
42
48
|
it 'should work' do
|
43
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_python_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.12.
|
4
|
+
version: 3.12.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -269,58 +269,58 @@ signing_key:
|
|
269
269
|
specification_version: 4
|
270
270
|
summary: Pulp 3 API Ruby Gem
|
271
271
|
test_files:
|
272
|
-
- spec/api/repositories_python_api_spec.rb
|
273
272
|
- spec/api/distributions_pypi_api_spec.rb
|
273
|
+
- spec/api/remotes_python_api_spec.rb
|
274
274
|
- spec/api/pypi_legacy_api_spec.rb
|
275
|
+
- spec/api/pypi_metadata_api_spec.rb
|
275
276
|
- spec/api/pypi_simple_api_spec.rb
|
276
|
-
- spec/api/publications_pypi_api_spec.rb
|
277
277
|
- spec/api/pypi_api_spec.rb
|
278
|
+
- spec/api/repositories_python_api_spec.rb
|
278
279
|
- spec/api/repositories_python_versions_api_spec.rb
|
280
|
+
- spec/api/publications_pypi_api_spec.rb
|
279
281
|
- spec/api/content_packages_api_spec.rb
|
280
|
-
- spec/api/pypi_metadata_api_spec.rb
|
281
|
-
- spec/api/remotes_python_api_spec.rb
|
282
282
|
- spec/api_client_spec.rb
|
283
283
|
- spec/configuration_spec.rb
|
284
|
+
- spec/models/paginatedpython_python_remote_response_list_spec.rb
|
285
|
+
- spec/models/repository_version_response_spec.rb
|
286
|
+
- spec/models/repository_add_remove_content_spec.rb
|
287
|
+
- spec/models/python_bander_remote_spec.rb
|
288
|
+
- spec/models/python_python_repository_spec.rb
|
289
|
+
- spec/models/set_label_response_spec.rb
|
290
|
+
- spec/models/patchedpython_python_distribution_spec.rb
|
284
291
|
- spec/models/python_python_remote_response_hidden_fields_spec.rb
|
285
|
-
- spec/models/nested_role_spec.rb
|
286
|
-
- spec/models/repair_spec.rb
|
287
|
-
- spec/models/python_python_remote_spec.rb
|
288
|
-
- spec/models/content_summary_response_spec.rb
|
289
|
-
- spec/models/exclude_platforms_enum_spec.rb
|
290
|
-
- spec/models/python_python_remote_response_spec.rb
|
291
|
-
- spec/models/paginatedpython_python_publication_response_list_spec.rb
|
292
292
|
- spec/models/paginated_repository_version_response_list_spec.rb
|
293
|
-
- spec/models/
|
293
|
+
- spec/models/python_python_publication_spec.rb
|
294
294
|
- spec/models/object_roles_response_spec.rb
|
295
|
-
- spec/models/
|
295
|
+
- spec/models/paginatedpython_python_distribution_response_list_spec.rb
|
296
296
|
- spec/models/policy_enum_spec.rb
|
297
|
-
- spec/models/repository_version_response_spec.rb
|
298
|
-
- spec/models/unset_label_spec.rb
|
299
|
-
- spec/models/my_permissions_response_spec.rb
|
300
|
-
- spec/models/paginatedpython_python_remote_response_list_spec.rb
|
301
|
-
- spec/models/python_python_distribution_response_spec.rb
|
302
|
-
- spec/models/repository_sync_url_spec.rb
|
303
|
-
- spec/models/summary_response_spec.rb
|
304
297
|
- spec/models/package_types_enum_spec.rb
|
305
298
|
- spec/models/unset_label_response_spec.rb
|
306
|
-
- spec/models/
|
307
|
-
- spec/models/
|
308
|
-
- spec/models/
|
309
|
-
- spec/models/package_upload_task_response_spec.rb
|
299
|
+
- spec/models/repository_sync_url_spec.rb
|
300
|
+
- spec/models/package_metadata_response_spec.rb
|
301
|
+
- spec/models/nested_role_response_spec.rb
|
310
302
|
- spec/models/async_operation_response_spec.rb
|
311
303
|
- spec/models/python_python_package_content_response_spec.rb
|
312
|
-
- spec/models/
|
304
|
+
- spec/models/python_python_repository_response_spec.rb
|
313
305
|
- spec/models/patchedpython_python_repository_spec.rb
|
314
|
-
- spec/models/
|
315
|
-
- spec/models/python_python_package_content_spec.rb
|
316
|
-
- spec/models/paginatedpython_python_distribution_response_list_spec.rb
|
317
|
-
- spec/models/python_python_publication_spec.rb
|
306
|
+
- spec/models/python_python_distribution_spec.rb
|
318
307
|
- spec/models/python_python_publication_response_spec.rb
|
308
|
+
- spec/models/content_summary_response_spec.rb
|
319
309
|
- spec/models/package_upload_spec.rb
|
320
|
-
- spec/models/
|
321
|
-
- spec/models/
|
322
|
-
- spec/models/
|
323
|
-
- spec/models/
|
310
|
+
- spec/models/summary_response_spec.rb
|
311
|
+
- spec/models/paginatedpython_python_repository_response_list_spec.rb
|
312
|
+
- spec/models/exclude_platforms_enum_spec.rb
|
313
|
+
- spec/models/patchedpython_python_remote_spec.rb
|
314
|
+
- spec/models/unset_label_spec.rb
|
315
|
+
- spec/models/my_permissions_response_spec.rb
|
316
|
+
- spec/models/python_python_remote_response_spec.rb
|
317
|
+
- spec/models/paginatedpython_python_publication_response_list_spec.rb
|
318
|
+
- spec/models/package_upload_task_response_spec.rb
|
319
|
+
- spec/models/repair_spec.rb
|
320
|
+
- spec/models/python_python_package_content_spec.rb
|
321
|
+
- spec/models/python_python_distribution_response_spec.rb
|
324
322
|
- spec/models/set_label_spec.rb
|
325
|
-
- spec/models/
|
323
|
+
- spec/models/paginatedpython_python_package_content_response_list_spec.rb
|
324
|
+
- spec/models/nested_role_spec.rb
|
325
|
+
- spec/models/python_python_remote_spec.rb
|
326
326
|
- spec/spec_helper.rb
|