pulp_python_client 3.9.0 → 3.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +18 -8
  3. data/docs/ContentPackagesApi.md +17 -11
  4. data/docs/DistributionsPypiApi.md +130 -4
  5. data/docs/PatchedpythonPythonDistribution.md +2 -0
  6. data/docs/PatchedpythonPythonRemote.md +1 -1
  7. data/docs/PublicationsPypiApi.md +9 -3
  8. data/docs/PypiApi.md +1 -1
  9. data/docs/PypiLegacyApi.md +1 -1
  10. data/docs/PypiMetadataApi.md +1 -1
  11. data/docs/PypiSimpleApi.md +1 -1
  12. data/docs/PythonBanderRemote.md +1 -1
  13. data/docs/PythonPythonDistribution.md +2 -0
  14. data/docs/PythonPythonDistributionResponse.md +2 -0
  15. data/docs/PythonPythonPackageContent.md +5 -5
  16. data/docs/PythonPythonRemote.md +1 -1
  17. data/docs/PythonPythonRemoteResponse.md +1 -1
  18. data/docs/RemotesPythonApi.md +131 -5
  19. data/docs/RepositoriesPythonApi.md +134 -4
  20. data/docs/RepositoriesPythonVersionsApi.md +7 -3
  21. data/docs/SetLabel.md +19 -0
  22. data/docs/SetLabelResponse.md +19 -0
  23. data/docs/UnsetLabel.md +17 -0
  24. data/docs/UnsetLabelResponse.md +19 -0
  25. data/lib/pulp_python_client/api/content_packages_api.rb +20 -11
  26. data/lib/pulp_python_client/api/distributions_pypi_api.rb +164 -3
  27. data/lib/pulp_python_client/api/publications_pypi_api.rb +11 -2
  28. data/lib/pulp_python_client/api/remotes_python_api.rb +165 -4
  29. data/lib/pulp_python_client/api/repositories_python_api.rb +169 -2
  30. data/lib/pulp_python_client/api/repositories_python_versions_api.rb +8 -2
  31. data/lib/pulp_python_client/configuration.rb +2 -2
  32. data/lib/pulp_python_client/models/patchedpython_python_distribution.rb +13 -1
  33. data/lib/pulp_python_client/models/patchedpython_python_remote.rb +1 -1
  34. data/lib/pulp_python_client/models/python_bander_remote.rb +1 -1
  35. data/lib/pulp_python_client/models/python_python_distribution.rb +13 -1
  36. data/lib/pulp_python_client/models/python_python_distribution_response.rb +13 -1
  37. data/lib/pulp_python_client/models/python_python_package_content.rb +13 -13
  38. data/lib/pulp_python_client/models/python_python_remote.rb +1 -1
  39. data/lib/pulp_python_client/models/python_python_remote_response.rb +1 -1
  40. data/lib/pulp_python_client/models/set_label.rb +252 -0
  41. data/lib/pulp_python_client/models/set_label_response.rb +243 -0
  42. data/lib/pulp_python_client/models/unset_label.rb +242 -0
  43. data/lib/pulp_python_client/models/unset_label_response.rb +242 -0
  44. data/lib/pulp_python_client/version.rb +1 -1
  45. data/lib/pulp_python_client.rb +4 -0
  46. data/spec/api/content_packages_api_spec.rb +8 -5
  47. data/spec/api/distributions_pypi_api_spec.rb +34 -1
  48. data/spec/api/publications_pypi_api_spec.rb +4 -1
  49. data/spec/api/remotes_python_api_spec.rb +35 -2
  50. data/spec/api/repositories_python_api_spec.rb +36 -1
  51. data/spec/api/repositories_python_versions_api_spec.rb +3 -1
  52. data/spec/configuration_spec.rb +3 -3
  53. data/spec/models/patchedpython_python_distribution_spec.rb +6 -0
  54. data/spec/models/python_python_distribution_response_spec.rb +6 -0
  55. data/spec/models/python_python_distribution_spec.rb +6 -0
  56. data/spec/models/python_python_package_content_spec.rb +4 -4
  57. data/spec/models/set_label_response_spec.rb +47 -0
  58. data/spec/models/set_label_spec.rb +47 -0
  59. data/spec/models/unset_label_response_spec.rb +47 -0
  60. data/spec/models/unset_label_spec.rb +41 -0
  61. metadata +50 -34
@@ -62,7 +62,7 @@ describe 'RemotesPythonApi' do
62
62
  # @param config A Bandersnatch config that may be used to construct a Python Remote.
63
63
  # @param name A unique name for this remote
64
64
  # @param [Hash] opts the optional parameters
65
- # @option opts [PolicyEnum] :policy The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' is the default.
65
+ # @option opts [PolicyEnum] :policy The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' is the default. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again.
66
66
  # @return [PythonPythonRemoteResponse]
67
67
  describe 'from_bandersnatch test' do
68
68
  it 'should work' do
@@ -78,10 +78,16 @@ describe 'RemotesPythonApi' do
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
80
80
  # @option opts [String] :name__icontains Filter results where name contains value
81
+ # @option opts [String] :name__iexact Filter results where name matches value
81
82
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
83
+ # @option opts [String] :name__iregex Filter results where name matches regex value
84
+ # @option opts [String] :name__istartswith Filter results where name starts with value
85
+ # @option opts [String] :name__regex Filter results where name matches regex value
82
86
  # @option opts [String] :name__startswith Filter results where name starts with value
83
87
  # @option opts [Integer] :offset The initial index from which to return the results.
84
- # @option opts [Array<String>] :ordering Ordering
88
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;ca_cert&#x60; - Ca cert * &#x60;-ca_cert&#x60; - Ca cert (descending) * &#x60;client_cert&#x60; - Client cert * &#x60;-client_cert&#x60; - Client cert (descending) * &#x60;client_key&#x60; - Client key * &#x60;-client_key&#x60; - Client key (descending) * &#x60;tls_validation&#x60; - Tls validation * &#x60;-tls_validation&#x60; - Tls validation (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;proxy_url&#x60; - Proxy url * &#x60;-proxy_url&#x60; - Proxy url (descending) * &#x60;proxy_username&#x60; - Proxy username * &#x60;-proxy_username&#x60; - Proxy username (descending) * &#x60;proxy_password&#x60; - Proxy password * &#x60;-proxy_password&#x60; - Proxy password (descending) * &#x60;download_concurrency&#x60; - Download concurrency * &#x60;-download_concurrency&#x60; - Download concurrency (descending) * &#x60;max_retries&#x60; - Max retries * &#x60;-max_retries&#x60; - Max retries (descending) * &#x60;policy&#x60; - Policy * &#x60;-policy&#x60; - Policy (descending) * &#x60;total_timeout&#x60; - Total timeout * &#x60;-total_timeout&#x60; - Total timeout (descending) * &#x60;connect_timeout&#x60; - Connect timeout * &#x60;-connect_timeout&#x60; - Connect timeout (descending) * &#x60;sock_connect_timeout&#x60; - Sock connect timeout * &#x60;-sock_connect_timeout&#x60; - Sock connect timeout (descending) * &#x60;sock_read_timeout&#x60; - Sock read timeout * &#x60;-sock_read_timeout&#x60; - Sock read timeout (descending) * &#x60;headers&#x60; - Headers * &#x60;-headers&#x60; - Headers (descending) * &#x60;rate_limit&#x60; - Rate limit * &#x60;-rate_limit&#x60; - Rate limit (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
89
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
90
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
85
91
  # @option opts [String] :pulp_label_select Filter labels by search string
86
92
  # @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
87
93
  # @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
@@ -89,6 +95,7 @@ describe 'RemotesPythonApi' do
89
95
  # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
90
96
  # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
91
97
  # @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
98
+ # @option opts [String] :q
92
99
  # @option opts [Array<String>] :fields A list of fields to include in the response.
93
100
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
94
101
  # @return [PaginatedpythonPythonRemoteResponseList]
@@ -125,6 +132,32 @@ describe 'RemotesPythonApi' do
125
132
  end
126
133
  end
127
134
 
135
+ # unit tests for set_label
136
+ # Set a label
137
+ # Set a single pulp_label on the object to a specific value or null.
138
+ # @param python_python_remote_href
139
+ # @param set_label
140
+ # @param [Hash] opts the optional parameters
141
+ # @return [SetLabelResponse]
142
+ describe 'set_label test' do
143
+ it 'should work' do
144
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
145
+ end
146
+ end
147
+
148
+ # unit tests for unset_label
149
+ # Unset a label
150
+ # Unset a single pulp_label on the object.
151
+ # @param python_python_remote_href
152
+ # @param unset_label
153
+ # @param [Hash] opts the optional parameters
154
+ # @return [UnsetLabelResponse]
155
+ describe 'unset_label test' do
156
+ it 'should work' do
157
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
158
+ end
159
+ end
160
+
128
161
  # unit tests for update
129
162
  # Update a python remote
130
163
  # Trigger an asynchronous update task
@@ -60,15 +60,23 @@ describe 'RepositoriesPythonApi' do
60
60
  # List python repositorys
61
61
  # PythonRepository represents a single Python repository, to which content can be synced, added, or removed.
62
62
  # @param [Hash] opts the optional parameters
63
+ # @option opts [String] :latest_with_content Content Unit referenced by HREF
63
64
  # @option opts [Integer] :limit Number of results to return per page.
64
65
  # @option opts [String] :name Filter results where name matches value
65
66
  # @option opts [String] :name__contains Filter results where name contains value
66
67
  # @option opts [String] :name__icontains Filter results where name contains value
68
+ # @option opts [String] :name__iexact Filter results where name matches value
67
69
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
70
+ # @option opts [String] :name__iregex Filter results where name matches regex value
71
+ # @option opts [String] :name__istartswith Filter results where name starts with value
72
+ # @option opts [String] :name__regex Filter results where name matches regex value
68
73
  # @option opts [String] :name__startswith Filter results where name starts with value
69
74
  # @option opts [Integer] :offset The initial index from which to return the results.
70
- # @option opts [Array<String>] :ordering Ordering
75
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
76
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
77
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
71
78
  # @option opts [String] :pulp_label_select Filter labels by search string
79
+ # @option opts [String] :q
72
80
  # @option opts [String] :remote Foreign Key referenced by HREF
73
81
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
74
82
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
@@ -78,6 +86,7 @@ describe 'RepositoriesPythonApi' do
78
86
  # @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
79
87
  # @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
80
88
  # @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
89
+ # @option opts [String] :with_content Content Unit referenced by HREF
81
90
  # @option opts [Array<String>] :fields A list of fields to include in the response.
82
91
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
83
92
  # @return [PaginatedpythonPythonRepositoryResponseList]
@@ -127,6 +136,19 @@ describe 'RepositoriesPythonApi' do
127
136
  end
128
137
  end
129
138
 
139
+ # unit tests for set_label
140
+ # Set a label
141
+ # Set a single pulp_label on the object to a specific value or null.
142
+ # @param python_python_repository_href
143
+ # @param set_label
144
+ # @param [Hash] opts the optional parameters
145
+ # @return [SetLabelResponse]
146
+ describe 'set_label test' do
147
+ it 'should work' do
148
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
149
+ end
150
+ end
151
+
130
152
  # unit tests for sync
131
153
  # Sync from remote
132
154
  # Trigger an asynchronous task to sync python content. The sync task will retrieve Python content from the specified &#x60;Remote&#x60; and update the specified &#x60;Respository&#x60;, creating a new &#x60;RepositoryVersion&#x60;.
@@ -140,6 +162,19 @@ describe 'RepositoriesPythonApi' do
140
162
  end
141
163
  end
142
164
 
165
+ # unit tests for unset_label
166
+ # Unset a label
167
+ # Unset a single pulp_label on the object.
168
+ # @param python_python_repository_href
169
+ # @param unset_label
170
+ # @param [Hash] opts the optional parameters
171
+ # @return [UnsetLabelResponse]
172
+ describe 'unset_label test' do
173
+ it 'should work' do
174
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
175
+ end
176
+ end
177
+
143
178
  # unit tests for update
144
179
  # Update a python repository
145
180
  # Trigger an asynchronous update task
@@ -59,13 +59,15 @@ describe 'RepositoriesPythonVersionsApi' do
59
59
  # @option opts [Integer] :number__lte Filter results where number is less than or equal to value
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
- # @option opts [Array<String>] :ordering Ordering
62
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;number&#x60; - Number * &#x60;-number&#x60; - Number (descending) * &#x60;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;info&#x60; - Info * &#x60;-info&#x60; - Info (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
63
63
  # @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
64
64
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
65
65
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
66
66
  # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
67
67
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
68
68
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
69
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
70
+ # @option opts [String] :q
69
71
  # @option opts [Array<String>] :fields A list of fields to include in the response.
70
72
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
71
73
  # @return [PaginatedRepositoryVersionResponseList]
@@ -18,7 +18,7 @@ describe PulpPythonClient::Configuration do
18
18
  before(:each) do
19
19
  # uncomment below to setup host and base_path
20
20
  # require 'URI'
21
- # uri = URI.parse("https://pulp")
21
+ # uri = URI.parse("http://pulp")
22
22
  # PulpPythonClient.configure do |c|
23
23
  # c.host = uri.host
24
24
  # c.base_path = uri.path
@@ -28,14 +28,14 @@ describe PulpPythonClient::Configuration do
28
28
  describe '#base_url' do
29
29
  it 'should have the default value' do
30
30
  # uncomment below to test default value of the base path
31
- # expect(config.base_url).to eq("https://pulp")
31
+ # expect(config.base_url).to eq("http://pulp")
32
32
  end
33
33
 
34
34
  it 'should remove trailing slashes' do
35
35
  [nil, '', '/', '//'].each do |base_path|
36
36
  config.base_path = base_path
37
37
  # uncomment below to test trailing slashes
38
- # expect(config.base_url).to eq("https://pulp")
38
+ # expect(config.base_url).to eq("http://pulp")
39
39
  end
40
40
  end
41
41
  end
@@ -44,6 +44,12 @@ describe 'PatchedpythonPythonDistribution' do
44
44
  end
45
45
  end
46
46
 
47
+ describe 'test attribute "hidden"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
47
53
  describe 'test attribute "pulp_labels"' do
48
54
  it 'should work' do
49
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -62,6 +62,12 @@ describe 'PythonPythonDistributionResponse' do
62
62
  end
63
63
  end
64
64
 
65
+ describe 'test attribute "hidden"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
65
71
  describe 'test attribute "pulp_labels"' do
66
72
  it 'should work' do
67
73
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -44,6 +44,12 @@ describe 'PythonPythonDistribution' do
44
44
  end
45
45
  end
46
46
 
47
+ describe 'test attribute "hidden"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
47
53
  describe 'test attribute "pulp_labels"' do
48
54
  it 'should work' do
49
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -32,25 +32,25 @@ describe 'PythonPythonPackageContent' do
32
32
  expect(@instance).to be_instance_of(PulpPythonClient::PythonPythonPackageContent)
33
33
  end
34
34
  end
35
- describe 'test attribute "artifact"' do
35
+ describe 'test attribute "repository"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "relative_path"' do
41
+ describe 'test attribute "artifact"' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "file"' do
47
+ describe 'test attribute "relative_path"' do
48
48
  it 'should work' do
49
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "repository"' do
53
+ describe 'test attribute "file"' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
@@ -0,0 +1,47 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpPythonClient::SetLabelResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'SetLabelResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpPythonClient::SetLabelResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of SetLabelResponse' do
31
+ it 'should create an instance of SetLabelResponse' do
32
+ expect(@instance).to be_instance_of(PulpPythonClient::SetLabelResponse)
33
+ end
34
+ end
35
+ describe 'test attribute "key"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "value"' 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
+
47
+ end
@@ -0,0 +1,47 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpPythonClient::SetLabel
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'SetLabel' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpPythonClient::SetLabel.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of SetLabel' do
31
+ it 'should create an instance of SetLabel' do
32
+ expect(@instance).to be_instance_of(PulpPythonClient::SetLabel)
33
+ end
34
+ end
35
+ describe 'test attribute "key"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "value"' 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
+
47
+ end
@@ -0,0 +1,47 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpPythonClient::UnsetLabelResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'UnsetLabelResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpPythonClient::UnsetLabelResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of UnsetLabelResponse' do
31
+ it 'should create an instance of UnsetLabelResponse' do
32
+ expect(@instance).to be_instance_of(PulpPythonClient::UnsetLabelResponse)
33
+ end
34
+ end
35
+ describe 'test attribute "key"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "value"' 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
+
47
+ end
@@ -0,0 +1,41 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
+
6
+ The version of the OpenAPI document: v3
7
+ Contact: pulp-list@redhat.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpPythonClient::UnsetLabel
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'UnsetLabel' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpPythonClient::UnsetLabel.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of UnsetLabel' do
31
+ it 'should create an instance of UnsetLabel' do
32
+ expect(@instance).to be_instance_of(PulpPythonClient::UnsetLabel)
33
+ end
34
+ end
35
+ describe 'test attribute "key"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ end
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.9.0
4
+ version: 3.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-17 00:00:00.000000000 Z
11
+ date: 2023-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -123,7 +123,11 @@ files:
123
123
  - docs/RepositoryAddRemoveContent.md
124
124
  - docs/RepositorySyncURL.md
125
125
  - docs/RepositoryVersionResponse.md
126
+ - docs/SetLabel.md
127
+ - docs/SetLabelResponse.md
126
128
  - docs/SummaryResponse.md
129
+ - docs/UnsetLabel.md
130
+ - docs/UnsetLabelResponse.md
127
131
  - lib/pulp_python_client.rb
128
132
  - lib/pulp_python_client/api/content_packages_api.rb
129
133
  - lib/pulp_python_client/api/distributions_pypi_api.rb
@@ -171,7 +175,11 @@ files:
171
175
  - lib/pulp_python_client/models/repository_add_remove_content.rb
172
176
  - lib/pulp_python_client/models/repository_sync_url.rb
173
177
  - lib/pulp_python_client/models/repository_version_response.rb
178
+ - lib/pulp_python_client/models/set_label.rb
179
+ - lib/pulp_python_client/models/set_label_response.rb
174
180
  - lib/pulp_python_client/models/summary_response.rb
181
+ - lib/pulp_python_client/models/unset_label.rb
182
+ - lib/pulp_python_client/models/unset_label_response.rb
175
183
  - lib/pulp_python_client/version.rb
176
184
  - pulp_python_client.gemspec
177
185
  - spec/api/content_packages_api_spec.rb
@@ -219,7 +227,11 @@ files:
219
227
  - spec/models/repository_add_remove_content_spec.rb
220
228
  - spec/models/repository_sync_url_spec.rb
221
229
  - spec/models/repository_version_response_spec.rb
230
+ - spec/models/set_label_response_spec.rb
231
+ - spec/models/set_label_spec.rb
222
232
  - spec/models/summary_response_spec.rb
233
+ - spec/models/unset_label_response_spec.rb
234
+ - spec/models/unset_label_spec.rb
223
235
  - spec/spec_helper.rb
224
236
  homepage: https://github.com/pulp/pulp_python
225
237
  licenses:
@@ -245,50 +257,54 @@ signing_key:
245
257
  specification_version: 4
246
258
  summary: Pulp 3 API Ruby Gem
247
259
  test_files:
248
- - spec/api/content_packages_api_spec.rb
260
+ - spec/api/remotes_python_api_spec.rb
249
261
  - spec/api/pypi_simple_api_spec.rb
250
- - spec/api/repositories_python_api_spec.rb
251
- - spec/api/pypi_metadata_api_spec.rb
252
- - spec/api/distributions_pypi_api_spec.rb
253
- - spec/api/repositories_python_versions_api_spec.rb
262
+ - spec/api/content_packages_api_spec.rb
254
263
  - spec/api/publications_pypi_api_spec.rb
255
264
  - spec/api/pypi_api_spec.rb
256
- - spec/api/remotes_python_api_spec.rb
257
265
  - spec/api/pypi_legacy_api_spec.rb
266
+ - spec/api/distributions_pypi_api_spec.rb
267
+ - spec/api/repositories_python_api_spec.rb
268
+ - spec/api/repositories_python_versions_api_spec.rb
269
+ - spec/api/pypi_metadata_api_spec.rb
258
270
  - spec/api_client_spec.rb
259
271
  - spec/configuration_spec.rb
260
- - spec/models/repository_version_response_spec.rb
261
- - spec/models/paginatedpython_python_repository_response_list_spec.rb
262
- - spec/models/summary_response_spec.rb
263
- - spec/models/paginatedpython_python_distribution_response_list_spec.rb
264
- - spec/models/paginatedpython_python_publication_response_list_spec.rb
265
- - spec/models/python_bander_remote_spec.rb
266
- - spec/models/repository_sync_url_spec.rb
267
- - spec/models/patchedpython_python_repository_spec.rb
268
- - spec/models/python_python_repository_spec.rb
269
- - spec/models/package_metadata_response_spec.rb
270
- - spec/models/python_python_publication_response_spec.rb
271
- - spec/models/python_python_remote_response_hidden_fields_spec.rb
272
- - spec/models/paginatedpython_python_remote_response_list_spec.rb
273
- - spec/models/repository_add_remove_content_spec.rb
274
- - spec/models/repair_spec.rb
275
272
  - spec/models/exclude_platforms_enum_spec.rb
276
- - spec/models/package_upload_spec.rb
277
- - spec/models/patchedpython_python_distribution_spec.rb
273
+ - spec/models/repository_sync_url_spec.rb
274
+ - spec/models/python_python_distribution_response_spec.rb
278
275
  - spec/models/package_upload_task_response_spec.rb
279
- - spec/models/async_operation_response_spec.rb
280
- - spec/models/python_python_package_content_spec.rb
281
- - spec/models/paginatedpython_python_package_content_response_list_spec.rb
276
+ - spec/models/python_python_remote_response_hidden_fields_spec.rb
282
277
  - spec/models/package_types_enum_spec.rb
283
- - spec/models/policy_enum_spec.rb
284
- - spec/models/python_python_remote_response_spec.rb
278
+ - spec/models/python_python_repository_response_spec.rb
279
+ - spec/models/unset_label_spec.rb
285
280
  - spec/models/patchedpython_python_remote_spec.rb
281
+ - spec/models/summary_response_spec.rb
282
+ - spec/models/repository_version_response_spec.rb
283
+ - spec/models/python_python_remote_response_spec.rb
284
+ - spec/models/python_python_repository_spec.rb
285
+ - spec/models/package_metadata_response_spec.rb
286
+ - spec/models/patchedpython_python_repository_spec.rb
287
+ - spec/models/paginated_repository_version_response_list_spec.rb
288
+ - spec/models/paginatedpython_python_repository_response_list_spec.rb
289
+ - spec/models/set_label_spec.rb
286
290
  - spec/models/content_summary_response_spec.rb
291
+ - spec/models/paginatedpython_python_distribution_response_list_spec.rb
292
+ - spec/models/async_operation_response_spec.rb
287
293
  - spec/models/python_python_remote_spec.rb
288
- - spec/models/python_python_package_content_response_spec.rb
289
- - spec/models/paginated_repository_version_response_list_spec.rb
294
+ - spec/models/python_python_publication_response_spec.rb
295
+ - spec/models/python_bander_remote_spec.rb
290
296
  - spec/models/python_python_publication_spec.rb
291
- - spec/models/python_python_distribution_response_spec.rb
292
- - spec/models/python_python_repository_response_spec.rb
297
+ - spec/models/policy_enum_spec.rb
298
+ - spec/models/patchedpython_python_distribution_spec.rb
299
+ - spec/models/paginatedpython_python_publication_response_list_spec.rb
300
+ - spec/models/unset_label_response_spec.rb
301
+ - spec/models/repair_spec.rb
302
+ - spec/models/paginatedpython_python_package_content_response_list_spec.rb
293
303
  - spec/models/python_python_distribution_spec.rb
304
+ - spec/models/repository_add_remove_content_spec.rb
305
+ - spec/models/python_python_package_content_spec.rb
306
+ - spec/models/paginatedpython_python_remote_response_list_spec.rb
307
+ - spec/models/package_upload_spec.rb
308
+ - spec/models/set_label_response_spec.rb
309
+ - spec/models/python_python_package_content_response_spec.rb
294
310
  - spec/spec_helper.rb