pulp_python_client 3.0.0b9.dev01590959185 → 3.0.0b10

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 (58) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -13
  3. data/docs/ContentPackagesApi.md +4 -6
  4. data/docs/DistributionsPypiApi.md +2 -2
  5. data/docs/InlineResponse200.md +1 -1
  6. data/docs/InlineResponse2001.md +1 -1
  7. data/docs/InlineResponse2002.md +1 -1
  8. data/docs/InlineResponse2003.md +1 -1
  9. data/docs/InlineResponse2004.md +1 -1
  10. data/docs/InlineResponse2005.md +1 -1
  11. data/docs/PublicationsPypiApi.md +2 -2
  12. data/docs/{PythonPythonPackageContentRead.md → PythonPythonPackageContent.md} +3 -3
  13. data/docs/PythonPythonRemote.md +2 -2
  14. data/docs/RemotesPythonApi.md +60 -4
  15. data/docs/RepositoriesPythonApi.md +4 -4
  16. data/docs/RepositoriesPythonVersionsApi.md +6 -4
  17. data/lib/pulp_python_client.rb +1 -7
  18. data/lib/pulp_python_client/api/content_packages_api.rb +6 -17
  19. data/lib/pulp_python_client/api/distributions_pypi_api.rb +3 -3
  20. data/lib/pulp_python_client/api/publications_pypi_api.rb +3 -3
  21. data/lib/pulp_python_client/api/remotes_python_api.rb +82 -6
  22. data/lib/pulp_python_client/api/repositories_python_api.rb +6 -6
  23. data/lib/pulp_python_client/api/repositories_python_versions_api.rb +9 -6
  24. data/lib/pulp_python_client/models/inline_response200.rb +1 -1
  25. data/lib/pulp_python_client/models/inline_response2001.rb +1 -1
  26. data/lib/pulp_python_client/models/inline_response2002.rb +1 -1
  27. data/lib/pulp_python_client/models/inline_response2003.rb +1 -1
  28. data/lib/pulp_python_client/models/inline_response2004.rb +1 -1
  29. data/lib/pulp_python_client/models/inline_response2005.rb +1 -1
  30. data/lib/pulp_python_client/models/{python_python_package_content_read.rb → python_python_package_content.rb} +6 -15
  31. data/lib/pulp_python_client/models/python_python_remote.rb +6 -10
  32. data/lib/pulp_python_client/version.rb +1 -1
  33. data/spec/api/content_packages_api_spec.rb +1 -2
  34. data/spec/api/distributions_pypi_api_spec.rb +1 -1
  35. data/spec/api/publications_pypi_api_spec.rb +1 -1
  36. data/spec/api/remotes_python_api_spec.rb +15 -2
  37. data/spec/api/repositories_python_api_spec.rb +2 -2
  38. data/spec/api/repositories_python_versions_api_spec.rb +3 -2
  39. data/spec/models/{python_python_package_content_read_spec.rb → python_python_package_content_spec.rb} +6 -6
  40. metadata +20 -44
  41. data/docs/ProjectSpecifier.md +0 -19
  42. data/docs/PythonPythonDistributionRead.md +0 -29
  43. data/docs/PythonPythonPublicationRead.md +0 -25
  44. data/docs/PythonPythonRemoteRead.md +0 -49
  45. data/docs/PythonPythonRepositoryRead.md +0 -27
  46. data/docs/RepositoryVersionRead.md +0 -25
  47. data/lib/pulp_python_client/models/project_specifier.rb +0 -242
  48. data/lib/pulp_python_client/models/python_python_distribution_read.rb +0 -331
  49. data/lib/pulp_python_client/models/python_python_publication_read.rb +0 -247
  50. data/lib/pulp_python_client/models/python_python_remote_read.rb +0 -565
  51. data/lib/pulp_python_client/models/python_python_repository_read.rb +0 -294
  52. data/lib/pulp_python_client/models/repository_version_read.rb +0 -244
  53. data/spec/models/project_specifier_spec.rb +0 -47
  54. data/spec/models/python_python_distribution_read_spec.rb +0 -77
  55. data/spec/models/python_python_publication_read_spec.rb +0 -65
  56. data/spec/models/python_python_remote_read_spec.rb +0 -141
  57. data/spec/models/python_python_repository_read_spec.rb +0 -71
  58. data/spec/models/repository_version_read_spec.rb +0 -65
@@ -55,10 +55,10 @@ module PulpPythonClient
55
55
  # The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'cache_only'. 'immediate' is the default.
56
56
  attr_accessor :policy
57
57
 
58
- # AKA \"Whitelist\". A list of dictionaries, expand for more information. Example: [{\"name\": \"django\", \"version_specifier\":\"~=2.0\"}]
58
+ # A JSON list containing project specifiers for Python packages to include.
59
59
  attr_accessor :includes
60
60
 
61
- # \"AKA \"Blacklist\". A list of dictionaries, expand for more information. Example: [{\"name\": \"django\", \"version_specifier\":\"~=2.0\"}]
61
+ # A JSON list containing project specifiers for Python packages to exclude.
62
62
  attr_accessor :excludes
63
63
 
64
64
  # Whether or not to include pre-release packages in the sync.
@@ -126,8 +126,8 @@ module PulpPythonClient
126
126
  :'pulp_last_updated' => :'DateTime',
127
127
  :'download_concurrency' => :'Integer',
128
128
  :'policy' => :'String',
129
- :'includes' => :'Array<ProjectSpecifier>',
130
- :'excludes' => :'Array<ProjectSpecifier>',
129
+ :'includes' => :'Object',
130
+ :'excludes' => :'Object',
131
131
  :'prereleases' => :'Boolean'
132
132
  }
133
133
  end
@@ -218,15 +218,11 @@ module PulpPythonClient
218
218
  end
219
219
 
220
220
  if attributes.key?(:'includes')
221
- if (value = attributes[:'includes']).is_a?(Array)
222
- self.includes = value
223
- end
221
+ self.includes = attributes[:'includes']
224
222
  end
225
223
 
226
224
  if attributes.key?(:'excludes')
227
- if (value = attributes[:'excludes']).is_a?(Array)
228
- self.excludes = value
229
- end
225
+ self.excludes = attributes[:'excludes']
230
226
  end
231
227
 
232
228
  if attributes.key?(:'prereleases')
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.2.3
11
11
  =end
12
12
 
13
13
  module PulpPythonClient
14
- VERSION = '3.0.0b9.dev01590959185'
14
+ VERSION = '3.0.0b10'
15
15
  end
@@ -36,7 +36,6 @@ describe 'ContentPackagesApi' do
36
36
  # Create a python package content
37
37
  # Trigger an asynchronous task to create content,optionally create new repository version.
38
38
  # @param relative_path Path where the artifact is located relative to distributions base_path
39
- # @param filename The name of the distribution package, usually of the format: {distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.{packagetype}
40
39
  # @param [Hash] opts the optional parameters
41
40
  # @option opts [String] :artifact Artifact file representing the physical content
42
41
  # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
@@ -104,7 +103,7 @@ describe 'ContentPackagesApi' do
104
103
  # @param [Hash] opts the optional parameters
105
104
  # @option opts [String] :fields A list of fields to include in the response.
106
105
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
107
- # @return [PythonPythonPackageContentRead]
106
+ # @return [PythonPythonPackageContent]
108
107
  describe 'read test' do
109
108
  it 'should work' do
110
109
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -98,7 +98,7 @@ describe 'DistributionsPypiApi' do
98
98
  # @param [Hash] opts the optional parameters
99
99
  # @option opts [String] :fields A list of fields to include in the response.
100
100
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
101
- # @return [PythonPythonDistributionRead]
101
+ # @return [PythonPythonDistribution]
102
102
  describe 'read test' do
103
103
  it 'should work' do
104
104
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -86,7 +86,7 @@ describe 'PublicationsPypiApi' do
86
86
  # @param [Hash] opts the optional parameters
87
87
  # @option opts [String] :fields A list of fields to include in the response.
88
88
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
89
- # @return [PythonPythonPublicationRead]
89
+ # @return [PythonPythonPublication]
90
90
  describe 'read test' do
91
91
  it 'should work' do
92
92
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -37,7 +37,7 @@ describe 'RemotesPythonApi' do
37
37
  # Python Remotes are representations of an external repository of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to &#x60;sync&#x60; from upstream repositories, and contains sync settings.
38
38
  # @param data
39
39
  # @param [Hash] opts the optional parameters
40
- # @return [PythonPythonRemoteRead]
40
+ # @return [PythonPythonRemote]
41
41
  describe 'create test' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -56,6 +56,19 @@ describe 'RemotesPythonApi' do
56
56
  end
57
57
  end
58
58
 
59
+ # unit tests for from_bandersnatch
60
+ # Create from Bandersnatch
61
+ # Create a remote from a Bandersnatch config
62
+ # @param config A Bandersnatch config that may be used to construct a Python Remote.
63
+ # @param name A unique name for this remote
64
+ # @param [Hash] opts the optional parameters
65
+ # @return [PythonPythonRemote]
66
+ describe 'from_bandersnatch test' do
67
+ it 'should work' do
68
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
69
+ end
70
+ end
71
+
59
72
  # unit tests for list
60
73
  # List python remotes
61
74
  # Python Remotes are representations of an external repository of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to &#x60;sync&#x60; from upstream repositories, and contains sync settings.
@@ -100,7 +113,7 @@ describe 'RemotesPythonApi' do
100
113
  # @param [Hash] opts the optional parameters
101
114
  # @option opts [String] :fields A list of fields to include in the response.
102
115
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
103
- # @return [PythonPythonRemoteRead]
116
+ # @return [PythonPythonRemote]
104
117
  describe 'read test' do
105
118
  it 'should work' do
106
119
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -37,7 +37,7 @@ describe 'RepositoriesPythonApi' do
37
37
  # A ViewSet for PythonRepository.
38
38
  # @param data
39
39
  # @param [Hash] opts the optional parameters
40
- # @return [PythonPythonRepositoryRead]
40
+ # @return [PythonPythonRepository]
41
41
  describe 'create test' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -107,7 +107,7 @@ describe 'RepositoriesPythonApi' do
107
107
  # @param [Hash] opts the optional parameters
108
108
  # @option opts [String] :fields A list of fields to include in the response.
109
109
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
110
- # @return [PythonPythonRepositoryRead]
110
+ # @return [PythonPythonRepository]
111
111
  describe 'read test' do
112
112
  it 'should work' do
113
113
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -61,8 +61,9 @@ describe 'RepositoriesPythonVersionsApi' do
61
61
  # @option opts [String] :pulp_created__gt Filter results where pulp_created is greater than value
62
62
  # @option opts [String] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
63
63
  # @option opts [String] :pulp_created__range Filter results where pulp_created is between two comma separated values
64
- # @option opts [String] :content Content Unit referenced by HREF
65
64
  # @option opts [String] :pulp_created ISO 8601 formatted dates are supported
65
+ # @option opts [String] :content Content Unit referenced by HREF
66
+ # @option opts [String] :content__in Content Unit referenced by HREF
66
67
  # @option opts [Integer] :limit Number of results to return per page.
67
68
  # @option opts [Integer] :offset The initial index from which to return the results.
68
69
  # @option opts [String] :fields A list of fields to include in the response.
@@ -81,7 +82,7 @@ describe 'RepositoriesPythonVersionsApi' do
81
82
  # @param [Hash] opts the optional parameters
82
83
  # @option opts [String] :fields A list of fields to include in the response.
83
84
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
84
- # @return [RepositoryVersionRead]
85
+ # @return [RepositoryVersion]
85
86
  describe 'read test' do
86
87
  it 'should work' do
87
88
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -14,22 +14,22 @@ require 'spec_helper'
14
14
  require 'json'
15
15
  require 'date'
16
16
 
17
- # Unit tests for PulpPythonClient::PythonPythonPackageContentRead
17
+ # Unit tests for PulpPythonClient::PythonPythonPackageContent
18
18
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
19
  # Please update as you see appropriate
20
- describe 'PythonPythonPackageContentRead' do
20
+ describe 'PythonPythonPackageContent' do
21
21
  before do
22
22
  # run before each test
23
- @instance = PulpPythonClient::PythonPythonPackageContentRead.new
23
+ @instance = PulpPythonClient::PythonPythonPackageContent.new
24
24
  end
25
25
 
26
26
  after do
27
27
  # run after each test
28
28
  end
29
29
 
30
- describe 'test an instance of PythonPythonPackageContentRead' do
31
- it 'should create an instance of PythonPythonPackageContentRead' do
32
- expect(@instance).to be_instance_of(PulpPythonClient::PythonPythonPackageContentRead)
30
+ describe 'test an instance of PythonPythonPackageContent' do
31
+ it 'should create an instance of PythonPythonPackageContent' do
32
+ expect(@instance).to be_instance_of(PulpPythonClient::PythonPythonPackageContent)
33
33
  end
34
34
  end
35
35
  describe 'test attribute "pulp_href"' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_python_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0b9.dev01590959185
4
+ version: 3.0.0b10
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-31 00:00:00.000000000 Z
11
+ date: 2020-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -84,24 +84,18 @@ files:
84
84
  - docs/InlineResponse2003.md
85
85
  - docs/InlineResponse2004.md
86
86
  - docs/InlineResponse2005.md
87
- - docs/ProjectSpecifier.md
88
87
  - docs/PublicationsPypiApi.md
89
88
  - docs/PythonPythonDistribution.md
90
- - docs/PythonPythonDistributionRead.md
91
- - docs/PythonPythonPackageContentRead.md
89
+ - docs/PythonPythonPackageContent.md
92
90
  - docs/PythonPythonPublication.md
93
- - docs/PythonPythonPublicationRead.md
94
91
  - docs/PythonPythonRemote.md
95
- - docs/PythonPythonRemoteRead.md
96
92
  - docs/PythonPythonRepository.md
97
- - docs/PythonPythonRepositoryRead.md
98
93
  - docs/RemotesPythonApi.md
99
94
  - docs/RepositoriesPythonApi.md
100
95
  - docs/RepositoriesPythonVersionsApi.md
101
96
  - docs/RepositoryAddRemoveContent.md
102
97
  - docs/RepositorySyncURL.md
103
98
  - docs/RepositoryVersion.md
104
- - docs/RepositoryVersionRead.md
105
99
  - git_push.sh
106
100
  - lib/pulp_python_client.rb
107
101
  - lib/pulp_python_client/api/content_packages_api.rb
@@ -121,20 +115,14 @@ files:
121
115
  - lib/pulp_python_client/models/inline_response2003.rb
122
116
  - lib/pulp_python_client/models/inline_response2004.rb
123
117
  - lib/pulp_python_client/models/inline_response2005.rb
124
- - lib/pulp_python_client/models/project_specifier.rb
125
118
  - lib/pulp_python_client/models/python_python_distribution.rb
126
- - lib/pulp_python_client/models/python_python_distribution_read.rb
127
- - lib/pulp_python_client/models/python_python_package_content_read.rb
119
+ - lib/pulp_python_client/models/python_python_package_content.rb
128
120
  - lib/pulp_python_client/models/python_python_publication.rb
129
- - lib/pulp_python_client/models/python_python_publication_read.rb
130
121
  - lib/pulp_python_client/models/python_python_remote.rb
131
- - lib/pulp_python_client/models/python_python_remote_read.rb
132
122
  - lib/pulp_python_client/models/python_python_repository.rb
133
- - lib/pulp_python_client/models/python_python_repository_read.rb
134
123
  - lib/pulp_python_client/models/repository_add_remove_content.rb
135
124
  - lib/pulp_python_client/models/repository_sync_url.rb
136
125
  - lib/pulp_python_client/models/repository_version.rb
137
- - lib/pulp_python_client/models/repository_version_read.rb
138
126
  - lib/pulp_python_client/version.rb
139
127
  - pulp_python_client.gemspec
140
128
  - spec/api/content_packages_api_spec.rb
@@ -153,19 +141,13 @@ files:
153
141
  - spec/models/inline_response2004_spec.rb
154
142
  - spec/models/inline_response2005_spec.rb
155
143
  - spec/models/inline_response200_spec.rb
156
- - spec/models/project_specifier_spec.rb
157
- - spec/models/python_python_distribution_read_spec.rb
158
144
  - spec/models/python_python_distribution_spec.rb
159
- - spec/models/python_python_package_content_read_spec.rb
160
- - spec/models/python_python_publication_read_spec.rb
145
+ - spec/models/python_python_package_content_spec.rb
161
146
  - spec/models/python_python_publication_spec.rb
162
- - spec/models/python_python_remote_read_spec.rb
163
147
  - spec/models/python_python_remote_spec.rb
164
- - spec/models/python_python_repository_read_spec.rb
165
148
  - spec/models/python_python_repository_spec.rb
166
149
  - spec/models/repository_add_remove_content_spec.rb
167
150
  - spec/models/repository_sync_url_spec.rb
168
- - spec/models/repository_version_read_spec.rb
169
151
  - spec/models/repository_version_spec.rb
170
152
  - spec/spec_helper.rb
171
153
  homepage: https://openapi-generator.tech
@@ -192,34 +174,28 @@ signing_key:
192
174
  specification_version: 4
193
175
  summary: Pulp 3 API Ruby Gem
194
176
  test_files:
195
- - spec/api/repositories_python_api_spec.rb
196
- - spec/api/remotes_python_api_spec.rb
177
+ - spec/api/distributions_pypi_api_spec.rb
197
178
  - spec/api/content_packages_api_spec.rb
198
179
  - spec/api/publications_pypi_api_spec.rb
199
180
  - spec/api/repositories_python_versions_api_spec.rb
200
- - spec/api/distributions_pypi_api_spec.rb
181
+ - spec/api/repositories_python_api_spec.rb
182
+ - spec/api/remotes_python_api_spec.rb
201
183
  - spec/api_client_spec.rb
202
184
  - spec/configuration_spec.rb
203
- - spec/models/python_python_distribution_read_spec.rb
204
- - spec/models/repository_sync_url_spec.rb
205
- - spec/models/async_operation_response_spec.rb
206
- - spec/models/python_python_remote_spec.rb
207
- - spec/models/repository_add_remove_content_spec.rb
208
- - spec/models/inline_response2003_spec.rb
209
- - spec/models/python_python_remote_read_spec.rb
210
- - spec/models/repository_version_spec.rb
211
- - spec/models/python_python_repository_read_spec.rb
212
185
  - spec/models/inline_response2004_spec.rb
213
- - spec/models/inline_response2005_spec.rb
214
- - spec/models/inline_response2001_spec.rb
215
- - spec/models/python_python_publication_read_spec.rb
216
- - spec/models/inline_response200_spec.rb
217
- - spec/models/project_specifier_spec.rb
186
+ - spec/models/repository_add_remove_content_spec.rb
218
187
  - spec/models/python_python_distribution_spec.rb
219
- - spec/models/inline_response2002_spec.rb
188
+ - spec/models/python_python_package_content_spec.rb
189
+ - spec/models/python_python_remote_spec.rb
190
+ - spec/models/async_operation_response_spec.rb
220
191
  - spec/models/content_summary_spec.rb
221
- - spec/models/python_python_repository_spec.rb
222
- - spec/models/repository_version_read_spec.rb
192
+ - spec/models/inline_response2005_spec.rb
193
+ - spec/models/repository_version_spec.rb
223
194
  - spec/models/python_python_publication_spec.rb
224
- - spec/models/python_python_package_content_read_spec.rb
195
+ - spec/models/inline_response2003_spec.rb
196
+ - spec/models/inline_response2001_spec.rb
197
+ - spec/models/python_python_repository_spec.rb
198
+ - spec/models/inline_response2002_spec.rb
199
+ - spec/models/repository_sync_url_spec.rb
200
+ - spec/models/inline_response200_spec.rb
225
201
  - spec/spec_helper.rb
@@ -1,19 +0,0 @@
1
- # PulpPythonClient::ProjectSpecifier
2
-
3
- ## Properties
4
-
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **name** | **String** | A python project name. |
8
- **version_specifier** | **String** | A version specifier accepts standard python versions syntax: &#x60;&gt;&#x3D;&#x60;, &#x60;&lt;&#x3D;&#x60;, &#x60;&#x3D;&#x3D;&#x60;, &#x60;~&#x3D;&#x60;, &#x60;&gt;&#x60;, &#x60;&lt;&#x60;, &#x60;!&#x60; and can be used in conjunction with other specifiers i.e. &#x60;&gt;1&#x60;,&#x60;&lt;&#x3D;3&#x60;,&#x60;!&#x3D;3.0.2&#x60;. Note that the specifiers treat pre-released versions as &#x60;&lt;&#x60; released versions, so 3.0.0a1 &lt; 3.0.0. Not setting the version_specifier will sync all the pre-released and released versions. | [optional]
9
-
10
- ## Code Sample
11
-
12
- ```ruby
13
- require 'PulpPythonClient'
14
-
15
- instance = PulpPythonClient::ProjectSpecifier.new(name: null,
16
- version_specifier: null)
17
- ```
18
-
19
-
@@ -1,29 +0,0 @@
1
- # PulpPythonClient::PythonPythonDistributionRead
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
- **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \&quot;foo\&quot; and \&quot;foo/bar\&quot;) |
10
- **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
11
- **content_guard** | **String** | An optional content-guard. | [optional]
12
- **name** | **String** | A unique name. Ex, &#x60;rawhide&#x60; and &#x60;stable&#x60;. |
13
- **publication** | **String** | Publication to be served | [optional]
14
-
15
- ## Code Sample
16
-
17
- ```ruby
18
- require 'PulpPythonClient'
19
-
20
- instance = PulpPythonClient::PythonPythonDistributionRead.new(pulp_href: null,
21
- pulp_created: null,
22
- base_path: null,
23
- base_url: null,
24
- content_guard: null,
25
- name: null,
26
- publication: null)
27
- ```
28
-
29
-
@@ -1,25 +0,0 @@
1
- # PulpPythonClient::PythonPythonPublicationRead
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
- **repository_version** | **String** | | [optional]
10
- **repository** | **String** | A URI of the repository to be published. | [optional]
11
- **distributions** | **Array&lt;String&gt;** | This publication is currently being hosted as configured by these distributions. | [optional] [readonly]
12
-
13
- ## Code Sample
14
-
15
- ```ruby
16
- require 'PulpPythonClient'
17
-
18
- instance = PulpPythonClient::PythonPythonPublicationRead.new(pulp_href: null,
19
- pulp_created: null,
20
- repository_version: null,
21
- repository: null,
22
- distributions: null)
23
- ```
24
-
25
-
@@ -1,49 +0,0 @@
1
- # PulpPythonClient::PythonPythonRemoteRead
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
- **name** | **String** | A unique name for this remote. |
10
- **url** | **String** | The URL of an external content source. |
11
- **ca_cert** | **String** | A string containing the PEM encoded CA certificate used to validate the server certificate presented by the remote server. All new line characters must be escaped. | [optional]
12
- **client_cert** | **String** | A string containing the PEM encoded client certificate used for authentication. All new line characters must be escaped. | [optional]
13
- **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
14
- **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
15
- **proxy_url** | **String** | The proxy URL. Format: scheme://user:password@host:port | [optional]
16
- **username** | **String** | The username to be used for authentication when syncing. | [optional]
17
- **password** | **String** | The password to be used for authentication when syncing. | [optional]
18
- **pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
19
- **download_concurrency** | **Integer** | Total number of simultaneous connections. | [optional]
20
- **policy** | **String** | The policy to use when downloading content. The possible values include: &#39;immediate&#39;, &#39;on_demand&#39;, and &#39;cache_only&#39;. &#39;immediate&#39; is the default. | [optional] [default to &#39;immediate&#39;]
21
- **includes** | [**Array&lt;ProjectSpecifier&gt;**](ProjectSpecifier.md) | AKA \&quot;Whitelist\&quot;. A list of dictionaries, expand for more information. Example: [{\&quot;name\&quot;: \&quot;django\&quot;, \&quot;version_specifier\&quot;:\&quot;~&#x3D;2.0\&quot;}] | [optional]
22
- **excludes** | [**Array&lt;ProjectSpecifier&gt;**](ProjectSpecifier.md) | \&quot;AKA \&quot;Blacklist\&quot;. A list of dictionaries, expand for more information. Example: [{\&quot;name\&quot;: \&quot;django\&quot;, \&quot;version_specifier\&quot;:\&quot;~&#x3D;2.0\&quot;}] | [optional]
23
- **prereleases** | **Boolean** | Whether or not to include pre-release packages in the sync. | [optional]
24
-
25
- ## Code Sample
26
-
27
- ```ruby
28
- require 'PulpPythonClient'
29
-
30
- instance = PulpPythonClient::PythonPythonRemoteRead.new(pulp_href: null,
31
- pulp_created: null,
32
- name: null,
33
- url: null,
34
- ca_cert: null,
35
- client_cert: null,
36
- client_key: null,
37
- tls_validation: null,
38
- proxy_url: null,
39
- username: null,
40
- password: null,
41
- pulp_last_updated: null,
42
- download_concurrency: null,
43
- policy: null,
44
- includes: null,
45
- excludes: null,
46
- prereleases: null)
47
- ```
48
-
49
-