pulp_maven_client 0.22.1 → 0.23.0
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.
- checksums.yaml +4 -4
- data/README.md +4 -11
- data/docs/MavenMavenDistribution.md +1 -3
- data/docs/MavenMavenDistributionResponse.md +1 -3
- data/docs/MavenMavenRepository.md +1 -3
- data/docs/MavenMavenRepositoryResponse.md +1 -3
- data/docs/PatchedmavenMavenDistribution.md +1 -3
- data/docs/PatchedmavenMavenRepository.md +1 -3
- data/lib/pulp_maven_client/models/maven_maven_distribution.rb +5 -16
- data/lib/pulp_maven_client/models/maven_maven_distribution_response.rb +5 -16
- data/lib/pulp_maven_client/models/maven_maven_repository.rb +5 -17
- data/lib/pulp_maven_client/models/maven_maven_repository_response.rb +5 -17
- data/lib/pulp_maven_client/models/patchedmaven_maven_distribution.rb +5 -16
- data/lib/pulp_maven_client/models/patchedmaven_maven_repository.rb +5 -17
- data/lib/pulp_maven_client/version.rb +1 -1
- data/lib/pulp_maven_client.rb +0 -4
- data/spec/models/maven_maven_distribution_response_spec.rb +0 -6
- data/spec/models/maven_maven_distribution_spec.rb +0 -6
- data/spec/models/maven_maven_repository_response_spec.rb +0 -6
- data/spec/models/maven_maven_repository_spec.rb +0 -6
- data/spec/models/patchedmaven_maven_distribution_spec.rb +0 -6
- data/spec/models/patchedmaven_maven_repository_spec.rb +0 -6
- metadata +2 -18
- data/docs/MavenMavenPublication.md +0 -20
- data/docs/MavenMavenPublicationResponse.md +0 -28
- data/docs/PaginatedmavenMavenPublicationResponseList.md +0 -24
- data/docs/PublicationsMavenApi.md +0 -350
- data/lib/pulp_maven_client/api/publications_maven_api.rb +0 -356
- data/lib/pulp_maven_client/models/maven_maven_publication.rb +0 -225
- data/lib/pulp_maven_client/models/maven_maven_publication_response.rb +0 -264
- data/lib/pulp_maven_client/models/paginatedmaven_maven_publication_response_list.rb +0 -257
- data/spec/api/publications_maven_api_spec.rb +0 -109
- data/spec/models/maven_maven_publication_response_spec.rb +0 -66
- data/spec/models/maven_maven_publication_spec.rb +0 -42
- data/spec/models/paginatedmaven_maven_publication_response_list_spec.rb +0 -54
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 875be652ce90772c3943ee79c12fd793c01ebaff8225aeee3c453e37812c9f30
|
|
4
|
+
data.tar.gz: 116e972c8b2b011d910ab50367bbcf093082ec8090560ca7fa7d45f7d8a50ec5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '08ed5916d0e4bd26863bba29506b2a7c549d681e442e288d1ef96e4512b71fc51c9997b44104bce178e8fb493a9521381e1df3465833cdccd6847653ffef39f6'
|
|
7
|
+
data.tar.gz: 656692cf668a5b904b57d43fa478c1f822fca1ff331c90be18bfb448f9fe3ae7193b26f86a6f1f7b8b4210c7576c3e8eb9f4a9921565269ef09f6830f338543a
|
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: 0.
|
|
10
|
+
- Package version: 0.23.0
|
|
11
11
|
- Generator version: 7.10.0
|
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
13
13
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
@@ -25,16 +25,16 @@ gem build pulp_maven_client.gemspec
|
|
|
25
25
|
Then either install the gem locally:
|
|
26
26
|
|
|
27
27
|
```shell
|
|
28
|
-
gem install ./pulp_maven_client-0.
|
|
28
|
+
gem install ./pulp_maven_client-0.23.0.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulp_maven_client-0.
|
|
31
|
+
(for development, run `gem install --dev ./pulp_maven_client-0.23.0.gem` to install the development dependencies)
|
|
32
32
|
|
|
33
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
34
34
|
|
|
35
35
|
Finally add this to the Gemfile:
|
|
36
36
|
|
|
37
|
-
gem 'pulp_maven_client', '~> 0.
|
|
37
|
+
gem 'pulp_maven_client', '~> 0.23.0'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -117,10 +117,6 @@ Class | Method | HTTP request | Description
|
|
|
117
117
|
*PulpMavenClient::DistributionsMavenApi* | [**set_label**](docs/DistributionsMavenApi.md#set_label) | **POST** {maven_maven_distribution_href}set_label/ | Set a label
|
|
118
118
|
*PulpMavenClient::DistributionsMavenApi* | [**unset_label**](docs/DistributionsMavenApi.md#unset_label) | **POST** {maven_maven_distribution_href}unset_label/ | Unset a label
|
|
119
119
|
*PulpMavenClient::DistributionsMavenApi* | [**update**](docs/DistributionsMavenApi.md#update) | **PUT** {maven_maven_distribution_href} | Update a maven distribution
|
|
120
|
-
*PulpMavenClient::PublicationsMavenApi* | [**create**](docs/PublicationsMavenApi.md#create) | **POST** /pulp/api/v3/publications/maven/maven/ | Create a maven publication
|
|
121
|
-
*PulpMavenClient::PublicationsMavenApi* | [**delete**](docs/PublicationsMavenApi.md#delete) | **DELETE** {maven_maven_publication_href} | Delete a maven publication
|
|
122
|
-
*PulpMavenClient::PublicationsMavenApi* | [**list**](docs/PublicationsMavenApi.md#list) | **GET** /pulp/api/v3/publications/maven/maven/ | List maven publications
|
|
123
|
-
*PulpMavenClient::PublicationsMavenApi* | [**read**](docs/PublicationsMavenApi.md#read) | **GET** {maven_maven_publication_href} | Inspect a maven publication
|
|
124
120
|
*PulpMavenClient::PulpMavenApi* | [**get**](docs/PulpMavenApi.md#get) | **GET** /pulp/maven/{name}/{path} |
|
|
125
121
|
*PulpMavenClient::PulpMavenApi* | [**put**](docs/PulpMavenApi.md#put) | **PUT** /pulp/maven/{name}/{path} |
|
|
126
122
|
*PulpMavenClient::RemotesMavenApi* | [**create**](docs/RemotesMavenApi.md#create) | **POST** /pulp/api/v3/remotes/maven/maven/ | Create a maven remote
|
|
@@ -156,8 +152,6 @@ Class | Method | HTTP request | Description
|
|
|
156
152
|
- [PulpMavenClient::MavenMavenDistribution](docs/MavenMavenDistribution.md)
|
|
157
153
|
- [PulpMavenClient::MavenMavenDistributionResponse](docs/MavenMavenDistributionResponse.md)
|
|
158
154
|
- [PulpMavenClient::MavenMavenMetadataResponse](docs/MavenMavenMetadataResponse.md)
|
|
159
|
-
- [PulpMavenClient::MavenMavenPublication](docs/MavenMavenPublication.md)
|
|
160
|
-
- [PulpMavenClient::MavenMavenPublicationResponse](docs/MavenMavenPublicationResponse.md)
|
|
161
155
|
- [PulpMavenClient::MavenMavenRemote](docs/MavenMavenRemote.md)
|
|
162
156
|
- [PulpMavenClient::MavenMavenRemoteResponse](docs/MavenMavenRemoteResponse.md)
|
|
163
157
|
- [PulpMavenClient::MavenMavenRemoteResponseHiddenFieldsInner](docs/MavenMavenRemoteResponseHiddenFieldsInner.md)
|
|
@@ -167,7 +161,6 @@ Class | Method | HTTP request | Description
|
|
|
167
161
|
- [PulpMavenClient::PaginatedmavenMavenArtifactResponseList](docs/PaginatedmavenMavenArtifactResponseList.md)
|
|
168
162
|
- [PulpMavenClient::PaginatedmavenMavenDistributionResponseList](docs/PaginatedmavenMavenDistributionResponseList.md)
|
|
169
163
|
- [PulpMavenClient::PaginatedmavenMavenMetadataResponseList](docs/PaginatedmavenMavenMetadataResponseList.md)
|
|
170
|
-
- [PulpMavenClient::PaginatedmavenMavenPublicationResponseList](docs/PaginatedmavenMavenPublicationResponseList.md)
|
|
171
164
|
- [PulpMavenClient::PaginatedmavenMavenRemoteResponseList](docs/PaginatedmavenMavenRemoteResponseList.md)
|
|
172
165
|
- [PulpMavenClient::PaginatedmavenMavenRepositoryResponseList](docs/PaginatedmavenMavenRepositoryResponseList.md)
|
|
173
166
|
- [PulpMavenClient::PatchedmavenMavenDistribution](docs/PatchedmavenMavenDistribution.md)
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
|
13
13
|
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
|
14
14
|
| **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional] |
|
|
15
|
-
| **publication** | **String** | Publication to be served | [optional] |
|
|
16
15
|
|
|
17
16
|
## Example
|
|
18
17
|
|
|
@@ -27,8 +26,7 @@ instance = PulpMavenClient::MavenMavenDistribution.new(
|
|
|
27
26
|
name: null,
|
|
28
27
|
repository: null,
|
|
29
28
|
repository_version: null,
|
|
30
|
-
remote: null
|
|
31
|
-
publication: null
|
|
29
|
+
remote: null
|
|
32
30
|
)
|
|
33
31
|
```
|
|
34
32
|
|
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
|
20
20
|
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
|
21
21
|
| **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional] |
|
|
22
|
-
| **publication** | **String** | Publication to be served | [optional] |
|
|
23
22
|
|
|
24
23
|
## Example
|
|
25
24
|
|
|
@@ -41,8 +40,7 @@ instance = PulpMavenClient::MavenMavenDistributionResponse.new(
|
|
|
41
40
|
name: null,
|
|
42
41
|
repository: null,
|
|
43
42
|
repository_version: null,
|
|
44
|
-
remote: null
|
|
45
|
-
publication: null
|
|
43
|
+
remote: null
|
|
46
44
|
)
|
|
47
45
|
```
|
|
48
46
|
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
|
11
11
|
| **retain_checkpoints** | **Integer** | Retain X checkpoint publications for the repository. Default is null which retains all checkpoints. | [optional] |
|
|
12
12
|
| **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
|
|
13
|
-
| **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional][default to false] |
|
|
14
13
|
|
|
15
14
|
## Example
|
|
16
15
|
|
|
@@ -23,8 +22,7 @@ instance = PulpMavenClient::MavenMavenRepository.new(
|
|
|
23
22
|
description: null,
|
|
24
23
|
retain_repo_versions: null,
|
|
25
24
|
retain_checkpoints: null,
|
|
26
|
-
remote: null
|
|
27
|
-
autopublish: null
|
|
25
|
+
remote: null
|
|
28
26
|
)
|
|
29
27
|
```
|
|
30
28
|
|
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
|
17
17
|
| **retain_checkpoints** | **Integer** | Retain X checkpoint publications for the repository. Default is null which retains all checkpoints. | [optional] |
|
|
18
18
|
| **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
|
|
19
|
-
| **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional][default to false] |
|
|
20
19
|
|
|
21
20
|
## Example
|
|
22
21
|
|
|
@@ -35,8 +34,7 @@ instance = PulpMavenClient::MavenMavenRepositoryResponse.new(
|
|
|
35
34
|
description: null,
|
|
36
35
|
retain_repo_versions: null,
|
|
37
36
|
retain_checkpoints: null,
|
|
38
|
-
remote: null
|
|
39
|
-
autopublish: null
|
|
37
|
+
remote: null
|
|
40
38
|
)
|
|
41
39
|
```
|
|
42
40
|
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
|
13
13
|
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
|
14
14
|
| **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional] |
|
|
15
|
-
| **publication** | **String** | Publication to be served | [optional] |
|
|
16
15
|
|
|
17
16
|
## Example
|
|
18
17
|
|
|
@@ -27,8 +26,7 @@ instance = PulpMavenClient::PatchedmavenMavenDistribution.new(
|
|
|
27
26
|
name: null,
|
|
28
27
|
repository: null,
|
|
29
28
|
repository_version: null,
|
|
30
|
-
remote: null
|
|
31
|
-
publication: null
|
|
29
|
+
remote: null
|
|
32
30
|
)
|
|
33
31
|
```
|
|
34
32
|
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
|
11
11
|
| **retain_checkpoints** | **Integer** | Retain X checkpoint publications for the repository. Default is null which retains all checkpoints. | [optional] |
|
|
12
12
|
| **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
|
|
13
|
-
| **autopublish** | **Boolean** | Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository. | [optional][default to false] |
|
|
14
13
|
|
|
15
14
|
## Example
|
|
16
15
|
|
|
@@ -23,8 +22,7 @@ instance = PulpMavenClient::PatchedmavenMavenRepository.new(
|
|
|
23
22
|
description: null,
|
|
24
23
|
retain_repo_versions: null,
|
|
25
24
|
retain_checkpoints: null,
|
|
26
|
-
remote: null
|
|
27
|
-
autopublish: null
|
|
25
|
+
remote: null
|
|
28
26
|
)
|
|
29
27
|
```
|
|
30
28
|
|
|
@@ -39,9 +39,6 @@ module PulpMavenClient
|
|
|
39
39
|
# Remote that can be used to fetch content when using pull-through caching.
|
|
40
40
|
attr_accessor :remote
|
|
41
41
|
|
|
42
|
-
# Publication to be served
|
|
43
|
-
attr_accessor :publication
|
|
44
|
-
|
|
45
42
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
46
43
|
def self.attribute_map
|
|
47
44
|
{
|
|
@@ -52,8 +49,7 @@ module PulpMavenClient
|
|
|
52
49
|
:'name' => :'name',
|
|
53
50
|
:'repository' => :'repository',
|
|
54
51
|
:'repository_version' => :'repository_version',
|
|
55
|
-
:'remote' => :'remote'
|
|
56
|
-
:'publication' => :'publication'
|
|
52
|
+
:'remote' => :'remote'
|
|
57
53
|
}
|
|
58
54
|
end
|
|
59
55
|
|
|
@@ -72,8 +68,7 @@ module PulpMavenClient
|
|
|
72
68
|
:'name' => :'String',
|
|
73
69
|
:'repository' => :'String',
|
|
74
70
|
:'repository_version' => :'String',
|
|
75
|
-
:'remote' => :'String'
|
|
76
|
-
:'publication' => :'String'
|
|
71
|
+
:'remote' => :'String'
|
|
77
72
|
}
|
|
78
73
|
end
|
|
79
74
|
|
|
@@ -83,8 +78,7 @@ module PulpMavenClient
|
|
|
83
78
|
:'content_guard',
|
|
84
79
|
:'repository',
|
|
85
80
|
:'repository_version',
|
|
86
|
-
:'remote'
|
|
87
|
-
:'publication'
|
|
81
|
+
:'remote'
|
|
88
82
|
])
|
|
89
83
|
end
|
|
90
84
|
|
|
@@ -142,10 +136,6 @@ module PulpMavenClient
|
|
|
142
136
|
if attributes.key?(:'remote')
|
|
143
137
|
self.remote = attributes[:'remote']
|
|
144
138
|
end
|
|
145
|
-
|
|
146
|
-
if attributes.key?(:'publication')
|
|
147
|
-
self.publication = attributes[:'publication']
|
|
148
|
-
end
|
|
149
139
|
end
|
|
150
140
|
|
|
151
141
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -223,8 +213,7 @@ module PulpMavenClient
|
|
|
223
213
|
name == o.name &&
|
|
224
214
|
repository == o.repository &&
|
|
225
215
|
repository_version == o.repository_version &&
|
|
226
|
-
remote == o.remote
|
|
227
|
-
publication == o.publication
|
|
216
|
+
remote == o.remote
|
|
228
217
|
end
|
|
229
218
|
|
|
230
219
|
# @see the `==` method
|
|
@@ -236,7 +225,7 @@ module PulpMavenClient
|
|
|
236
225
|
# Calculates hash code according to all attributes.
|
|
237
226
|
# @return [Integer] Hash code
|
|
238
227
|
def hash
|
|
239
|
-
[base_path, content_guard, hidden, pulp_labels, name, repository, repository_version, remote
|
|
228
|
+
[base_path, content_guard, hidden, pulp_labels, name, repository, repository_version, remote].hash
|
|
240
229
|
end
|
|
241
230
|
|
|
242
231
|
# Builds the object from hash
|
|
@@ -59,9 +59,6 @@ module PulpMavenClient
|
|
|
59
59
|
# Remote that can be used to fetch content when using pull-through caching.
|
|
60
60
|
attr_accessor :remote
|
|
61
61
|
|
|
62
|
-
# Publication to be served
|
|
63
|
-
attr_accessor :publication
|
|
64
|
-
|
|
65
62
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
66
63
|
def self.attribute_map
|
|
67
64
|
{
|
|
@@ -79,8 +76,7 @@ module PulpMavenClient
|
|
|
79
76
|
:'name' => :'name',
|
|
80
77
|
:'repository' => :'repository',
|
|
81
78
|
:'repository_version' => :'repository_version',
|
|
82
|
-
:'remote' => :'remote'
|
|
83
|
-
:'publication' => :'publication'
|
|
79
|
+
:'remote' => :'remote'
|
|
84
80
|
}
|
|
85
81
|
end
|
|
86
82
|
|
|
@@ -106,8 +102,7 @@ module PulpMavenClient
|
|
|
106
102
|
:'name' => :'String',
|
|
107
103
|
:'repository' => :'String',
|
|
108
104
|
:'repository_version' => :'String',
|
|
109
|
-
:'remote' => :'String'
|
|
110
|
-
:'publication' => :'String'
|
|
105
|
+
:'remote' => :'String'
|
|
111
106
|
}
|
|
112
107
|
end
|
|
113
108
|
|
|
@@ -117,8 +112,7 @@ module PulpMavenClient
|
|
|
117
112
|
:'content_guard',
|
|
118
113
|
:'repository',
|
|
119
114
|
:'repository_version',
|
|
120
|
-
:'remote'
|
|
121
|
-
:'publication'
|
|
115
|
+
:'remote'
|
|
122
116
|
])
|
|
123
117
|
end
|
|
124
118
|
|
|
@@ -204,10 +198,6 @@ module PulpMavenClient
|
|
|
204
198
|
if attributes.key?(:'remote')
|
|
205
199
|
self.remote = attributes[:'remote']
|
|
206
200
|
end
|
|
207
|
-
|
|
208
|
-
if attributes.key?(:'publication')
|
|
209
|
-
self.publication = attributes[:'publication']
|
|
210
|
-
end
|
|
211
201
|
end
|
|
212
202
|
|
|
213
203
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -254,8 +244,7 @@ module PulpMavenClient
|
|
|
254
244
|
name == o.name &&
|
|
255
245
|
repository == o.repository &&
|
|
256
246
|
repository_version == o.repository_version &&
|
|
257
|
-
remote == o.remote
|
|
258
|
-
publication == o.publication
|
|
247
|
+
remote == o.remote
|
|
259
248
|
end
|
|
260
249
|
|
|
261
250
|
# @see the `==` method
|
|
@@ -267,7 +256,7 @@ module PulpMavenClient
|
|
|
267
256
|
# Calculates hash code according to all attributes.
|
|
268
257
|
# @return [Integer] Hash code
|
|
269
258
|
def hash
|
|
270
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, base_path, base_url, content_guard, content_guard_prn, no_content_change_since, hidden, pulp_labels, name, repository, repository_version, remote
|
|
259
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, base_path, base_url, content_guard, content_guard_prn, no_content_change_since, hidden, pulp_labels, name, repository, repository_version, remote].hash
|
|
271
260
|
end
|
|
272
261
|
|
|
273
262
|
# Builds the object from hash
|
|
@@ -33,9 +33,6 @@ module PulpMavenClient
|
|
|
33
33
|
# An optional remote to use by default when syncing.
|
|
34
34
|
attr_accessor :remote
|
|
35
35
|
|
|
36
|
-
# Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository.
|
|
37
|
-
attr_accessor :autopublish
|
|
38
|
-
|
|
39
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
40
37
|
def self.attribute_map
|
|
41
38
|
{
|
|
@@ -44,8 +41,7 @@ module PulpMavenClient
|
|
|
44
41
|
:'description' => :'description',
|
|
45
42
|
:'retain_repo_versions' => :'retain_repo_versions',
|
|
46
43
|
:'retain_checkpoints' => :'retain_checkpoints',
|
|
47
|
-
:'remote' => :'remote'
|
|
48
|
-
:'autopublish' => :'autopublish'
|
|
44
|
+
:'remote' => :'remote'
|
|
49
45
|
}
|
|
50
46
|
end
|
|
51
47
|
|
|
@@ -62,8 +58,7 @@ module PulpMavenClient
|
|
|
62
58
|
:'description' => :'String',
|
|
63
59
|
:'retain_repo_versions' => :'Integer',
|
|
64
60
|
:'retain_checkpoints' => :'Integer',
|
|
65
|
-
:'remote' => :'String'
|
|
66
|
-
:'autopublish' => :'Boolean'
|
|
61
|
+
:'remote' => :'String'
|
|
67
62
|
}
|
|
68
63
|
end
|
|
69
64
|
|
|
@@ -73,7 +68,7 @@ module PulpMavenClient
|
|
|
73
68
|
:'description',
|
|
74
69
|
:'retain_repo_versions',
|
|
75
70
|
:'retain_checkpoints',
|
|
76
|
-
:'remote'
|
|
71
|
+
:'remote'
|
|
77
72
|
])
|
|
78
73
|
end
|
|
79
74
|
|
|
@@ -119,12 +114,6 @@ module PulpMavenClient
|
|
|
119
114
|
if attributes.key?(:'remote')
|
|
120
115
|
self.remote = attributes[:'remote']
|
|
121
116
|
end
|
|
122
|
-
|
|
123
|
-
if attributes.key?(:'autopublish')
|
|
124
|
-
self.autopublish = attributes[:'autopublish']
|
|
125
|
-
else
|
|
126
|
-
self.autopublish = false
|
|
127
|
-
end
|
|
128
117
|
end
|
|
129
118
|
|
|
130
119
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -221,8 +210,7 @@ module PulpMavenClient
|
|
|
221
210
|
description == o.description &&
|
|
222
211
|
retain_repo_versions == o.retain_repo_versions &&
|
|
223
212
|
retain_checkpoints == o.retain_checkpoints &&
|
|
224
|
-
remote == o.remote
|
|
225
|
-
autopublish == o.autopublish
|
|
213
|
+
remote == o.remote
|
|
226
214
|
end
|
|
227
215
|
|
|
228
216
|
# @see the `==` method
|
|
@@ -234,7 +222,7 @@ module PulpMavenClient
|
|
|
234
222
|
# Calculates hash code according to all attributes.
|
|
235
223
|
# @return [Integer] Hash code
|
|
236
224
|
def hash
|
|
237
|
-
[pulp_labels, name, description, retain_repo_versions, retain_checkpoints, remote
|
|
225
|
+
[pulp_labels, name, description, retain_repo_versions, retain_checkpoints, remote].hash
|
|
238
226
|
end
|
|
239
227
|
|
|
240
228
|
# Builds the object from hash
|
|
@@ -48,9 +48,6 @@ module PulpMavenClient
|
|
|
48
48
|
# An optional remote to use by default when syncing.
|
|
49
49
|
attr_accessor :remote
|
|
50
50
|
|
|
51
|
-
# Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository.
|
|
52
|
-
attr_accessor :autopublish
|
|
53
|
-
|
|
54
51
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
55
52
|
def self.attribute_map
|
|
56
53
|
{
|
|
@@ -65,8 +62,7 @@ module PulpMavenClient
|
|
|
65
62
|
:'description' => :'description',
|
|
66
63
|
:'retain_repo_versions' => :'retain_repo_versions',
|
|
67
64
|
:'retain_checkpoints' => :'retain_checkpoints',
|
|
68
|
-
:'remote' => :'remote'
|
|
69
|
-
:'autopublish' => :'autopublish'
|
|
65
|
+
:'remote' => :'remote'
|
|
70
66
|
}
|
|
71
67
|
end
|
|
72
68
|
|
|
@@ -89,8 +85,7 @@ module PulpMavenClient
|
|
|
89
85
|
:'description' => :'String',
|
|
90
86
|
:'retain_repo_versions' => :'Integer',
|
|
91
87
|
:'retain_checkpoints' => :'Integer',
|
|
92
|
-
:'remote' => :'String'
|
|
93
|
-
:'autopublish' => :'Boolean'
|
|
88
|
+
:'remote' => :'String'
|
|
94
89
|
}
|
|
95
90
|
end
|
|
96
91
|
|
|
@@ -100,7 +95,7 @@ module PulpMavenClient
|
|
|
100
95
|
:'description',
|
|
101
96
|
:'retain_repo_versions',
|
|
102
97
|
:'retain_checkpoints',
|
|
103
|
-
:'remote'
|
|
98
|
+
:'remote'
|
|
104
99
|
])
|
|
105
100
|
end
|
|
106
101
|
|
|
@@ -170,12 +165,6 @@ module PulpMavenClient
|
|
|
170
165
|
if attributes.key?(:'remote')
|
|
171
166
|
self.remote = attributes[:'remote']
|
|
172
167
|
end
|
|
173
|
-
|
|
174
|
-
if attributes.key?(:'autopublish')
|
|
175
|
-
self.autopublish = attributes[:'autopublish']
|
|
176
|
-
else
|
|
177
|
-
self.autopublish = false
|
|
178
|
-
end
|
|
179
168
|
end
|
|
180
169
|
|
|
181
170
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -244,8 +233,7 @@ module PulpMavenClient
|
|
|
244
233
|
description == o.description &&
|
|
245
234
|
retain_repo_versions == o.retain_repo_versions &&
|
|
246
235
|
retain_checkpoints == o.retain_checkpoints &&
|
|
247
|
-
remote == o.remote
|
|
248
|
-
autopublish == o.autopublish
|
|
236
|
+
remote == o.remote
|
|
249
237
|
end
|
|
250
238
|
|
|
251
239
|
# @see the `==` method
|
|
@@ -257,7 +245,7 @@ module PulpMavenClient
|
|
|
257
245
|
# Calculates hash code according to all attributes.
|
|
258
246
|
# @return [Integer] Hash code
|
|
259
247
|
def hash
|
|
260
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, retain_checkpoints, remote
|
|
248
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, retain_checkpoints, remote].hash
|
|
261
249
|
end
|
|
262
250
|
|
|
263
251
|
# Builds the object from hash
|
|
@@ -39,9 +39,6 @@ module PulpMavenClient
|
|
|
39
39
|
# Remote that can be used to fetch content when using pull-through caching.
|
|
40
40
|
attr_accessor :remote
|
|
41
41
|
|
|
42
|
-
# Publication to be served
|
|
43
|
-
attr_accessor :publication
|
|
44
|
-
|
|
45
42
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
46
43
|
def self.attribute_map
|
|
47
44
|
{
|
|
@@ -52,8 +49,7 @@ module PulpMavenClient
|
|
|
52
49
|
:'name' => :'name',
|
|
53
50
|
:'repository' => :'repository',
|
|
54
51
|
:'repository_version' => :'repository_version',
|
|
55
|
-
:'remote' => :'remote'
|
|
56
|
-
:'publication' => :'publication'
|
|
52
|
+
:'remote' => :'remote'
|
|
57
53
|
}
|
|
58
54
|
end
|
|
59
55
|
|
|
@@ -72,8 +68,7 @@ module PulpMavenClient
|
|
|
72
68
|
:'name' => :'String',
|
|
73
69
|
:'repository' => :'String',
|
|
74
70
|
:'repository_version' => :'String',
|
|
75
|
-
:'remote' => :'String'
|
|
76
|
-
:'publication' => :'String'
|
|
71
|
+
:'remote' => :'String'
|
|
77
72
|
}
|
|
78
73
|
end
|
|
79
74
|
|
|
@@ -83,8 +78,7 @@ module PulpMavenClient
|
|
|
83
78
|
:'content_guard',
|
|
84
79
|
:'repository',
|
|
85
80
|
:'repository_version',
|
|
86
|
-
:'remote'
|
|
87
|
-
:'publication'
|
|
81
|
+
:'remote'
|
|
88
82
|
])
|
|
89
83
|
end
|
|
90
84
|
|
|
@@ -138,10 +132,6 @@ module PulpMavenClient
|
|
|
138
132
|
if attributes.key?(:'remote')
|
|
139
133
|
self.remote = attributes[:'remote']
|
|
140
134
|
end
|
|
141
|
-
|
|
142
|
-
if attributes.key?(:'publication')
|
|
143
|
-
self.publication = attributes[:'publication']
|
|
144
|
-
end
|
|
145
135
|
end
|
|
146
136
|
|
|
147
137
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -209,8 +199,7 @@ module PulpMavenClient
|
|
|
209
199
|
name == o.name &&
|
|
210
200
|
repository == o.repository &&
|
|
211
201
|
repository_version == o.repository_version &&
|
|
212
|
-
remote == o.remote
|
|
213
|
-
publication == o.publication
|
|
202
|
+
remote == o.remote
|
|
214
203
|
end
|
|
215
204
|
|
|
216
205
|
# @see the `==` method
|
|
@@ -222,7 +211,7 @@ module PulpMavenClient
|
|
|
222
211
|
# Calculates hash code according to all attributes.
|
|
223
212
|
# @return [Integer] Hash code
|
|
224
213
|
def hash
|
|
225
|
-
[base_path, content_guard, hidden, pulp_labels, name, repository, repository_version, remote
|
|
214
|
+
[base_path, content_guard, hidden, pulp_labels, name, repository, repository_version, remote].hash
|
|
226
215
|
end
|
|
227
216
|
|
|
228
217
|
# Builds the object from hash
|
|
@@ -33,9 +33,6 @@ module PulpMavenClient
|
|
|
33
33
|
# An optional remote to use by default when syncing.
|
|
34
34
|
attr_accessor :remote
|
|
35
35
|
|
|
36
|
-
# Whether to automatically create publications for new repository versions, and update any distributions pointing to this repository.
|
|
37
|
-
attr_accessor :autopublish
|
|
38
|
-
|
|
39
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
40
37
|
def self.attribute_map
|
|
41
38
|
{
|
|
@@ -44,8 +41,7 @@ module PulpMavenClient
|
|
|
44
41
|
:'description' => :'description',
|
|
45
42
|
:'retain_repo_versions' => :'retain_repo_versions',
|
|
46
43
|
:'retain_checkpoints' => :'retain_checkpoints',
|
|
47
|
-
:'remote' => :'remote'
|
|
48
|
-
:'autopublish' => :'autopublish'
|
|
44
|
+
:'remote' => :'remote'
|
|
49
45
|
}
|
|
50
46
|
end
|
|
51
47
|
|
|
@@ -62,8 +58,7 @@ module PulpMavenClient
|
|
|
62
58
|
:'description' => :'String',
|
|
63
59
|
:'retain_repo_versions' => :'Integer',
|
|
64
60
|
:'retain_checkpoints' => :'Integer',
|
|
65
|
-
:'remote' => :'String'
|
|
66
|
-
:'autopublish' => :'Boolean'
|
|
61
|
+
:'remote' => :'String'
|
|
67
62
|
}
|
|
68
63
|
end
|
|
69
64
|
|
|
@@ -73,7 +68,7 @@ module PulpMavenClient
|
|
|
73
68
|
:'description',
|
|
74
69
|
:'retain_repo_versions',
|
|
75
70
|
:'retain_checkpoints',
|
|
76
|
-
:'remote'
|
|
71
|
+
:'remote'
|
|
77
72
|
])
|
|
78
73
|
end
|
|
79
74
|
|
|
@@ -117,12 +112,6 @@ module PulpMavenClient
|
|
|
117
112
|
if attributes.key?(:'remote')
|
|
118
113
|
self.remote = attributes[:'remote']
|
|
119
114
|
end
|
|
120
|
-
|
|
121
|
-
if attributes.key?(:'autopublish')
|
|
122
|
-
self.autopublish = attributes[:'autopublish']
|
|
123
|
-
else
|
|
124
|
-
self.autopublish = false
|
|
125
|
-
end
|
|
126
115
|
end
|
|
127
116
|
|
|
128
117
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -214,8 +203,7 @@ module PulpMavenClient
|
|
|
214
203
|
description == o.description &&
|
|
215
204
|
retain_repo_versions == o.retain_repo_versions &&
|
|
216
205
|
retain_checkpoints == o.retain_checkpoints &&
|
|
217
|
-
remote == o.remote
|
|
218
|
-
autopublish == o.autopublish
|
|
206
|
+
remote == o.remote
|
|
219
207
|
end
|
|
220
208
|
|
|
221
209
|
# @see the `==` method
|
|
@@ -227,7 +215,7 @@ module PulpMavenClient
|
|
|
227
215
|
# Calculates hash code according to all attributes.
|
|
228
216
|
# @return [Integer] Hash code
|
|
229
217
|
def hash
|
|
230
|
-
[pulp_labels, name, description, retain_repo_versions, retain_checkpoints, remote
|
|
218
|
+
[pulp_labels, name, description, retain_repo_versions, retain_checkpoints, remote].hash
|
|
231
219
|
end
|
|
232
220
|
|
|
233
221
|
# Builds the object from hash
|
data/lib/pulp_maven_client.rb
CHANGED
|
@@ -23,8 +23,6 @@ require 'pulp_maven_client/models/maven_maven_artifact_response'
|
|
|
23
23
|
require 'pulp_maven_client/models/maven_maven_distribution'
|
|
24
24
|
require 'pulp_maven_client/models/maven_maven_distribution_response'
|
|
25
25
|
require 'pulp_maven_client/models/maven_maven_metadata_response'
|
|
26
|
-
require 'pulp_maven_client/models/maven_maven_publication'
|
|
27
|
-
require 'pulp_maven_client/models/maven_maven_publication_response'
|
|
28
26
|
require 'pulp_maven_client/models/maven_maven_remote'
|
|
29
27
|
require 'pulp_maven_client/models/maven_maven_remote_response'
|
|
30
28
|
require 'pulp_maven_client/models/maven_maven_remote_response_hidden_fields_inner'
|
|
@@ -34,7 +32,6 @@ require 'pulp_maven_client/models/paginated_repository_version_response_list'
|
|
|
34
32
|
require 'pulp_maven_client/models/paginatedmaven_maven_artifact_response_list'
|
|
35
33
|
require 'pulp_maven_client/models/paginatedmaven_maven_distribution_response_list'
|
|
36
34
|
require 'pulp_maven_client/models/paginatedmaven_maven_metadata_response_list'
|
|
37
|
-
require 'pulp_maven_client/models/paginatedmaven_maven_publication_response_list'
|
|
38
35
|
require 'pulp_maven_client/models/paginatedmaven_maven_remote_response_list'
|
|
39
36
|
require 'pulp_maven_client/models/paginatedmaven_maven_repository_response_list'
|
|
40
37
|
require 'pulp_maven_client/models/patchedmaven_maven_distribution'
|
|
@@ -56,7 +53,6 @@ require 'pulp_maven_client/models/unset_label_response'
|
|
|
56
53
|
require 'pulp_maven_client/api/content_artifact_api'
|
|
57
54
|
require 'pulp_maven_client/api/content_metadata_api'
|
|
58
55
|
require 'pulp_maven_client/api/distributions_maven_api'
|
|
59
|
-
require 'pulp_maven_client/api/publications_maven_api'
|
|
60
56
|
require 'pulp_maven_client/api/pulp_maven_api'
|
|
61
57
|
require 'pulp_maven_client/api/remotes_maven_api'
|
|
62
58
|
require 'pulp_maven_client/api/repositories_maven_api'
|
|
@@ -117,10 +117,4 @@ describe PulpMavenClient::MavenMavenDistributionResponse do
|
|
|
117
117
|
end
|
|
118
118
|
end
|
|
119
119
|
|
|
120
|
-
describe 'test attribute "publication"' do
|
|
121
|
-
it 'should work' do
|
|
122
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
123
|
-
end
|
|
124
|
-
end
|
|
125
|
-
|
|
126
120
|
end
|
|
@@ -75,10 +75,4 @@ describe PulpMavenClient::MavenMavenDistribution do
|
|
|
75
75
|
end
|
|
76
76
|
end
|
|
77
77
|
|
|
78
|
-
describe 'test attribute "publication"' do
|
|
79
|
-
it 'should work' do
|
|
80
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
|
-
end
|
|
82
|
-
end
|
|
83
|
-
|
|
84
78
|
end
|
|
@@ -99,10 +99,4 @@ describe PulpMavenClient::MavenMavenRepositoryResponse do
|
|
|
99
99
|
end
|
|
100
100
|
end
|
|
101
101
|
|
|
102
|
-
describe 'test attribute "autopublish"' do
|
|
103
|
-
it 'should work' do
|
|
104
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
105
|
-
end
|
|
106
|
-
end
|
|
107
|
-
|
|
108
102
|
end
|