pulp_python_client 3.0.0b10 → 3.0.0b11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (113) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +46 -33
  3. data/docs/ContentPackagesApi.md +52 -52
  4. data/docs/ContentSummary.md +3 -3
  5. data/docs/ContentSummaryResponse.md +21 -0
  6. data/docs/DistributionsPypiApi.md +108 -60
  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 +40 -40
  18. data/docs/PythonBanderRemote.md +19 -0
  19. data/docs/PythonPythonDistribution.md +1 -7
  20. data/docs/PythonPythonDistributionResponse.md +29 -0
  21. data/docs/PythonPythonPackageContent.md +7 -15
  22. data/docs/PythonPythonPackageContentResponse.md +69 -0
  23. data/docs/PythonPythonPublication.md +2 -8
  24. data/docs/PythonPythonPublicationResponse.md +25 -0
  25. data/docs/PythonPythonRemote.md +4 -10
  26. data/docs/PythonPythonRemoteResponse.md +49 -0
  27. data/docs/PythonPythonRepository.md +4 -10
  28. data/docs/PythonPythonRepositoryResponse.md +29 -0
  29. data/docs/RemotesPythonApi.md +129 -69
  30. data/docs/RepositoriesPythonApi.md +97 -73
  31. data/docs/RepositoriesPythonVersionsApi.md +94 -62
  32. data/docs/RepositoryAddRemoveContent.md +2 -2
  33. data/docs/RepositorySyncURL.md +1 -1
  34. data/docs/RepositoryVersion.md +1 -9
  35. data/docs/RepositoryVersionResponse.md +25 -0
  36. data/lib/pulp_python_client.rb +14 -2
  37. data/lib/pulp_python_client/api/content_packages_api.rb +70 -70
  38. data/lib/pulp_python_client/api/distributions_pypi_api.rb +153 -90
  39. data/lib/pulp_python_client/api/publications_pypi_api.rb +59 -59
  40. data/lib/pulp_python_client/api/remotes_python_api.rb +185 -108
  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 -92
  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/python_bander_remote.rb +228 -0
  60. data/lib/pulp_python_client/models/python_python_distribution.rb +4 -85
  61. data/lib/pulp_python_client/models/python_python_distribution_response.rb +279 -0
  62. data/lib/pulp_python_client/models/python_python_package_content.rb +28 -136
  63. data/lib/pulp_python_client/models/python_python_package_content_response.rb +467 -0
  64. data/lib/pulp_python_client/models/python_python_publication.rb +7 -37
  65. data/lib/pulp_python_client/models/python_python_publication_response.rb +248 -0
  66. data/lib/pulp_python_client/models/python_python_remote.rb +7 -199
  67. data/lib/pulp_python_client/models/python_python_remote_response.rb +398 -0
  68. data/lib/pulp_python_client/models/python_python_repository.rb +18 -78
  69. data/lib/pulp_python_client/models/python_python_repository_response.rb +271 -0
  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_response.rb +246 -0
  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 +24 -24
  77. data/spec/api/distributions_pypi_api_spec.rb +39 -18
  78. data/spec/api/publications_pypi_api_spec.rb +14 -14
  79. data/spec/api/remotes_python_api_spec.rb +49 -22
  80. data/spec/api/repositories_python_api_spec.rb +28 -19
  81. data/spec/api/repositories_python_versions_api_spec.rb +38 -23
  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/python_bander_remote_spec.rb +47 -0
  98. data/spec/models/python_python_distribution_response_spec.rb +77 -0
  99. data/spec/models/python_python_distribution_spec.rb +2 -20
  100. data/spec/models/python_python_package_content_response_spec.rb +197 -0
  101. data/spec/models/python_python_package_content_spec.rb +5 -29
  102. data/spec/models/python_python_publication_response_spec.rb +65 -0
  103. data/spec/models/python_python_publication_spec.rb +2 -20
  104. data/spec/models/python_python_remote_response_spec.rb +137 -0
  105. data/spec/models/python_python_remote_spec.rb +2 -24
  106. data/spec/models/python_python_repository_response_spec.rb +77 -0
  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_response_spec.rb +65 -0
  111. data/spec/models/repository_version_spec.rb +2 -26
  112. data/spec/spec_helper.rb +2 -2
  113. metadata +52 -4
@@ -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,38 +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
- pulp_created: 'pulp_created_example', # String | ISO 8601 formatted dates are supported
103
- content: 'content_example', # String | Content Unit referenced by HREF
104
- content__in: 'content__in_example', # String | Content Unit referenced by HREF
122
+ content: 'content_example', # String | content
123
+ content__in: 'content__in_example', # String | content__in
105
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
106
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
107
139
  fields: 'fields_example', # String | A list of fields to include in the response.
108
140
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
109
141
  }
110
142
 
111
143
  begin
112
144
  #List repository versions
113
- result = api_instance.list(python_repository_href, opts)
145
+ result = api_instance.list(python_python_repository_href, opts)
114
146
  p result
115
147
  rescue PulpPythonClient::ApiError => e
116
148
  puts "Exception when calling RepositoriesPythonVersionsApi->list: #{e}"
@@ -122,24 +154,24 @@ end
122
154
 
123
155
  Name | Type | Description | Notes
124
156
  ------------- | ------------- | ------------- | -------------
125
- **python_repository_href** | **String**| URI of Python Repository. e.g.: /pulp/api/v3/repositories/python/python/1/ |
126
- **ordering** | **String**| Which field to use when ordering the results. | [optional]
127
- **number** | **Float**| | [optional]
128
- **number__lt** | **Float**| Filter results where number is less than value | [optional]
129
- **number__lte** | **Float**| Filter results where number is less than or equal to value | [optional]
130
- **number__gt** | **Float**| Filter results where number is greater than value | [optional]
131
- **number__gte** | **Float**| Filter results where number is greater than or equal to value | [optional]
132
- **number__range** | **Float**| Filter results where number is between two comma separated values | [optional]
133
- **pulp_created__lt** | **String**| Filter results where pulp_created is less than value | [optional]
134
- **pulp_created__lte** | **String**| Filter results where pulp_created is less than or equal to value | [optional]
135
- **pulp_created__gt** | **String**| Filter results where pulp_created is greater than value | [optional]
136
- **pulp_created__gte** | **String**| Filter results where pulp_created is greater than or equal to value | [optional]
137
- **pulp_created__range** | **String**| Filter results where pulp_created is between two comma separated values | [optional]
138
- **pulp_created** | **String**| ISO 8601 formatted dates are supported | [optional]
139
- **content** | **String**| Content Unit referenced by HREF | [optional]
140
- **content__in** | **String**| Content Unit referenced by HREF | [optional]
157
+ **python_python_repository_href** | **String**| |
158
+ **content** | **String**| content | [optional]
159
+ **content__in** | **String**| content__in | [optional]
141
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]
142
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]
143
175
  **fields** | **String**| A list of fields to include in the response. | [optional]
144
176
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
145
177
 
@@ -149,7 +181,7 @@ Name | Type | Description | Notes
149
181
 
150
182
  ### Authorization
151
183
 
152
- [Basic](../README.md#Basic)
184
+ [basicAuth](../README.md#basicAuth)
153
185
 
154
186
  ### HTTP request headers
155
187
 
@@ -159,7 +191,7 @@ Name | Type | Description | Notes
159
191
 
160
192
  ## read
161
193
 
162
- > RepositoryVersion read(python_repository_version_href, opts)
194
+ > RepositoryVersionResponse read(python_python_repository_version_href, opts)
163
195
 
164
196
  Inspect a repository version
165
197
 
@@ -172,13 +204,13 @@ PythonRepositoryVersion represents a single Python repository version.
172
204
  require 'pulp_python_client'
173
205
  # setup authorization
174
206
  PulpPythonClient.configure do |config|
175
- # Configure HTTP basic authorization: Basic
207
+ # Configure HTTP basic authorization: basicAuth
176
208
  config.username = 'YOUR USERNAME'
177
209
  config.password = 'YOUR PASSWORD'
178
210
  end
179
211
 
180
212
  api_instance = PulpPythonClient::RepositoriesPythonVersionsApi.new
181
- 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 |
182
214
  opts = {
183
215
  fields: 'fields_example', # String | A list of fields to include in the response.
184
216
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
@@ -186,7 +218,7 @@ opts = {
186
218
 
187
219
  begin
188
220
  #Inspect a repository version
189
- result = api_instance.read(python_repository_version_href, opts)
221
+ result = api_instance.read(python_python_repository_version_href, opts)
190
222
  p result
191
223
  rescue PulpPythonClient::ApiError => e
192
224
  puts "Exception when calling RepositoriesPythonVersionsApi->read: #{e}"
@@ -198,17 +230,17 @@ end
198
230
 
199
231
  Name | Type | Description | Notes
200
232
  ------------- | ------------- | ------------- | -------------
201
- **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**| |
202
234
  **fields** | **String**| A list of fields to include in the response. | [optional]
203
235
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
204
236
 
205
237
  ### Return type
206
238
 
207
- [**RepositoryVersion**](RepositoryVersion.md)
239
+ [**RepositoryVersionResponse**](RepositoryVersionResponse.md)
208
240
 
209
241
  ### Authorization
210
242
 
211
- [Basic](../README.md#Basic)
243
+ [basicAuth](../README.md#basicAuth)
212
244
 
213
245
  ### HTTP request headers
214
246
 
@@ -218,7 +250,7 @@ Name | Type | Description | Notes
218
250
 
219
251
  ## repair
220
252
 
221
- > AsyncOperationResponse repair(python_repository_version_href, data)
253
+ > AsyncOperationResponse repair(python_python_repository_version_href, repository_version)
222
254
 
223
255
 
224
256
 
@@ -231,17 +263,17 @@ Trigger an asynchronous task to repair a repositroy version.
231
263
  require 'pulp_python_client'
232
264
  # setup authorization
233
265
  PulpPythonClient.configure do |config|
234
- # Configure HTTP basic authorization: Basic
266
+ # Configure HTTP basic authorization: basicAuth
235
267
  config.username = 'YOUR USERNAME'
236
268
  config.password = 'YOUR PASSWORD'
237
269
  end
238
270
 
239
271
  api_instance = PulpPythonClient::RepositoriesPythonVersionsApi.new
240
- 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/
241
- 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 |
242
274
 
243
275
  begin
244
- result = api_instance.repair(python_repository_version_href, data)
276
+ result = api_instance.repair(python_python_repository_version_href, repository_version)
245
277
  p result
246
278
  rescue PulpPythonClient::ApiError => e
247
279
  puts "Exception when calling RepositoriesPythonVersionsApi->repair: #{e}"
@@ -253,8 +285,8 @@ end
253
285
 
254
286
  Name | Type | Description | Notes
255
287
  ------------- | ------------- | ------------- | -------------
256
- **python_repository_version_href** | **String**| URI of Repository Version. e.g.: /pulp/api/v3/repositories/python/python/1/versions/1/ |
257
- **data** | [**RepositoryVersion**](RepositoryVersion.md)| |
288
+ **python_python_repository_version_href** | **String**| |
289
+ **repository_version** | [**RepositoryVersion**](RepositoryVersion.md)| |
258
290
 
259
291
  ### Return type
260
292
 
@@ -262,10 +294,10 @@ Name | Type | Description | Notes
262
294
 
263
295
  ### Authorization
264
296
 
265
- [Basic](../README.md#Basic)
297
+ [basicAuth](../README.md#basicAuth)
266
298
 
267
299
  ### HTTP request headers
268
300
 
269
- - **Content-Type**: application/json
301
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
270
302
  - **Accept**: application/json
271
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
 
@@ -0,0 +1,25 @@
1
+ # PulpPythonClient::RepositoryVersionResponse
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** | [**ContentSummaryResponse**](ContentSummaryResponse.md) | Various count summaries of the content in the version and the HREF to view them. | [optional] [readonly]
12
+
13
+ ## Code Sample
14
+
15
+ ```ruby
16
+ require 'PulpPythonClient'
17
+
18
+ instance = PulpPythonClient::RepositoryVersionResponse.new(pulp_href: null,
19
+ pulp_created: null,
20
+ number: null,
21
+ base_version: null,
22
+ content_summary: null)
23
+ ```
24
+
25
+
@@ -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,20 +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'
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'
28
34
  require 'pulp_python_client/models/python_python_distribution'
35
+ require 'pulp_python_client/models/python_python_distribution_response'
29
36
  require 'pulp_python_client/models/python_python_package_content'
37
+ require 'pulp_python_client/models/python_python_package_content_response'
30
38
  require 'pulp_python_client/models/python_python_publication'
39
+ require 'pulp_python_client/models/python_python_publication_response'
31
40
  require 'pulp_python_client/models/python_python_remote'
41
+ require 'pulp_python_client/models/python_python_remote_response'
32
42
  require 'pulp_python_client/models/python_python_repository'
43
+ require 'pulp_python_client/models/python_python_repository_response'
33
44
  require 'pulp_python_client/models/repository_add_remove_content'
34
45
  require 'pulp_python_client/models/repository_sync_url'
35
46
  require 'pulp_python_client/models/repository_version'
47
+ require 'pulp_python_client/models/repository_version_response'
36
48
 
37
49
  # APIs
38
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
 
@@ -40,11 +40,11 @@ module PulpPythonClient
40
40
  # @option opts [String] :project_url A browsable URL for the project and a label for it, separated by a comma.
41
41
  # @option opts [String] :platform A comma-separated list of platform specifications, summarizing the operating systems supported by the package.
42
42
  # @option opts [String] :supported_platform Field to specify the OS and CPU for which the binary package was compiled.
43
- # @option opts [String] :requires_dist A JSON list containing names of some other distutils project required by this distribution.
44
- # @option opts [String] :provides_dist A JSON list containing names of a Distutils project which is contained within this distribution.
45
- # @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.
46
- # @option opts [String] :requires_external A JSON list containing some dependency in the system that the distribution is to be used.
47
- # @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.
48
48
  # @return [AsyncOperationResponse]
49
49
  def create(relative_path, opts = {})
50
50
  data, _status_code, _headers = create_with_http_info(relative_path, opts)
@@ -72,11 +72,11 @@ module PulpPythonClient
72
72
  # @option opts [String] :project_url A browsable URL for the project and a label for it, separated by a comma.
73
73
  # @option opts [String] :platform A comma-separated list of platform specifications, summarizing the operating systems supported by the package.
74
74
  # @option opts [String] :supported_platform Field to specify the OS and CPU for which the binary package was compiled.
75
- # @option opts [String] :requires_dist A JSON list containing names of some other distutils project required by this distribution.
76
- # @option opts [String] :provides_dist A JSON list containing names of a Distutils project which is contained within this distribution.
77
- # @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.
78
- # @option opts [String] :requires_external A JSON list containing some dependency in the system that the distribution is to be used.
79
- # @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.
80
80
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
81
81
  def create_with_http_info(relative_path, opts = {})
82
82
  if @api_client.config.debugging
@@ -86,10 +86,6 @@ module PulpPythonClient
86
86
  if @api_client.config.client_side_validation && relative_path.nil?
87
87
  fail ArgumentError, "Missing the required parameter 'relative_path' when calling ContentPackagesApi.create"
88
88
  end
89
- if @api_client.config.client_side_validation && relative_path.to_s.length < 1
90
- fail ArgumentError, 'invalid value for "relative_path" when calling ContentPackagesApi.create, the character length must be great than or equal to 1.'
91
- end
92
-
93
89
  # resource path
94
90
  local_var_path = '/pulp/api/v3/content/python/packages/'
95
91
 
@@ -136,7 +132,7 @@ module PulpPythonClient
136
132
  return_type = opts[:return_type] || 'AsyncOperationResponse'
137
133
 
138
134
  # auth_names
139
- auth_names = opts[:auth_names] || ['Basic']
135
+ auth_names = opts[:auth_names] || ['basicAuth']
140
136
 
141
137
  new_options = opts.merge(
142
138
  :header_params => header_params,
@@ -157,23 +153,23 @@ module PulpPythonClient
157
153
  # List python package contents
158
154
  # 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`.
159
155
  # @param [Hash] opts the optional parameters
160
- # @option opts [String] :ordering Which field to use when ordering the results.
161
- # @option opts [String] :name Filter results where name matches value
162
- # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
163
- # @option opts [String] :author Filter results where author matches value
164
- # @option opts [String] :author__in Filter results where author is in a comma-separated list of values
165
- # @option opts [String] :packagetype Filter results where packagetype matches value
166
- # @option opts [String] :packagetype__in Filter results where packagetype is in a comma-separated list of values
167
- # @option opts [String] :filename Filter results where filename matches value
168
- # @option opts [String] :filename__in Filter results where filename is in a comma-separated list of values
169
- # @option opts [String] :filename__contains Filter results where filename contains value
170
- # @option opts [String] :keywords__in Filter results where keywords is in a comma-separated list of values
171
- # @option opts [String] :keywords__contains Filter results where keywords contains value
172
- # @option opts [String] :repository_version Repository Version referenced by HREF
173
- # @option opts [String] :repository_version_added Repository Version referenced by HREF
174
- # @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
175
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
176
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
177
173
  # @option opts [String] :fields A list of fields to include in the response.
178
174
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
179
175
  # @return [InlineResponse200]
@@ -185,23 +181,23 @@ module PulpPythonClient
185
181
  # List python package contents
186
182
  # 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;.
187
183
  # @param [Hash] opts the optional parameters
188
- # @option opts [String] :ordering Which field to use when ordering the results.
189
- # @option opts [String] :name Filter results where name matches value
190
- # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
191
- # @option opts [String] :author Filter results where author matches value
192
- # @option opts [String] :author__in Filter results where author is in a comma-separated list of values
193
- # @option opts [String] :packagetype Filter results where packagetype matches value
194
- # @option opts [String] :packagetype__in Filter results where packagetype is in a comma-separated list of values
195
- # @option opts [String] :filename Filter results where filename matches value
196
- # @option opts [String] :filename__in Filter results where filename is in a comma-separated list of values
197
- # @option opts [String] :filename__contains Filter results where filename contains value
198
- # @option opts [String] :keywords__in Filter results where keywords is in a comma-separated list of values
199
- # @option opts [String] :keywords__contains Filter results where keywords contains value
200
- # @option opts [String] :repository_version Repository Version referenced by HREF
201
- # @option opts [String] :repository_version_added Repository Version referenced by HREF
202
- # @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
203
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
204
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
205
201
  # @option opts [String] :fields A list of fields to include in the response.
206
202
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
207
203
  # @return [Array<(InlineResponse200, Integer, Hash)>] InlineResponse200 data, response status code and response headers
@@ -209,28 +205,32 @@ module PulpPythonClient
209
205
  if @api_client.config.debugging
210
206
  @api_client.config.logger.debug 'Calling API: ContentPackagesApi.list ...'
211
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
212
212
  # resource path
213
213
  local_var_path = '/pulp/api/v3/content/python/packages/'
214
214
 
215
215
  # query parameters
216
216
  query_params = opts[:query_params] || {}
217
- query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
218
- query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
219
- query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
220
217
  query_params[:'author'] = opts[:'author'] if !opts[:'author'].nil?
221
218
  query_params[:'author__in'] = opts[:'author__in'] if !opts[:'author__in'].nil?
222
- query_params[:'packagetype'] = opts[:'packagetype'] if !opts[:'packagetype'].nil?
223
- query_params[:'packagetype__in'] = opts[:'packagetype__in'] if !opts[:'packagetype__in'].nil?
224
219
  query_params[:'filename'] = opts[:'filename'] if !opts[:'filename'].nil?
225
- query_params[:'filename__in'] = opts[:'filename__in'] if !opts[:'filename__in'].nil?
226
220
  query_params[:'filename__contains'] = opts[:'filename__contains'] if !opts[:'filename__contains'].nil?
227
- 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?
228
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?
229
231
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
230
232
  query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
231
233
  query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
232
- query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
233
- query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
234
234
  query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
235
235
  query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
236
236
 
@@ -249,7 +249,7 @@ module PulpPythonClient
249
249
  return_type = opts[:return_type] || 'InlineResponse200'
250
250
 
251
251
  # auth_names
252
- auth_names = opts[:auth_names] || ['Basic']
252
+ auth_names = opts[:auth_names] || ['basicAuth']
253
253
 
254
254
  new_options = opts.merge(
255
255
  :header_params => header_params,
@@ -269,33 +269,33 @@ module PulpPythonClient
269
269
 
270
270
  # Inspect a python package content
271
271
  # 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`.
272
- # @param python_package_content_href [String] URI of Python Package Content. e.g.: /pulp/api/v3/content/python/packages/1/
272
+ # @param python_python_package_content_href [String]
273
273
  # @param [Hash] opts the optional parameters
274
274
  # @option opts [String] :fields A list of fields to include in the response.
275
275
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
276
- # @return [PythonPythonPackageContent]
277
- def read(python_package_content_href, opts = {})
278
- 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)
279
279
  data
280
280
  end
281
281
 
282
282
  # Inspect a python package content
283
283
  # 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;.
284
- # @param python_package_content_href [String] URI of Python Package Content. e.g.: /pulp/api/v3/content/python/packages/1/
284
+ # @param python_python_package_content_href [String]
285
285
  # @param [Hash] opts the optional parameters
286
286
  # @option opts [String] :fields A list of fields to include in the response.
287
287
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
288
- # @return [Array<(PythonPythonPackageContent, Integer, Hash)>] PythonPythonPackageContent data, response status code and response headers
289
- 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 = {})
290
290
  if @api_client.config.debugging
291
291
  @api_client.config.logger.debug 'Calling API: ContentPackagesApi.read ...'
292
292
  end
293
- # verify the required parameter 'python_package_content_href' is set
294
- if @api_client.config.client_side_validation && python_package_content_href.nil?
295
- 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"
296
296
  end
297
297
  # resource path
298
- 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', '/'))
299
299
 
300
300
  # query parameters
301
301
  query_params = opts[:query_params] || {}
@@ -314,10 +314,10 @@ module PulpPythonClient
314
314
  post_body = opts[:body]
315
315
 
316
316
  # return_type
317
- return_type = opts[:return_type] || 'PythonPythonPackageContent'
317
+ return_type = opts[:return_type] || 'PythonPythonPackageContentResponse'
318
318
 
319
319
  # auth_names
320
- auth_names = opts[:auth_names] || ['Basic']
320
+ auth_names = opts[:auth_names] || ['basicAuth']
321
321
 
322
322
  new_options = opts.merge(
323
323
  :header_params => header_params,