pulp_maven_client 0.8.1 → 0.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -7
  3. data/docs/AsyncOperationResponse.md +8 -7
  4. data/docs/ContentArtifactApi.md +116 -64
  5. data/docs/ContentSummaryResponse.md +12 -11
  6. data/docs/DistributionsMavenApi.md +267 -130
  7. data/docs/MavenMavenArtifact.md +12 -11
  8. data/docs/MavenMavenArtifactResponse.md +24 -21
  9. data/docs/MavenMavenDistribution.md +20 -19
  10. data/docs/MavenMavenDistributionResponse.md +32 -27
  11. data/docs/MavenMavenRemote.md +48 -47
  12. data/docs/MavenMavenRemoteResponse.md +48 -45
  13. data/docs/MavenMavenRemoteResponseHiddenFieldsInner.md +20 -0
  14. data/docs/MavenMavenRepository.md +16 -15
  15. data/docs/MavenMavenRepositoryResponse.md +28 -25
  16. data/docs/PaginatedRepositoryVersionResponseList.md +14 -13
  17. data/docs/PaginatedmavenMavenArtifactResponseList.md +14 -13
  18. data/docs/PaginatedmavenMavenDistributionResponseList.md +14 -13
  19. data/docs/PaginatedmavenMavenRemoteResponseList.md +14 -13
  20. data/docs/PaginatedmavenMavenRepositoryResponseList.md +14 -13
  21. data/docs/PatchedmavenMavenDistribution.md +20 -19
  22. data/docs/PatchedmavenMavenRemote.md +48 -47
  23. data/docs/PatchedmavenMavenRepository.md +16 -15
  24. data/docs/PolicyEnum.md +4 -5
  25. data/docs/PulpMavenApi.md +61 -26
  26. data/docs/RemotesMavenApi.md +271 -132
  27. data/docs/Repair.md +8 -7
  28. data/docs/RepositoriesMavenApi.md +300 -146
  29. data/docs/RepositoriesMavenVersionsApi.md +155 -83
  30. data/docs/RepositoryAddCachedContent.md +8 -7
  31. data/docs/RepositoryVersionResponse.md +22 -19
  32. data/docs/SetLabel.md +10 -9
  33. data/docs/SetLabelResponse.md +10 -9
  34. data/docs/UnsetLabel.md +8 -7
  35. data/docs/UnsetLabelResponse.md +10 -9
  36. data/lib/pulp_maven_client/api/content_artifact_api.rb +31 -22
  37. data/lib/pulp_maven_client/api/distributions_maven_api.rb +66 -40
  38. data/lib/pulp_maven_client/api/pulp_maven_api.rb +9 -7
  39. data/lib/pulp_maven_client/api/remotes_maven_api.rb +81 -52
  40. data/lib/pulp_maven_client/api/repositories_maven_api.rb +79 -49
  41. data/lib/pulp_maven_client/api/repositories_maven_versions_api.rb +50 -37
  42. data/lib/pulp_maven_client/api_client.rb +137 -102
  43. data/lib/pulp_maven_client/api_error.rb +2 -1
  44. data/lib/pulp_maven_client/configuration.rb +162 -21
  45. data/lib/pulp_maven_client/models/async_operation_response.rb +32 -22
  46. data/lib/pulp_maven_client/models/content_summary_response.rb +36 -22
  47. data/lib/pulp_maven_client/models/maven_maven_artifact.rb +34 -22
  48. data/lib/pulp_maven_client/models/maven_maven_artifact_response.rb +45 -25
  49. data/lib/pulp_maven_client/models/maven_maven_distribution.rb +34 -22
  50. data/lib/pulp_maven_client/models/maven_maven_distribution_response.rb +57 -25
  51. data/lib/pulp_maven_client/models/maven_maven_remote.rb +57 -38
  52. data/lib/pulp_maven_client/models/maven_maven_remote_response.rb +71 -42
  53. data/lib/pulp_maven_client/models/{maven_maven_remote_response_hidden_fields.rb → maven_maven_remote_response_hidden_fields_inner.rb} +37 -25
  54. data/lib/pulp_maven_client/models/maven_maven_repository.rb +32 -37
  55. data/lib/pulp_maven_client/models/maven_maven_repository_response.rb +45 -40
  56. data/lib/pulp_maven_client/models/paginated_repository_version_response_list.rb +34 -24
  57. data/lib/pulp_maven_client/models/paginatedmaven_maven_artifact_response_list.rb +34 -24
  58. data/lib/pulp_maven_client/models/paginatedmaven_maven_distribution_response_list.rb +34 -24
  59. data/lib/pulp_maven_client/models/paginatedmaven_maven_remote_response_list.rb +34 -24
  60. data/lib/pulp_maven_client/models/paginatedmaven_maven_repository_response_list.rb +34 -24
  61. data/lib/pulp_maven_client/models/patchedmaven_maven_distribution.rb +40 -24
  62. data/lib/pulp_maven_client/models/patchedmaven_maven_remote.rb +63 -40
  63. data/lib/pulp_maven_client/models/patchedmaven_maven_repository.rb +35 -38
  64. data/lib/pulp_maven_client/models/policy_enum.rb +8 -5
  65. data/lib/pulp_maven_client/models/repair.rb +30 -22
  66. data/lib/pulp_maven_client/models/repository_add_cached_content.rb +30 -22
  67. data/lib/pulp_maven_client/models/repository_version_response.rb +44 -26
  68. data/lib/pulp_maven_client/models/set_label.rb +34 -22
  69. data/lib/pulp_maven_client/models/set_label_response.rb +34 -22
  70. data/lib/pulp_maven_client/models/unset_label.rb +32 -22
  71. data/lib/pulp_maven_client/models/unset_label_response.rb +32 -22
  72. data/lib/pulp_maven_client/version.rb +2 -2
  73. data/lib/pulp_maven_client.rb +2 -2
  74. data/pulp_maven_client.gemspec +9 -6
  75. data/spec/api/content_artifact_api_spec.rb +9 -8
  76. data/spec/api/distributions_maven_api_spec.rb +11 -10
  77. data/spec/api/pulp_maven_api_spec.rb +3 -3
  78. data/spec/api/remotes_maven_api_spec.rb +18 -16
  79. data/spec/api/repositories_maven_api_spec.rb +14 -13
  80. data/spec/api/repositories_maven_versions_api_spec.rb +16 -14
  81. data/spec/models/async_operation_response_spec.rb +7 -12
  82. data/spec/models/content_summary_response_spec.rb +9 -14
  83. data/spec/models/maven_maven_artifact_response_spec.rb +20 -19
  84. data/spec/models/maven_maven_artifact_spec.rb +9 -14
  85. data/spec/models/maven_maven_distribution_response_spec.rb +29 -22
  86. data/spec/models/maven_maven_distribution_spec.rb +13 -18
  87. data/spec/models/{maven_maven_remote_response_hidden_fields_spec.rb → maven_maven_remote_response_hidden_fields_inner_spec.rb} +11 -16
  88. data/spec/models/maven_maven_remote_response_spec.rb +32 -31
  89. data/spec/models/maven_maven_remote_spec.rb +27 -32
  90. data/spec/models/maven_maven_repository_response_spec.rb +22 -21
  91. data/spec/models/maven_maven_repository_spec.rb +11 -16
  92. data/spec/models/paginated_repository_version_response_list_spec.rb +10 -15
  93. data/spec/models/paginatedmaven_maven_artifact_response_list_spec.rb +10 -15
  94. data/spec/models/paginatedmaven_maven_distribution_response_list_spec.rb +10 -15
  95. data/spec/models/paginatedmaven_maven_remote_response_list_spec.rb +10 -15
  96. data/spec/models/paginatedmaven_maven_repository_response_list_spec.rb +10 -15
  97. data/spec/models/patchedmaven_maven_distribution_spec.rb +13 -18
  98. data/spec/models/patchedmaven_maven_remote_spec.rb +27 -32
  99. data/spec/models/patchedmaven_maven_repository_spec.rb +11 -16
  100. data/spec/models/policy_enum_spec.rb +6 -11
  101. data/spec/models/repair_spec.rb +7 -12
  102. data/spec/models/repository_add_cached_content_spec.rb +7 -12
  103. data/spec/models/repository_version_response_spec.rb +19 -18
  104. data/spec/models/set_label_response_spec.rb +8 -13
  105. data/spec/models/set_label_spec.rb +8 -13
  106. data/spec/models/unset_label_response_spec.rb +8 -13
  107. data/spec/models/unset_label_spec.rb +7 -12
  108. data/spec/spec_helper.rb +1 -1
  109. metadata +78 -54
  110. data/docs/MavenMavenRemoteResponseHiddenFields.md +0 -19
  111. data/spec/api_client_spec.rb +0 -188
  112. data/spec/configuration_spec.rb +0 -42
@@ -1,33 +1,32 @@
1
1
  # PulpMavenClient::RepositoriesMavenApi
2
2
 
3
- All URIs are relative to *http://pulp*
4
-
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**add_cached_content**](RepositoriesMavenApi.md#add_cached_content) | **POST** {maven_maven_repository_href}add_cached_content/ | Add cached content
8
- [**create**](RepositoriesMavenApi.md#create) | **POST** /pulp/api/v3/repositories/maven/maven/ | Create a maven repository
9
- [**delete**](RepositoriesMavenApi.md#delete) | **DELETE** {maven_maven_repository_href} | Delete a maven repository
10
- [**list**](RepositoriesMavenApi.md#list) | **GET** /pulp/api/v3/repositories/maven/maven/ | List maven repositorys
11
- [**partial_update**](RepositoriesMavenApi.md#partial_update) | **PATCH** {maven_maven_repository_href} | Update a maven repository
12
- [**read**](RepositoriesMavenApi.md#read) | **GET** {maven_maven_repository_href} | Inspect a maven repository
13
- [**set_label**](RepositoriesMavenApi.md#set_label) | **POST** {maven_maven_repository_href}set_label/ | Set a label
14
- [**unset_label**](RepositoriesMavenApi.md#unset_label) | **POST** {maven_maven_repository_href}unset_label/ | Unset a label
15
- [**update**](RepositoriesMavenApi.md#update) | **PUT** {maven_maven_repository_href} | Update a maven repository
3
+ All URIs are relative to *http://localhost:24817*
16
4
 
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**add_cached_content**](RepositoriesMavenApi.md#add_cached_content) | **POST** {maven_maven_repository_href}add_cached_content/ | Add cached content |
8
+ | [**create**](RepositoriesMavenApi.md#create) | **POST** /pulp/api/v3/repositories/maven/maven/ | Create a maven repository |
9
+ | [**delete**](RepositoriesMavenApi.md#delete) | **DELETE** {maven_maven_repository_href} | Delete a maven repository |
10
+ | [**list**](RepositoriesMavenApi.md#list) | **GET** /pulp/api/v3/repositories/maven/maven/ | List maven repositorys |
11
+ | [**partial_update**](RepositoriesMavenApi.md#partial_update) | **PATCH** {maven_maven_repository_href} | Update a maven repository |
12
+ | [**read**](RepositoriesMavenApi.md#read) | **GET** {maven_maven_repository_href} | Inspect a maven repository |
13
+ | [**set_label**](RepositoriesMavenApi.md#set_label) | **POST** {maven_maven_repository_href}set_label/ | Set a label |
14
+ | [**unset_label**](RepositoriesMavenApi.md#unset_label) | **POST** {maven_maven_repository_href}unset_label/ | Unset a label |
15
+ | [**update**](RepositoriesMavenApi.md#update) | **PUT** {maven_maven_repository_href} | Update a maven repository |
17
16
 
18
17
 
19
18
  ## add_cached_content
20
19
 
21
- > AsyncOperationResponse add_cached_content(maven_maven_repository_href, repository_add_cached_content)
20
+ > <AsyncOperationResponse> add_cached_content(maven_maven_repository_href, repository_add_cached_content)
22
21
 
23
22
  Add cached content
24
23
 
25
24
  Trigger an asynchronous task to add cached content to a repository.
26
25
 
27
- ### Example
26
+ ### Examples
28
27
 
29
28
  ```ruby
30
- # load the gem
29
+ require 'time'
31
30
  require 'pulp_maven_client'
32
31
  # setup authorization
33
32
  PulpMavenClient.configure do |config|
@@ -41,21 +40,38 @@ maven_maven_repository_href = 'maven_maven_repository_href_example' # String |
41
40
  repository_add_cached_content = PulpMavenClient::RepositoryAddCachedContent.new # RepositoryAddCachedContent |
42
41
 
43
42
  begin
44
- #Add cached content
43
+ # Add cached content
45
44
  result = api_instance.add_cached_content(maven_maven_repository_href, repository_add_cached_content)
46
45
  p result
47
46
  rescue PulpMavenClient::ApiError => e
48
- puts "Exception when calling RepositoriesMavenApi->add_cached_content: #{e}"
47
+ puts "Error when calling RepositoriesMavenApi->add_cached_content: #{e}"
49
48
  end
50
49
  ```
51
50
 
52
- ### Parameters
51
+ #### Using the add_cached_content_with_http_info variant
52
+
53
+ This returns an Array which contains the response data, status code and headers.
54
+
55
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> add_cached_content_with_http_info(maven_maven_repository_href, repository_add_cached_content)
56
+
57
+ ```ruby
58
+ begin
59
+ # Add cached content
60
+ data, status_code, headers = api_instance.add_cached_content_with_http_info(maven_maven_repository_href, repository_add_cached_content)
61
+ p status_code # => 2xx
62
+ p headers # => { ... }
63
+ p data # => <AsyncOperationResponse>
64
+ rescue PulpMavenClient::ApiError => e
65
+ puts "Error when calling RepositoriesMavenApi->add_cached_content_with_http_info: #{e}"
66
+ end
67
+ ```
53
68
 
69
+ ### Parameters
54
70
 
55
- Name | Type | Description | Notes
56
- ------------- | ------------- | ------------- | -------------
57
- **maven_maven_repository_href** | **String**| |
58
- **repository_add_cached_content** | [**RepositoryAddCachedContent**](RepositoryAddCachedContent.md)| |
71
+ | Name | Type | Description | Notes |
72
+ | ---- | ---- | ----------- | ----- |
73
+ | **maven_maven_repository_href** | **String** | | |
74
+ | **repository_add_cached_content** | [**RepositoryAddCachedContent**](RepositoryAddCachedContent.md) | | |
59
75
 
60
76
  ### Return type
61
77
 
@@ -73,16 +89,16 @@ Name | Type | Description | Notes
73
89
 
74
90
  ## create
75
91
 
76
- > MavenMavenRepositoryResponse create(maven_maven_repository)
92
+ > <MavenMavenRepositoryResponse> create(maven_maven_repository)
77
93
 
78
94
  Create a maven repository
79
95
 
80
96
  A ViewSet for MavenRemote.
81
97
 
82
- ### Example
98
+ ### Examples
83
99
 
84
100
  ```ruby
85
- # load the gem
101
+ require 'time'
86
102
  require 'pulp_maven_client'
87
103
  # setup authorization
88
104
  PulpMavenClient.configure do |config|
@@ -92,23 +108,40 @@ PulpMavenClient.configure do |config|
92
108
  end
93
109
 
94
110
  api_instance = PulpMavenClient::RepositoriesMavenApi.new
95
- maven_maven_repository = PulpMavenClient::MavenMavenRepository.new # MavenMavenRepository |
111
+ maven_maven_repository = PulpMavenClient::MavenMavenRepository.new({name: 'name_example'}) # MavenMavenRepository |
96
112
 
97
113
  begin
98
- #Create a maven repository
114
+ # Create a maven repository
99
115
  result = api_instance.create(maven_maven_repository)
100
116
  p result
101
117
  rescue PulpMavenClient::ApiError => e
102
- puts "Exception when calling RepositoriesMavenApi->create: #{e}"
118
+ puts "Error when calling RepositoriesMavenApi->create: #{e}"
103
119
  end
104
120
  ```
105
121
 
106
- ### Parameters
122
+ #### Using the create_with_http_info variant
107
123
 
124
+ This returns an Array which contains the response data, status code and headers.
108
125
 
109
- Name | Type | Description | Notes
110
- ------------- | ------------- | ------------- | -------------
111
- **maven_maven_repository** | [**MavenMavenRepository**](MavenMavenRepository.md)| |
126
+ > <Array(<MavenMavenRepositoryResponse>, Integer, Hash)> create_with_http_info(maven_maven_repository)
127
+
128
+ ```ruby
129
+ begin
130
+ # Create a maven repository
131
+ data, status_code, headers = api_instance.create_with_http_info(maven_maven_repository)
132
+ p status_code # => 2xx
133
+ p headers # => { ... }
134
+ p data # => <MavenMavenRepositoryResponse>
135
+ rescue PulpMavenClient::ApiError => e
136
+ puts "Error when calling RepositoriesMavenApi->create_with_http_info: #{e}"
137
+ end
138
+ ```
139
+
140
+ ### Parameters
141
+
142
+ | Name | Type | Description | Notes |
143
+ | ---- | ---- | ----------- | ----- |
144
+ | **maven_maven_repository** | [**MavenMavenRepository**](MavenMavenRepository.md) | | |
112
145
 
113
146
  ### Return type
114
147
 
@@ -126,16 +159,16 @@ Name | Type | Description | Notes
126
159
 
127
160
  ## delete
128
161
 
129
- > AsyncOperationResponse delete(maven_maven_repository_href)
162
+ > <AsyncOperationResponse> delete(maven_maven_repository_href)
130
163
 
131
164
  Delete a maven repository
132
165
 
133
166
  Trigger an asynchronous delete task
134
167
 
135
- ### Example
168
+ ### Examples
136
169
 
137
170
  ```ruby
138
- # load the gem
171
+ require 'time'
139
172
  require 'pulp_maven_client'
140
173
  # setup authorization
141
174
  PulpMavenClient.configure do |config|
@@ -148,20 +181,37 @@ api_instance = PulpMavenClient::RepositoriesMavenApi.new
148
181
  maven_maven_repository_href = 'maven_maven_repository_href_example' # String |
149
182
 
150
183
  begin
151
- #Delete a maven repository
184
+ # Delete a maven repository
152
185
  result = api_instance.delete(maven_maven_repository_href)
153
186
  p result
154
187
  rescue PulpMavenClient::ApiError => e
155
- puts "Exception when calling RepositoriesMavenApi->delete: #{e}"
188
+ puts "Error when calling RepositoriesMavenApi->delete: #{e}"
156
189
  end
157
190
  ```
158
191
 
159
- ### Parameters
192
+ #### Using the delete_with_http_info variant
193
+
194
+ This returns an Array which contains the response data, status code and headers.
160
195
 
196
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(maven_maven_repository_href)
161
197
 
162
- Name | Type | Description | Notes
163
- ------------- | ------------- | ------------- | -------------
164
- **maven_maven_repository_href** | **String**| |
198
+ ```ruby
199
+ begin
200
+ # Delete a maven repository
201
+ data, status_code, headers = api_instance.delete_with_http_info(maven_maven_repository_href)
202
+ p status_code # => 2xx
203
+ p headers # => { ... }
204
+ p data # => <AsyncOperationResponse>
205
+ rescue PulpMavenClient::ApiError => e
206
+ puts "Error when calling RepositoriesMavenApi->delete_with_http_info: #{e}"
207
+ end
208
+ ```
209
+
210
+ ### Parameters
211
+
212
+ | Name | Type | Description | Notes |
213
+ | ---- | ---- | ----------- | ----- |
214
+ | **maven_maven_repository_href** | **String** | | |
165
215
 
166
216
  ### Return type
167
217
 
@@ -179,16 +229,16 @@ Name | Type | Description | Notes
179
229
 
180
230
  ## list
181
231
 
182
- > PaginatedmavenMavenRepositoryResponseList list(opts)
232
+ > <PaginatedmavenMavenRepositoryResponseList> list(opts)
183
233
 
184
234
  List maven repositorys
185
235
 
186
236
  A ViewSet for MavenRemote.
187
237
 
188
- ### Example
238
+ ### Examples
189
239
 
190
240
  ```ruby
191
- # load the gem
241
+ require 'time'
192
242
  require 'pulp_maven_client'
193
243
  # setup authorization
194
244
  PulpMavenClient.configure do |config|
@@ -199,24 +249,25 @@ end
199
249
 
200
250
  api_instance = PulpMavenClient::RepositoriesMavenApi.new
201
251
  opts = {
202
- latest_with_content: 'latest_with_content_example', # String | Content Unit referenced by HREF
252
+ latest_with_content: 'latest_with_content_example', # String | Content Unit referenced by HREF/PRN
203
253
  limit: 56, # Integer | Number of results to return per page.
204
254
  name: 'name_example', # String | Filter results where name matches value
205
255
  name__contains: 'name__contains_example', # String | Filter results where name contains value
206
256
  name__icontains: 'name__icontains_example', # String | Filter results where name contains value
207
257
  name__iexact: 'name__iexact_example', # String | Filter results where name matches value
208
- name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
258
+ name__in: ['inner_example'], # Array<String> | Filter results where name is in a comma-separated list of values
209
259
  name__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
210
260
  name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
211
261
  name__regex: 'name__regex_example', # String | Filter results where name matches regex value
212
262
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
213
263
  offset: 56, # Integer | The initial index from which to return the results.
214
- 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) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
215
- pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
216
- pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
264
+ ordering: ['-description'], # 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) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
265
+ prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
266
+ pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
267
+ pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
217
268
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
218
- q: 'q_example', # String |
219
- remote: 'remote_example', # String | Foreign Key referenced by HREF
269
+ q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
270
+ remote: '38400000-8cf0-11bd-b23e-10b96e4ef00d', # String | Foreign Key referenced by HREF
220
271
  retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
221
272
  retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
222
273
  retain_repo_versions__gte: 56, # Integer | Filter results where retain_repo_versions is greater than or equal to value
@@ -224,55 +275,73 @@ opts = {
224
275
  retain_repo_versions__lt: 56, # Integer | Filter results where retain_repo_versions is less than value
225
276
  retain_repo_versions__lte: 56, # Integer | Filter results where retain_repo_versions is less than or equal to value
226
277
  retain_repo_versions__ne: 56, # Integer | Filter results where retain_repo_versions not equal to value
227
- retain_repo_versions__range: [56], # Array<Integer> | Filter results where retain_repo_versions is between two comma separated values
228
- with_content: 'with_content_example', # String | Content Unit referenced by HREF
229
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
230
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
278
+ retain_repo_versions__range: [37], # Array<Integer> | Filter results where retain_repo_versions is between two comma separated values
279
+ with_content: 'with_content_example', # String | Content Unit referenced by HREF/PRN
280
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
281
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
231
282
  }
232
283
 
233
284
  begin
234
- #List maven repositorys
285
+ # List maven repositorys
235
286
  result = api_instance.list(opts)
236
287
  p result
237
288
  rescue PulpMavenClient::ApiError => e
238
- puts "Exception when calling RepositoriesMavenApi->list: #{e}"
289
+ puts "Error when calling RepositoriesMavenApi->list: #{e}"
239
290
  end
240
291
  ```
241
292
 
242
- ### Parameters
293
+ #### Using the list_with_http_info variant
243
294
 
295
+ This returns an Array which contains the response data, status code and headers.
244
296
 
245
- Name | Type | Description | Notes
246
- ------------- | ------------- | ------------- | -------------
247
- **latest_with_content** | **String**| Content Unit referenced by HREF | [optional]
248
- **limit** | **Integer**| Number of results to return per page. | [optional]
249
- **name** | **String**| Filter results where name matches value | [optional]
250
- **name__contains** | **String**| Filter results where name contains value | [optional]
251
- **name__icontains** | **String**| Filter results where name contains value | [optional]
252
- **name__iexact** | **String**| Filter results where name matches value | [optional]
253
- **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
254
- **name__iregex** | **String**| Filter results where name matches regex value | [optional]
255
- **name__istartswith** | **String**| Filter results where name starts with value | [optional]
256
- **name__regex** | **String**| Filter results where name matches regex value | [optional]
257
- **name__startswith** | **String**| Filter results where name starts with value | [optional]
258
- **offset** | **Integer**| The initial index from which to return the results. | [optional]
259
- **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;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
260
- **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
261
- **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
262
- **pulp_label_select** | **String**| Filter labels by search string | [optional]
263
- **q** | **String**| | [optional]
264
- **remote** | [**String**](.md)| Foreign Key referenced by HREF | [optional]
265
- **retain_repo_versions** | **Integer**| Filter results where retain_repo_versions matches value | [optional]
266
- **retain_repo_versions__gt** | **Integer**| Filter results where retain_repo_versions is greater than value | [optional]
267
- **retain_repo_versions__gte** | **Integer**| Filter results where retain_repo_versions is greater than or equal to value | [optional]
268
- **retain_repo_versions__isnull** | **Boolean**| Filter results where retain_repo_versions has a null value | [optional]
269
- **retain_repo_versions__lt** | **Integer**| Filter results where retain_repo_versions is less than value | [optional]
270
- **retain_repo_versions__lte** | **Integer**| Filter results where retain_repo_versions is less than or equal to value | [optional]
271
- **retain_repo_versions__ne** | **Integer**| Filter results where retain_repo_versions not equal to value | [optional]
272
- **retain_repo_versions__range** | [**Array&lt;Integer&gt;**](Integer.md)| Filter results where retain_repo_versions is between two comma separated values | [optional]
273
- **with_content** | **String**| Content Unit referenced by HREF | [optional]
274
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
275
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
297
+ > <Array(<PaginatedmavenMavenRepositoryResponseList>, Integer, Hash)> list_with_http_info(opts)
298
+
299
+ ```ruby
300
+ begin
301
+ # List maven repositorys
302
+ data, status_code, headers = api_instance.list_with_http_info(opts)
303
+ p status_code # => 2xx
304
+ p headers # => { ... }
305
+ p data # => <PaginatedmavenMavenRepositoryResponseList>
306
+ rescue PulpMavenClient::ApiError => e
307
+ puts "Error when calling RepositoriesMavenApi->list_with_http_info: #{e}"
308
+ end
309
+ ```
310
+
311
+ ### Parameters
312
+
313
+ | Name | Type | Description | Notes |
314
+ | ---- | ---- | ----------- | ----- |
315
+ | **latest_with_content** | **String** | Content Unit referenced by HREF/PRN | [optional] |
316
+ | **limit** | **Integer** | Number of results to return per page. | [optional] |
317
+ | **name** | **String** | Filter results where name matches value | [optional] |
318
+ | **name__contains** | **String** | Filter results where name contains value | [optional] |
319
+ | **name__icontains** | **String** | Filter results where name contains value | [optional] |
320
+ | **name__iexact** | **String** | Filter results where name matches value | [optional] |
321
+ | **name__in** | [**Array&lt;String&gt;**](String.md) | Filter results where name is in a comma-separated list of values | [optional] |
322
+ | **name__iregex** | **String** | Filter results where name matches regex value | [optional] |
323
+ | **name__istartswith** | **String** | Filter results where name starts with value | [optional] |
324
+ | **name__regex** | **String** | Filter results where name matches regex value | [optional] |
325
+ | **name__startswith** | **String** | Filter results where name starts with value | [optional] |
326
+ | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
327
+ | **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;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
328
+ | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
329
+ | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
330
+ | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
331
+ | **pulp_label_select** | **String** | Filter labels by search string | [optional] |
332
+ | **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
333
+ | **remote** | **String** | Foreign Key referenced by HREF | [optional] |
334
+ | **retain_repo_versions** | **Integer** | Filter results where retain_repo_versions matches value | [optional] |
335
+ | **retain_repo_versions__gt** | **Integer** | Filter results where retain_repo_versions is greater than value | [optional] |
336
+ | **retain_repo_versions__gte** | **Integer** | Filter results where retain_repo_versions is greater than or equal to value | [optional] |
337
+ | **retain_repo_versions__isnull** | **Boolean** | Filter results where retain_repo_versions has a null value | [optional] |
338
+ | **retain_repo_versions__lt** | **Integer** | Filter results where retain_repo_versions is less than value | [optional] |
339
+ | **retain_repo_versions__lte** | **Integer** | Filter results where retain_repo_versions is less than or equal to value | [optional] |
340
+ | **retain_repo_versions__ne** | **Integer** | Filter results where retain_repo_versions not equal to value | [optional] |
341
+ | **retain_repo_versions__range** | [**Array&lt;Integer&gt;**](Integer.md) | Filter results where retain_repo_versions is between two comma separated values | [optional] |
342
+ | **with_content** | **String** | Content Unit referenced by HREF/PRN | [optional] |
343
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
344
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
276
345
 
277
346
  ### Return type
278
347
 
@@ -290,16 +359,16 @@ Name | Type | Description | Notes
290
359
 
291
360
  ## partial_update
292
361
 
293
- > AsyncOperationResponse partial_update(maven_maven_repository_href, patchedmaven_maven_repository)
362
+ > <AsyncOperationResponse> partial_update(maven_maven_repository_href, patchedmaven_maven_repository)
294
363
 
295
364
  Update a maven repository
296
365
 
297
366
  Trigger an asynchronous partial update task
298
367
 
299
- ### Example
368
+ ### Examples
300
369
 
301
370
  ```ruby
302
- # load the gem
371
+ require 'time'
303
372
  require 'pulp_maven_client'
304
373
  # setup authorization
305
374
  PulpMavenClient.configure do |config|
@@ -313,21 +382,38 @@ maven_maven_repository_href = 'maven_maven_repository_href_example' # String |
313
382
  patchedmaven_maven_repository = PulpMavenClient::PatchedmavenMavenRepository.new # PatchedmavenMavenRepository |
314
383
 
315
384
  begin
316
- #Update a maven repository
385
+ # Update a maven repository
317
386
  result = api_instance.partial_update(maven_maven_repository_href, patchedmaven_maven_repository)
318
387
  p result
319
388
  rescue PulpMavenClient::ApiError => e
320
- puts "Exception when calling RepositoriesMavenApi->partial_update: #{e}"
389
+ puts "Error when calling RepositoriesMavenApi->partial_update: #{e}"
321
390
  end
322
391
  ```
323
392
 
324
- ### Parameters
393
+ #### Using the partial_update_with_http_info variant
325
394
 
395
+ This returns an Array which contains the response data, status code and headers.
326
396
 
327
- Name | Type | Description | Notes
328
- ------------- | ------------- | ------------- | -------------
329
- **maven_maven_repository_href** | **String**| |
330
- **patchedmaven_maven_repository** | [**PatchedmavenMavenRepository**](PatchedmavenMavenRepository.md)| |
397
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(maven_maven_repository_href, patchedmaven_maven_repository)
398
+
399
+ ```ruby
400
+ begin
401
+ # Update a maven repository
402
+ data, status_code, headers = api_instance.partial_update_with_http_info(maven_maven_repository_href, patchedmaven_maven_repository)
403
+ p status_code # => 2xx
404
+ p headers # => { ... }
405
+ p data # => <AsyncOperationResponse>
406
+ rescue PulpMavenClient::ApiError => e
407
+ puts "Error when calling RepositoriesMavenApi->partial_update_with_http_info: #{e}"
408
+ end
409
+ ```
410
+
411
+ ### Parameters
412
+
413
+ | Name | Type | Description | Notes |
414
+ | ---- | ---- | ----------- | ----- |
415
+ | **maven_maven_repository_href** | **String** | | |
416
+ | **patchedmaven_maven_repository** | [**PatchedmavenMavenRepository**](PatchedmavenMavenRepository.md) | | |
331
417
 
332
418
  ### Return type
333
419
 
@@ -345,16 +431,16 @@ Name | Type | Description | Notes
345
431
 
346
432
  ## read
347
433
 
348
- > MavenMavenRepositoryResponse read(maven_maven_repository_href, opts)
434
+ > <MavenMavenRepositoryResponse> read(maven_maven_repository_href, opts)
349
435
 
350
436
  Inspect a maven repository
351
437
 
352
438
  A ViewSet for MavenRemote.
353
439
 
354
- ### Example
440
+ ### Examples
355
441
 
356
442
  ```ruby
357
- # load the gem
443
+ require 'time'
358
444
  require 'pulp_maven_client'
359
445
  # setup authorization
360
446
  PulpMavenClient.configure do |config|
@@ -366,27 +452,44 @@ end
366
452
  api_instance = PulpMavenClient::RepositoriesMavenApi.new
367
453
  maven_maven_repository_href = 'maven_maven_repository_href_example' # String |
368
454
  opts = {
369
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
370
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
455
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
456
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
371
457
  }
372
458
 
373
459
  begin
374
- #Inspect a maven repository
460
+ # Inspect a maven repository
375
461
  result = api_instance.read(maven_maven_repository_href, opts)
376
462
  p result
377
463
  rescue PulpMavenClient::ApiError => e
378
- puts "Exception when calling RepositoriesMavenApi->read: #{e}"
464
+ puts "Error when calling RepositoriesMavenApi->read: #{e}"
379
465
  end
380
466
  ```
381
467
 
382
- ### Parameters
468
+ #### Using the read_with_http_info variant
383
469
 
470
+ This returns an Array which contains the response data, status code and headers.
384
471
 
385
- Name | Type | Description | Notes
386
- ------------- | ------------- | ------------- | -------------
387
- **maven_maven_repository_href** | **String**| |
388
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
389
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
472
+ > <Array(<MavenMavenRepositoryResponse>, Integer, Hash)> read_with_http_info(maven_maven_repository_href, opts)
473
+
474
+ ```ruby
475
+ begin
476
+ # Inspect a maven repository
477
+ data, status_code, headers = api_instance.read_with_http_info(maven_maven_repository_href, opts)
478
+ p status_code # => 2xx
479
+ p headers # => { ... }
480
+ p data # => <MavenMavenRepositoryResponse>
481
+ rescue PulpMavenClient::ApiError => e
482
+ puts "Error when calling RepositoriesMavenApi->read_with_http_info: #{e}"
483
+ end
484
+ ```
485
+
486
+ ### Parameters
487
+
488
+ | Name | Type | Description | Notes |
489
+ | ---- | ---- | ----------- | ----- |
490
+ | **maven_maven_repository_href** | **String** | | |
491
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
492
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
390
493
 
391
494
  ### Return type
392
495
 
@@ -404,16 +507,16 @@ Name | Type | Description | Notes
404
507
 
405
508
  ## set_label
406
509
 
407
- > SetLabelResponse set_label(maven_maven_repository_href, set_label)
510
+ > <SetLabelResponse> set_label(maven_maven_repository_href, set_label)
408
511
 
409
512
  Set a label
410
513
 
411
514
  Set a single pulp_label on the object to a specific value or null.
412
515
 
413
- ### Example
516
+ ### Examples
414
517
 
415
518
  ```ruby
416
- # load the gem
519
+ require 'time'
417
520
  require 'pulp_maven_client'
418
521
  # setup authorization
419
522
  PulpMavenClient.configure do |config|
@@ -424,24 +527,41 @@ end
424
527
 
425
528
  api_instance = PulpMavenClient::RepositoriesMavenApi.new
426
529
  maven_maven_repository_href = 'maven_maven_repository_href_example' # String |
427
- set_label = PulpMavenClient::SetLabel.new # SetLabel |
530
+ set_label = PulpMavenClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
428
531
 
429
532
  begin
430
- #Set a label
533
+ # Set a label
431
534
  result = api_instance.set_label(maven_maven_repository_href, set_label)
432
535
  p result
433
536
  rescue PulpMavenClient::ApiError => e
434
- puts "Exception when calling RepositoriesMavenApi->set_label: #{e}"
537
+ puts "Error when calling RepositoriesMavenApi->set_label: #{e}"
435
538
  end
436
539
  ```
437
540
 
438
- ### Parameters
541
+ #### Using the set_label_with_http_info variant
439
542
 
543
+ This returns an Array which contains the response data, status code and headers.
440
544
 
441
- Name | Type | Description | Notes
442
- ------------- | ------------- | ------------- | -------------
443
- **maven_maven_repository_href** | **String**| |
444
- **set_label** | [**SetLabel**](SetLabel.md)| |
545
+ > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(maven_maven_repository_href, set_label)
546
+
547
+ ```ruby
548
+ begin
549
+ # Set a label
550
+ data, status_code, headers = api_instance.set_label_with_http_info(maven_maven_repository_href, set_label)
551
+ p status_code # => 2xx
552
+ p headers # => { ... }
553
+ p data # => <SetLabelResponse>
554
+ rescue PulpMavenClient::ApiError => e
555
+ puts "Error when calling RepositoriesMavenApi->set_label_with_http_info: #{e}"
556
+ end
557
+ ```
558
+
559
+ ### Parameters
560
+
561
+ | Name | Type | Description | Notes |
562
+ | ---- | ---- | ----------- | ----- |
563
+ | **maven_maven_repository_href** | **String** | | |
564
+ | **set_label** | [**SetLabel**](SetLabel.md) | | |
445
565
 
446
566
  ### Return type
447
567
 
@@ -459,16 +579,16 @@ Name | Type | Description | Notes
459
579
 
460
580
  ## unset_label
461
581
 
462
- > UnsetLabelResponse unset_label(maven_maven_repository_href, unset_label)
582
+ > <UnsetLabelResponse> unset_label(maven_maven_repository_href, unset_label)
463
583
 
464
584
  Unset a label
465
585
 
466
586
  Unset a single pulp_label on the object.
467
587
 
468
- ### Example
588
+ ### Examples
469
589
 
470
590
  ```ruby
471
- # load the gem
591
+ require 'time'
472
592
  require 'pulp_maven_client'
473
593
  # setup authorization
474
594
  PulpMavenClient.configure do |config|
@@ -479,24 +599,41 @@ end
479
599
 
480
600
  api_instance = PulpMavenClient::RepositoriesMavenApi.new
481
601
  maven_maven_repository_href = 'maven_maven_repository_href_example' # String |
482
- unset_label = PulpMavenClient::UnsetLabel.new # UnsetLabel |
602
+ unset_label = PulpMavenClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
483
603
 
484
604
  begin
485
- #Unset a label
605
+ # Unset a label
486
606
  result = api_instance.unset_label(maven_maven_repository_href, unset_label)
487
607
  p result
488
608
  rescue PulpMavenClient::ApiError => e
489
- puts "Exception when calling RepositoriesMavenApi->unset_label: #{e}"
609
+ puts "Error when calling RepositoriesMavenApi->unset_label: #{e}"
490
610
  end
491
611
  ```
492
612
 
493
- ### Parameters
613
+ #### Using the unset_label_with_http_info variant
614
+
615
+ This returns an Array which contains the response data, status code and headers.
616
+
617
+ > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(maven_maven_repository_href, unset_label)
618
+
619
+ ```ruby
620
+ begin
621
+ # Unset a label
622
+ data, status_code, headers = api_instance.unset_label_with_http_info(maven_maven_repository_href, unset_label)
623
+ p status_code # => 2xx
624
+ p headers # => { ... }
625
+ p data # => <UnsetLabelResponse>
626
+ rescue PulpMavenClient::ApiError => e
627
+ puts "Error when calling RepositoriesMavenApi->unset_label_with_http_info: #{e}"
628
+ end
629
+ ```
494
630
 
631
+ ### Parameters
495
632
 
496
- Name | Type | Description | Notes
497
- ------------- | ------------- | ------------- | -------------
498
- **maven_maven_repository_href** | **String**| |
499
- **unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
633
+ | Name | Type | Description | Notes |
634
+ | ---- | ---- | ----------- | ----- |
635
+ | **maven_maven_repository_href** | **String** | | |
636
+ | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
500
637
 
501
638
  ### Return type
502
639
 
@@ -514,16 +651,16 @@ Name | Type | Description | Notes
514
651
 
515
652
  ## update
516
653
 
517
- > AsyncOperationResponse update(maven_maven_repository_href, maven_maven_repository)
654
+ > <AsyncOperationResponse> update(maven_maven_repository_href, maven_maven_repository)
518
655
 
519
656
  Update a maven repository
520
657
 
521
658
  Trigger an asynchronous update task
522
659
 
523
- ### Example
660
+ ### Examples
524
661
 
525
662
  ```ruby
526
- # load the gem
663
+ require 'time'
527
664
  require 'pulp_maven_client'
528
665
  # setup authorization
529
666
  PulpMavenClient.configure do |config|
@@ -534,24 +671,41 @@ end
534
671
 
535
672
  api_instance = PulpMavenClient::RepositoriesMavenApi.new
536
673
  maven_maven_repository_href = 'maven_maven_repository_href_example' # String |
537
- maven_maven_repository = PulpMavenClient::MavenMavenRepository.new # MavenMavenRepository |
674
+ maven_maven_repository = PulpMavenClient::MavenMavenRepository.new({name: 'name_example'}) # MavenMavenRepository |
538
675
 
539
676
  begin
540
- #Update a maven repository
677
+ # Update a maven repository
541
678
  result = api_instance.update(maven_maven_repository_href, maven_maven_repository)
542
679
  p result
543
680
  rescue PulpMavenClient::ApiError => e
544
- puts "Exception when calling RepositoriesMavenApi->update: #{e}"
681
+ puts "Error when calling RepositoriesMavenApi->update: #{e}"
545
682
  end
546
683
  ```
547
684
 
548
- ### Parameters
685
+ #### Using the update_with_http_info variant
686
+
687
+ This returns an Array which contains the response data, status code and headers.
549
688
 
689
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(maven_maven_repository_href, maven_maven_repository)
690
+
691
+ ```ruby
692
+ begin
693
+ # Update a maven repository
694
+ data, status_code, headers = api_instance.update_with_http_info(maven_maven_repository_href, maven_maven_repository)
695
+ p status_code # => 2xx
696
+ p headers # => { ... }
697
+ p data # => <AsyncOperationResponse>
698
+ rescue PulpMavenClient::ApiError => e
699
+ puts "Error when calling RepositoriesMavenApi->update_with_http_info: #{e}"
700
+ end
701
+ ```
702
+
703
+ ### Parameters
550
704
 
551
- Name | Type | Description | Notes
552
- ------------- | ------------- | ------------- | -------------
553
- **maven_maven_repository_href** | **String**| |
554
- **maven_maven_repository** | [**MavenMavenRepository**](MavenMavenRepository.md)| |
705
+ | Name | Type | Description | Notes |
706
+ | ---- | ---- | ----------- | ----- |
707
+ | **maven_maven_repository_href** | **String** | | |
708
+ | **maven_maven_repository** | [**MavenMavenRepository**](MavenMavenRepository.md) | | |
555
709
 
556
710
  ### Return type
557
711