pulp_python_client 3.0.0b9.dev01590959185 → 3.0.0b11.dev01596922885

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of pulp_python_client might be problematic. Click here for more details.

Files changed (114) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +49 -42
  3. data/docs/ContentPackagesApi.md +56 -58
  4. data/docs/ContentSummary.md +3 -3
  5. data/docs/ContentSummaryResponse.md +21 -0
  6. data/docs/DistributionsPypiApi.md +110 -62
  7. data/docs/InlineResponse200.md +3 -3
  8. data/docs/InlineResponse2001.md +3 -3
  9. data/docs/InlineResponse2002.md +3 -3
  10. data/docs/InlineResponse2003.md +3 -3
  11. data/docs/InlineResponse2004.md +3 -3
  12. data/docs/InlineResponse2005.md +3 -3
  13. data/docs/PatchedpythonPythonDistribution.md +23 -0
  14. data/docs/PatchedpythonPythonRemote.md +43 -0
  15. data/docs/PatchedpythonPythonRepository.md +21 -0
  16. data/docs/PolicyEnum.md +16 -0
  17. data/docs/PublicationsPypiApi.md +43 -43
  18. data/docs/PythonBanderRemote.md +19 -0
  19. data/docs/PythonPythonDistribution.md +1 -7
  20. data/docs/{PythonPythonDistributionRead.md → PythonPythonDistributionResponse.md} +2 -2
  21. data/docs/PythonPythonPackageContent.md +61 -0
  22. data/docs/{PythonPythonPackageContentRead.md → PythonPythonPackageContentResponse.md} +3 -3
  23. data/docs/PythonPythonPublication.md +2 -8
  24. data/docs/{PythonPythonPublicationRead.md → PythonPythonPublicationResponse.md} +2 -2
  25. data/docs/PythonPythonRemote.md +6 -12
  26. data/docs/{PythonPythonRemoteRead.md → PythonPythonRemoteResponse.md} +7 -7
  27. data/docs/PythonPythonRepository.md +4 -10
  28. data/docs/{PythonPythonRepositoryRead.md → PythonPythonRepositoryResponse.md} +5 -3
  29. data/docs/RemotesPythonApi.md +184 -68
  30. data/docs/RepositoriesPythonApi.md +97 -73
  31. data/docs/RepositoriesPythonVersionsApi.md +94 -60
  32. data/docs/RepositoryAddRemoveContent.md +2 -2
  33. data/docs/RepositorySyncURL.md +1 -1
  34. data/docs/RepositoryVersion.md +1 -9
  35. data/docs/{RepositoryVersionRead.md → RepositoryVersionResponse.md} +3 -3
  36. data/lib/pulp_python_client.rb +15 -9
  37. data/lib/pulp_python_client/api/content_packages_api.rb +77 -88
  38. data/lib/pulp_python_client/api/distributions_pypi_api.rb +157 -94
  39. data/lib/pulp_python_client/api/publications_pypi_api.rb +65 -65
  40. data/lib/pulp_python_client/api/remotes_python_api.rb +259 -106
  41. data/lib/pulp_python_client/api/repositories_python_api.rb +145 -118
  42. data/lib/pulp_python_client/api/repositories_python_versions_api.rb +137 -89
  43. data/lib/pulp_python_client/api_client.rb +2 -2
  44. data/lib/pulp_python_client/api_error.rb +2 -2
  45. data/lib/pulp_python_client/configuration.rb +3 -3
  46. data/lib/pulp_python_client/models/async_operation_response.rb +3 -2
  47. data/lib/pulp_python_client/models/content_summary.rb +9 -15
  48. data/lib/pulp_python_client/models/content_summary_response.rb +240 -0
  49. data/lib/pulp_python_client/models/inline_response200.rb +3 -13
  50. data/lib/pulp_python_client/models/inline_response2001.rb +3 -13
  51. data/lib/pulp_python_client/models/inline_response2002.rb +3 -13
  52. data/lib/pulp_python_client/models/inline_response2003.rb +3 -13
  53. data/lib/pulp_python_client/models/inline_response2004.rb +3 -13
  54. data/lib/pulp_python_client/models/inline_response2005.rb +3 -13
  55. data/lib/pulp_python_client/models/patchedpython_python_distribution.rb +240 -0
  56. data/lib/pulp_python_client/models/patchedpython_python_remote.rb +359 -0
  57. data/lib/pulp_python_client/models/patchedpython_python_repository.rb +229 -0
  58. data/lib/pulp_python_client/models/policy_enum.rb +37 -0
  59. data/lib/pulp_python_client/models/{project_specifier.rb → python_bander_remote.rb} +26 -40
  60. data/lib/pulp_python_client/models/python_python_distribution.rb +4 -85
  61. data/lib/pulp_python_client/models/{python_python_distribution_read.rb → python_python_distribution_response.rb} +6 -58
  62. data/lib/pulp_python_client/models/python_python_package_content.rb +433 -0
  63. data/lib/pulp_python_client/models/{python_python_package_content_read.rb → python_python_package_content_response.rb} +6 -89
  64. data/lib/pulp_python_client/models/python_python_publication.rb +7 -37
  65. data/lib/pulp_python_client/models/{python_python_publication_read.rb → python_python_publication_response.rb} +6 -5
  66. data/lib/pulp_python_client/models/python_python_remote.rb +13 -209
  67. data/lib/pulp_python_client/models/{python_python_remote_read.rb → python_python_remote_response.rb} +15 -182
  68. data/lib/pulp_python_client/models/python_python_repository.rb +18 -78
  69. data/lib/pulp_python_client/models/{python_python_repository_read.rb → python_python_repository_response.rb} +21 -44
  70. data/lib/pulp_python_client/models/repository_add_remove_content.rb +5 -4
  71. data/lib/pulp_python_client/models/repository_sync_url.rb +3 -8
  72. data/lib/pulp_python_client/models/repository_version.rb +7 -43
  73. data/lib/pulp_python_client/models/{repository_version_read.rb → repository_version_response.rb} +8 -6
  74. data/lib/pulp_python_client/version.rb +3 -3
  75. data/pulp_python_client.gemspec +4 -4
  76. data/spec/api/content_packages_api_spec.rb +26 -27
  77. data/spec/api/distributions_pypi_api_spec.rb +41 -20
  78. data/spec/api/publications_pypi_api_spec.rb +17 -17
  79. data/spec/api/remotes_python_api_spec.rb +64 -24
  80. data/spec/api/repositories_python_api_spec.rb +28 -19
  81. data/spec/api/repositories_python_versions_api_spec.rb +38 -22
  82. data/spec/api_client_spec.rb +2 -2
  83. data/spec/configuration_spec.rb +2 -2
  84. data/spec/models/async_operation_response_spec.rb +2 -2
  85. data/spec/models/content_summary_response_spec.rb +53 -0
  86. data/spec/models/content_summary_spec.rb +2 -2
  87. data/spec/models/inline_response2001_spec.rb +2 -2
  88. data/spec/models/inline_response2002_spec.rb +2 -2
  89. data/spec/models/inline_response2003_spec.rb +2 -2
  90. data/spec/models/inline_response2004_spec.rb +2 -2
  91. data/spec/models/inline_response2005_spec.rb +2 -2
  92. data/spec/models/inline_response200_spec.rb +2 -2
  93. data/spec/models/patchedpython_python_distribution_spec.rb +59 -0
  94. data/spec/models/patchedpython_python_remote_spec.rb +119 -0
  95. data/spec/models/patchedpython_python_repository_spec.rb +53 -0
  96. data/spec/models/policy_enum_spec.rb +35 -0
  97. data/spec/models/{project_specifier_spec.rb → python_bander_remote_spec.rb} +10 -10
  98. data/spec/models/{python_python_distribution_read_spec.rb → python_python_distribution_response_spec.rb} +8 -8
  99. data/spec/models/python_python_distribution_spec.rb +2 -20
  100. data/spec/models/{python_python_package_content_read_spec.rb → python_python_package_content_response_spec.rb} +8 -8
  101. data/spec/models/python_python_package_content_spec.rb +173 -0
  102. data/spec/models/{python_python_publication_read_spec.rb → python_python_publication_response_spec.rb} +8 -8
  103. data/spec/models/python_python_publication_spec.rb +2 -20
  104. data/spec/models/{python_python_remote_read_spec.rb → python_python_remote_response_spec.rb} +8 -12
  105. data/spec/models/python_python_remote_spec.rb +2 -24
  106. data/spec/models/{python_python_repository_read_spec.rb → python_python_repository_response_spec.rb} +14 -8
  107. data/spec/models/python_python_repository_spec.rb +5 -23
  108. data/spec/models/repository_add_remove_content_spec.rb +2 -2
  109. data/spec/models/repository_sync_url_spec.rb +2 -2
  110. data/spec/models/{repository_version_read_spec.rb → repository_version_response_spec.rb} +8 -8
  111. data/spec/models/repository_version_spec.rb +2 -26
  112. data/spec/spec_helper.rb +2 -2
  113. metadata +70 -46
  114. data/docs/ProjectSpecifier.md +0 -19
@@ -4,16 +4,16 @@ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
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/ |
7
+ [**delete**](RepositoriesPythonVersionsApi.md#delete) | **DELETE** {python_python_repository_version_href} | Delete a repository version
8
+ [**list**](RepositoriesPythonVersionsApi.md#list) | **GET** {python_python_repository_href}versions/ | List repository versions
9
+ [**read**](RepositoriesPythonVersionsApi.md#read) | **GET** {python_python_repository_version_href} | Inspect a repository version
10
+ [**repair**](RepositoriesPythonVersionsApi.md#repair) | **POST** {python_python_repository_version_href}repair/ |
11
11
 
12
12
 
13
13
 
14
14
  ## delete
15
15
 
16
- > AsyncOperationResponse delete(python_repository_version_href)
16
+ > AsyncOperationResponse delete(python_python_repository_version_href, opts)
17
17
 
18
18
  Delete a repository version
19
19
 
@@ -26,17 +26,34 @@ Trigger an asynchronous task to delete a repositroy version.
26
26
  require 'pulp_python_client'
27
27
  # setup authorization
28
28
  PulpPythonClient.configure do |config|
29
- # Configure HTTP basic authorization: Basic
29
+ # Configure HTTP basic authorization: basicAuth
30
30
  config.username = 'YOUR USERNAME'
31
31
  config.password = 'YOUR PASSWORD'
32
32
  end
33
33
 
34
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/
35
+ python_python_repository_version_href = 'python_python_repository_version_href_example' # String |
36
+ opts = {
37
+ content: 'content_example', # String | content
38
+ content__in: 'content__in_example', # String | content__in
39
+ number: 'number_example', # String | number
40
+ number__gt: 'number__gt_example', # String | number__gt
41
+ number__gte: 'number__gte_example', # String | number__gte
42
+ number__lt: 'number__lt_example', # String | number__lt
43
+ number__lte: 'number__lte_example', # String | number__lte
44
+ number__range: 'number__range_example', # String | number__range
45
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
46
+ pulp_created: 'pulp_created_example', # String | pulp_created
47
+ pulp_created__gt: 'pulp_created__gt_example', # String | pulp_created__gt
48
+ pulp_created__gte: 'pulp_created__gte_example', # String | pulp_created__gte
49
+ pulp_created__lt: 'pulp_created__lt_example', # String | pulp_created__lt
50
+ pulp_created__lte: 'pulp_created__lte_example', # String | pulp_created__lte
51
+ pulp_created__range: 'pulp_created__range_example' # String | pulp_created__range
52
+ }
36
53
 
37
54
  begin
38
55
  #Delete a repository version
39
- result = api_instance.delete(python_repository_version_href)
56
+ result = api_instance.delete(python_python_repository_version_href, opts)
40
57
  p result
41
58
  rescue PulpPythonClient::ApiError => e
42
59
  puts "Exception when calling RepositoriesPythonVersionsApi->delete: #{e}"
@@ -48,7 +65,22 @@ end
48
65
 
49
66
  Name | Type | Description | Notes
50
67
  ------------- | ------------- | ------------- | -------------
51
- **python_repository_version_href** | **String**| URI of Repository Version. e.g.: /pulp/api/v3/repositories/python/python/1/versions/1/ |
68
+ **python_python_repository_version_href** | **String**| |
69
+ **content** | **String**| content | [optional]
70
+ **content__in** | **String**| content__in | [optional]
71
+ **number** | **String**| number | [optional]
72
+ **number__gt** | **String**| number__gt | [optional]
73
+ **number__gte** | **String**| number__gte | [optional]
74
+ **number__lt** | **String**| number__lt | [optional]
75
+ **number__lte** | **String**| number__lte | [optional]
76
+ **number__range** | **String**| number__range | [optional]
77
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
78
+ **pulp_created** | **String**| pulp_created | [optional]
79
+ **pulp_created__gt** | **String**| pulp_created__gt | [optional]
80
+ **pulp_created__gte** | **String**| pulp_created__gte | [optional]
81
+ **pulp_created__lt** | **String**| pulp_created__lt | [optional]
82
+ **pulp_created__lte** | **String**| pulp_created__lte | [optional]
83
+ **pulp_created__range** | **String**| pulp_created__range | [optional]
52
84
 
53
85
  ### Return type
54
86
 
@@ -56,7 +88,7 @@ Name | Type | Description | Notes
56
88
 
57
89
  ### Authorization
58
90
 
59
- [Basic](../README.md#Basic)
91
+ [basicAuth](../README.md#basicAuth)
60
92
 
61
93
  ### HTTP request headers
62
94
 
@@ -66,7 +98,7 @@ Name | Type | Description | Notes
66
98
 
67
99
  ## list
68
100
 
69
- > InlineResponse2005 list(python_repository_href, opts)
101
+ > InlineResponse2005 list(python_python_repository_href, opts)
70
102
 
71
103
  List repository versions
72
104
 
@@ -79,37 +111,38 @@ PythonRepositoryVersion represents a single Python repository version.
79
111
  require 'pulp_python_client'
80
112
  # setup authorization
81
113
  PulpPythonClient.configure do |config|
82
- # Configure HTTP basic authorization: Basic
114
+ # Configure HTTP basic authorization: basicAuth
83
115
  config.username = 'YOUR USERNAME'
84
116
  config.password = 'YOUR PASSWORD'
85
117
  end
86
118
 
87
119
  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/
120
+ python_python_repository_href = 'python_python_repository_href_example' # String |
89
121
  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
122
+ content: 'content_example', # String | content
123
+ content__in: 'content__in_example', # String | content__in
104
124
  limit: 56, # Integer | Number of results to return per page.
125
+ number: 'number_example', # String | number
126
+ number__gt: 'number__gt_example', # String | number__gt
127
+ number__gte: 'number__gte_example', # String | number__gte
128
+ number__lt: 'number__lt_example', # String | number__lt
129
+ number__lte: 'number__lte_example', # String | number__lte
130
+ number__range: 'number__range_example', # String | number__range
105
131
  offset: 56, # Integer | The initial index from which to return the results.
132
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
133
+ pulp_created: 'pulp_created_example', # String | pulp_created
134
+ pulp_created__gt: 'pulp_created__gt_example', # String | pulp_created__gt
135
+ pulp_created__gte: 'pulp_created__gte_example', # String | pulp_created__gte
136
+ pulp_created__lt: 'pulp_created__lt_example', # String | pulp_created__lt
137
+ pulp_created__lte: 'pulp_created__lte_example', # String | pulp_created__lte
138
+ pulp_created__range: 'pulp_created__range_example', # String | pulp_created__range
106
139
  fields: 'fields_example', # String | A list of fields to include in the response.
107
140
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
108
141
  }
109
142
 
110
143
  begin
111
144
  #List repository versions
112
- result = api_instance.list(python_repository_href, opts)
145
+ result = api_instance.list(python_python_repository_href, opts)
113
146
  p result
114
147
  rescue PulpPythonClient::ApiError => e
115
148
  puts "Exception when calling RepositoriesPythonVersionsApi->list: #{e}"
@@ -121,23 +154,24 @@ end
121
154
 
122
155
  Name | Type | Description | Notes
123
156
  ------------- | ------------- | ------------- | -------------
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]
157
+ **python_python_repository_href** | **String**| |
158
+ **content** | **String**| content | [optional]
159
+ **content__in** | **String**| content__in | [optional]
139
160
  **limit** | **Integer**| Number of results to return per page. | [optional]
161
+ **number** | **String**| number | [optional]
162
+ **number__gt** | **String**| number__gt | [optional]
163
+ **number__gte** | **String**| number__gte | [optional]
164
+ **number__lt** | **String**| number__lt | [optional]
165
+ **number__lte** | **String**| number__lte | [optional]
166
+ **number__range** | **String**| number__range | [optional]
140
167
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
168
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
169
+ **pulp_created** | **String**| pulp_created | [optional]
170
+ **pulp_created__gt** | **String**| pulp_created__gt | [optional]
171
+ **pulp_created__gte** | **String**| pulp_created__gte | [optional]
172
+ **pulp_created__lt** | **String**| pulp_created__lt | [optional]
173
+ **pulp_created__lte** | **String**| pulp_created__lte | [optional]
174
+ **pulp_created__range** | **String**| pulp_created__range | [optional]
141
175
  **fields** | **String**| A list of fields to include in the response. | [optional]
142
176
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
143
177
 
@@ -147,7 +181,7 @@ Name | Type | Description | Notes
147
181
 
148
182
  ### Authorization
149
183
 
150
- [Basic](../README.md#Basic)
184
+ [basicAuth](../README.md#basicAuth)
151
185
 
152
186
  ### HTTP request headers
153
187
 
@@ -157,7 +191,7 @@ Name | Type | Description | Notes
157
191
 
158
192
  ## read
159
193
 
160
- > RepositoryVersionRead read(python_repository_version_href, opts)
194
+ > RepositoryVersionResponse read(python_python_repository_version_href, opts)
161
195
 
162
196
  Inspect a repository version
163
197
 
@@ -170,13 +204,13 @@ PythonRepositoryVersion represents a single Python repository version.
170
204
  require 'pulp_python_client'
171
205
  # setup authorization
172
206
  PulpPythonClient.configure do |config|
173
- # Configure HTTP basic authorization: Basic
207
+ # Configure HTTP basic authorization: basicAuth
174
208
  config.username = 'YOUR USERNAME'
175
209
  config.password = 'YOUR PASSWORD'
176
210
  end
177
211
 
178
212
  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/
213
+ python_python_repository_version_href = 'python_python_repository_version_href_example' # String |
180
214
  opts = {
181
215
  fields: 'fields_example', # String | A list of fields to include in the response.
182
216
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
@@ -184,7 +218,7 @@ opts = {
184
218
 
185
219
  begin
186
220
  #Inspect a repository version
187
- result = api_instance.read(python_repository_version_href, opts)
221
+ result = api_instance.read(python_python_repository_version_href, opts)
188
222
  p result
189
223
  rescue PulpPythonClient::ApiError => e
190
224
  puts "Exception when calling RepositoriesPythonVersionsApi->read: #{e}"
@@ -196,17 +230,17 @@ end
196
230
 
197
231
  Name | Type | Description | Notes
198
232
  ------------- | ------------- | ------------- | -------------
199
- **python_repository_version_href** | **String**| URI of Repository Version. e.g.: /pulp/api/v3/repositories/python/python/1/versions/1/ |
233
+ **python_python_repository_version_href** | **String**| |
200
234
  **fields** | **String**| A list of fields to include in the response. | [optional]
201
235
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
202
236
 
203
237
  ### Return type
204
238
 
205
- [**RepositoryVersionRead**](RepositoryVersionRead.md)
239
+ [**RepositoryVersionResponse**](RepositoryVersionResponse.md)
206
240
 
207
241
  ### Authorization
208
242
 
209
- [Basic](../README.md#Basic)
243
+ [basicAuth](../README.md#basicAuth)
210
244
 
211
245
  ### HTTP request headers
212
246
 
@@ -216,7 +250,7 @@ Name | Type | Description | Notes
216
250
 
217
251
  ## repair
218
252
 
219
- > AsyncOperationResponse repair(python_repository_version_href, data)
253
+ > AsyncOperationResponse repair(python_python_repository_version_href, repository_version)
220
254
 
221
255
 
222
256
 
@@ -229,17 +263,17 @@ Trigger an asynchronous task to repair a repositroy version.
229
263
  require 'pulp_python_client'
230
264
  # setup authorization
231
265
  PulpPythonClient.configure do |config|
232
- # Configure HTTP basic authorization: Basic
266
+ # Configure HTTP basic authorization: basicAuth
233
267
  config.username = 'YOUR USERNAME'
234
268
  config.password = 'YOUR PASSWORD'
235
269
  end
236
270
 
237
271
  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 |
272
+ python_python_repository_version_href = 'python_python_repository_version_href_example' # String |
273
+ repository_version = PulpPythonClient::RepositoryVersion.new # RepositoryVersion |
240
274
 
241
275
  begin
242
- result = api_instance.repair(python_repository_version_href, data)
276
+ result = api_instance.repair(python_python_repository_version_href, repository_version)
243
277
  p result
244
278
  rescue PulpPythonClient::ApiError => e
245
279
  puts "Exception when calling RepositoriesPythonVersionsApi->repair: #{e}"
@@ -251,8 +285,8 @@ end
251
285
 
252
286
  Name | Type | Description | Notes
253
287
  ------------- | ------------- | ------------- | -------------
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)| |
288
+ **python_python_repository_version_href** | **String**| |
289
+ **repository_version** | [**RepositoryVersion**](RepositoryVersion.md)| |
256
290
 
257
291
  ### Return type
258
292
 
@@ -260,10 +294,10 @@ Name | Type | Description | Notes
260
294
 
261
295
  ### Authorization
262
296
 
263
- [Basic](../README.md#Basic)
297
+ [basicAuth](../README.md#basicAuth)
264
298
 
265
299
  ### HTTP request headers
266
300
 
267
- - **Content-Type**: application/json
301
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
268
302
  - **Accept**: application/json
269
303
 
@@ -4,8 +4,8 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
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]
7
+ **add_content_units** | **Array<Object>** | 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<Object>** | 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
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
10
 
11
11
  ## Code Sample
@@ -4,7 +4,7 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **remote** | **String** | A URI of the repository to be synchronized. |
7
+ **remote** | **String** | A remote to sync from. This will override a remote set on repository. | [optional]
8
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
9
 
10
10
  ## Code Sample
@@ -4,22 +4,14 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_href** | **String** | | [optional] [readonly]
8
- **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
- **number** | **Integer** | | [optional] [readonly]
10
7
  **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
8
 
13
9
  ## Code Sample
14
10
 
15
11
  ```ruby
16
12
  require 'PulpPythonClient'
17
13
 
18
- instance = PulpPythonClient::RepositoryVersion.new(pulp_href: null,
19
- pulp_created: null,
20
- number: null,
21
- base_version: null,
22
- content_summary: null)
14
+ instance = PulpPythonClient::RepositoryVersion.new(base_version: null)
23
15
  ```
24
16
 
25
17
 
@@ -1,4 +1,4 @@
1
- # PulpPythonClient::RepositoryVersionRead
1
+ # PulpPythonClient::RepositoryVersionResponse
2
2
 
3
3
  ## Properties
4
4
 
@@ -8,14 +8,14 @@ Name | Type | Description | Notes
8
8
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
9
  **number** | **Integer** | | [optional] [readonly]
10
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]
11
+ **content_summary** | [**ContentSummaryResponse**](ContentSummaryResponse.md) | Various count summaries of the content in the version and the HREF to view them. | [optional] [readonly]
12
12
 
13
13
  ## Code Sample
14
14
 
15
15
  ```ruby
16
16
  require 'PulpPythonClient'
17
17
 
18
- instance = PulpPythonClient::RepositoryVersionRead.new(pulp_href: null,
18
+ instance = PulpPythonClient::RepositoryVersionResponse.new(pulp_href: null,
19
19
  pulp_created: null,
20
20
  number: null,
21
21
  base_version: null,
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Pulp 3 API
3
3
 
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
5
 
6
6
  The version of the OpenAPI document: v3
7
-
7
+ Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.2.3
10
10
 
@@ -19,26 +19,32 @@ require 'pulp_python_client/configuration'
19
19
  # Models
20
20
  require 'pulp_python_client/models/async_operation_response'
21
21
  require 'pulp_python_client/models/content_summary'
22
+ require 'pulp_python_client/models/content_summary_response'
22
23
  require 'pulp_python_client/models/inline_response200'
23
24
  require 'pulp_python_client/models/inline_response2001'
24
25
  require 'pulp_python_client/models/inline_response2002'
25
26
  require 'pulp_python_client/models/inline_response2003'
26
27
  require 'pulp_python_client/models/inline_response2004'
27
28
  require 'pulp_python_client/models/inline_response2005'
28
- require 'pulp_python_client/models/project_specifier'
29
+ require 'pulp_python_client/models/patchedpython_python_distribution'
30
+ require 'pulp_python_client/models/patchedpython_python_remote'
31
+ require 'pulp_python_client/models/patchedpython_python_repository'
32
+ require 'pulp_python_client/models/policy_enum'
33
+ require 'pulp_python_client/models/python_bander_remote'
29
34
  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'
35
+ require 'pulp_python_client/models/python_python_distribution_response'
36
+ require 'pulp_python_client/models/python_python_package_content'
37
+ require 'pulp_python_client/models/python_python_package_content_response'
32
38
  require 'pulp_python_client/models/python_python_publication'
33
- require 'pulp_python_client/models/python_python_publication_read'
39
+ require 'pulp_python_client/models/python_python_publication_response'
34
40
  require 'pulp_python_client/models/python_python_remote'
35
- require 'pulp_python_client/models/python_python_remote_read'
41
+ require 'pulp_python_client/models/python_python_remote_response'
36
42
  require 'pulp_python_client/models/python_python_repository'
37
- require 'pulp_python_client/models/python_python_repository_read'
43
+ require 'pulp_python_client/models/python_python_repository_response'
38
44
  require 'pulp_python_client/models/repository_add_remove_content'
39
45
  require 'pulp_python_client/models/repository_sync_url'
40
46
  require 'pulp_python_client/models/repository_version'
41
- require 'pulp_python_client/models/repository_version_read'
47
+ require 'pulp_python_client/models/repository_version_response'
42
48
 
43
49
  # APIs
44
50
  require 'pulp_python_client/api/content_packages_api'
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Pulp 3 API
3
3
 
4
- #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ #Fetch, Upload, Organize, and Distribute Software Packages
5
5
 
6
6
  The version of the OpenAPI document: v3
7
-
7
+ Contact: pulp-list@redhat.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 4.2.3
10
10
 
@@ -22,7 +22,6 @@ module PulpPythonClient
22
22
  # Create a python package content
23
23
  # Trigger an asynchronous task to create content,optionally create new repository version.
24
24
  # @param relative_path [String] Path where the artifact is located relative to distributions base_path
25
- # @param filename [String] The name of the distribution package, usually of the format: {distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.{packagetype}
26
25
  # @param [Hash] opts the optional parameters
27
26
  # @option opts [String] :artifact Artifact file representing the physical content
28
27
  # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
@@ -41,21 +40,20 @@ module PulpPythonClient
41
40
  # @option opts [String] :project_url A browsable URL for the project and a label for it, separated by a comma.
42
41
  # @option opts [String] :platform A comma-separated list of platform specifications, summarizing the operating systems supported by the package.
43
42
  # @option opts [String] :supported_platform Field to specify the OS and CPU for which the binary package was compiled.
44
- # @option opts [String] :requires_dist A JSON list containing names of some other distutils project required by this distribution.
45
- # @option opts [String] :provides_dist A JSON list containing names of a Distutils project which is contained within this distribution.
46
- # @option opts [String] :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.
47
- # @option opts [String] :requires_external A JSON list containing some dependency in the system that the distribution is to be used.
48
- # @option opts [String] :classifiers A JSON list containing classification values for a Python package.
43
+ # @option opts [Object] :requires_dist A JSON list containing names of some other distutils project required by this distribution.
44
+ # @option opts [Object] :provides_dist A JSON list containing names of a Distutils project which is contained within this distribution.
45
+ # @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.
46
+ # @option opts [Object] :requires_external A JSON list containing some dependency in the system that the distribution is to be used.
47
+ # @option opts [Object] :classifiers A JSON list containing classification values for a Python package.
49
48
  # @return [AsyncOperationResponse]
50
- def create(relative_path, filename, opts = {})
51
- data, _status_code, _headers = create_with_http_info(relative_path, filename, opts)
49
+ def create(relative_path, opts = {})
50
+ data, _status_code, _headers = create_with_http_info(relative_path, opts)
52
51
  data
53
52
  end
54
53
 
55
54
  # Create a python package content
56
55
  # Trigger an asynchronous task to create content,optionally create new repository version.
57
56
  # @param relative_path [String] Path where the artifact is located relative to distributions base_path
58
- # @param filename [String] The name of the distribution package, usually of the format: {distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.{packagetype}
59
57
  # @param [Hash] opts the optional parameters
60
58
  # @option opts [String] :artifact Artifact file representing the physical content
61
59
  # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
@@ -74,13 +72,13 @@ module PulpPythonClient
74
72
  # @option opts [String] :project_url A browsable URL for the project and a label for it, separated by a comma.
75
73
  # @option opts [String] :platform A comma-separated list of platform specifications, summarizing the operating systems supported by the package.
76
74
  # @option opts [String] :supported_platform Field to specify the OS and CPU for which the binary package was compiled.
77
- # @option opts [String] :requires_dist A JSON list containing names of some other distutils project required by this distribution.
78
- # @option opts [String] :provides_dist A JSON list containing names of a Distutils project which is contained within this distribution.
79
- # @option opts [String] :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.
80
- # @option opts [String] :requires_external A JSON list containing some dependency in the system that the distribution is to be used.
81
- # @option opts [String] :classifiers A JSON list containing classification values for a Python package.
75
+ # @option opts [Object] :requires_dist A JSON list containing names of some other distutils project required by this distribution.
76
+ # @option opts [Object] :provides_dist A JSON list containing names of a Distutils project which is contained within this distribution.
77
+ # @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.
78
+ # @option opts [Object] :requires_external A JSON list containing some dependency in the system that the distribution is to be used.
79
+ # @option opts [Object] :classifiers A JSON list containing classification values for a Python package.
82
80
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
83
- def create_with_http_info(relative_path, filename, opts = {})
81
+ def create_with_http_info(relative_path, opts = {})
84
82
  if @api_client.config.debugging
85
83
  @api_client.config.logger.debug 'Calling API: ContentPackagesApi.create ...'
86
84
  end
@@ -88,18 +86,6 @@ module PulpPythonClient
88
86
  if @api_client.config.client_side_validation && relative_path.nil?
89
87
  fail ArgumentError, "Missing the required parameter 'relative_path' when calling ContentPackagesApi.create"
90
88
  end
91
- if @api_client.config.client_side_validation && relative_path.to_s.length < 1
92
- fail ArgumentError, 'invalid value for "relative_path" when calling ContentPackagesApi.create, the character length must be great than or equal to 1.'
93
- end
94
-
95
- # verify the required parameter 'filename' is set
96
- if @api_client.config.client_side_validation && filename.nil?
97
- fail ArgumentError, "Missing the required parameter 'filename' when calling ContentPackagesApi.create"
98
- end
99
- if @api_client.config.client_side_validation && filename.to_s.length < 1
100
- fail ArgumentError, 'invalid value for "filename" when calling ContentPackagesApi.create, the character length must be great than or equal to 1.'
101
- end
102
-
103
89
  # resource path
104
90
  local_var_path = '/pulp/api/v3/content/python/packages/'
105
91
 
@@ -116,7 +102,6 @@ module PulpPythonClient
116
102
  # form parameters
117
103
  form_params = opts[:form_params] || {}
118
104
  form_params['relative_path'] = relative_path
119
- form_params['filename'] = filename
120
105
  form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
121
106
  form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
122
107
  form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
@@ -147,7 +132,7 @@ module PulpPythonClient
147
132
  return_type = opts[:return_type] || 'AsyncOperationResponse'
148
133
 
149
134
  # auth_names
150
- auth_names = opts[:auth_names] || ['Basic']
135
+ auth_names = opts[:auth_names] || ['basicAuth']
151
136
 
152
137
  new_options = opts.merge(
153
138
  :header_params => header_params,
@@ -166,25 +151,25 @@ module PulpPythonClient
166
151
  end
167
152
 
168
153
  # List python package contents
169
- # PythonPackageContent represents each individually installable Python package. In the Python ecosystem, this is called a Python Distribution, sometimes (ambiguously) refered to as a package. In Pulp Python, we refer to it as PythonPackageContent. Each PythonPackageContent corresponds to a single filename, for example `pulpcore-3.0.0rc1-py3-none-any.whl` or `pulpcore-3.0.0rc1.tar.gz`.
154
+ # <!-- User-facing documentation, rendered as html--> PythonPackageContent represents each individually installable Python package. In the Python ecosystem, this is called a <i>Python Distribution</i>, sometimes (ambiguously) refered to as a package. In Pulp Python, we refer to it as <i>PythonPackageContent</i>. Each PythonPackageContent corresponds to a single filename, for example `pulpcore-3.0.0rc1-py3-none-any.whl` or `pulpcore-3.0.0rc1.tar.gz`.
170
155
  # @param [Hash] opts the optional parameters
171
- # @option opts [String] :ordering Which field to use when ordering the results.
172
- # @option opts [String] :name Filter results where name matches value
173
- # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
174
- # @option opts [String] :author Filter results where author matches value
175
- # @option opts [String] :author__in Filter results where author is in a comma-separated list of values
176
- # @option opts [String] :packagetype Filter results where packagetype matches value
177
- # @option opts [String] :packagetype__in Filter results where packagetype is in a comma-separated list of values
178
- # @option opts [String] :filename Filter results where filename matches value
179
- # @option opts [String] :filename__in Filter results where filename is in a comma-separated list of values
180
- # @option opts [String] :filename__contains Filter results where filename contains value
181
- # @option opts [String] :keywords__in Filter results where keywords is in a comma-separated list of values
182
- # @option opts [String] :keywords__contains Filter results where keywords contains value
183
- # @option opts [String] :repository_version Repository Version referenced by HREF
184
- # @option opts [String] :repository_version_added Repository Version referenced by HREF
185
- # @option opts [String] :repository_version_removed Repository Version referenced by HREF
156
+ # @option opts [String] :author author
157
+ # @option opts [String] :author__in author__in
158
+ # @option opts [String] :filename filename
159
+ # @option opts [String] :filename__contains filename__contains
160
+ # @option opts [String] :filename__in filename__in
161
+ # @option opts [String] :keywords__contains keywords__contains
162
+ # @option opts [String] :keywords__in keywords__in
186
163
  # @option opts [Integer] :limit Number of results to return per page.
164
+ # @option opts [String] :name name
165
+ # @option opts [String] :name__in name__in
187
166
  # @option opts [Integer] :offset The initial index from which to return the results.
167
+ # @option opts [String] :ordering Which field to use when ordering the results.
168
+ # @option opts [String] :packagetype packagetype
169
+ # @option opts [String] :packagetype__in packagetype__in
170
+ # @option opts [String] :repository_version repository_version
171
+ # @option opts [String] :repository_version_added repository_version_added
172
+ # @option opts [String] :repository_version_removed repository_version_removed
188
173
  # @option opts [String] :fields A list of fields to include in the response.
189
174
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
190
175
  # @return [InlineResponse200]
@@ -194,25 +179,25 @@ module PulpPythonClient
194
179
  end
195
180
 
196
181
  # List python package contents
197
- # PythonPackageContent represents each individually installable Python package. In the Python ecosystem, this is called a Python Distribution, sometimes (ambiguously) refered to as a package. In Pulp Python, we refer to it as PythonPackageContent. Each PythonPackageContent corresponds to a single filename, for example &#x60;pulpcore-3.0.0rc1-py3-none-any.whl&#x60; or &#x60;pulpcore-3.0.0rc1.tar.gz&#x60;.
182
+ # &lt;!-- User-facing documentation, rendered as html--&gt; PythonPackageContent represents each individually installable Python package. In the Python ecosystem, this is called a &lt;i&gt;Python Distribution&lt;/i&gt;, sometimes (ambiguously) refered to as a package. In Pulp Python, we refer to it as &lt;i&gt;PythonPackageContent&lt;/i&gt;. Each PythonPackageContent corresponds to a single filename, for example &#x60;pulpcore-3.0.0rc1-py3-none-any.whl&#x60; or &#x60;pulpcore-3.0.0rc1.tar.gz&#x60;.
198
183
  # @param [Hash] opts the optional parameters
199
- # @option opts [String] :ordering Which field to use when ordering the results.
200
- # @option opts [String] :name Filter results where name matches value
201
- # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
202
- # @option opts [String] :author Filter results where author matches value
203
- # @option opts [String] :author__in Filter results where author is in a comma-separated list of values
204
- # @option opts [String] :packagetype Filter results where packagetype matches value
205
- # @option opts [String] :packagetype__in Filter results where packagetype is in a comma-separated list of values
206
- # @option opts [String] :filename Filter results where filename matches value
207
- # @option opts [String] :filename__in Filter results where filename is in a comma-separated list of values
208
- # @option opts [String] :filename__contains Filter results where filename contains value
209
- # @option opts [String] :keywords__in Filter results where keywords is in a comma-separated list of values
210
- # @option opts [String] :keywords__contains Filter results where keywords contains value
211
- # @option opts [String] :repository_version Repository Version referenced by HREF
212
- # @option opts [String] :repository_version_added Repository Version referenced by HREF
213
- # @option opts [String] :repository_version_removed Repository Version referenced by HREF
184
+ # @option opts [String] :author author
185
+ # @option opts [String] :author__in author__in
186
+ # @option opts [String] :filename filename
187
+ # @option opts [String] :filename__contains filename__contains
188
+ # @option opts [String] :filename__in filename__in
189
+ # @option opts [String] :keywords__contains keywords__contains
190
+ # @option opts [String] :keywords__in keywords__in
214
191
  # @option opts [Integer] :limit Number of results to return per page.
192
+ # @option opts [String] :name name
193
+ # @option opts [String] :name__in name__in
215
194
  # @option opts [Integer] :offset The initial index from which to return the results.
195
+ # @option opts [String] :ordering Which field to use when ordering the results.
196
+ # @option opts [String] :packagetype packagetype
197
+ # @option opts [String] :packagetype__in packagetype__in
198
+ # @option opts [String] :repository_version repository_version
199
+ # @option opts [String] :repository_version_added repository_version_added
200
+ # @option opts [String] :repository_version_removed repository_version_removed
216
201
  # @option opts [String] :fields A list of fields to include in the response.
217
202
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
218
203
  # @return [Array<(InlineResponse200, Integer, Hash)>] InlineResponse200 data, response status code and response headers
@@ -220,28 +205,32 @@ module PulpPythonClient
220
205
  if @api_client.config.debugging
221
206
  @api_client.config.logger.debug 'Calling API: ContentPackagesApi.list ...'
222
207
  end
208
+ allowable_values = ["bdist_dmg", "bdist_dumb", "bdist_egg", "bdist_msi", "bdist_rpm", "bdist_wheel", "bdist_wininst", "sdist"]
209
+ if @api_client.config.client_side_validation && opts[:'packagetype'] && !allowable_values.include?(opts[:'packagetype'])
210
+ fail ArgumentError, "invalid value for \"packagetype\", must be one of #{allowable_values}"
211
+ end
223
212
  # resource path
224
213
  local_var_path = '/pulp/api/v3/content/python/packages/'
225
214
 
226
215
  # query parameters
227
216
  query_params = opts[:query_params] || {}
228
- query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
229
- query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
230
- query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
231
217
  query_params[:'author'] = opts[:'author'] if !opts[:'author'].nil?
232
218
  query_params[:'author__in'] = opts[:'author__in'] if !opts[:'author__in'].nil?
233
- query_params[:'packagetype'] = opts[:'packagetype'] if !opts[:'packagetype'].nil?
234
- query_params[:'packagetype__in'] = opts[:'packagetype__in'] if !opts[:'packagetype__in'].nil?
235
219
  query_params[:'filename'] = opts[:'filename'] if !opts[:'filename'].nil?
236
- query_params[:'filename__in'] = opts[:'filename__in'] if !opts[:'filename__in'].nil?
237
220
  query_params[:'filename__contains'] = opts[:'filename__contains'] if !opts[:'filename__contains'].nil?
238
- query_params[:'keywords__in'] = opts[:'keywords__in'] if !opts[:'keywords__in'].nil?
221
+ query_params[:'filename__in'] = opts[:'filename__in'] if !opts[:'filename__in'].nil?
239
222
  query_params[:'keywords__contains'] = opts[:'keywords__contains'] if !opts[:'keywords__contains'].nil?
223
+ query_params[:'keywords__in'] = opts[:'keywords__in'] if !opts[:'keywords__in'].nil?
224
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
225
+ query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
226
+ query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
227
+ query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
228
+ query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
229
+ query_params[:'packagetype'] = opts[:'packagetype'] if !opts[:'packagetype'].nil?
230
+ query_params[:'packagetype__in'] = opts[:'packagetype__in'] if !opts[:'packagetype__in'].nil?
240
231
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
241
232
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
242
233
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
243
- query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
244
- query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
245
234
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
246
235
  query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
247
236
 
@@ -260,7 +249,7 @@ module PulpPythonClient
260
249
  return_type = opts[:return_type] || 'InlineResponse200'
261
250
 
262
251
  # auth_names
263
- auth_names = opts[:auth_names] || ['Basic']
252
+ auth_names = opts[:auth_names] || ['basicAuth']
264
253
 
265
254
  new_options = opts.merge(
266
255
  :header_params => header_params,
@@ -279,34 +268,34 @@ module PulpPythonClient
279
268
  end
280
269
 
281
270
  # Inspect a python package content
282
- # PythonPackageContent represents each individually installable Python package. In the Python ecosystem, this is called a Python Distribution, sometimes (ambiguously) refered to as a package. In Pulp Python, we refer to it as PythonPackageContent. Each PythonPackageContent corresponds to a single filename, for example `pulpcore-3.0.0rc1-py3-none-any.whl` or `pulpcore-3.0.0rc1.tar.gz`.
283
- # @param python_package_content_href [String] URI of Python Package Content. e.g.: /pulp/api/v3/content/python/packages/1/
271
+ # <!-- User-facing documentation, rendered as html--> PythonPackageContent represents each individually installable Python package. In the Python ecosystem, this is called a <i>Python Distribution</i>, sometimes (ambiguously) refered to as a package. In Pulp Python, we refer to it as <i>PythonPackageContent</i>. Each PythonPackageContent corresponds to a single filename, for example `pulpcore-3.0.0rc1-py3-none-any.whl` or `pulpcore-3.0.0rc1.tar.gz`.
272
+ # @param python_python_package_content_href [String]
284
273
  # @param [Hash] opts the optional parameters
285
274
  # @option opts [String] :fields A list of fields to include in the response.
286
275
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
287
- # @return [PythonPythonPackageContentRead]
288
- def read(python_package_content_href, opts = {})
289
- data, _status_code, _headers = read_with_http_info(python_package_content_href, opts)
276
+ # @return [PythonPythonPackageContentResponse]
277
+ def read(python_python_package_content_href, opts = {})
278
+ data, _status_code, _headers = read_with_http_info(python_python_package_content_href, opts)
290
279
  data
291
280
  end
292
281
 
293
282
  # Inspect a python package content
294
- # PythonPackageContent represents each individually installable Python package. In the Python ecosystem, this is called a Python Distribution, sometimes (ambiguously) refered to as a package. In Pulp Python, we refer to it as PythonPackageContent. Each PythonPackageContent corresponds to a single filename, for example &#x60;pulpcore-3.0.0rc1-py3-none-any.whl&#x60; or &#x60;pulpcore-3.0.0rc1.tar.gz&#x60;.
295
- # @param python_package_content_href [String] URI of Python Package Content. e.g.: /pulp/api/v3/content/python/packages/1/
283
+ # &lt;!-- User-facing documentation, rendered as html--&gt; PythonPackageContent represents each individually installable Python package. In the Python ecosystem, this is called a &lt;i&gt;Python Distribution&lt;/i&gt;, sometimes (ambiguously) refered to as a package. In Pulp Python, we refer to it as &lt;i&gt;PythonPackageContent&lt;/i&gt;. Each PythonPackageContent corresponds to a single filename, for example &#x60;pulpcore-3.0.0rc1-py3-none-any.whl&#x60; or &#x60;pulpcore-3.0.0rc1.tar.gz&#x60;.
284
+ # @param python_python_package_content_href [String]
296
285
  # @param [Hash] opts the optional parameters
297
286
  # @option opts [String] :fields A list of fields to include in the response.
298
287
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
299
- # @return [Array<(PythonPythonPackageContentRead, Integer, Hash)>] PythonPythonPackageContentRead data, response status code and response headers
300
- def read_with_http_info(python_package_content_href, opts = {})
288
+ # @return [Array<(PythonPythonPackageContentResponse, Integer, Hash)>] PythonPythonPackageContentResponse data, response status code and response headers
289
+ def read_with_http_info(python_python_package_content_href, opts = {})
301
290
  if @api_client.config.debugging
302
291
  @api_client.config.logger.debug 'Calling API: ContentPackagesApi.read ...'
303
292
  end
304
- # verify the required parameter 'python_package_content_href' is set
305
- if @api_client.config.client_side_validation && python_package_content_href.nil?
306
- fail ArgumentError, "Missing the required parameter 'python_package_content_href' when calling ContentPackagesApi.read"
293
+ # verify the required parameter 'python_python_package_content_href' is set
294
+ if @api_client.config.client_side_validation && python_python_package_content_href.nil?
295
+ fail ArgumentError, "Missing the required parameter 'python_python_package_content_href' when calling ContentPackagesApi.read"
307
296
  end
308
297
  # resource path
309
- local_var_path = '{python_package_content_href}'.sub('{' + 'python_package_content_href' + '}', CGI.escape(python_package_content_href.to_s).gsub('%2F', '/'))
298
+ local_var_path = '{python_python_package_content_href}'.sub('{' + 'python_python_package_content_href' + '}', CGI.escape(python_python_package_content_href.to_s).gsub('%2F', '/'))
310
299
 
311
300
  # query parameters
312
301
  query_params = opts[:query_params] || {}
@@ -325,10 +314,10 @@ module PulpPythonClient
325
314
  post_body = opts[:body]
326
315
 
327
316
  # return_type
328
- return_type = opts[:return_type] || 'PythonPythonPackageContentRead'
317
+ return_type = opts[:return_type] || 'PythonPythonPackageContentResponse'
329
318
 
330
319
  # auth_names
331
- auth_names = opts[:auth_names] || ['Basic']
320
+ auth_names = opts[:auth_names] || ['basicAuth']
332
321
 
333
322
  new_options = opts.merge(
334
323
  :header_params => header_params,