pulp_python_client 3.0.0b9 → 3.0.0b11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +49 -42
  3. data/docs/ContentPackagesApi.md +54 -56
  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/{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 +181 -65
  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 +73 -84
  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 +253 -100
  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 +24 -25
  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 +61 -21
  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,17 +4,17 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | |
7
+ **count** | **Integer** | | [optional]
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<PythonPythonRepositoryRead>**](PythonPythonRepositoryRead.md) | |
10
+ **results** | [**Array<PythonPythonRepositoryResponse>**](PythonPythonRepositoryResponse.md) | | [optional]
11
11
 
12
12
  ## Code Sample
13
13
 
14
14
  ```ruby
15
15
  require 'PulpPythonClient'
16
16
 
17
- instance = PulpPythonClient::InlineResponse2004.new(count: null,
17
+ instance = PulpPythonClient::InlineResponse2004.new(count: 123,
18
18
  _next: null,
19
19
  previous: null,
20
20
  results: null)
@@ -4,17 +4,17 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | |
7
+ **count** | **Integer** | | [optional]
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<RepositoryVersionRead>**](RepositoryVersionRead.md) | |
10
+ **results** | [**Array<RepositoryVersionResponse>**](RepositoryVersionResponse.md) | | [optional]
11
11
 
12
12
  ## Code Sample
13
13
 
14
14
  ```ruby
15
15
  require 'PulpPythonClient'
16
16
 
17
- instance = PulpPythonClient::InlineResponse2005.new(count: null,
17
+ instance = PulpPythonClient::InlineResponse2005.new(count: 123,
18
18
  _next: null,
19
19
  previous: null,
20
20
  results: null)
@@ -0,0 +1,23 @@
1
+ # PulpPythonClient::PatchedpythonPythonDistribution
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional]
8
+ **content_guard** | **String** | An optional content-guard. | [optional]
9
+ **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
10
+ **publication** | **String** | Publication to be served | [optional]
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'PulpPythonClient'
16
+
17
+ instance = PulpPythonClient::PatchedpythonPythonDistribution.new(base_path: null,
18
+ content_guard: null,
19
+ name: null,
20
+ publication: null)
21
+ ```
22
+
23
+
@@ -0,0 +1,43 @@
1
+ # PulpPythonClient::PatchedpythonPythonRemote
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **name** | **String** | A unique name for this remote. | [optional]
8
+ **url** | **String** | The URL of an external content source. | [optional]
9
+ **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
10
+ **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
11
+ **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
12
+ **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
13
+ **proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
14
+ **username** | **String** | The username to be used for authentication when syncing. | [optional]
15
+ **password** | **String** | The password to be used for authentication when syncing. | [optional]
16
+ **download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
17
+ **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'cache_only'. 'immediate' is the default. | [optional]
18
+ **includes** | [**Object**](.md) | A JSON list containing project specifiers for Python packages to include. | [optional]
19
+ **excludes** | [**Object**](.md) | A JSON list containing project specifiers for Python packages to exclude. | [optional]
20
+ **prereleases** | **Boolean** | Whether or not to include pre-release packages in the sync. | [optional]
21
+
22
+ ## Code Sample
23
+
24
+ ```ruby
25
+ require 'PulpPythonClient'
26
+
27
+ instance = PulpPythonClient::PatchedpythonPythonRemote.new(name: null,
28
+ url: null,
29
+ ca_cert: null,
30
+ client_cert: null,
31
+ client_key: null,
32
+ tls_validation: null,
33
+ proxy_url: null,
34
+ username: null,
35
+ password: null,
36
+ download_concurrency: null,
37
+ policy: null,
38
+ includes: null,
39
+ excludes: null,
40
+ prereleases: null)
41
+ ```
42
+
43
+
@@ -0,0 +1,21 @@
1
+ # PulpPythonClient::PatchedpythonPythonRepository
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **name** | **String** | A unique name for this repository. | [optional]
8
+ **description** | **String** | An optional description. | [optional]
9
+ **remote** | **String** | | [optional]
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'PulpPythonClient'
15
+
16
+ instance = PulpPythonClient::PatchedpythonPythonRepository.new(name: null,
17
+ description: null,
18
+ remote: null)
19
+ ```
20
+
21
+
@@ -0,0 +1,16 @@
1
+ # PulpPythonClient::PolicyEnum
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+
8
+ ## Code Sample
9
+
10
+ ```ruby
11
+ require 'PulpPythonClient'
12
+
13
+ instance = PulpPythonClient::PolicyEnum.new()
14
+ ```
15
+
16
+
@@ -5,15 +5,15 @@ All URIs are relative to *http://pulp*
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
7
  [**create**](PublicationsPypiApi.md#create) | **POST** /pulp/api/v3/publications/python/pypi/ | Create a python publication
8
- [**delete**](PublicationsPypiApi.md#delete) | **DELETE** {python_publication_href} | Delete a python publication
8
+ [**delete**](PublicationsPypiApi.md#delete) | **DELETE** {python_python_publication_href} | Delete a python publication
9
9
  [**list**](PublicationsPypiApi.md#list) | **GET** /pulp/api/v3/publications/python/pypi/ | List python publications
10
- [**read**](PublicationsPypiApi.md#read) | **GET** {python_publication_href} | Inspect a python publication
10
+ [**read**](PublicationsPypiApi.md#read) | **GET** {python_python_publication_href} | Inspect a python publication
11
11
 
12
12
 
13
13
 
14
14
  ## create
15
15
 
16
- > AsyncOperationResponse create(data)
16
+ > AsyncOperationResponse create(python_python_publication)
17
17
 
18
18
  Create a python publication
19
19
 
@@ -26,17 +26,17 @@ Trigger an asynchronous task to publish python content.
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::PublicationsPypiApi.new
35
- data = PulpPythonClient::PythonPythonPublication.new # PythonPythonPublication |
35
+ python_python_publication = PulpPythonClient::PythonPythonPublication.new # PythonPythonPublication |
36
36
 
37
37
  begin
38
38
  #Create a python publication
39
- result = api_instance.create(data)
39
+ result = api_instance.create(python_python_publication)
40
40
  p result
41
41
  rescue PulpPythonClient::ApiError => e
42
42
  puts "Exception when calling PublicationsPypiApi->create: #{e}"
@@ -48,7 +48,7 @@ end
48
48
 
49
49
  Name | Type | Description | Notes
50
50
  ------------- | ------------- | ------------- | -------------
51
- **data** | [**PythonPythonPublication**](PythonPythonPublication.md)| |
51
+ **python_python_publication** | [**PythonPythonPublication**](PythonPythonPublication.md)| |
52
52
 
53
53
  ### Return type
54
54
 
@@ -56,17 +56,17 @@ Name | Type | Description | Notes
56
56
 
57
57
  ### Authorization
58
58
 
59
- [Basic](../README.md#Basic)
59
+ [basicAuth](../README.md#basicAuth)
60
60
 
61
61
  ### HTTP request headers
62
62
 
63
- - **Content-Type**: application/json
63
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
64
64
  - **Accept**: application/json
65
65
 
66
66
 
67
67
  ## delete
68
68
 
69
- > delete(python_publication_href)
69
+ > delete(python_python_publication_href)
70
70
 
71
71
  Delete a python publication
72
72
 
@@ -79,17 +79,17 @@ Delete a python publication
79
79
  require 'pulp_python_client'
80
80
  # setup authorization
81
81
  PulpPythonClient.configure do |config|
82
- # Configure HTTP basic authorization: Basic
82
+ # Configure HTTP basic authorization: basicAuth
83
83
  config.username = 'YOUR USERNAME'
84
84
  config.password = 'YOUR PASSWORD'
85
85
  end
86
86
 
87
87
  api_instance = PulpPythonClient::PublicationsPypiApi.new
88
- python_publication_href = 'python_publication_href_example' # String | URI of Python Publication. e.g.: /pulp/api/v3/publications/python/pypi/1/
88
+ python_python_publication_href = 'python_python_publication_href_example' # String |
89
89
 
90
90
  begin
91
91
  #Delete a python publication
92
- api_instance.delete(python_publication_href)
92
+ api_instance.delete(python_python_publication_href)
93
93
  rescue PulpPythonClient::ApiError => e
94
94
  puts "Exception when calling PublicationsPypiApi->delete: #{e}"
95
95
  end
@@ -100,7 +100,7 @@ end
100
100
 
101
101
  Name | Type | Description | Notes
102
102
  ------------- | ------------- | ------------- | -------------
103
- **python_publication_href** | **String**| URI of Python Publication. e.g.: /pulp/api/v3/publications/python/pypi/1/ |
103
+ **python_python_publication_href** | **String**| |
104
104
 
105
105
  ### Return type
106
106
 
@@ -108,7 +108,7 @@ nil (empty response body)
108
108
 
109
109
  ### Authorization
110
110
 
111
- [Basic](../README.md#Basic)
111
+ [basicAuth](../README.md#basicAuth)
112
112
 
113
113
  ### HTTP request headers
114
114
 
@@ -131,23 +131,23 @@ List python publications
131
131
  require 'pulp_python_client'
132
132
  # setup authorization
133
133
  PulpPythonClient.configure do |config|
134
- # Configure HTTP basic authorization: Basic
134
+ # Configure HTTP basic authorization: basicAuth
135
135
  config.username = 'YOUR USERNAME'
136
136
  config.password = 'YOUR PASSWORD'
137
137
  end
138
138
 
139
139
  api_instance = PulpPythonClient::PublicationsPypiApi.new
140
140
  opts = {
141
- ordering: 'ordering_example', # String | Which field to use when ordering the results.
142
- repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
143
- pulp_created__lt: 'pulp_created__lt_example', # String | Filter results where pulp_created is less than value
144
- pulp_created__lte: 'pulp_created__lte_example', # String | Filter results where pulp_created is less than or equal to value
145
- pulp_created__gt: 'pulp_created__gt_example', # String | Filter results where pulp_created is greater than value
146
- pulp_created__gte: 'pulp_created__gte_example', # String | Filter results where pulp_created is greater than or equal to value
147
- pulp_created__range: 'pulp_created__range_example', # String | Filter results where pulp_created is between two comma separated values
148
- pulp_created: 'pulp_created_example', # String | ISO 8601 formatted dates are supported
149
141
  limit: 56, # Integer | Number of results to return per page.
150
142
  offset: 56, # Integer | The initial index from which to return the results.
143
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
144
+ pulp_created: 'pulp_created_example', # String | pulp_created
145
+ pulp_created__gt: 'pulp_created__gt_example', # String | pulp_created__gt
146
+ pulp_created__gte: 'pulp_created__gte_example', # String | pulp_created__gte
147
+ pulp_created__lt: 'pulp_created__lt_example', # String | pulp_created__lt
148
+ pulp_created__lte: 'pulp_created__lte_example', # String | pulp_created__lte
149
+ pulp_created__range: 'pulp_created__range_example', # String | pulp_created__range
150
+ repository_version: 'repository_version_example', # String | repository_version
151
151
  fields: 'fields_example', # String | A list of fields to include in the response.
152
152
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
153
153
  }
@@ -166,16 +166,16 @@ end
166
166
 
167
167
  Name | Type | Description | Notes
168
168
  ------------- | ------------- | ------------- | -------------
169
- **ordering** | **String**| Which field to use when ordering the results. | [optional]
170
- **repository_version** | **String**| Repository Version referenced by HREF | [optional]
171
- **pulp_created__lt** | **String**| Filter results where pulp_created is less than value | [optional]
172
- **pulp_created__lte** | **String**| Filter results where pulp_created is less than or equal to value | [optional]
173
- **pulp_created__gt** | **String**| Filter results where pulp_created is greater than value | [optional]
174
- **pulp_created__gte** | **String**| Filter results where pulp_created is greater than or equal to value | [optional]
175
- **pulp_created__range** | **String**| Filter results where pulp_created is between two comma separated values | [optional]
176
- **pulp_created** | **String**| ISO 8601 formatted dates are supported | [optional]
177
169
  **limit** | **Integer**| Number of results to return per page. | [optional]
178
170
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
171
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
172
+ **pulp_created** | **String**| pulp_created | [optional]
173
+ **pulp_created__gt** | **String**| pulp_created__gt | [optional]
174
+ **pulp_created__gte** | **String**| pulp_created__gte | [optional]
175
+ **pulp_created__lt** | **String**| pulp_created__lt | [optional]
176
+ **pulp_created__lte** | **String**| pulp_created__lte | [optional]
177
+ **pulp_created__range** | **String**| pulp_created__range | [optional]
178
+ **repository_version** | **String**| repository_version | [optional]
179
179
  **fields** | **String**| A list of fields to include in the response. | [optional]
180
180
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
181
181
 
@@ -185,7 +185,7 @@ Name | Type | Description | Notes
185
185
 
186
186
  ### Authorization
187
187
 
188
- [Basic](../README.md#Basic)
188
+ [basicAuth](../README.md#basicAuth)
189
189
 
190
190
  ### HTTP request headers
191
191
 
@@ -195,7 +195,7 @@ Name | Type | Description | Notes
195
195
 
196
196
  ## read
197
197
 
198
- > PythonPythonPublicationRead read(python_publication_href, opts)
198
+ > PythonPythonPublicationResponse read(python_python_publication_href, opts)
199
199
 
200
200
  Inspect a python publication
201
201
 
@@ -208,13 +208,13 @@ Inspect a python publication
208
208
  require 'pulp_python_client'
209
209
  # setup authorization
210
210
  PulpPythonClient.configure do |config|
211
- # Configure HTTP basic authorization: Basic
211
+ # Configure HTTP basic authorization: basicAuth
212
212
  config.username = 'YOUR USERNAME'
213
213
  config.password = 'YOUR PASSWORD'
214
214
  end
215
215
 
216
216
  api_instance = PulpPythonClient::PublicationsPypiApi.new
217
- python_publication_href = 'python_publication_href_example' # String | URI of Python Publication. e.g.: /pulp/api/v3/publications/python/pypi/1/
217
+ python_python_publication_href = 'python_python_publication_href_example' # String |
218
218
  opts = {
219
219
  fields: 'fields_example', # String | A list of fields to include in the response.
220
220
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
@@ -222,7 +222,7 @@ opts = {
222
222
 
223
223
  begin
224
224
  #Inspect a python publication
225
- result = api_instance.read(python_publication_href, opts)
225
+ result = api_instance.read(python_python_publication_href, opts)
226
226
  p result
227
227
  rescue PulpPythonClient::ApiError => e
228
228
  puts "Exception when calling PublicationsPypiApi->read: #{e}"
@@ -234,17 +234,17 @@ end
234
234
 
235
235
  Name | Type | Description | Notes
236
236
  ------------- | ------------- | ------------- | -------------
237
- **python_publication_href** | **String**| URI of Python Publication. e.g.: /pulp/api/v3/publications/python/pypi/1/ |
237
+ **python_python_publication_href** | **String**| |
238
238
  **fields** | **String**| A list of fields to include in the response. | [optional]
239
239
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
240
240
 
241
241
  ### Return type
242
242
 
243
- [**PythonPythonPublicationRead**](PythonPythonPublicationRead.md)
243
+ [**PythonPythonPublicationResponse**](PythonPythonPublicationResponse.md)
244
244
 
245
245
  ### Authorization
246
246
 
247
- [Basic](../README.md#Basic)
247
+ [basicAuth](../README.md#basicAuth)
248
248
 
249
249
  ### HTTP request headers
250
250
 
@@ -0,0 +1,19 @@
1
+ # PulpPythonClient::PythonBanderRemote
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **config** | **File** | A Bandersnatch config that may be used to construct a Python Remote. |
8
+ **name** | **String** | A unique name for this remote |
9
+
10
+ ## Code Sample
11
+
12
+ ```ruby
13
+ require 'PulpPythonClient'
14
+
15
+ instance = PulpPythonClient::PythonBanderRemote.new(config: null,
16
+ name: null)
17
+ ```
18
+
19
+
@@ -4,10 +4,7 @@
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
7
  **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
10
- **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
11
8
  **content_guard** | **String** | An optional content-guard. | [optional]
12
9
  **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
13
10
  **publication** | **String** | Publication to be served | [optional]
@@ -17,10 +14,7 @@ Name | Type | Description | Notes
17
14
  ```ruby
18
15
  require 'PulpPythonClient'
19
16
 
20
- instance = PulpPythonClient::PythonPythonDistribution.new(pulp_href: null,
21
- pulp_created: null,
22
- base_path: null,
23
- base_url: null,
17
+ instance = PulpPythonClient::PythonPythonDistribution.new(base_path: null,
24
18
  content_guard: null,
25
19
  name: null,
26
20
  publication: null)
@@ -1,4 +1,4 @@
1
- # PulpPythonClient::PythonPythonDistributionRead
1
+ # PulpPythonClient::PythonPythonDistributionResponse
2
2
 
3
3
  ## Properties
4
4
 
@@ -17,7 +17,7 @@ Name | Type | Description | Notes
17
17
  ```ruby
18
18
  require 'PulpPythonClient'
19
19
 
20
- instance = PulpPythonClient::PythonPythonDistributionRead.new(pulp_href: null,
20
+ instance = PulpPythonClient::PythonPythonDistributionResponse.new(pulp_href: null,
21
21
  pulp_created: null,
22
22
  base_path: null,
23
23
  base_url: null,
@@ -0,0 +1,61 @@
1
+ # PulpPythonClient::PythonPythonPackageContent
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **artifact** | **String** | Artifact file representing the physical content | [optional]
8
+ **relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
9
+ **file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
10
+ **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
11
+ **summary** | **String** | A one-line summary of what the package does. | [optional]
12
+ **description** | **String** | A longer description of the package that can run to several paragraphs. | [optional]
13
+ **keywords** | **String** | Additional keywords to be used to assist searching for the package in a larger catalog. | [optional]
14
+ **home_page** | **String** | The URL for the package's home page. | [optional]
15
+ **download_url** | **String** | Legacy field denoting the URL from which this package can be downloaded. | [optional]
16
+ **author** | **String** | Text containing the author's name. Contact information can also be added, separated with newlines. | [optional]
17
+ **author_email** | **String** | The author's e-mail address. | [optional]
18
+ **maintainer** | **String** | The maintainer's name at a minimum; additional contact information may be provided. | [optional]
19
+ **maintainer_email** | **String** | The maintainer's e-mail address. | [optional]
20
+ **license** | **String** | Text indicating the license covering the distribution | [optional]
21
+ **requires_python** | **String** | The Python version(s) that the distribution is guaranteed to be compatible with. | [optional]
22
+ **project_url** | **String** | A browsable URL for the project and a label for it, separated by a comma. | [optional]
23
+ **platform** | **String** | A comma-separated list of platform specifications, summarizing the operating systems supported by the package. | [optional]
24
+ **supported_platform** | **String** | Field to specify the OS and CPU for which the binary package was compiled. | [optional]
25
+ **requires_dist** | [**Object**](.md) | A JSON list containing names of some other distutils project required by this distribution. | [optional]
26
+ **provides_dist** | [**Object**](.md) | A JSON list containing names of a Distutils project which is contained within this distribution. | [optional]
27
+ **obsoletes_dist** | [**Object**](.md) | 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. | [optional]
28
+ **requires_external** | [**Object**](.md) | A JSON list containing some dependency in the system that the distribution is to be used. | [optional]
29
+ **classifiers** | [**Object**](.md) | A JSON list containing classification values for a Python package. | [optional]
30
+
31
+ ## Code Sample
32
+
33
+ ```ruby
34
+ require 'PulpPythonClient'
35
+
36
+ instance = PulpPythonClient::PythonPythonPackageContent.new(artifact: null,
37
+ relative_path: null,
38
+ file: null,
39
+ repository: null,
40
+ summary: null,
41
+ description: null,
42
+ keywords: null,
43
+ home_page: null,
44
+ download_url: null,
45
+ author: null,
46
+ author_email: null,
47
+ maintainer: null,
48
+ maintainer_email: null,
49
+ license: null,
50
+ requires_python: null,
51
+ project_url: null,
52
+ platform: null,
53
+ supported_platform: null,
54
+ requires_dist: null,
55
+ provides_dist: null,
56
+ obsoletes_dist: null,
57
+ requires_external: null,
58
+ classifiers: null)
59
+ ```
60
+
61
+