pulp_maven_client 0.6.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +15 -5
  3. data/docs/ContentArtifactApi.md +3 -1
  4. data/docs/DistributionsMavenApi.md +126 -4
  5. data/docs/MavenMavenArtifact.md +3 -1
  6. data/docs/MavenMavenDistribution.md +2 -0
  7. data/docs/MavenMavenDistributionResponse.md +2 -0
  8. data/docs/PatchedmavenMavenDistribution.md +2 -0
  9. data/docs/PulpMavenApi.md +1 -1
  10. data/docs/RemotesMavenApi.md +123 -1
  11. data/docs/RepositoriesMavenApi.md +124 -2
  12. data/docs/RepositoriesMavenVersionsApi.md +3 -1
  13. data/docs/SetLabel.md +19 -0
  14. data/docs/SetLabelResponse.md +19 -0
  15. data/docs/UnsetLabel.md +17 -0
  16. data/docs/UnsetLabelResponse.md +19 -0
  17. data/lib/pulp_maven_client/api/content_artifact_api.rb +3 -0
  18. data/lib/pulp_maven_client/api/distributions_maven_api.rb +158 -3
  19. data/lib/pulp_maven_client/api/remotes_maven_api.rb +155 -0
  20. data/lib/pulp_maven_client/api/repositories_maven_api.rb +155 -0
  21. data/lib/pulp_maven_client/api/repositories_maven_versions_api.rb +3 -0
  22. data/lib/pulp_maven_client/configuration.rb +2 -2
  23. data/lib/pulp_maven_client/models/maven_maven_artifact.rb +11 -1
  24. data/lib/pulp_maven_client/models/maven_maven_distribution.rb +13 -1
  25. data/lib/pulp_maven_client/models/maven_maven_distribution_response.rb +13 -1
  26. data/lib/pulp_maven_client/models/patchedmaven_maven_distribution.rb +13 -1
  27. data/lib/pulp_maven_client/models/set_label.rb +252 -0
  28. data/lib/pulp_maven_client/models/set_label_response.rb +243 -0
  29. data/lib/pulp_maven_client/models/unset_label.rb +242 -0
  30. data/lib/pulp_maven_client/models/unset_label_response.rb +242 -0
  31. data/lib/pulp_maven_client/version.rb +1 -1
  32. data/lib/pulp_maven_client.rb +4 -0
  33. data/spec/api/content_artifact_api_spec.rb +1 -0
  34. data/spec/api/distributions_maven_api_spec.rb +32 -1
  35. data/spec/api/remotes_maven_api_spec.rb +31 -0
  36. data/spec/api/repositories_maven_api_spec.rb +31 -0
  37. data/spec/api/repositories_maven_versions_api_spec.rb +1 -0
  38. data/spec/configuration_spec.rb +3 -3
  39. data/spec/models/maven_maven_artifact_spec.rb +6 -0
  40. data/spec/models/maven_maven_distribution_response_spec.rb +6 -0
  41. data/spec/models/maven_maven_distribution_spec.rb +6 -0
  42. data/spec/models/patchedmaven_maven_distribution_spec.rb +6 -0
  43. data/spec/models/set_label_response_spec.rb +47 -0
  44. data/spec/models/set_label_spec.rb +47 -0
  45. data/spec/models/unset_label_response_spec.rb +47 -0
  46. data/spec/models/unset_label_spec.rb +41 -0
  47. metadata +38 -22
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 971ca09509cd76f7b39897d29751eec843f7fffbe880714aef7fdc5e0b748f2b
4
- data.tar.gz: 92183cfbef8395d5b0dce39628ec502af1d5b6af460ebcaf10ca53ab6724e51f
3
+ metadata.gz: 48aea72a54396aac05597d3ef5d28ef5252dc645845962a8e45b85581fa0814b
4
+ data.tar.gz: 544d974c766eb555ce2494bc044afef33adbc51e0b2389c8beb0d0e402267e47
5
5
  SHA512:
6
- metadata.gz: 2c5278e35ba29f0ea7274b1d9ae28563e1f491209d221c90aa100cbfbabf48158f0e071192101f683038d5b37c261e95f05553240d2cf971b10df308923b1b92
7
- data.tar.gz: e4c849f2ec9f91f530f8146379dd4962f91ff5391a6ffe520efff42a32f84b00b51117bc36d15831befe0bee8f50837918c14a15ba4bff83b269b88bf22701e6
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.6.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.6.0.gem
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.6.0.gem` to install the development dependencies)
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.6.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 *https://pulp*
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
@@ -1,6 +1,6 @@
1
1
  # PulpMavenClient::ContentArtifactApi
2
2
 
3
- All URIs are relative to *https://pulp*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -93,6 +93,7 @@ opts = {
93
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
94
  pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
95
95
  pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
96
+ q: 'q_example', # String |
96
97
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
97
98
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
98
99
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
@@ -123,6 +124,7 @@ Name | Type | Description | Notes
123
124
  **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;group_id&#x60; - Group id * &#x60;-group_id&#x60; - Group id (descending) * &#x60;artifact_id&#x60; - Artifact id * &#x60;-artifact_id&#x60; - Artifact id (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;filename&#x60; - Filename * &#x60;-filename&#x60; - Filename (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
124
125
  **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
125
126
  **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
127
+ **q** | **String**| | [optional]
126
128
  **repository_version** | **String**| Repository Version referenced by HREF | [optional]
127
129
  **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
128
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 *https://pulp*
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,13 +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 * `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) * `pk` - Pk * `-pk` - Pk (descending)
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)
156
162
  pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
157
163
  pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
158
164
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
165
+ q: 'q_example', # String |
159
166
  repository: 'repository_example', # String | Filter results where repository matches value
160
167
  repository__in: ['repository__in_example'], # Array<String> | Filter results where repository is in a comma-separated list of values
161
168
  with_content: 'with_content_example', # String | Filter distributions based on the content served by them
@@ -185,14 +192,19 @@ Name | Type | Description | Notes
185
192
  **name** | **String**| Filter results where name matches value | [optional]
186
193
  **name__contains** | **String**| Filter results where name contains value | [optional]
187
194
  **name__icontains** | **String**| Filter results where name contains value | [optional]
195
+ **name__iexact** | **String**| Filter results where name matches value | [optional]
188
196
  **name__in** | [**Array&lt;String&gt;**](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]
189
200
  **name__startswith** | **String**| Filter results where name starts with value | [optional]
190
201
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
191
- **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
202
+ **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
192
203
  **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
193
204
  **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
194
205
  **pulp_label_select** | **String**| Filter labels by search string | [optional]
195
- **repository** | **String**| Filter results where repository matches value | [optional]
206
+ **q** | **String**| | [optional]
207
+ **repository** | [**String**](.md)| Filter results where repository matches value | [optional]
196
208
  **repository__in** | [**Array&lt;String&gt;**](String.md)| Filter results where repository is in a comma-separated list of values | [optional]
197
209
  **with_content** | **String**| Filter distributions based on the content served by them | [optional]
198
210
  **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
@@ -326,6 +338,116 @@ Name | Type | Description | Notes
326
338
  - **Accept**: application/json
327
339
 
328
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
+
329
451
  ## update
330
452
 
331
453
  > AsyncOperationResponse update(maven_maven_distribution_href, maven_maven_distribution)
@@ -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(artifact: null,
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. \&quot;foo\&quot; and \&quot;foo/bar\&quot;) |
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&lt;String, String&gt;** | | [optional]
10
11
  **name** | **String** | A unique name. Ex, &#x60;rawhide&#x60; and &#x60;stable&#x60;. |
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. \&quot;foo\&quot; and \&quot;foo/bar\&quot;) |
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&lt;String, String&gt;** | | [optional]
13
14
  **name** | **String** | A unique name. Ex, &#x60;rawhide&#x60; and &#x60;stable&#x60;. |
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,
@@ -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. \&quot;foo\&quot; and \&quot;foo/bar\&quot;) | [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&lt;String, String&gt;** | | [optional]
10
11
  **name** | **String** | A unique name. Ex, &#x60;rawhide&#x60; and &#x60;stable&#x60;. | [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,
data/docs/PulpMavenApi.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # PulpMavenClient::PulpMavenApi
2
2
 
3
- All URIs are relative to *https://pulp*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpMavenClient::RemotesMavenApi
2
2
 
3
- All URIs are relative to *https://pulp*
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,7 +147,11 @@ 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
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,6 +164,7 @@ opts = {
158
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
159
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
160
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 |
161
168
  fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
162
169
  exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
163
170
  }
@@ -180,7 +187,11 @@ Name | Type | Description | Notes
180
187
  **name** | **String**| Filter results where name matches value | [optional]
181
188
  **name__contains** | **String**| Filter results where name contains value | [optional]
182
189
  **name__icontains** | **String**| Filter results where name contains value | [optional]
190
+ **name__iexact** | **String**| Filter results where name matches value | [optional]
183
191
  **name__in** | [**Array&lt;String&gt;**](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]
184
195
  **name__startswith** | **String**| Filter results where name starts with value | [optional]
185
196
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
186
197
  **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;ca_cert&#x60; - Ca cert * &#x60;-ca_cert&#x60; - Ca cert (descending) * &#x60;client_cert&#x60; - Client cert * &#x60;-client_cert&#x60; - Client cert (descending) * &#x60;client_key&#x60; - Client key * &#x60;-client_key&#x60; - Client key (descending) * &#x60;tls_validation&#x60; - Tls validation * &#x60;-tls_validation&#x60; - Tls validation (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;proxy_url&#x60; - Proxy url * &#x60;-proxy_url&#x60; - Proxy url (descending) * &#x60;proxy_username&#x60; - Proxy username * &#x60;-proxy_username&#x60; - Proxy username (descending) * &#x60;proxy_password&#x60; - Proxy password * &#x60;-proxy_password&#x60; - Proxy password (descending) * &#x60;download_concurrency&#x60; - Download concurrency * &#x60;-download_concurrency&#x60; - Download concurrency (descending) * &#x60;max_retries&#x60; - Max retries * &#x60;-max_retries&#x60; - Max retries (descending) * &#x60;policy&#x60; - Policy * &#x60;-policy&#x60; - Policy (descending) * &#x60;total_timeout&#x60; - Total timeout * &#x60;-total_timeout&#x60; - Total timeout (descending) * &#x60;connect_timeout&#x60; - Connect timeout * &#x60;-connect_timeout&#x60; - Connect timeout (descending) * &#x60;sock_connect_timeout&#x60; - Sock connect timeout * &#x60;-sock_connect_timeout&#x60; - Sock connect timeout (descending) * &#x60;sock_read_timeout&#x60; - Sock read timeout * &#x60;-sock_read_timeout&#x60; - Sock read timeout (descending) * &#x60;headers&#x60; - Headers * &#x60;-headers&#x60; - Headers (descending) * &#x60;rate_limit&#x60; - Rate limit * &#x60;-rate_limit&#x60; - Rate limit (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
@@ -193,6 +204,7 @@ Name | Type | Description | Notes
193
204
  **pulp_last_updated__lt** | **DateTime**| Filter results where pulp_last_updated is less than value | [optional]
194
205
  **pulp_last_updated__lte** | **DateTime**| Filter results where pulp_last_updated is less than or equal to value | [optional]
195
206
  **pulp_last_updated__range** | [**Array&lt;DateTime&gt;**](DateTime.md)| Filter results where pulp_last_updated is between two comma separated values | [optional]
207
+ **q** | **String**| | [optional]
196
208
  **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
197
209
  **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
198
210
 
@@ -324,6 +336,116 @@ Name | Type | Description | Notes
324
336
  - **Accept**: application/json
325
337
 
326
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
+
327
449
  ## update
328
450
 
329
451
  > AsyncOperationResponse update(maven_maven_remote_href, maven_maven_remote)