pulp_python_client 3.2.0 → 3.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/PatchedpythonPythonDistribution.md +2 -0
- data/docs/PatchedpythonPythonRepository.md +5 -1
- data/docs/PublicationsPypiApi.md +4 -0
- data/docs/PythonPythonDistribution.md +2 -0
- data/docs/PythonPythonDistributionResponse.md +2 -0
- data/docs/PythonPythonPackageContentResponse.md +2 -0
- data/docs/PythonPythonRepository.md +5 -1
- data/docs/PythonPythonRepositoryResponse.md +5 -1
- data/docs/RepositoryVersionResponse.md +2 -0
- data/lib/pulp_python_client/api/publications_pypi_api.rb +6 -0
- data/lib/pulp_python_client/models/patchedpython_python_distribution.rb +12 -1
- data/lib/pulp_python_client/models/patchedpython_python_repository.rb +43 -5
- data/lib/pulp_python_client/models/python_python_distribution.rb +12 -1
- data/lib/pulp_python_client/models/python_python_distribution_response.rb +12 -1
- data/lib/pulp_python_client/models/python_python_package_content_response.rb +11 -1
- data/lib/pulp_python_client/models/python_python_repository.rb +43 -5
- data/lib/pulp_python_client/models/python_python_repository_response.rb +43 -5
- data/lib/pulp_python_client/models/repository_version_response.rb +10 -1
- data/lib/pulp_python_client/version.rb +1 -1
- data/spec/api/publications_pypi_api_spec.rb +2 -0
- data/spec/models/patchedpython_python_distribution_spec.rb +6 -0
- data/spec/models/patchedpython_python_repository_spec.rb +12 -0
- data/spec/models/python_python_distribution_response_spec.rb +6 -0
- data/spec/models/python_python_distribution_spec.rb +6 -0
- data/spec/models/python_python_package_content_response_spec.rb +6 -0
- data/spec/models/python_python_repository_response_spec.rb +12 -0
- data/spec/models/python_python_repository_spec.rb +12 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +26 -26
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9be9fc05d8762089f47fcf5340b00e57d4a5cee985cf57b6579ea30ea20c5b2c
|
4
|
+
data.tar.gz: b50bb850c6be362e27abe025419477dcec44c75086ef529e86499b1ab87f1900
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ef2c5370b489aa694362b9b63394692818d9dde64a743f53cea4baa7cb7b237c4a1112f47cf439d638cdd2be8dc6323cbb9d3f085add85d106ad8c7a243e92a
|
7
|
+
data.tar.gz: 6f6c65e3adaf347b811a26ea538cc9085f5ef8bca568e0c5f6850e9bda76f103dfc22e13cde56221f2ac0de0ac659d024c8cb156cf4b610bf2e064f19358f881
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: v3
|
10
|
-
- Package version: 3.
|
10
|
+
- Package version: 3.3.0
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build pulp_python_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_python_client-3.
|
27
|
+
gem install ./pulp_python_client-3.3.0.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_python_client-3.
|
30
|
+
(for development, run `gem install --dev ./pulp_python_client-3.3.0.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'pulp_python_client', '~> 3.
|
36
|
+
gem 'pulp_python_client', '~> 3.3.0'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
8
8
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
9
9
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
10
10
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
11
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
11
12
|
**publication** | **String** | Publication to be served | [optional]
|
12
13
|
|
13
14
|
## Code Sample
|
@@ -19,6 +20,7 @@ instance = PulpPythonClient::PatchedpythonPythonDistribution.new(base_path: null
|
|
19
20
|
content_guard: null,
|
20
21
|
pulp_labels: null,
|
21
22
|
name: null,
|
23
|
+
repository: null,
|
22
24
|
publication: null)
|
23
25
|
```
|
24
26
|
|
@@ -7,7 +7,9 @@ Name | Type | Description | Notes
|
|
7
7
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
8
8
|
**name** | **String** | A unique name for this repository. | [optional]
|
9
9
|
**description** | **String** | An optional description. | [optional]
|
10
|
+
**retained_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
10
11
|
**remote** | **String** | | [optional]
|
12
|
+
**autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional] [default to false]
|
11
13
|
|
12
14
|
## Code Sample
|
13
15
|
|
@@ -17,7 +19,9 @@ require 'PulpPythonClient'
|
|
17
19
|
instance = PulpPythonClient::PatchedpythonPythonRepository.new(pulp_labels: null,
|
18
20
|
name: null,
|
19
21
|
description: null,
|
20
|
-
|
22
|
+
retained_versions: null,
|
23
|
+
remote: null,
|
24
|
+
autopublish: null)
|
21
25
|
```
|
22
26
|
|
23
27
|
|
data/docs/PublicationsPypiApi.md
CHANGED
@@ -138,6 +138,8 @@ end
|
|
138
138
|
|
139
139
|
api_instance = PulpPythonClient::PublicationsPypiApi.new
|
140
140
|
opts = {
|
141
|
+
content: 'content_example', # String | Content Unit referenced by HREF
|
142
|
+
content__in: 'content__in_example', # String | Content Unit referenced by HREF
|
141
143
|
limit: 56, # Integer | Number of results to return per page.
|
142
144
|
offset: 56, # Integer | The initial index from which to return the results.
|
143
145
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
@@ -166,6 +168,8 @@ end
|
|
166
168
|
|
167
169
|
Name | Type | Description | Notes
|
168
170
|
------------- | ------------- | ------------- | -------------
|
171
|
+
**content** | **String**| Content Unit referenced by HREF | [optional]
|
172
|
+
**content__in** | **String**| Content Unit referenced by HREF | [optional]
|
169
173
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
170
174
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
171
175
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
8
8
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
9
9
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
10
10
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
11
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
11
12
|
**publication** | **String** | Publication to be served | [optional]
|
12
13
|
|
13
14
|
## Code Sample
|
@@ -19,6 +20,7 @@ instance = PulpPythonClient::PythonPythonDistribution.new(base_path: null,
|
|
19
20
|
content_guard: null,
|
20
21
|
pulp_labels: null,
|
21
22
|
name: null,
|
23
|
+
repository: null,
|
22
24
|
publication: null)
|
23
25
|
```
|
24
26
|
|
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
|
|
11
11
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
12
12
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
13
13
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
14
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
14
15
|
**publication** | **String** | Publication to be served | [optional]
|
15
16
|
|
16
17
|
## Code Sample
|
@@ -25,6 +26,7 @@ instance = PulpPythonClient::PythonPythonDistributionResponse.new(pulp_href: nul
|
|
25
26
|
content_guard: null,
|
26
27
|
pulp_labels: null,
|
27
28
|
name: null,
|
29
|
+
repository: null,
|
28
30
|
publication: null)
|
29
31
|
```
|
30
32
|
|
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
|
|
11
11
|
**packagetype** | **String** | The type of the distribution package (e.g. sdist, bdist_wheel, bdist_egg, etc) | [optional] [readonly]
|
12
12
|
**name** | **String** | The name of the python project. | [optional] [readonly]
|
13
13
|
**version** | **String** | The packages version number. | [optional] [readonly]
|
14
|
+
**sha256** | **String** | The SHA256 digest of this package. | [optional] [readonly]
|
14
15
|
**metadata_version** | **String** | Version of the file format | [optional] [readonly]
|
15
16
|
**summary** | **String** | A one-line summary of what the package does. | [optional]
|
16
17
|
**description** | **String** | A longer description of the package that can run to several paragraphs. | [optional]
|
@@ -44,6 +45,7 @@ instance = PulpPythonClient::PythonPythonPackageContentResponse.new(pulp_href: n
|
|
44
45
|
packagetype: null,
|
45
46
|
name: null,
|
46
47
|
version: null,
|
48
|
+
sha256: null,
|
47
49
|
metadata_version: null,
|
48
50
|
summary: null,
|
49
51
|
description: null,
|
@@ -7,7 +7,9 @@ Name | Type | Description | Notes
|
|
7
7
|
**pulp_labels** | [**Object**](.md) | | [optional]
|
8
8
|
**name** | **String** | A unique name for this repository. |
|
9
9
|
**description** | **String** | An optional description. | [optional]
|
10
|
+
**retained_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
10
11
|
**remote** | **String** | | [optional]
|
12
|
+
**autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional] [default to false]
|
11
13
|
|
12
14
|
## Code Sample
|
13
15
|
|
@@ -17,7 +19,9 @@ require 'PulpPythonClient'
|
|
17
19
|
instance = PulpPythonClient::PythonPythonRepository.new(pulp_labels: null,
|
18
20
|
name: null,
|
19
21
|
description: null,
|
20
|
-
|
22
|
+
retained_versions: null,
|
23
|
+
remote: null,
|
24
|
+
autopublish: null)
|
21
25
|
```
|
22
26
|
|
23
27
|
|
@@ -11,7 +11,9 @@ Name | Type | Description | Notes
|
|
11
11
|
**latest_version_href** | **String** | | [optional] [readonly]
|
12
12
|
**name** | **String** | A unique name for this repository. |
|
13
13
|
**description** | **String** | An optional description. | [optional]
|
14
|
+
**retained_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future. | [optional]
|
14
15
|
**remote** | **String** | | [optional]
|
16
|
+
**autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional] [default to false]
|
15
17
|
|
16
18
|
## Code Sample
|
17
19
|
|
@@ -25,7 +27,9 @@ instance = PulpPythonClient::PythonPythonRepositoryResponse.new(pulp_href: null,
|
|
25
27
|
latest_version_href: null,
|
26
28
|
name: null,
|
27
29
|
description: null,
|
28
|
-
|
30
|
+
retained_versions: null,
|
31
|
+
remote: null,
|
32
|
+
autopublish: null)
|
29
33
|
```
|
30
34
|
|
31
35
|
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
9
|
**number** | **Integer** | | [optional] [readonly]
|
10
|
+
**repository** | **String** | | [optional] [readonly]
|
10
11
|
**base_version** | **String** | A repository version whose content was used as the initial set of content for this repository version | [optional]
|
11
12
|
**content_summary** | [**ContentSummaryResponse**](ContentSummaryResponse.md) | Various count summaries of the content in the version and the HREF to view them. | [optional] [readonly]
|
12
13
|
|
@@ -18,6 +19,7 @@ require 'PulpPythonClient'
|
|
18
19
|
instance = PulpPythonClient::RepositoryVersionResponse.new(pulp_href: null,
|
19
20
|
pulp_created: null,
|
20
21
|
number: null,
|
22
|
+
repository: null,
|
21
23
|
base_version: null,
|
22
24
|
content_summary: null)
|
23
25
|
```
|
@@ -146,6 +146,8 @@ module PulpPythonClient
|
|
146
146
|
# List python publications
|
147
147
|
# Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
|
148
148
|
# @param [Hash] opts the optional parameters
|
149
|
+
# @option opts [String] :content Content Unit referenced by HREF
|
150
|
+
# @option opts [String] :content__in Content Unit referenced by HREF
|
149
151
|
# @option opts [Integer] :limit Number of results to return per page.
|
150
152
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
151
153
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
@@ -167,6 +169,8 @@ module PulpPythonClient
|
|
167
169
|
# List python publications
|
168
170
|
# Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
|
169
171
|
# @param [Hash] opts the optional parameters
|
172
|
+
# @option opts [String] :content Content Unit referenced by HREF
|
173
|
+
# @option opts [String] :content__in Content Unit referenced by HREF
|
170
174
|
# @option opts [Integer] :limit Number of results to return per page.
|
171
175
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
172
176
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
@@ -189,6 +193,8 @@ module PulpPythonClient
|
|
189
193
|
|
190
194
|
# query parameters
|
191
195
|
query_params = opts[:query_params] || {}
|
196
|
+
query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
|
197
|
+
query_params[:'content__in'] = opts[:'content__in'] if !opts[:'content__in'].nil?
|
192
198
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
193
199
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
194
200
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
@@ -26,6 +26,9 @@ module PulpPythonClient
|
|
26
26
|
# A unique name. Ex, `rawhide` and `stable`.
|
27
27
|
attr_accessor :name
|
28
28
|
|
29
|
+
# The latest RepositoryVersion for this Repository will be served.
|
30
|
+
attr_accessor :repository
|
31
|
+
|
29
32
|
# Publication to be served
|
30
33
|
attr_accessor :publication
|
31
34
|
|
@@ -36,6 +39,7 @@ module PulpPythonClient
|
|
36
39
|
:'content_guard' => :'content_guard',
|
37
40
|
:'pulp_labels' => :'pulp_labels',
|
38
41
|
:'name' => :'name',
|
42
|
+
:'repository' => :'repository',
|
39
43
|
:'publication' => :'publication'
|
40
44
|
}
|
41
45
|
end
|
@@ -47,6 +51,7 @@ module PulpPythonClient
|
|
47
51
|
:'content_guard' => :'String',
|
48
52
|
:'pulp_labels' => :'Object',
|
49
53
|
:'name' => :'String',
|
54
|
+
:'repository' => :'String',
|
50
55
|
:'publication' => :'String'
|
51
56
|
}
|
52
57
|
end
|
@@ -55,6 +60,7 @@ module PulpPythonClient
|
|
55
60
|
def self.openapi_nullable
|
56
61
|
Set.new([
|
57
62
|
:'content_guard',
|
63
|
+
:'repository',
|
58
64
|
:'publication'
|
59
65
|
])
|
60
66
|
end
|
@@ -90,6 +96,10 @@ module PulpPythonClient
|
|
90
96
|
self.name = attributes[:'name']
|
91
97
|
end
|
92
98
|
|
99
|
+
if attributes.key?(:'repository')
|
100
|
+
self.repository = attributes[:'repository']
|
101
|
+
end
|
102
|
+
|
93
103
|
if attributes.key?(:'publication')
|
94
104
|
self.publication = attributes[:'publication']
|
95
105
|
end
|
@@ -117,6 +127,7 @@ module PulpPythonClient
|
|
117
127
|
content_guard == o.content_guard &&
|
118
128
|
pulp_labels == o.pulp_labels &&
|
119
129
|
name == o.name &&
|
130
|
+
repository == o.repository &&
|
120
131
|
publication == o.publication
|
121
132
|
end
|
122
133
|
|
@@ -129,7 +140,7 @@ module PulpPythonClient
|
|
129
140
|
# Calculates hash code according to all attributes.
|
130
141
|
# @return [Integer] Hash code
|
131
142
|
def hash
|
132
|
-
[base_path, content_guard, pulp_labels, name, publication].hash
|
143
|
+
[base_path, content_guard, pulp_labels, name, repository, publication].hash
|
133
144
|
end
|
134
145
|
|
135
146
|
# Builds the object from hash
|
@@ -23,15 +23,23 @@ module PulpPythonClient
|
|
23
23
|
# An optional description.
|
24
24
|
attr_accessor :description
|
25
25
|
|
26
|
+
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
27
|
+
attr_accessor :retained_versions
|
28
|
+
|
26
29
|
attr_accessor :remote
|
27
30
|
|
31
|
+
# Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository.
|
32
|
+
attr_accessor :autopublish
|
33
|
+
|
28
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
29
35
|
def self.attribute_map
|
30
36
|
{
|
31
37
|
:'pulp_labels' => :'pulp_labels',
|
32
38
|
:'name' => :'name',
|
33
39
|
:'description' => :'description',
|
34
|
-
:'
|
40
|
+
:'retained_versions' => :'retained_versions',
|
41
|
+
:'remote' => :'remote',
|
42
|
+
:'autopublish' => :'autopublish'
|
35
43
|
}
|
36
44
|
end
|
37
45
|
|
@@ -41,7 +49,9 @@ module PulpPythonClient
|
|
41
49
|
:'pulp_labels' => :'Object',
|
42
50
|
:'name' => :'String',
|
43
51
|
:'description' => :'String',
|
44
|
-
:'
|
52
|
+
:'retained_versions' => :'Integer',
|
53
|
+
:'remote' => :'String',
|
54
|
+
:'autopublish' => :'Boolean'
|
45
55
|
}
|
46
56
|
end
|
47
57
|
|
@@ -49,7 +59,8 @@ module PulpPythonClient
|
|
49
59
|
def self.openapi_nullable
|
50
60
|
Set.new([
|
51
61
|
:'description',
|
52
|
-
:'
|
62
|
+
:'retained_versions',
|
63
|
+
:'remote',
|
53
64
|
])
|
54
65
|
end
|
55
66
|
|
@@ -80,24 +91,49 @@ module PulpPythonClient
|
|
80
91
|
self.description = attributes[:'description']
|
81
92
|
end
|
82
93
|
|
94
|
+
if attributes.key?(:'retained_versions')
|
95
|
+
self.retained_versions = attributes[:'retained_versions']
|
96
|
+
end
|
97
|
+
|
83
98
|
if attributes.key?(:'remote')
|
84
99
|
self.remote = attributes[:'remote']
|
85
100
|
end
|
101
|
+
|
102
|
+
if attributes.key?(:'autopublish')
|
103
|
+
self.autopublish = attributes[:'autopublish']
|
104
|
+
else
|
105
|
+
self.autopublish = false
|
106
|
+
end
|
86
107
|
end
|
87
108
|
|
88
109
|
# Show invalid properties with the reasons. Usually used together with valid?
|
89
110
|
# @return Array for valid properties with the reasons
|
90
111
|
def list_invalid_properties
|
91
112
|
invalid_properties = Array.new
|
113
|
+
if !@retained_versions.nil? && @retained_versions < 1
|
114
|
+
invalid_properties.push('invalid value for "retained_versions", must be greater than or equal to 1.')
|
115
|
+
end
|
116
|
+
|
92
117
|
invalid_properties
|
93
118
|
end
|
94
119
|
|
95
120
|
# Check to see if the all the properties in the model are valid
|
96
121
|
# @return true if the model is valid
|
97
122
|
def valid?
|
123
|
+
return false if !@retained_versions.nil? && @retained_versions < 1
|
98
124
|
true
|
99
125
|
end
|
100
126
|
|
127
|
+
# Custom attribute writer method with validation
|
128
|
+
# @param [Object] retained_versions Value to be assigned
|
129
|
+
def retained_versions=(retained_versions)
|
130
|
+
if !retained_versions.nil? && retained_versions < 1
|
131
|
+
fail ArgumentError, 'invalid value for "retained_versions", must be greater than or equal to 1.'
|
132
|
+
end
|
133
|
+
|
134
|
+
@retained_versions = retained_versions
|
135
|
+
end
|
136
|
+
|
101
137
|
# Checks equality by comparing each attribute.
|
102
138
|
# @param [Object] Object to be compared
|
103
139
|
def ==(o)
|
@@ -106,7 +142,9 @@ module PulpPythonClient
|
|
106
142
|
pulp_labels == o.pulp_labels &&
|
107
143
|
name == o.name &&
|
108
144
|
description == o.description &&
|
109
|
-
|
145
|
+
retained_versions == o.retained_versions &&
|
146
|
+
remote == o.remote &&
|
147
|
+
autopublish == o.autopublish
|
110
148
|
end
|
111
149
|
|
112
150
|
# @see the `==` method
|
@@ -118,7 +156,7 @@ module PulpPythonClient
|
|
118
156
|
# Calculates hash code according to all attributes.
|
119
157
|
# @return [Integer] Hash code
|
120
158
|
def hash
|
121
|
-
[pulp_labels, name, description, remote].hash
|
159
|
+
[pulp_labels, name, description, retained_versions, remote, autopublish].hash
|
122
160
|
end
|
123
161
|
|
124
162
|
# Builds the object from hash
|
@@ -26,6 +26,9 @@ module PulpPythonClient
|
|
26
26
|
# A unique name. Ex, `rawhide` and `stable`.
|
27
27
|
attr_accessor :name
|
28
28
|
|
29
|
+
# The latest RepositoryVersion for this Repository will be served.
|
30
|
+
attr_accessor :repository
|
31
|
+
|
29
32
|
# Publication to be served
|
30
33
|
attr_accessor :publication
|
31
34
|
|
@@ -36,6 +39,7 @@ module PulpPythonClient
|
|
36
39
|
:'content_guard' => :'content_guard',
|
37
40
|
:'pulp_labels' => :'pulp_labels',
|
38
41
|
:'name' => :'name',
|
42
|
+
:'repository' => :'repository',
|
39
43
|
:'publication' => :'publication'
|
40
44
|
}
|
41
45
|
end
|
@@ -47,6 +51,7 @@ module PulpPythonClient
|
|
47
51
|
:'content_guard' => :'String',
|
48
52
|
:'pulp_labels' => :'Object',
|
49
53
|
:'name' => :'String',
|
54
|
+
:'repository' => :'String',
|
50
55
|
:'publication' => :'String'
|
51
56
|
}
|
52
57
|
end
|
@@ -55,6 +60,7 @@ module PulpPythonClient
|
|
55
60
|
def self.openapi_nullable
|
56
61
|
Set.new([
|
57
62
|
:'content_guard',
|
63
|
+
:'repository',
|
58
64
|
:'publication'
|
59
65
|
])
|
60
66
|
end
|
@@ -90,6 +96,10 @@ module PulpPythonClient
|
|
90
96
|
self.name = attributes[:'name']
|
91
97
|
end
|
92
98
|
|
99
|
+
if attributes.key?(:'repository')
|
100
|
+
self.repository = attributes[:'repository']
|
101
|
+
end
|
102
|
+
|
93
103
|
if attributes.key?(:'publication')
|
94
104
|
self.publication = attributes[:'publication']
|
95
105
|
end
|
@@ -127,6 +137,7 @@ module PulpPythonClient
|
|
127
137
|
content_guard == o.content_guard &&
|
128
138
|
pulp_labels == o.pulp_labels &&
|
129
139
|
name == o.name &&
|
140
|
+
repository == o.repository &&
|
130
141
|
publication == o.publication
|
131
142
|
end
|
132
143
|
|
@@ -139,7 +150,7 @@ module PulpPythonClient
|
|
139
150
|
# Calculates hash code according to all attributes.
|
140
151
|
# @return [Integer] Hash code
|
141
152
|
def hash
|
142
|
-
[base_path, content_guard, pulp_labels, name, publication].hash
|
153
|
+
[base_path, content_guard, pulp_labels, name, repository, publication].hash
|
143
154
|
end
|
144
155
|
|
145
156
|
# Builds the object from hash
|
@@ -34,6 +34,9 @@ module PulpPythonClient
|
|
34
34
|
# A unique name. Ex, `rawhide` and `stable`.
|
35
35
|
attr_accessor :name
|
36
36
|
|
37
|
+
# The latest RepositoryVersion for this Repository will be served.
|
38
|
+
attr_accessor :repository
|
39
|
+
|
37
40
|
# Publication to be served
|
38
41
|
attr_accessor :publication
|
39
42
|
|
@@ -47,6 +50,7 @@ module PulpPythonClient
|
|
47
50
|
:'content_guard' => :'content_guard',
|
48
51
|
:'pulp_labels' => :'pulp_labels',
|
49
52
|
:'name' => :'name',
|
53
|
+
:'repository' => :'repository',
|
50
54
|
:'publication' => :'publication'
|
51
55
|
}
|
52
56
|
end
|
@@ -61,6 +65,7 @@ module PulpPythonClient
|
|
61
65
|
:'content_guard' => :'String',
|
62
66
|
:'pulp_labels' => :'Object',
|
63
67
|
:'name' => :'String',
|
68
|
+
:'repository' => :'String',
|
64
69
|
:'publication' => :'String'
|
65
70
|
}
|
66
71
|
end
|
@@ -69,6 +74,7 @@ module PulpPythonClient
|
|
69
74
|
def self.openapi_nullable
|
70
75
|
Set.new([
|
71
76
|
:'content_guard',
|
77
|
+
:'repository',
|
72
78
|
:'publication'
|
73
79
|
])
|
74
80
|
end
|
@@ -116,6 +122,10 @@ module PulpPythonClient
|
|
116
122
|
self.name = attributes[:'name']
|
117
123
|
end
|
118
124
|
|
125
|
+
if attributes.key?(:'repository')
|
126
|
+
self.repository = attributes[:'repository']
|
127
|
+
end
|
128
|
+
|
119
129
|
if attributes.key?(:'publication')
|
120
130
|
self.publication = attributes[:'publication']
|
121
131
|
end
|
@@ -156,6 +166,7 @@ module PulpPythonClient
|
|
156
166
|
content_guard == o.content_guard &&
|
157
167
|
pulp_labels == o.pulp_labels &&
|
158
168
|
name == o.name &&
|
169
|
+
repository == o.repository &&
|
159
170
|
publication == o.publication
|
160
171
|
end
|
161
172
|
|
@@ -168,7 +179,7 @@ module PulpPythonClient
|
|
168
179
|
# Calculates hash code according to all attributes.
|
169
180
|
# @return [Integer] Hash code
|
170
181
|
def hash
|
171
|
-
[pulp_href, pulp_created, base_path, base_url, content_guard, pulp_labels, name, publication].hash
|
182
|
+
[pulp_href, pulp_created, base_path, base_url, content_guard, pulp_labels, name, repository, publication].hash
|
172
183
|
end
|
173
184
|
|
174
185
|
# Builds the object from hash
|
@@ -35,6 +35,9 @@ module PulpPythonClient
|
|
35
35
|
# The packages version number.
|
36
36
|
attr_accessor :version
|
37
37
|
|
38
|
+
# The SHA256 digest of this package.
|
39
|
+
attr_accessor :sha256
|
40
|
+
|
38
41
|
# Version of the file format
|
39
42
|
attr_accessor :metadata_version
|
40
43
|
|
@@ -105,6 +108,7 @@ module PulpPythonClient
|
|
105
108
|
:'packagetype' => :'packagetype',
|
106
109
|
:'name' => :'name',
|
107
110
|
:'version' => :'version',
|
111
|
+
:'sha256' => :'sha256',
|
108
112
|
:'metadata_version' => :'metadata_version',
|
109
113
|
:'summary' => :'summary',
|
110
114
|
:'description' => :'description',
|
@@ -138,6 +142,7 @@ module PulpPythonClient
|
|
138
142
|
:'packagetype' => :'String',
|
139
143
|
:'name' => :'String',
|
140
144
|
:'version' => :'String',
|
145
|
+
:'sha256' => :'String',
|
141
146
|
:'metadata_version' => :'String',
|
142
147
|
:'summary' => :'String',
|
143
148
|
:'description' => :'String',
|
@@ -210,6 +215,10 @@ module PulpPythonClient
|
|
210
215
|
self.version = attributes[:'version']
|
211
216
|
end
|
212
217
|
|
218
|
+
if attributes.key?(:'sha256')
|
219
|
+
self.sha256 = attributes[:'sha256']
|
220
|
+
end
|
221
|
+
|
213
222
|
if attributes.key?(:'metadata_version')
|
214
223
|
self.metadata_version = attributes[:'metadata_version']
|
215
224
|
end
|
@@ -316,6 +325,7 @@ module PulpPythonClient
|
|
316
325
|
packagetype == o.packagetype &&
|
317
326
|
name == o.name &&
|
318
327
|
version == o.version &&
|
328
|
+
sha256 == o.sha256 &&
|
319
329
|
metadata_version == o.metadata_version &&
|
320
330
|
summary == o.summary &&
|
321
331
|
description == o.description &&
|
@@ -347,7 +357,7 @@ module PulpPythonClient
|
|
347
357
|
# Calculates hash code according to all attributes.
|
348
358
|
# @return [Integer] Hash code
|
349
359
|
def hash
|
350
|
-
[pulp_href, pulp_created, artifact, filename, packagetype, name, version, metadata_version, summary, description, keywords, home_page, download_url, author, author_email, maintainer, maintainer_email, license, requires_python, project_url, platform, supported_platform, requires_dist, provides_dist, obsoletes_dist, requires_external, classifiers].hash
|
360
|
+
[pulp_href, pulp_created, artifact, filename, packagetype, name, version, sha256, metadata_version, summary, description, keywords, home_page, download_url, author, author_email, maintainer, maintainer_email, license, requires_python, project_url, platform, supported_platform, requires_dist, provides_dist, obsoletes_dist, requires_external, classifiers].hash
|
351
361
|
end
|
352
362
|
|
353
363
|
# Builds the object from hash
|
@@ -23,15 +23,23 @@ module PulpPythonClient
|
|
23
23
|
# An optional description.
|
24
24
|
attr_accessor :description
|
25
25
|
|
26
|
+
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
27
|
+
attr_accessor :retained_versions
|
28
|
+
|
26
29
|
attr_accessor :remote
|
27
30
|
|
31
|
+
# Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository.
|
32
|
+
attr_accessor :autopublish
|
33
|
+
|
28
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
29
35
|
def self.attribute_map
|
30
36
|
{
|
31
37
|
:'pulp_labels' => :'pulp_labels',
|
32
38
|
:'name' => :'name',
|
33
39
|
:'description' => :'description',
|
34
|
-
:'
|
40
|
+
:'retained_versions' => :'retained_versions',
|
41
|
+
:'remote' => :'remote',
|
42
|
+
:'autopublish' => :'autopublish'
|
35
43
|
}
|
36
44
|
end
|
37
45
|
|
@@ -41,7 +49,9 @@ module PulpPythonClient
|
|
41
49
|
:'pulp_labels' => :'Object',
|
42
50
|
:'name' => :'String',
|
43
51
|
:'description' => :'String',
|
44
|
-
:'
|
52
|
+
:'retained_versions' => :'Integer',
|
53
|
+
:'remote' => :'String',
|
54
|
+
:'autopublish' => :'Boolean'
|
45
55
|
}
|
46
56
|
end
|
47
57
|
|
@@ -49,7 +59,8 @@ module PulpPythonClient
|
|
49
59
|
def self.openapi_nullable
|
50
60
|
Set.new([
|
51
61
|
:'description',
|
52
|
-
:'
|
62
|
+
:'retained_versions',
|
63
|
+
:'remote',
|
53
64
|
])
|
54
65
|
end
|
55
66
|
|
@@ -80,9 +91,19 @@ module PulpPythonClient
|
|
80
91
|
self.description = attributes[:'description']
|
81
92
|
end
|
82
93
|
|
94
|
+
if attributes.key?(:'retained_versions')
|
95
|
+
self.retained_versions = attributes[:'retained_versions']
|
96
|
+
end
|
97
|
+
|
83
98
|
if attributes.key?(:'remote')
|
84
99
|
self.remote = attributes[:'remote']
|
85
100
|
end
|
101
|
+
|
102
|
+
if attributes.key?(:'autopublish')
|
103
|
+
self.autopublish = attributes[:'autopublish']
|
104
|
+
else
|
105
|
+
self.autopublish = false
|
106
|
+
end
|
86
107
|
end
|
87
108
|
|
88
109
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -93,6 +114,10 @@ module PulpPythonClient
|
|
93
114
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
94
115
|
end
|
95
116
|
|
117
|
+
if !@retained_versions.nil? && @retained_versions < 1
|
118
|
+
invalid_properties.push('invalid value for "retained_versions", must be greater than or equal to 1.')
|
119
|
+
end
|
120
|
+
|
96
121
|
invalid_properties
|
97
122
|
end
|
98
123
|
|
@@ -100,9 +125,20 @@ module PulpPythonClient
|
|
100
125
|
# @return true if the model is valid
|
101
126
|
def valid?
|
102
127
|
return false if @name.nil?
|
128
|
+
return false if !@retained_versions.nil? && @retained_versions < 1
|
103
129
|
true
|
104
130
|
end
|
105
131
|
|
132
|
+
# Custom attribute writer method with validation
|
133
|
+
# @param [Object] retained_versions Value to be assigned
|
134
|
+
def retained_versions=(retained_versions)
|
135
|
+
if !retained_versions.nil? && retained_versions < 1
|
136
|
+
fail ArgumentError, 'invalid value for "retained_versions", must be greater than or equal to 1.'
|
137
|
+
end
|
138
|
+
|
139
|
+
@retained_versions = retained_versions
|
140
|
+
end
|
141
|
+
|
106
142
|
# Checks equality by comparing each attribute.
|
107
143
|
# @param [Object] Object to be compared
|
108
144
|
def ==(o)
|
@@ -111,7 +147,9 @@ module PulpPythonClient
|
|
111
147
|
pulp_labels == o.pulp_labels &&
|
112
148
|
name == o.name &&
|
113
149
|
description == o.description &&
|
114
|
-
|
150
|
+
retained_versions == o.retained_versions &&
|
151
|
+
remote == o.remote &&
|
152
|
+
autopublish == o.autopublish
|
115
153
|
end
|
116
154
|
|
117
155
|
# @see the `==` method
|
@@ -123,7 +161,7 @@ module PulpPythonClient
|
|
123
161
|
# Calculates hash code according to all attributes.
|
124
162
|
# @return [Integer] Hash code
|
125
163
|
def hash
|
126
|
-
[pulp_labels, name, description, remote].hash
|
164
|
+
[pulp_labels, name, description, retained_versions, remote, autopublish].hash
|
127
165
|
end
|
128
166
|
|
129
167
|
# Builds the object from hash
|
@@ -32,8 +32,14 @@ module PulpPythonClient
|
|
32
32
|
# An optional description.
|
33
33
|
attr_accessor :description
|
34
34
|
|
35
|
+
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
36
|
+
attr_accessor :retained_versions
|
37
|
+
|
35
38
|
attr_accessor :remote
|
36
39
|
|
40
|
+
# Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository.
|
41
|
+
attr_accessor :autopublish
|
42
|
+
|
37
43
|
# Attribute mapping from ruby-style variable name to JSON key.
|
38
44
|
def self.attribute_map
|
39
45
|
{
|
@@ -44,7 +50,9 @@ module PulpPythonClient
|
|
44
50
|
:'latest_version_href' => :'latest_version_href',
|
45
51
|
:'name' => :'name',
|
46
52
|
:'description' => :'description',
|
47
|
-
:'
|
53
|
+
:'retained_versions' => :'retained_versions',
|
54
|
+
:'remote' => :'remote',
|
55
|
+
:'autopublish' => :'autopublish'
|
48
56
|
}
|
49
57
|
end
|
50
58
|
|
@@ -58,7 +66,9 @@ module PulpPythonClient
|
|
58
66
|
:'latest_version_href' => :'String',
|
59
67
|
:'name' => :'String',
|
60
68
|
:'description' => :'String',
|
61
|
-
:'
|
69
|
+
:'retained_versions' => :'Integer',
|
70
|
+
:'remote' => :'String',
|
71
|
+
:'autopublish' => :'Boolean'
|
62
72
|
}
|
63
73
|
end
|
64
74
|
|
@@ -66,7 +76,8 @@ module PulpPythonClient
|
|
66
76
|
def self.openapi_nullable
|
67
77
|
Set.new([
|
68
78
|
:'description',
|
69
|
-
:'
|
79
|
+
:'retained_versions',
|
80
|
+
:'remote',
|
70
81
|
])
|
71
82
|
end
|
72
83
|
|
@@ -113,9 +124,19 @@ module PulpPythonClient
|
|
113
124
|
self.description = attributes[:'description']
|
114
125
|
end
|
115
126
|
|
127
|
+
if attributes.key?(:'retained_versions')
|
128
|
+
self.retained_versions = attributes[:'retained_versions']
|
129
|
+
end
|
130
|
+
|
116
131
|
if attributes.key?(:'remote')
|
117
132
|
self.remote = attributes[:'remote']
|
118
133
|
end
|
134
|
+
|
135
|
+
if attributes.key?(:'autopublish')
|
136
|
+
self.autopublish = attributes[:'autopublish']
|
137
|
+
else
|
138
|
+
self.autopublish = false
|
139
|
+
end
|
119
140
|
end
|
120
141
|
|
121
142
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -126,6 +147,10 @@ module PulpPythonClient
|
|
126
147
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
127
148
|
end
|
128
149
|
|
150
|
+
if !@retained_versions.nil? && @retained_versions < 1
|
151
|
+
invalid_properties.push('invalid value for "retained_versions", must be greater than or equal to 1.')
|
152
|
+
end
|
153
|
+
|
129
154
|
invalid_properties
|
130
155
|
end
|
131
156
|
|
@@ -133,9 +158,20 @@ module PulpPythonClient
|
|
133
158
|
# @return true if the model is valid
|
134
159
|
def valid?
|
135
160
|
return false if @name.nil?
|
161
|
+
return false if !@retained_versions.nil? && @retained_versions < 1
|
136
162
|
true
|
137
163
|
end
|
138
164
|
|
165
|
+
# Custom attribute writer method with validation
|
166
|
+
# @param [Object] retained_versions Value to be assigned
|
167
|
+
def retained_versions=(retained_versions)
|
168
|
+
if !retained_versions.nil? && retained_versions < 1
|
169
|
+
fail ArgumentError, 'invalid value for "retained_versions", must be greater than or equal to 1.'
|
170
|
+
end
|
171
|
+
|
172
|
+
@retained_versions = retained_versions
|
173
|
+
end
|
174
|
+
|
139
175
|
# Checks equality by comparing each attribute.
|
140
176
|
# @param [Object] Object to be compared
|
141
177
|
def ==(o)
|
@@ -148,7 +184,9 @@ module PulpPythonClient
|
|
148
184
|
latest_version_href == o.latest_version_href &&
|
149
185
|
name == o.name &&
|
150
186
|
description == o.description &&
|
151
|
-
|
187
|
+
retained_versions == o.retained_versions &&
|
188
|
+
remote == o.remote &&
|
189
|
+
autopublish == o.autopublish
|
152
190
|
end
|
153
191
|
|
154
192
|
# @see the `==` method
|
@@ -160,7 +198,7 @@ module PulpPythonClient
|
|
160
198
|
# Calculates hash code according to all attributes.
|
161
199
|
# @return [Integer] Hash code
|
162
200
|
def hash
|
163
|
-
[pulp_href, pulp_created, versions_href, pulp_labels, latest_version_href, name, description, remote].hash
|
201
|
+
[pulp_href, pulp_created, versions_href, pulp_labels, latest_version_href, name, description, retained_versions, remote, autopublish].hash
|
164
202
|
end
|
165
203
|
|
166
204
|
# Builds the object from hash
|
@@ -22,6 +22,8 @@ module PulpPythonClient
|
|
22
22
|
|
23
23
|
attr_accessor :number
|
24
24
|
|
25
|
+
attr_accessor :repository
|
26
|
+
|
25
27
|
# A repository version whose content was used as the initial set of content for this repository version
|
26
28
|
attr_accessor :base_version
|
27
29
|
|
@@ -34,6 +36,7 @@ module PulpPythonClient
|
|
34
36
|
:'pulp_href' => :'pulp_href',
|
35
37
|
:'pulp_created' => :'pulp_created',
|
36
38
|
:'number' => :'number',
|
39
|
+
:'repository' => :'repository',
|
37
40
|
:'base_version' => :'base_version',
|
38
41
|
:'content_summary' => :'content_summary'
|
39
42
|
}
|
@@ -45,6 +48,7 @@ module PulpPythonClient
|
|
45
48
|
:'pulp_href' => :'String',
|
46
49
|
:'pulp_created' => :'DateTime',
|
47
50
|
:'number' => :'Integer',
|
51
|
+
:'repository' => :'String',
|
48
52
|
:'base_version' => :'String',
|
49
53
|
:'content_summary' => :'ContentSummaryResponse'
|
50
54
|
}
|
@@ -83,6 +87,10 @@ module PulpPythonClient
|
|
83
87
|
self.number = attributes[:'number']
|
84
88
|
end
|
85
89
|
|
90
|
+
if attributes.key?(:'repository')
|
91
|
+
self.repository = attributes[:'repository']
|
92
|
+
end
|
93
|
+
|
86
94
|
if attributes.key?(:'base_version')
|
87
95
|
self.base_version = attributes[:'base_version']
|
88
96
|
end
|
@@ -113,6 +121,7 @@ module PulpPythonClient
|
|
113
121
|
pulp_href == o.pulp_href &&
|
114
122
|
pulp_created == o.pulp_created &&
|
115
123
|
number == o.number &&
|
124
|
+
repository == o.repository &&
|
116
125
|
base_version == o.base_version &&
|
117
126
|
content_summary == o.content_summary
|
118
127
|
end
|
@@ -126,7 +135,7 @@ module PulpPythonClient
|
|
126
135
|
# Calculates hash code according to all attributes.
|
127
136
|
# @return [Integer] Hash code
|
128
137
|
def hash
|
129
|
-
[pulp_href, pulp_created, number, base_version, content_summary].hash
|
138
|
+
[pulp_href, pulp_created, number, repository, base_version, content_summary].hash
|
130
139
|
end
|
131
140
|
|
132
141
|
# Builds the object from hash
|
@@ -60,6 +60,8 @@ describe 'PublicationsPypiApi' do
|
|
60
60
|
# List python publications
|
61
61
|
# Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
|
+
# @option opts [String] :content Content Unit referenced by HREF
|
64
|
+
# @option opts [String] :content__in Content Unit referenced by HREF
|
63
65
|
# @option opts [Integer] :limit Number of results to return per page.
|
64
66
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
65
67
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
@@ -56,6 +56,12 @@ describe 'PatchedpythonPythonDistribution' do
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
+
describe 'test attribute "repository"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
59
65
|
describe 'test attribute "publication"' do
|
60
66
|
it 'should work' do
|
61
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -50,10 +50,22 @@ describe 'PatchedpythonPythonRepository' do
|
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
+
describe 'test attribute "retained_versions"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
53
59
|
describe 'test attribute "remote"' do
|
54
60
|
it 'should work' do
|
55
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
62
|
end
|
57
63
|
end
|
58
64
|
|
65
|
+
describe 'test attribute "autopublish"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
59
71
|
end
|
@@ -74,6 +74,12 @@ describe 'PythonPythonDistributionResponse' do
|
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
+
describe 'test attribute "repository"' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
77
83
|
describe 'test attribute "publication"' do
|
78
84
|
it 'should work' do
|
79
85
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -56,6 +56,12 @@ describe 'PythonPythonDistribution' do
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
+
describe 'test attribute "repository"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
59
65
|
describe 'test attribute "publication"' do
|
60
66
|
it 'should work' do
|
61
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -74,6 +74,12 @@ describe 'PythonPythonPackageContentResponse' do
|
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
+
describe 'test attribute "sha256"' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
77
83
|
describe 'test attribute "metadata_version"' do
|
78
84
|
it 'should work' do
|
79
85
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -74,10 +74,22 @@ describe 'PythonPythonRepositoryResponse' do
|
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
+
describe 'test attribute "retained_versions"' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
77
83
|
describe 'test attribute "remote"' do
|
78
84
|
it 'should work' do
|
79
85
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
86
|
end
|
81
87
|
end
|
82
88
|
|
89
|
+
describe 'test attribute "autopublish"' do
|
90
|
+
it 'should work' do
|
91
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
83
95
|
end
|
@@ -50,10 +50,22 @@ describe 'PythonPythonRepository' do
|
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
+
describe 'test attribute "retained_versions"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
53
59
|
describe 'test attribute "remote"' do
|
54
60
|
it 'should work' do
|
55
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
62
|
end
|
57
63
|
end
|
58
64
|
|
65
|
+
describe 'test attribute "autopublish"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
59
71
|
end
|
@@ -50,6 +50,12 @@ describe 'RepositoryVersionResponse' do
|
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
+
describe 'test attribute "repository"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
53
59
|
describe 'test attribute "base_version"' do
|
54
60
|
it 'should work' do
|
55
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
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.
|
4
|
+
version: 3.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-05-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -211,47 +211,47 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
211
211
|
- !ruby/object:Gem::Version
|
212
212
|
version: '0'
|
213
213
|
requirements: []
|
214
|
-
rubygems_version: 3.0.3
|
214
|
+
rubygems_version: 3.0.3.1
|
215
215
|
signing_key:
|
216
216
|
specification_version: 4
|
217
217
|
summary: Pulp 3 API Ruby Gem
|
218
218
|
test_files:
|
219
|
-
- spec/api/content_packages_api_spec.rb
|
220
219
|
- spec/api/repositories_python_api_spec.rb
|
221
|
-
- spec/api/publications_pypi_api_spec.rb
|
222
220
|
- spec/api/distributions_pypi_api_spec.rb
|
223
|
-
- spec/api/
|
221
|
+
- spec/api/content_packages_api_spec.rb
|
222
|
+
- spec/api/publications_pypi_api_spec.rb
|
224
223
|
- spec/api/repositories_python_versions_api_spec.rb
|
224
|
+
- spec/api/remotes_python_api_spec.rb
|
225
225
|
- spec/api_client_spec.rb
|
226
226
|
- spec/configuration_spec.rb
|
227
|
-
- spec/models/
|
227
|
+
- spec/models/python_python_distribution_spec.rb
|
228
|
+
- spec/models/package_types_enum_spec.rb
|
229
|
+
- spec/models/python_python_package_content_response_spec.rb
|
228
230
|
- spec/models/paginatedpython_python_package_content_response_list_spec.rb
|
231
|
+
- spec/models/paginatedpython_python_remote_response_list_spec.rb
|
229
232
|
- spec/models/repository_version_response_spec.rb
|
233
|
+
- spec/models/python_python_repository_spec.rb
|
234
|
+
- spec/models/exclude_platforms_enum_spec.rb
|
235
|
+
- spec/models/policy_enum_spec.rb
|
236
|
+
- spec/models/python_python_package_content_spec.rb
|
237
|
+
- spec/models/python_python_distribution_response_spec.rb
|
238
|
+
- spec/models/patchedpython_python_remote_spec.rb
|
230
239
|
- spec/models/python_python_repository_response_spec.rb
|
231
|
-
- spec/models/python_bander_remote_spec.rb
|
232
|
-
- spec/models/paginatedpython_python_distribution_response_list_spec.rb
|
233
240
|
- spec/models/paginatedpython_python_publication_response_list_spec.rb
|
234
|
-
- spec/models/python_python_distribution_response_spec.rb
|
235
241
|
- spec/models/python_python_publication_response_spec.rb
|
236
|
-
- spec/models/
|
237
|
-
- spec/models/
|
242
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
243
|
+
- spec/models/repository_add_remove_content_spec.rb
|
244
|
+
- spec/models/python_python_remote_spec.rb
|
238
245
|
- spec/models/patchedpython_python_distribution_spec.rb
|
239
246
|
- spec/models/content_summary_response_spec.rb
|
240
|
-
- spec/models/
|
241
|
-
- spec/models/
|
242
|
-
- spec/models/python_python_repository_spec.rb
|
243
|
-
- spec/models/content_summary_spec.rb
|
244
|
-
- spec/models/paginatedpython_python_remote_response_list_spec.rb
|
245
|
-
- spec/models/python_python_distribution_spec.rb
|
246
|
-
- spec/models/python_python_package_content_response_spec.rb
|
247
|
+
- spec/models/python_bander_remote_spec.rb
|
248
|
+
- spec/models/paginatedpython_python_distribution_response_list_spec.rb
|
247
249
|
- spec/models/repository_version_spec.rb
|
248
|
-
- spec/models/
|
249
|
-
- spec/models/
|
250
|
-
- spec/models/
|
251
|
-
- spec/models/python_python_remote_spec.rb
|
252
|
-
- spec/models/package_types_enum_spec.rb
|
250
|
+
- spec/models/repository_sync_url_spec.rb
|
251
|
+
- spec/models/content_summary_spec.rb
|
252
|
+
- spec/models/python_python_remote_response_spec.rb
|
253
253
|
- spec/models/paginatedpython_python_repository_response_list_spec.rb
|
254
|
-
- spec/models/
|
254
|
+
- spec/models/patchedpython_python_repository_spec.rb
|
255
255
|
- spec/models/async_operation_response_spec.rb
|
256
|
-
- spec/models/
|
256
|
+
- spec/models/python_python_publication_spec.rb
|
257
257
|
- spec/spec_helper.rb
|