pulp_maven_client 0.5.0 → 0.7.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 +15 -5
- data/docs/ContentArtifactApi.md +9 -3
- data/docs/DistributionsMavenApi.md +130 -4
- data/docs/MavenMavenArtifact.md +3 -1
- data/docs/MavenMavenDistribution.md +2 -0
- data/docs/MavenMavenDistributionResponse.md +2 -0
- data/docs/MavenMavenRemote.md +1 -1
- data/docs/MavenMavenRemoteResponse.md +1 -1
- data/docs/PatchedmavenMavenDistribution.md +2 -0
- data/docs/PatchedmavenMavenRemote.md +1 -1
- data/docs/PulpMavenApi.md +1 -1
- data/docs/RemotesMavenApi.md +129 -3
- data/docs/RepositoriesMavenApi.md +134 -4
- data/docs/RepositoriesMavenVersionsApi.md +7 -3
- data/docs/SetLabel.md +19 -0
- data/docs/SetLabelResponse.md +19 -0
- data/docs/UnsetLabel.md +17 -0
- data/docs/UnsetLabelResponse.md +19 -0
- data/lib/pulp_maven_client/api/content_artifact_api.rb +11 -2
- data/lib/pulp_maven_client/api/distributions_maven_api.rb +164 -3
- data/lib/pulp_maven_client/api/remotes_maven_api.rb +163 -2
- data/lib/pulp_maven_client/api/repositories_maven_api.rb +169 -2
- data/lib/pulp_maven_client/api/repositories_maven_versions_api.rb +8 -2
- data/lib/pulp_maven_client/configuration.rb +2 -2
- data/lib/pulp_maven_client/models/maven_maven_artifact.rb +11 -1
- data/lib/pulp_maven_client/models/maven_maven_distribution.rb +13 -1
- data/lib/pulp_maven_client/models/maven_maven_distribution_response.rb +13 -1
- data/lib/pulp_maven_client/models/maven_maven_remote.rb +1 -1
- data/lib/pulp_maven_client/models/maven_maven_remote_response.rb +1 -1
- data/lib/pulp_maven_client/models/patchedmaven_maven_distribution.rb +13 -1
- data/lib/pulp_maven_client/models/patchedmaven_maven_remote.rb +1 -1
- data/lib/pulp_maven_client/models/set_label.rb +252 -0
- data/lib/pulp_maven_client/models/set_label_response.rb +243 -0
- data/lib/pulp_maven_client/models/unset_label.rb +242 -0
- data/lib/pulp_maven_client/models/unset_label_response.rb +242 -0
- data/lib/pulp_maven_client/version.rb +1 -1
- data/lib/pulp_maven_client.rb +4 -0
- data/spec/api/content_artifact_api_spec.rb +4 -1
- data/spec/api/distributions_maven_api_spec.rb +34 -1
- data/spec/api/remotes_maven_api_spec.rb +34 -1
- data/spec/api/repositories_maven_api_spec.rb +36 -1
- data/spec/api/repositories_maven_versions_api_spec.rb +3 -1
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/maven_maven_artifact_spec.rb +6 -0
- data/spec/models/maven_maven_distribution_response_spec.rb +6 -0
- data/spec/models/maven_maven_distribution_spec.rb +6 -0
- data/spec/models/patchedmaven_maven_distribution_spec.rb +6 -0
- data/spec/models/set_label_response_spec.rb +47 -0
- data/spec/models/set_label_spec.rb +47 -0
- data/spec/models/unset_label_response_spec.rb +47 -0
- data/spec/models/unset_label_spec.rb +41 -0
- metadata +37 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 48aea72a54396aac05597d3ef5d28ef5252dc645845962a8e45b85581fa0814b
|
4
|
+
data.tar.gz: 544d974c766eb555ce2494bc044afef33adbc51e0b2389c8beb0d0e402267e47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3c21bd00b48449b46872dd85d825713dedc6f0b61d7a5ec27b3a06b9c6329c2dc4fadb26a941479f69251f4231e90d4c3f8307f188173f2655c292abc995aee
|
7
|
+
data.tar.gz: 38ed84f43e10fcbf1d88aba3448cf21c42e7e2b108b0fa1da6f390dbd615fa08a863700f2b46e48d4346771160ae828acf627d8fbfc7e423bf61136356acb423
|
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.7.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_maven_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_maven_client-0.
|
27
|
+
gem install ./pulp_maven_client-0.7.0.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_maven_client-0.
|
30
|
+
(for development, run `gem install --dev ./pulp_maven_client-0.7.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_maven_client', '~> 0.
|
36
|
+
gem 'pulp_maven_client', '~> 0.7.0'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -79,7 +79,7 @@ end
|
|
79
79
|
|
80
80
|
## Documentation for API Endpoints
|
81
81
|
|
82
|
-
All URIs are relative to *
|
82
|
+
All URIs are relative to *http://pulp*
|
83
83
|
|
84
84
|
Class | Method | HTTP request | Description
|
85
85
|
------------ | ------------- | ------------- | -------------
|
@@ -91,6 +91,8 @@ Class | Method | HTTP request | Description
|
|
91
91
|
*PulpMavenClient::DistributionsMavenApi* | [**list**](docs/DistributionsMavenApi.md#list) | **GET** /pulp/api/v3/distributions/maven/maven/ | List maven distributions
|
92
92
|
*PulpMavenClient::DistributionsMavenApi* | [**partial_update**](docs/DistributionsMavenApi.md#partial_update) | **PATCH** {maven_maven_distribution_href} | Update a maven distribution
|
93
93
|
*PulpMavenClient::DistributionsMavenApi* | [**read**](docs/DistributionsMavenApi.md#read) | **GET** {maven_maven_distribution_href} | Inspect a maven distribution
|
94
|
+
*PulpMavenClient::DistributionsMavenApi* | [**set_label**](docs/DistributionsMavenApi.md#set_label) | **POST** {maven_maven_distribution_href}set_label/ | Set a label
|
95
|
+
*PulpMavenClient::DistributionsMavenApi* | [**unset_label**](docs/DistributionsMavenApi.md#unset_label) | **POST** {maven_maven_distribution_href}unset_label/ | Unset a label
|
94
96
|
*PulpMavenClient::DistributionsMavenApi* | [**update**](docs/DistributionsMavenApi.md#update) | **PUT** {maven_maven_distribution_href} | Update a maven distribution
|
95
97
|
*PulpMavenClient::PulpMavenApi* | [**get**](docs/PulpMavenApi.md#get) | **GET** /pulp/maven/{name}/{path} |
|
96
98
|
*PulpMavenClient::PulpMavenApi* | [**put**](docs/PulpMavenApi.md#put) | **PUT** /pulp/maven/{name}/{path} |
|
@@ -99,6 +101,8 @@ Class | Method | HTTP request | Description
|
|
99
101
|
*PulpMavenClient::RemotesMavenApi* | [**list**](docs/RemotesMavenApi.md#list) | **GET** /pulp/api/v3/remotes/maven/maven/ | List maven remotes
|
100
102
|
*PulpMavenClient::RemotesMavenApi* | [**partial_update**](docs/RemotesMavenApi.md#partial_update) | **PATCH** {maven_maven_remote_href} | Update a maven remote
|
101
103
|
*PulpMavenClient::RemotesMavenApi* | [**read**](docs/RemotesMavenApi.md#read) | **GET** {maven_maven_remote_href} | Inspect a maven remote
|
104
|
+
*PulpMavenClient::RemotesMavenApi* | [**set_label**](docs/RemotesMavenApi.md#set_label) | **POST** {maven_maven_remote_href}set_label/ | Set a label
|
105
|
+
*PulpMavenClient::RemotesMavenApi* | [**unset_label**](docs/RemotesMavenApi.md#unset_label) | **POST** {maven_maven_remote_href}unset_label/ | Unset a label
|
102
106
|
*PulpMavenClient::RemotesMavenApi* | [**update**](docs/RemotesMavenApi.md#update) | **PUT** {maven_maven_remote_href} | Update a maven remote
|
103
107
|
*PulpMavenClient::RepositoriesMavenApi* | [**add_cached_content**](docs/RepositoriesMavenApi.md#add_cached_content) | **POST** {maven_maven_repository_href}add_cached_content/ | Add cached content
|
104
108
|
*PulpMavenClient::RepositoriesMavenApi* | [**create**](docs/RepositoriesMavenApi.md#create) | **POST** /pulp/api/v3/repositories/maven/maven/ | Create a maven repository
|
@@ -106,6 +110,8 @@ Class | Method | HTTP request | Description
|
|
106
110
|
*PulpMavenClient::RepositoriesMavenApi* | [**list**](docs/RepositoriesMavenApi.md#list) | **GET** /pulp/api/v3/repositories/maven/maven/ | List maven repositorys
|
107
111
|
*PulpMavenClient::RepositoriesMavenApi* | [**partial_update**](docs/RepositoriesMavenApi.md#partial_update) | **PATCH** {maven_maven_repository_href} | Update a maven repository
|
108
112
|
*PulpMavenClient::RepositoriesMavenApi* | [**read**](docs/RepositoriesMavenApi.md#read) | **GET** {maven_maven_repository_href} | Inspect a maven repository
|
113
|
+
*PulpMavenClient::RepositoriesMavenApi* | [**set_label**](docs/RepositoriesMavenApi.md#set_label) | **POST** {maven_maven_repository_href}set_label/ | Set a label
|
114
|
+
*PulpMavenClient::RepositoriesMavenApi* | [**unset_label**](docs/RepositoriesMavenApi.md#unset_label) | **POST** {maven_maven_repository_href}unset_label/ | Unset a label
|
109
115
|
*PulpMavenClient::RepositoriesMavenApi* | [**update**](docs/RepositoriesMavenApi.md#update) | **PUT** {maven_maven_repository_href} | Update a maven repository
|
110
116
|
*PulpMavenClient::RepositoriesMavenVersionsApi* | [**delete**](docs/RepositoriesMavenVersionsApi.md#delete) | **DELETE** {maven_maven_repository_version_href} | Delete a repository version
|
111
117
|
*PulpMavenClient::RepositoriesMavenVersionsApi* | [**list**](docs/RepositoriesMavenVersionsApi.md#list) | **GET** {maven_maven_repository_href}versions/ | List repository versions
|
@@ -138,6 +144,10 @@ Class | Method | HTTP request | Description
|
|
138
144
|
- [PulpMavenClient::Repair](docs/Repair.md)
|
139
145
|
- [PulpMavenClient::RepositoryAddCachedContent](docs/RepositoryAddCachedContent.md)
|
140
146
|
- [PulpMavenClient::RepositoryVersionResponse](docs/RepositoryVersionResponse.md)
|
147
|
+
- [PulpMavenClient::SetLabel](docs/SetLabel.md)
|
148
|
+
- [PulpMavenClient::SetLabelResponse](docs/SetLabelResponse.md)
|
149
|
+
- [PulpMavenClient::UnsetLabel](docs/UnsetLabel.md)
|
150
|
+
- [PulpMavenClient::UnsetLabelResponse](docs/UnsetLabelResponse.md)
|
141
151
|
|
142
152
|
|
143
153
|
## Documentation for Authorization
|
data/docs/ContentArtifactApi.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpMavenClient::ContentArtifactApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *http://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -90,7 +90,10 @@ opts = {
|
|
90
90
|
group_id: 'group_id_example', # String | Filter results where group_id matches value
|
91
91
|
limit: 56, # Integer | Number of results to return per page.
|
92
92
|
offset: 56, # Integer | The initial index from which to return the results.
|
93
|
-
ordering: ['ordering_example'], # Array<String> | Ordering
|
93
|
+
ordering: ['ordering_example'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `group_id` - Group id * `-group_id` - Group id (descending) * `artifact_id` - Artifact id * `-artifact_id` - Artifact id (descending) * `version` - Version * `-version` - Version (descending) * `filename` - Filename * `-filename` - Filename (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
94
|
+
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
95
|
+
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
96
|
+
q: 'q_example', # String |
|
94
97
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
95
98
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
|
96
99
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
|
@@ -118,7 +121,10 @@ Name | Type | Description | Notes
|
|
118
121
|
**group_id** | **String**| Filter results where group_id matches value | [optional]
|
119
122
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
120
123
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
121
|
-
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
124
|
+
**ordering** | [**Array<String>**](String.md)| Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `group_id` - Group id * `-group_id` - Group id (descending) * `artifact_id` - Artifact id * `-artifact_id` - Artifact id (descending) * `version` - Version * `-version` - Version (descending) * `filename` - Filename * `-filename` - Filename (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
125
|
+
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
126
|
+
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
127
|
+
**q** | **String**| | [optional]
|
122
128
|
**repository_version** | **String**| Repository Version referenced by HREF | [optional]
|
123
129
|
**repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
|
124
130
|
**repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpMavenClient::DistributionsMavenApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *http://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -9,6 +9,8 @@ Method | HTTP request | Description
|
|
9
9
|
[**list**](DistributionsMavenApi.md#list) | **GET** /pulp/api/v3/distributions/maven/maven/ | List maven distributions
|
10
10
|
[**partial_update**](DistributionsMavenApi.md#partial_update) | **PATCH** {maven_maven_distribution_href} | Update a maven distribution
|
11
11
|
[**read**](DistributionsMavenApi.md#read) | **GET** {maven_maven_distribution_href} | Inspect a maven distribution
|
12
|
+
[**set_label**](DistributionsMavenApi.md#set_label) | **POST** {maven_maven_distribution_href}set_label/ | Set a label
|
13
|
+
[**unset_label**](DistributionsMavenApi.md#unset_label) | **POST** {maven_maven_distribution_href}unset_label/ | Unset a label
|
12
14
|
[**update**](DistributionsMavenApi.md#update) | **PUT** {maven_maven_distribution_href} | Update a maven distribution
|
13
15
|
|
14
16
|
|
@@ -149,11 +151,18 @@ opts = {
|
|
149
151
|
name: 'name_example', # String | Filter results where name matches value
|
150
152
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
151
153
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
154
|
+
name__iexact: 'name__iexact_example', # String | Filter results where name matches value
|
152
155
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
156
|
+
name__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
|
157
|
+
name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
|
158
|
+
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
153
159
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
154
160
|
offset: 56, # Integer | The initial index from which to return the results.
|
155
|
-
ordering: ['ordering_example'], # Array<String> | Ordering
|
161
|
+
ordering: ['ordering_example'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
162
|
+
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
163
|
+
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
156
164
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
165
|
+
q: 'q_example', # String |
|
157
166
|
repository: 'repository_example', # String | Filter results where repository matches value
|
158
167
|
repository__in: ['repository__in_example'], # Array<String> | Filter results where repository is in a comma-separated list of values
|
159
168
|
with_content: 'with_content_example', # String | Filter distributions based on the content served by them
|
@@ -183,12 +192,19 @@ Name | Type | Description | Notes
|
|
183
192
|
**name** | **String**| Filter results where name matches value | [optional]
|
184
193
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
185
194
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
195
|
+
**name__iexact** | **String**| Filter results where name matches value | [optional]
|
186
196
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
197
|
+
**name__iregex** | **String**| Filter results where name matches regex value | [optional]
|
198
|
+
**name__istartswith** | **String**| Filter results where name starts with value | [optional]
|
199
|
+
**name__regex** | **String**| Filter results where name matches regex value | [optional]
|
187
200
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
188
201
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
189
|
-
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
202
|
+
**ordering** | [**Array<String>**](String.md)| Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
203
|
+
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
204
|
+
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
190
205
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
191
|
-
**
|
206
|
+
**q** | **String**| | [optional]
|
207
|
+
**repository** | [**String**](.md)| Filter results where repository matches value | [optional]
|
192
208
|
**repository__in** | [**Array<String>**](String.md)| Filter results where repository is in a comma-separated list of values | [optional]
|
193
209
|
**with_content** | **String**| Filter distributions based on the content served by them | [optional]
|
194
210
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
@@ -322,6 +338,116 @@ Name | Type | Description | Notes
|
|
322
338
|
- **Accept**: application/json
|
323
339
|
|
324
340
|
|
341
|
+
## set_label
|
342
|
+
|
343
|
+
> SetLabelResponse set_label(maven_maven_distribution_href, set_label)
|
344
|
+
|
345
|
+
Set a label
|
346
|
+
|
347
|
+
Set a single pulp_label on the object to a specific value or null.
|
348
|
+
|
349
|
+
### Example
|
350
|
+
|
351
|
+
```ruby
|
352
|
+
# load the gem
|
353
|
+
require 'pulp_maven_client'
|
354
|
+
# setup authorization
|
355
|
+
PulpMavenClient.configure do |config|
|
356
|
+
# Configure HTTP basic authorization: basicAuth
|
357
|
+
config.username = 'YOUR USERNAME'
|
358
|
+
config.password = 'YOUR PASSWORD'
|
359
|
+
end
|
360
|
+
|
361
|
+
api_instance = PulpMavenClient::DistributionsMavenApi.new
|
362
|
+
maven_maven_distribution_href = 'maven_maven_distribution_href_example' # String |
|
363
|
+
set_label = PulpMavenClient::SetLabel.new # SetLabel |
|
364
|
+
|
365
|
+
begin
|
366
|
+
#Set a label
|
367
|
+
result = api_instance.set_label(maven_maven_distribution_href, set_label)
|
368
|
+
p result
|
369
|
+
rescue PulpMavenClient::ApiError => e
|
370
|
+
puts "Exception when calling DistributionsMavenApi->set_label: #{e}"
|
371
|
+
end
|
372
|
+
```
|
373
|
+
|
374
|
+
### Parameters
|
375
|
+
|
376
|
+
|
377
|
+
Name | Type | Description | Notes
|
378
|
+
------------- | ------------- | ------------- | -------------
|
379
|
+
**maven_maven_distribution_href** | **String**| |
|
380
|
+
**set_label** | [**SetLabel**](SetLabel.md)| |
|
381
|
+
|
382
|
+
### Return type
|
383
|
+
|
384
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
385
|
+
|
386
|
+
### Authorization
|
387
|
+
|
388
|
+
[basicAuth](../README.md#basicAuth)
|
389
|
+
|
390
|
+
### HTTP request headers
|
391
|
+
|
392
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
393
|
+
- **Accept**: application/json
|
394
|
+
|
395
|
+
|
396
|
+
## unset_label
|
397
|
+
|
398
|
+
> UnsetLabelResponse unset_label(maven_maven_distribution_href, unset_label)
|
399
|
+
|
400
|
+
Unset a label
|
401
|
+
|
402
|
+
Unset a single pulp_label on the object.
|
403
|
+
|
404
|
+
### Example
|
405
|
+
|
406
|
+
```ruby
|
407
|
+
# load the gem
|
408
|
+
require 'pulp_maven_client'
|
409
|
+
# setup authorization
|
410
|
+
PulpMavenClient.configure do |config|
|
411
|
+
# Configure HTTP basic authorization: basicAuth
|
412
|
+
config.username = 'YOUR USERNAME'
|
413
|
+
config.password = 'YOUR PASSWORD'
|
414
|
+
end
|
415
|
+
|
416
|
+
api_instance = PulpMavenClient::DistributionsMavenApi.new
|
417
|
+
maven_maven_distribution_href = 'maven_maven_distribution_href_example' # String |
|
418
|
+
unset_label = PulpMavenClient::UnsetLabel.new # UnsetLabel |
|
419
|
+
|
420
|
+
begin
|
421
|
+
#Unset a label
|
422
|
+
result = api_instance.unset_label(maven_maven_distribution_href, unset_label)
|
423
|
+
p result
|
424
|
+
rescue PulpMavenClient::ApiError => e
|
425
|
+
puts "Exception when calling DistributionsMavenApi->unset_label: #{e}"
|
426
|
+
end
|
427
|
+
```
|
428
|
+
|
429
|
+
### Parameters
|
430
|
+
|
431
|
+
|
432
|
+
Name | Type | Description | Notes
|
433
|
+
------------- | ------------- | ------------- | -------------
|
434
|
+
**maven_maven_distribution_href** | **String**| |
|
435
|
+
**unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
|
436
|
+
|
437
|
+
### Return type
|
438
|
+
|
439
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
440
|
+
|
441
|
+
### Authorization
|
442
|
+
|
443
|
+
[basicAuth](../README.md#basicAuth)
|
444
|
+
|
445
|
+
### HTTP request headers
|
446
|
+
|
447
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
448
|
+
- **Accept**: application/json
|
449
|
+
|
450
|
+
|
325
451
|
## update
|
326
452
|
|
327
453
|
> AsyncOperationResponse update(maven_maven_distribution_href, maven_maven_distribution)
|
data/docs/MavenMavenArtifact.md
CHANGED
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
|
7
8
|
**artifact** | **String** | Artifact file representing the physical content |
|
8
9
|
**relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
|
9
10
|
|
@@ -12,7 +13,8 @@ Name | Type | Description | Notes
|
|
12
13
|
```ruby
|
13
14
|
require 'PulpMavenClient'
|
14
15
|
|
15
|
-
instance = PulpMavenClient::MavenMavenArtifact.new(
|
16
|
+
instance = PulpMavenClient::MavenMavenArtifact.new(repository: null,
|
17
|
+
artifact: null,
|
16
18
|
relative_path: null)
|
17
19
|
```
|
18
20
|
|
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
8
8
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
9
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
9
10
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
10
11
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
11
12
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
@@ -18,6 +19,7 @@ require 'PulpMavenClient'
|
|
18
19
|
|
19
20
|
instance = PulpMavenClient::MavenMavenDistribution.new(base_path: null,
|
20
21
|
content_guard: null,
|
22
|
+
hidden: null,
|
21
23
|
pulp_labels: null,
|
22
24
|
name: null,
|
23
25
|
repository: null,
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
9
9
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
|
10
10
|
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
11
11
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
12
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
12
13
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
13
14
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
14
15
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
@@ -24,6 +25,7 @@ instance = PulpMavenClient::MavenMavenDistributionResponse.new(pulp_href: null,
|
|
24
25
|
base_path: null,
|
25
26
|
base_url: null,
|
26
27
|
content_guard: null,
|
28
|
+
hidden: null,
|
27
29
|
pulp_labels: null,
|
28
30
|
name: null,
|
29
31
|
repository: null,
|
data/docs/MavenMavenRemote.md
CHANGED
@@ -18,7 +18,7 @@ Name | Type | Description | Notes
|
|
18
18
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
19
19
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
20
20
|
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
21
|
-
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. | [optional]
|
21
|
+
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. * `immediate` - immediate * `When syncing, download all metadata and content now.` - When syncing, download all metadata and content now. | [optional]
|
22
22
|
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
23
23
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
24
24
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
@@ -16,7 +16,7 @@ Name | Type | Description | Notes
|
|
16
16
|
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
17
17
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
18
18
|
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
19
|
-
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. | [optional]
|
19
|
+
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. * `immediate` - immediate * `When syncing, download all metadata and content now.` - When syncing, download all metadata and content now. | [optional]
|
20
20
|
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
21
21
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
22
22
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional]
|
8
8
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
9
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
9
10
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
10
11
|
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
11
12
|
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
@@ -18,6 +19,7 @@ require 'PulpMavenClient'
|
|
18
19
|
|
19
20
|
instance = PulpMavenClient::PatchedmavenMavenDistribution.new(base_path: null,
|
20
21
|
content_guard: null,
|
22
|
+
hidden: null,
|
21
23
|
pulp_labels: null,
|
22
24
|
name: null,
|
23
25
|
repository: null,
|
@@ -18,7 +18,7 @@ Name | Type | Description | Notes
|
|
18
18
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
19
19
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
20
20
|
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
21
|
-
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. | [optional]
|
21
|
+
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. * `immediate` - immediate * `When syncing, download all metadata and content now.` - When syncing, download all metadata and content now. | [optional]
|
22
22
|
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
23
23
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
24
24
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
data/docs/PulpMavenApi.md
CHANGED
data/docs/RemotesMavenApi.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpMavenClient::RemotesMavenApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *http://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -9,6 +9,8 @@ Method | HTTP request | Description
|
|
9
9
|
[**list**](RemotesMavenApi.md#list) | **GET** /pulp/api/v3/remotes/maven/maven/ | List maven remotes
|
10
10
|
[**partial_update**](RemotesMavenApi.md#partial_update) | **PATCH** {maven_maven_remote_href} | Update a maven remote
|
11
11
|
[**read**](RemotesMavenApi.md#read) | **GET** {maven_maven_remote_href} | Inspect a maven remote
|
12
|
+
[**set_label**](RemotesMavenApi.md#set_label) | **POST** {maven_maven_remote_href}set_label/ | Set a label
|
13
|
+
[**unset_label**](RemotesMavenApi.md#unset_label) | **POST** {maven_maven_remote_href}unset_label/ | Unset a label
|
12
14
|
[**update**](RemotesMavenApi.md#update) | **PUT** {maven_maven_remote_href} | Update a maven remote
|
13
15
|
|
14
16
|
|
@@ -145,10 +147,16 @@ opts = {
|
|
145
147
|
name: 'name_example', # String | Filter results where name matches value
|
146
148
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
147
149
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
150
|
+
name__iexact: 'name__iexact_example', # String | Filter results where name matches value
|
148
151
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
152
|
+
name__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
|
153
|
+
name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
|
154
|
+
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
149
155
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
150
156
|
offset: 56, # Integer | The initial index from which to return the results.
|
151
|
-
ordering: ['ordering_example'], # Array<String> | Ordering
|
157
|
+
ordering: ['ordering_example'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
158
|
+
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
159
|
+
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
152
160
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
153
161
|
pulp_last_updated: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated matches value
|
154
162
|
pulp_last_updated__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is greater than value
|
@@ -156,6 +164,7 @@ opts = {
|
|
156
164
|
pulp_last_updated__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than value
|
157
165
|
pulp_last_updated__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than or equal to value
|
158
166
|
pulp_last_updated__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_last_updated is between two comma separated values
|
167
|
+
q: 'q_example', # String |
|
159
168
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
160
169
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
161
170
|
}
|
@@ -178,10 +187,16 @@ Name | Type | Description | Notes
|
|
178
187
|
**name** | **String**| Filter results where name matches value | [optional]
|
179
188
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
180
189
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
190
|
+
**name__iexact** | **String**| Filter results where name matches value | [optional]
|
181
191
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
192
|
+
**name__iregex** | **String**| Filter results where name matches regex value | [optional]
|
193
|
+
**name__istartswith** | **String**| Filter results where name starts with value | [optional]
|
194
|
+
**name__regex** | **String**| Filter results where name matches regex value | [optional]
|
182
195
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
183
196
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
184
|
-
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
197
|
+
**ordering** | [**Array<String>**](String.md)| Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
198
|
+
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
199
|
+
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
185
200
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
186
201
|
**pulp_last_updated** | **DateTime**| Filter results where pulp_last_updated matches value | [optional]
|
187
202
|
**pulp_last_updated__gt** | **DateTime**| Filter results where pulp_last_updated is greater than value | [optional]
|
@@ -189,6 +204,7 @@ Name | Type | Description | Notes
|
|
189
204
|
**pulp_last_updated__lt** | **DateTime**| Filter results where pulp_last_updated is less than value | [optional]
|
190
205
|
**pulp_last_updated__lte** | **DateTime**| Filter results where pulp_last_updated is less than or equal to value | [optional]
|
191
206
|
**pulp_last_updated__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_last_updated is between two comma separated values | [optional]
|
207
|
+
**q** | **String**| | [optional]
|
192
208
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
193
209
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
194
210
|
|
@@ -320,6 +336,116 @@ Name | Type | Description | Notes
|
|
320
336
|
- **Accept**: application/json
|
321
337
|
|
322
338
|
|
339
|
+
## set_label
|
340
|
+
|
341
|
+
> SetLabelResponse set_label(maven_maven_remote_href, set_label)
|
342
|
+
|
343
|
+
Set a label
|
344
|
+
|
345
|
+
Set a single pulp_label on the object to a specific value or null.
|
346
|
+
|
347
|
+
### Example
|
348
|
+
|
349
|
+
```ruby
|
350
|
+
# load the gem
|
351
|
+
require 'pulp_maven_client'
|
352
|
+
# setup authorization
|
353
|
+
PulpMavenClient.configure do |config|
|
354
|
+
# Configure HTTP basic authorization: basicAuth
|
355
|
+
config.username = 'YOUR USERNAME'
|
356
|
+
config.password = 'YOUR PASSWORD'
|
357
|
+
end
|
358
|
+
|
359
|
+
api_instance = PulpMavenClient::RemotesMavenApi.new
|
360
|
+
maven_maven_remote_href = 'maven_maven_remote_href_example' # String |
|
361
|
+
set_label = PulpMavenClient::SetLabel.new # SetLabel |
|
362
|
+
|
363
|
+
begin
|
364
|
+
#Set a label
|
365
|
+
result = api_instance.set_label(maven_maven_remote_href, set_label)
|
366
|
+
p result
|
367
|
+
rescue PulpMavenClient::ApiError => e
|
368
|
+
puts "Exception when calling RemotesMavenApi->set_label: #{e}"
|
369
|
+
end
|
370
|
+
```
|
371
|
+
|
372
|
+
### Parameters
|
373
|
+
|
374
|
+
|
375
|
+
Name | Type | Description | Notes
|
376
|
+
------------- | ------------- | ------------- | -------------
|
377
|
+
**maven_maven_remote_href** | **String**| |
|
378
|
+
**set_label** | [**SetLabel**](SetLabel.md)| |
|
379
|
+
|
380
|
+
### Return type
|
381
|
+
|
382
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
383
|
+
|
384
|
+
### Authorization
|
385
|
+
|
386
|
+
[basicAuth](../README.md#basicAuth)
|
387
|
+
|
388
|
+
### HTTP request headers
|
389
|
+
|
390
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
391
|
+
- **Accept**: application/json
|
392
|
+
|
393
|
+
|
394
|
+
## unset_label
|
395
|
+
|
396
|
+
> UnsetLabelResponse unset_label(maven_maven_remote_href, unset_label)
|
397
|
+
|
398
|
+
Unset a label
|
399
|
+
|
400
|
+
Unset a single pulp_label on the object.
|
401
|
+
|
402
|
+
### Example
|
403
|
+
|
404
|
+
```ruby
|
405
|
+
# load the gem
|
406
|
+
require 'pulp_maven_client'
|
407
|
+
# setup authorization
|
408
|
+
PulpMavenClient.configure do |config|
|
409
|
+
# Configure HTTP basic authorization: basicAuth
|
410
|
+
config.username = 'YOUR USERNAME'
|
411
|
+
config.password = 'YOUR PASSWORD'
|
412
|
+
end
|
413
|
+
|
414
|
+
api_instance = PulpMavenClient::RemotesMavenApi.new
|
415
|
+
maven_maven_remote_href = 'maven_maven_remote_href_example' # String |
|
416
|
+
unset_label = PulpMavenClient::UnsetLabel.new # UnsetLabel |
|
417
|
+
|
418
|
+
begin
|
419
|
+
#Unset a label
|
420
|
+
result = api_instance.unset_label(maven_maven_remote_href, unset_label)
|
421
|
+
p result
|
422
|
+
rescue PulpMavenClient::ApiError => e
|
423
|
+
puts "Exception when calling RemotesMavenApi->unset_label: #{e}"
|
424
|
+
end
|
425
|
+
```
|
426
|
+
|
427
|
+
### Parameters
|
428
|
+
|
429
|
+
|
430
|
+
Name | Type | Description | Notes
|
431
|
+
------------- | ------------- | ------------- | -------------
|
432
|
+
**maven_maven_remote_href** | **String**| |
|
433
|
+
**unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
|
434
|
+
|
435
|
+
### Return type
|
436
|
+
|
437
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
438
|
+
|
439
|
+
### Authorization
|
440
|
+
|
441
|
+
[basicAuth](../README.md#basicAuth)
|
442
|
+
|
443
|
+
### HTTP request headers
|
444
|
+
|
445
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
446
|
+
- **Accept**: application/json
|
447
|
+
|
448
|
+
|
323
449
|
## update
|
324
450
|
|
325
451
|
> AsyncOperationResponse update(maven_maven_remote_href, maven_maven_remote)
|