pulp_python_client 3.0.0b9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/README.md +175 -0
  4. data/Rakefile +10 -0
  5. data/docs/AsyncOperationResponse.md +17 -0
  6. data/docs/ContentPackagesApi.md +262 -0
  7. data/docs/ContentSummary.md +21 -0
  8. data/docs/DistributionsPypiApi.md +364 -0
  9. data/docs/InlineResponse200.md +23 -0
  10. data/docs/InlineResponse2001.md +23 -0
  11. data/docs/InlineResponse2002.md +23 -0
  12. data/docs/InlineResponse2003.md +23 -0
  13. data/docs/InlineResponse2004.md +23 -0
  14. data/docs/InlineResponse2005.md +23 -0
  15. data/docs/ProjectSpecifier.md +19 -0
  16. data/docs/PublicationsPypiApi.md +253 -0
  17. data/docs/PythonPythonDistribution.md +29 -0
  18. data/docs/PythonPythonDistributionRead.md +29 -0
  19. data/docs/PythonPythonPackageContentRead.md +69 -0
  20. data/docs/PythonPythonPublication.md +25 -0
  21. data/docs/PythonPythonPublicationRead.md +25 -0
  22. data/docs/PythonPythonRemote.md +49 -0
  23. data/docs/PythonPythonRemoteRead.md +49 -0
  24. data/docs/PythonPythonRepository.md +27 -0
  25. data/docs/PythonPythonRepositoryRead.md +27 -0
  26. data/docs/RemotesPythonApi.md +368 -0
  27. data/docs/RepositoriesPythonApi.md +468 -0
  28. data/docs/RepositoriesPythonVersionsApi.md +269 -0
  29. data/docs/RepositoryAddRemoveContent.md +21 -0
  30. data/docs/RepositorySyncURL.md +19 -0
  31. data/docs/RepositoryVersion.md +25 -0
  32. data/docs/RepositoryVersionRead.md +25 -0
  33. data/git_push.sh +58 -0
  34. data/lib/pulp_python_client.rb +67 -0
  35. data/lib/pulp_python_client/api/content_packages_api.rb +349 -0
  36. data/lib/pulp_python_client/api/distributions_pypi_api.rb +445 -0
  37. data/lib/pulp_python_client/api/publications_pypi_api.rb +306 -0
  38. data/lib/pulp_python_client/api/remotes_python_api.rb +451 -0
  39. data/lib/pulp_python_client/api/repositories_python_api.rb +573 -0
  40. data/lib/pulp_python_client/api/repositories_python_versions_api.rb +336 -0
  41. data/lib/pulp_python_client/api_client.rb +402 -0
  42. data/lib/pulp_python_client/api_error.rb +57 -0
  43. data/lib/pulp_python_client/configuration.rb +243 -0
  44. data/lib/pulp_python_client/models/async_operation_response.rb +212 -0
  45. data/lib/pulp_python_client/models/content_summary.rb +246 -0
  46. data/lib/pulp_python_client/models/inline_response200.rb +247 -0
  47. data/lib/pulp_python_client/models/inline_response2001.rb +247 -0
  48. data/lib/pulp_python_client/models/inline_response2002.rb +247 -0
  49. data/lib/pulp_python_client/models/inline_response2003.rb +247 -0
  50. data/lib/pulp_python_client/models/inline_response2004.rb +247 -0
  51. data/lib/pulp_python_client/models/inline_response2005.rb +247 -0
  52. data/lib/pulp_python_client/models/project_specifier.rb +242 -0
  53. data/lib/pulp_python_client/models/python_python_distribution.rb +331 -0
  54. data/lib/pulp_python_client/models/python_python_distribution_read.rb +331 -0
  55. data/lib/pulp_python_client/models/python_python_package_content_read.rb +550 -0
  56. data/lib/pulp_python_client/models/python_python_publication.rb +247 -0
  57. data/lib/pulp_python_client/models/python_python_publication_read.rb +247 -0
  58. data/lib/pulp_python_client/models/python_python_remote.rb +565 -0
  59. data/lib/pulp_python_client/models/python_python_remote_read.rb +565 -0
  60. data/lib/pulp_python_client/models/python_python_repository.rb +294 -0
  61. data/lib/pulp_python_client/models/python_python_repository_read.rb +294 -0
  62. data/lib/pulp_python_client/models/repository_add_remove_content.rb +231 -0
  63. data/lib/pulp_python_client/models/repository_sync_url.rb +224 -0
  64. data/lib/pulp_python_client/models/repository_version.rb +244 -0
  65. data/lib/pulp_python_client/models/repository_version_read.rb +244 -0
  66. data/lib/pulp_python_client/version.rb +15 -0
  67. data/pulp_python_client.gemspec +39 -0
  68. data/spec/api/content_packages_api_spec.rb +114 -0
  69. data/spec/api/distributions_pypi_api_spec.rb +121 -0
  70. data/spec/api/publications_pypi_api_spec.rb +96 -0
  71. data/spec/api/remotes_python_api_spec.rb +123 -0
  72. data/spec/api/repositories_python_api_spec.rb +143 -0
  73. data/spec/api/repositories_python_versions_api_spec.rb +103 -0
  74. data/spec/api_client_spec.rb +188 -0
  75. data/spec/configuration_spec.rb +42 -0
  76. data/spec/models/async_operation_response_spec.rb +41 -0
  77. data/spec/models/content_summary_spec.rb +53 -0
  78. data/spec/models/inline_response2001_spec.rb +59 -0
  79. data/spec/models/inline_response2002_spec.rb +59 -0
  80. data/spec/models/inline_response2003_spec.rb +59 -0
  81. data/spec/models/inline_response2004_spec.rb +59 -0
  82. data/spec/models/inline_response2005_spec.rb +59 -0
  83. data/spec/models/inline_response200_spec.rb +59 -0
  84. data/spec/models/project_specifier_spec.rb +47 -0
  85. data/spec/models/python_python_distribution_read_spec.rb +77 -0
  86. data/spec/models/python_python_distribution_spec.rb +77 -0
  87. data/spec/models/python_python_package_content_read_spec.rb +197 -0
  88. data/spec/models/python_python_publication_read_spec.rb +65 -0
  89. data/spec/models/python_python_publication_spec.rb +65 -0
  90. data/spec/models/python_python_remote_read_spec.rb +141 -0
  91. data/spec/models/python_python_remote_spec.rb +141 -0
  92. data/spec/models/python_python_repository_read_spec.rb +71 -0
  93. data/spec/models/python_python_repository_spec.rb +71 -0
  94. data/spec/models/repository_add_remove_content_spec.rb +53 -0
  95. data/spec/models/repository_sync_url_spec.rb +47 -0
  96. data/spec/models/repository_version_read_spec.rb +65 -0
  97. data/spec/models/repository_version_spec.rb +65 -0
  98. data/spec/spec_helper.rb +111 -0
  99. metadata +225 -0
@@ -0,0 +1,269 @@
1
+ # PulpPythonClient::RepositoriesPythonVersionsApi
2
+
3
+ All URIs are relative to *http://pulp*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**delete**](RepositoriesPythonVersionsApi.md#delete) | **DELETE** {python_repository_version_href} | Delete a repository version
8
+ [**list**](RepositoriesPythonVersionsApi.md#list) | **GET** {python_repository_href}versions/ | List repository versions
9
+ [**read**](RepositoriesPythonVersionsApi.md#read) | **GET** {python_repository_version_href} | Inspect a repository version
10
+ [**repair**](RepositoriesPythonVersionsApi.md#repair) | **POST** {python_repository_version_href}repair/ |
11
+
12
+
13
+
14
+ ## delete
15
+
16
+ > AsyncOperationResponse delete(python_repository_version_href)
17
+
18
+ Delete a repository version
19
+
20
+ Trigger an asynchronous task to delete a repositroy version.
21
+
22
+ ### Example
23
+
24
+ ```ruby
25
+ # load the gem
26
+ require 'pulp_python_client'
27
+ # setup authorization
28
+ PulpPythonClient.configure do |config|
29
+ # Configure HTTP basic authorization: Basic
30
+ config.username = 'YOUR USERNAME'
31
+ config.password = 'YOUR PASSWORD'
32
+ end
33
+
34
+ api_instance = PulpPythonClient::RepositoriesPythonVersionsApi.new
35
+ python_repository_version_href = 'python_repository_version_href_example' # String | URI of Repository Version. e.g.: /pulp/api/v3/repositories/python/python/1/versions/1/
36
+
37
+ begin
38
+ #Delete a repository version
39
+ result = api_instance.delete(python_repository_version_href)
40
+ p result
41
+ rescue PulpPythonClient::ApiError => e
42
+ puts "Exception when calling RepositoriesPythonVersionsApi->delete: #{e}"
43
+ end
44
+ ```
45
+
46
+ ### Parameters
47
+
48
+
49
+ Name | Type | Description | Notes
50
+ ------------- | ------------- | ------------- | -------------
51
+ **python_repository_version_href** | **String**| URI of Repository Version. e.g.: /pulp/api/v3/repositories/python/python/1/versions/1/ |
52
+
53
+ ### Return type
54
+
55
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
56
+
57
+ ### Authorization
58
+
59
+ [Basic](../README.md#Basic)
60
+
61
+ ### HTTP request headers
62
+
63
+ - **Content-Type**: Not defined
64
+ - **Accept**: application/json
65
+
66
+
67
+ ## list
68
+
69
+ > InlineResponse2005 list(python_repository_href, opts)
70
+
71
+ List repository versions
72
+
73
+ PythonRepositoryVersion represents a single Python repository version.
74
+
75
+ ### Example
76
+
77
+ ```ruby
78
+ # load the gem
79
+ require 'pulp_python_client'
80
+ # setup authorization
81
+ PulpPythonClient.configure do |config|
82
+ # Configure HTTP basic authorization: Basic
83
+ config.username = 'YOUR USERNAME'
84
+ config.password = 'YOUR PASSWORD'
85
+ end
86
+
87
+ api_instance = PulpPythonClient::RepositoriesPythonVersionsApi.new
88
+ python_repository_href = 'python_repository_href_example' # String | URI of Python Repository. e.g.: /pulp/api/v3/repositories/python/python/1/
89
+ opts = {
90
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
91
+ number: 3.4, # Float |
92
+ number__lt: 3.4, # Float | Filter results where number is less than value
93
+ number__lte: 3.4, # Float | Filter results where number is less than or equal to value
94
+ number__gt: 3.4, # Float | Filter results where number is greater than value
95
+ number__gte: 3.4, # Float | Filter results where number is greater than or equal to value
96
+ number__range: 3.4, # Float | Filter results where number is between two comma separated values
97
+ pulp_created__lt: 'pulp_created__lt_example', # String | Filter results where pulp_created is less than value
98
+ pulp_created__lte: 'pulp_created__lte_example', # String | Filter results where pulp_created is less than or equal to value
99
+ pulp_created__gt: 'pulp_created__gt_example', # String | Filter results where pulp_created is greater than value
100
+ pulp_created__gte: 'pulp_created__gte_example', # String | Filter results where pulp_created is greater than or equal to value
101
+ pulp_created__range: 'pulp_created__range_example', # String | Filter results where pulp_created is between two comma separated values
102
+ content: 'content_example', # String | Content Unit referenced by HREF
103
+ pulp_created: 'pulp_created_example', # String | ISO 8601 formatted dates are supported
104
+ limit: 56, # Integer | Number of results to return per page.
105
+ offset: 56, # Integer | The initial index from which to return the results.
106
+ fields: 'fields_example', # String | A list of fields to include in the response.
107
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
108
+ }
109
+
110
+ begin
111
+ #List repository versions
112
+ result = api_instance.list(python_repository_href, opts)
113
+ p result
114
+ rescue PulpPythonClient::ApiError => e
115
+ puts "Exception when calling RepositoriesPythonVersionsApi->list: #{e}"
116
+ end
117
+ ```
118
+
119
+ ### Parameters
120
+
121
+
122
+ Name | Type | Description | Notes
123
+ ------------- | ------------- | ------------- | -------------
124
+ **python_repository_href** | **String**| URI of Python Repository. e.g.: /pulp/api/v3/repositories/python/python/1/ |
125
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
126
+ **number** | **Float**| | [optional]
127
+ **number__lt** | **Float**| Filter results where number is less than value | [optional]
128
+ **number__lte** | **Float**| Filter results where number is less than or equal to value | [optional]
129
+ **number__gt** | **Float**| Filter results where number is greater than value | [optional]
130
+ **number__gte** | **Float**| Filter results where number is greater than or equal to value | [optional]
131
+ **number__range** | **Float**| Filter results where number is between two comma separated values | [optional]
132
+ **pulp_created__lt** | **String**| Filter results where pulp_created is less than value | [optional]
133
+ **pulp_created__lte** | **String**| Filter results where pulp_created is less than or equal to value | [optional]
134
+ **pulp_created__gt** | **String**| Filter results where pulp_created is greater than value | [optional]
135
+ **pulp_created__gte** | **String**| Filter results where pulp_created is greater than or equal to value | [optional]
136
+ **pulp_created__range** | **String**| Filter results where pulp_created is between two comma separated values | [optional]
137
+ **content** | **String**| Content Unit referenced by HREF | [optional]
138
+ **pulp_created** | **String**| ISO 8601 formatted dates are supported | [optional]
139
+ **limit** | **Integer**| Number of results to return per page. | [optional]
140
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
141
+ **fields** | **String**| A list of fields to include in the response. | [optional]
142
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
143
+
144
+ ### Return type
145
+
146
+ [**InlineResponse2005**](InlineResponse2005.md)
147
+
148
+ ### Authorization
149
+
150
+ [Basic](../README.md#Basic)
151
+
152
+ ### HTTP request headers
153
+
154
+ - **Content-Type**: Not defined
155
+ - **Accept**: application/json
156
+
157
+
158
+ ## read
159
+
160
+ > RepositoryVersionRead read(python_repository_version_href, opts)
161
+
162
+ Inspect a repository version
163
+
164
+ PythonRepositoryVersion represents a single Python repository version.
165
+
166
+ ### Example
167
+
168
+ ```ruby
169
+ # load the gem
170
+ require 'pulp_python_client'
171
+ # setup authorization
172
+ PulpPythonClient.configure do |config|
173
+ # Configure HTTP basic authorization: Basic
174
+ config.username = 'YOUR USERNAME'
175
+ config.password = 'YOUR PASSWORD'
176
+ end
177
+
178
+ api_instance = PulpPythonClient::RepositoriesPythonVersionsApi.new
179
+ python_repository_version_href = 'python_repository_version_href_example' # String | URI of Repository Version. e.g.: /pulp/api/v3/repositories/python/python/1/versions/1/
180
+ opts = {
181
+ fields: 'fields_example', # String | A list of fields to include in the response.
182
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
183
+ }
184
+
185
+ begin
186
+ #Inspect a repository version
187
+ result = api_instance.read(python_repository_version_href, opts)
188
+ p result
189
+ rescue PulpPythonClient::ApiError => e
190
+ puts "Exception when calling RepositoriesPythonVersionsApi->read: #{e}"
191
+ end
192
+ ```
193
+
194
+ ### Parameters
195
+
196
+
197
+ Name | Type | Description | Notes
198
+ ------------- | ------------- | ------------- | -------------
199
+ **python_repository_version_href** | **String**| URI of Repository Version. e.g.: /pulp/api/v3/repositories/python/python/1/versions/1/ |
200
+ **fields** | **String**| A list of fields to include in the response. | [optional]
201
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
202
+
203
+ ### Return type
204
+
205
+ [**RepositoryVersionRead**](RepositoryVersionRead.md)
206
+
207
+ ### Authorization
208
+
209
+ [Basic](../README.md#Basic)
210
+
211
+ ### HTTP request headers
212
+
213
+ - **Content-Type**: Not defined
214
+ - **Accept**: application/json
215
+
216
+
217
+ ## repair
218
+
219
+ > AsyncOperationResponse repair(python_repository_version_href, data)
220
+
221
+
222
+
223
+ Trigger an asynchronous task to repair a repositroy version.
224
+
225
+ ### Example
226
+
227
+ ```ruby
228
+ # load the gem
229
+ require 'pulp_python_client'
230
+ # setup authorization
231
+ PulpPythonClient.configure do |config|
232
+ # Configure HTTP basic authorization: Basic
233
+ config.username = 'YOUR USERNAME'
234
+ config.password = 'YOUR PASSWORD'
235
+ end
236
+
237
+ api_instance = PulpPythonClient::RepositoriesPythonVersionsApi.new
238
+ python_repository_version_href = 'python_repository_version_href_example' # String | URI of Repository Version. e.g.: /pulp/api/v3/repositories/python/python/1/versions/1/
239
+ data = PulpPythonClient::RepositoryVersion.new # RepositoryVersion |
240
+
241
+ begin
242
+ result = api_instance.repair(python_repository_version_href, data)
243
+ p result
244
+ rescue PulpPythonClient::ApiError => e
245
+ puts "Exception when calling RepositoriesPythonVersionsApi->repair: #{e}"
246
+ end
247
+ ```
248
+
249
+ ### Parameters
250
+
251
+
252
+ Name | Type | Description | Notes
253
+ ------------- | ------------- | ------------- | -------------
254
+ **python_repository_version_href** | **String**| URI of Repository Version. e.g.: /pulp/api/v3/repositories/python/python/1/versions/1/ |
255
+ **data** | [**RepositoryVersion**](RepositoryVersion.md)| |
256
+
257
+ ### Return type
258
+
259
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
260
+
261
+ ### Authorization
262
+
263
+ [Basic](../README.md#Basic)
264
+
265
+ ### HTTP request headers
266
+
267
+ - **Content-Type**: application/json
268
+ - **Accept**: application/json
269
+
@@ -0,0 +1,21 @@
1
+ # PulpPythonClient::RepositoryAddRemoveContent
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **add_content_units** | **Array<String>** | A list of content units to add to a new repository version. This content is added after remove_content_units are removed. | [optional]
8
+ **remove_content_units** | **Array<String>** | A list of content units to remove from the latest repository version. You may also specify '*' as an entry to remove all content. This content is removed before add_content_units are added. | [optional]
9
+ **base_version** | **String** | A repository version whose content will be used as the initial set of content for the new repository version | [optional]
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'PulpPythonClient'
15
+
16
+ instance = PulpPythonClient::RepositoryAddRemoveContent.new(add_content_units: null,
17
+ remove_content_units: null,
18
+ base_version: null)
19
+ ```
20
+
21
+
@@ -0,0 +1,19 @@
1
+ # PulpPythonClient::RepositorySyncURL
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **remote** | **String** | A URI of the repository to be synchronized. |
8
+ **mirror** | **Boolean** | If ``True``, synchronization will remove all content that is not present in the remote repository. If ``False``, sync will be additive only. | [optional] [default to false]
9
+
10
+ ## Code Sample
11
+
12
+ ```ruby
13
+ require 'PulpPythonClient'
14
+
15
+ instance = PulpPythonClient::RepositorySyncURL.new(remote: null,
16
+ mirror: null)
17
+ ```
18
+
19
+
@@ -0,0 +1,25 @@
1
+ # PulpPythonClient::RepositoryVersion
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **number** | **Integer** | | [optional] [readonly]
10
+ **base_version** | **String** | A repository version whose content was used as the initial set of content for this repository version | [optional]
11
+ **content_summary** | [**ContentSummary**](ContentSummary.md) | | [optional]
12
+
13
+ ## Code Sample
14
+
15
+ ```ruby
16
+ require 'PulpPythonClient'
17
+
18
+ instance = PulpPythonClient::RepositoryVersion.new(pulp_href: null,
19
+ pulp_created: null,
20
+ number: null,
21
+ base_version: null,
22
+ content_summary: null)
23
+ ```
24
+
25
+
@@ -0,0 +1,25 @@
1
+ # PulpPythonClient::RepositoryVersionRead
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **pulp_href** | **String** | | [optional] [readonly]
8
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **number** | **Integer** | | [optional] [readonly]
10
+ **base_version** | **String** | A repository version whose content was used as the initial set of content for this repository version | [optional]
11
+ **content_summary** | [**ContentSummary**](ContentSummary.md) | | [optional]
12
+
13
+ ## Code Sample
14
+
15
+ ```ruby
16
+ require 'PulpPythonClient'
17
+
18
+ instance = PulpPythonClient::RepositoryVersionRead.new(pulp_href: null,
19
+ pulp_created: null,
20
+ number: null,
21
+ base_version: null,
22
+ content_summary: null)
23
+ ```
24
+
25
+
@@ -0,0 +1,58 @@
1
+ #!/bin/sh
2
+ # ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
3
+ #
4
+ # Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update" "gitlab.com"
5
+
6
+ git_user_id=$1
7
+ git_repo_id=$2
8
+ release_note=$3
9
+ git_host=$4
10
+
11
+ if [ "$git_host" = "" ]; then
12
+ git_host="github.com"
13
+ echo "[INFO] No command line input provided. Set \$git_host to $git_host"
14
+ fi
15
+
16
+ if [ "$git_user_id" = "" ]; then
17
+ git_user_id="GIT_USER_ID"
18
+ echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
19
+ fi
20
+
21
+ if [ "$git_repo_id" = "" ]; then
22
+ git_repo_id="GIT_REPO_ID"
23
+ echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
24
+ fi
25
+
26
+ if [ "$release_note" = "" ]; then
27
+ release_note="Minor update"
28
+ echo "[INFO] No command line input provided. Set \$release_note to $release_note"
29
+ fi
30
+
31
+ # Initialize the local directory as a Git repository
32
+ git init
33
+
34
+ # Adds the files in the local repository and stages them for commit.
35
+ git add .
36
+
37
+ # Commits the tracked changes and prepares them to be pushed to a remote repository.
38
+ git commit -m "$release_note"
39
+
40
+ # Sets the new remote
41
+ git_remote=`git remote`
42
+ if [ "$git_remote" = "" ]; then # git remote not defined
43
+
44
+ if [ "$GIT_TOKEN" = "" ]; then
45
+ echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
46
+ git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
47
+ else
48
+ git remote add origin https://${git_user_id}:${GIT_TOKEN}@${git_host}/${git_user_id}/${git_repo_id}.git
49
+ fi
50
+
51
+ fi
52
+
53
+ git pull origin master
54
+
55
+ # Pushes (Forces) the changes in the local repository up to the remote repository
56
+ echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
57
+ git push origin master 2>&1 | grep -v 'To https'
58
+
@@ -0,0 +1,67 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.3
10
+
11
+ =end
12
+
13
+ # Common files
14
+ require 'pulp_python_client/api_client'
15
+ require 'pulp_python_client/api_error'
16
+ require 'pulp_python_client/version'
17
+ require 'pulp_python_client/configuration'
18
+
19
+ # Models
20
+ require 'pulp_python_client/models/async_operation_response'
21
+ require 'pulp_python_client/models/content_summary'
22
+ require 'pulp_python_client/models/inline_response200'
23
+ require 'pulp_python_client/models/inline_response2001'
24
+ require 'pulp_python_client/models/inline_response2002'
25
+ require 'pulp_python_client/models/inline_response2003'
26
+ require 'pulp_python_client/models/inline_response2004'
27
+ require 'pulp_python_client/models/inline_response2005'
28
+ require 'pulp_python_client/models/project_specifier'
29
+ require 'pulp_python_client/models/python_python_distribution'
30
+ require 'pulp_python_client/models/python_python_distribution_read'
31
+ require 'pulp_python_client/models/python_python_package_content_read'
32
+ require 'pulp_python_client/models/python_python_publication'
33
+ require 'pulp_python_client/models/python_python_publication_read'
34
+ require 'pulp_python_client/models/python_python_remote'
35
+ require 'pulp_python_client/models/python_python_remote_read'
36
+ require 'pulp_python_client/models/python_python_repository'
37
+ require 'pulp_python_client/models/python_python_repository_read'
38
+ require 'pulp_python_client/models/repository_add_remove_content'
39
+ require 'pulp_python_client/models/repository_sync_url'
40
+ require 'pulp_python_client/models/repository_version'
41
+ require 'pulp_python_client/models/repository_version_read'
42
+
43
+ # APIs
44
+ require 'pulp_python_client/api/content_packages_api'
45
+ require 'pulp_python_client/api/distributions_pypi_api'
46
+ require 'pulp_python_client/api/publications_pypi_api'
47
+ require 'pulp_python_client/api/remotes_python_api'
48
+ require 'pulp_python_client/api/repositories_python_api'
49
+ require 'pulp_python_client/api/repositories_python_versions_api'
50
+
51
+ module PulpPythonClient
52
+ class << self
53
+ # Customize default settings for the SDK using block.
54
+ # PulpPythonClient.configure do |config|
55
+ # config.username = "xxx"
56
+ # config.password = "xxx"
57
+ # end
58
+ # If no block given, return the default Configuration object.
59
+ def configure
60
+ if block_given?
61
+ yield(Configuration.default)
62
+ else
63
+ Configuration.default
64
+ end
65
+ end
66
+ end
67
+ end