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,32 +1,31 @@
1
1
  # PulpMavenClient::RemotesMavenApi
2
2
 
3
- All URIs are relative to *http://pulp*
4
-
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**create**](RemotesMavenApi.md#create) | **POST** /pulp/api/v3/remotes/maven/maven/ | Create a maven remote
8
- [**delete**](RemotesMavenApi.md#delete) | **DELETE** {maven_maven_remote_href} | Delete a maven remote
9
- [**list**](RemotesMavenApi.md#list) | **GET** /pulp/api/v3/remotes/maven/maven/ | List maven remotes
10
- [**partial_update**](RemotesMavenApi.md#partial_update) | **PATCH** {maven_maven_remote_href} | Update a maven remote
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
14
- [**update**](RemotesMavenApi.md#update) | **PUT** {maven_maven_remote_href} | Update a maven remote
3
+ All URIs are relative to *http://localhost:24817*
15
4
 
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**create**](RemotesMavenApi.md#create) | **POST** /pulp/api/v3/remotes/maven/maven/ | Create a maven remote |
8
+ | [**delete**](RemotesMavenApi.md#delete) | **DELETE** {maven_maven_remote_href} | Delete a maven remote |
9
+ | [**list**](RemotesMavenApi.md#list) | **GET** /pulp/api/v3/remotes/maven/maven/ | List maven remotes |
10
+ | [**partial_update**](RemotesMavenApi.md#partial_update) | **PATCH** {maven_maven_remote_href} | Update a maven remote |
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 |
14
+ | [**update**](RemotesMavenApi.md#update) | **PUT** {maven_maven_remote_href} | Update a maven remote |
16
15
 
17
16
 
18
17
  ## create
19
18
 
20
- > MavenMavenRemoteResponse create(maven_maven_remote)
19
+ > <MavenMavenRemoteResponse> create(maven_maven_remote)
21
20
 
22
21
  Create a maven remote
23
22
 
24
23
  A ViewSet for MavenRemote.
25
24
 
26
- ### Example
25
+ ### Examples
27
26
 
28
27
  ```ruby
29
- # load the gem
28
+ require 'time'
30
29
  require 'pulp_maven_client'
31
30
  # setup authorization
32
31
  PulpMavenClient.configure do |config|
@@ -36,23 +35,40 @@ PulpMavenClient.configure do |config|
36
35
  end
37
36
 
38
37
  api_instance = PulpMavenClient::RemotesMavenApi.new
39
- maven_maven_remote = PulpMavenClient::MavenMavenRemote.new # MavenMavenRemote |
38
+ maven_maven_remote = PulpMavenClient::MavenMavenRemote.new({name: 'name_example', url: 'url_example'}) # MavenMavenRemote |
40
39
 
41
40
  begin
42
- #Create a maven remote
41
+ # Create a maven remote
43
42
  result = api_instance.create(maven_maven_remote)
44
43
  p result
45
44
  rescue PulpMavenClient::ApiError => e
46
- puts "Exception when calling RemotesMavenApi->create: #{e}"
45
+ puts "Error when calling RemotesMavenApi->create: #{e}"
47
46
  end
48
47
  ```
49
48
 
50
- ### Parameters
49
+ #### Using the create_with_http_info variant
50
+
51
+ This returns an Array which contains the response data, status code and headers.
51
52
 
53
+ > <Array(<MavenMavenRemoteResponse>, Integer, Hash)> create_with_http_info(maven_maven_remote)
54
+
55
+ ```ruby
56
+ begin
57
+ # Create a maven remote
58
+ data, status_code, headers = api_instance.create_with_http_info(maven_maven_remote)
59
+ p status_code # => 2xx
60
+ p headers # => { ... }
61
+ p data # => <MavenMavenRemoteResponse>
62
+ rescue PulpMavenClient::ApiError => e
63
+ puts "Error when calling RemotesMavenApi->create_with_http_info: #{e}"
64
+ end
65
+ ```
66
+
67
+ ### Parameters
52
68
 
53
- Name | Type | Description | Notes
54
- ------------- | ------------- | ------------- | -------------
55
- **maven_maven_remote** | [**MavenMavenRemote**](MavenMavenRemote.md)| |
69
+ | Name | Type | Description | Notes |
70
+ | ---- | ---- | ----------- | ----- |
71
+ | **maven_maven_remote** | [**MavenMavenRemote**](MavenMavenRemote.md) | | |
56
72
 
57
73
  ### Return type
58
74
 
@@ -70,16 +86,16 @@ Name | Type | Description | Notes
70
86
 
71
87
  ## delete
72
88
 
73
- > AsyncOperationResponse delete(maven_maven_remote_href)
89
+ > <AsyncOperationResponse> delete(maven_maven_remote_href)
74
90
 
75
91
  Delete a maven remote
76
92
 
77
93
  Trigger an asynchronous delete task
78
94
 
79
- ### Example
95
+ ### Examples
80
96
 
81
97
  ```ruby
82
- # load the gem
98
+ require 'time'
83
99
  require 'pulp_maven_client'
84
100
  # setup authorization
85
101
  PulpMavenClient.configure do |config|
@@ -92,20 +108,37 @@ api_instance = PulpMavenClient::RemotesMavenApi.new
92
108
  maven_maven_remote_href = 'maven_maven_remote_href_example' # String |
93
109
 
94
110
  begin
95
- #Delete a maven remote
111
+ # Delete a maven remote
96
112
  result = api_instance.delete(maven_maven_remote_href)
97
113
  p result
98
114
  rescue PulpMavenClient::ApiError => e
99
- puts "Exception when calling RemotesMavenApi->delete: #{e}"
115
+ puts "Error when calling RemotesMavenApi->delete: #{e}"
100
116
  end
101
117
  ```
102
118
 
103
- ### Parameters
119
+ #### Using the delete_with_http_info variant
120
+
121
+ This returns an Array which contains the response data, status code and headers.
122
+
123
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(maven_maven_remote_href)
124
+
125
+ ```ruby
126
+ begin
127
+ # Delete a maven remote
128
+ data, status_code, headers = api_instance.delete_with_http_info(maven_maven_remote_href)
129
+ p status_code # => 2xx
130
+ p headers # => { ... }
131
+ p data # => <AsyncOperationResponse>
132
+ rescue PulpMavenClient::ApiError => e
133
+ puts "Error when calling RemotesMavenApi->delete_with_http_info: #{e}"
134
+ end
135
+ ```
104
136
 
137
+ ### Parameters
105
138
 
106
- Name | Type | Description | Notes
107
- ------------- | ------------- | ------------- | -------------
108
- **maven_maven_remote_href** | **String**| |
139
+ | Name | Type | Description | Notes |
140
+ | ---- | ---- | ----------- | ----- |
141
+ | **maven_maven_remote_href** | **String** | | |
109
142
 
110
143
  ### Return type
111
144
 
@@ -123,16 +156,16 @@ Name | Type | Description | Notes
123
156
 
124
157
  ## list
125
158
 
126
- > PaginatedmavenMavenRemoteResponseList list(opts)
159
+ > <PaginatedmavenMavenRemoteResponseList> list(opts)
127
160
 
128
161
  List maven remotes
129
162
 
130
163
  A ViewSet for MavenRemote.
131
164
 
132
- ### Example
165
+ ### Examples
133
166
 
134
167
  ```ruby
135
- # load the gem
168
+ require 'time'
136
169
  require 'pulp_maven_client'
137
170
  # setup authorization
138
171
  PulpMavenClient.configure do |config|
@@ -148,65 +181,86 @@ opts = {
148
181
  name__contains: 'name__contains_example', # String | Filter results where name contains value
149
182
  name__icontains: 'name__icontains_example', # String | Filter results where name contains value
150
183
  name__iexact: 'name__iexact_example', # String | Filter results where name matches value
151
- name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
184
+ name__in: ['inner_example'], # Array<String> | Filter results where name is in a comma-separated list of values
152
185
  name__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
153
186
  name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
154
187
  name__regex: 'name__regex_example', # String | Filter results where name matches regex value
155
188
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
156
189
  offset: 56, # Integer | The initial index from which to return the results.
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.
190
+ ordering: ['-ca_cert'], # 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)
191
+ prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
192
+ pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
193
+ pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
160
194
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
161
- pulp_last_updated: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated matches value
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
163
- pulp_last_updated__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is greater than or equal to value
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
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
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 |
168
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
169
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
195
+ pulp_last_updated: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_last_updated matches value
196
+ pulp_last_updated__gt: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_last_updated is greater than value
197
+ pulp_last_updated__gte: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_last_updated is greater than or equal to value
198
+ pulp_last_updated__isnull: true, # Boolean | Filter results where pulp_last_updated has a null value
199
+ pulp_last_updated__lt: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_last_updated is less than value
200
+ pulp_last_updated__lte: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_last_updated is less than or equal to value
201
+ pulp_last_updated__range: [Time.now], # Array<Time> | Filter results where pulp_last_updated is between two comma separated values
202
+ q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
203
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
204
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
170
205
  }
171
206
 
172
207
  begin
173
- #List maven remotes
208
+ # List maven remotes
174
209
  result = api_instance.list(opts)
175
210
  p result
176
211
  rescue PulpMavenClient::ApiError => e
177
- puts "Exception when calling RemotesMavenApi->list: #{e}"
212
+ puts "Error when calling RemotesMavenApi->list: #{e}"
178
213
  end
179
214
  ```
180
215
 
181
- ### Parameters
216
+ #### Using the list_with_http_info variant
217
+
218
+ This returns an Array which contains the response data, status code and headers.
219
+
220
+ > <Array(<PaginatedmavenMavenRemoteResponseList>, Integer, Hash)> list_with_http_info(opts)
221
+
222
+ ```ruby
223
+ begin
224
+ # List maven remotes
225
+ data, status_code, headers = api_instance.list_with_http_info(opts)
226
+ p status_code # => 2xx
227
+ p headers # => { ... }
228
+ p data # => <PaginatedmavenMavenRemoteResponseList>
229
+ rescue PulpMavenClient::ApiError => e
230
+ puts "Error when calling RemotesMavenApi->list_with_http_info: #{e}"
231
+ end
232
+ ```
182
233
 
234
+ ### Parameters
183
235
 
184
- Name | Type | Description | Notes
185
- ------------- | ------------- | ------------- | -------------
186
- **limit** | **Integer**| Number of results to return per page. | [optional]
187
- **name** | **String**| Filter results where name matches value | [optional]
188
- **name__contains** | **String**| Filter results where name contains value | [optional]
189
- **name__icontains** | **String**| Filter results where name contains value | [optional]
190
- **name__iexact** | **String**| Filter results where name matches value | [optional]
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]
195
- **name__startswith** | **String**| Filter results where name starts with value | [optional]
196
- **offset** | **Integer**| The initial index from which to return the results. | [optional]
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]
198
- **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
199
- **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
200
- **pulp_label_select** | **String**| Filter labels by search string | [optional]
201
- **pulp_last_updated** | **DateTime**| Filter results where pulp_last_updated matches value | [optional]
202
- **pulp_last_updated__gt** | **DateTime**| Filter results where pulp_last_updated is greater than value | [optional]
203
- **pulp_last_updated__gte** | **DateTime**| Filter results where pulp_last_updated is greater than or equal to value | [optional]
204
- **pulp_last_updated__lt** | **DateTime**| Filter results where pulp_last_updated is less than value | [optional]
205
- **pulp_last_updated__lte** | **DateTime**| Filter results where pulp_last_updated is less than or equal to value | [optional]
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]
208
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
209
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
236
+ | Name | Type | Description | Notes |
237
+ | ---- | ---- | ----------- | ----- |
238
+ | **limit** | **Integer** | Number of results to return per page. | [optional] |
239
+ | **name** | **String** | Filter results where name matches value | [optional] |
240
+ | **name__contains** | **String** | Filter results where name contains value | [optional] |
241
+ | **name__icontains** | **String** | Filter results where name contains value | [optional] |
242
+ | **name__iexact** | **String** | Filter results where name matches value | [optional] |
243
+ | **name__in** | [**Array&lt;String&gt;**](String.md) | Filter results where name is in a comma-separated list of values | [optional] |
244
+ | **name__iregex** | **String** | Filter results where name matches regex value | [optional] |
245
+ | **name__istartswith** | **String** | Filter results where name starts with value | [optional] |
246
+ | **name__regex** | **String** | Filter results where name matches regex value | [optional] |
247
+ | **name__startswith** | **String** | Filter results where name starts with value | [optional] |
248
+ | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
249
+ | **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] |
250
+ | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
251
+ | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
252
+ | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
253
+ | **pulp_label_select** | **String** | Filter labels by search string | [optional] |
254
+ | **pulp_last_updated** | **Time** | Filter results where pulp_last_updated matches value | [optional] |
255
+ | **pulp_last_updated__gt** | **Time** | Filter results where pulp_last_updated is greater than value | [optional] |
256
+ | **pulp_last_updated__gte** | **Time** | Filter results where pulp_last_updated is greater than or equal to value | [optional] |
257
+ | **pulp_last_updated__isnull** | **Boolean** | Filter results where pulp_last_updated has a null value | [optional] |
258
+ | **pulp_last_updated__lt** | **Time** | Filter results where pulp_last_updated is less than value | [optional] |
259
+ | **pulp_last_updated__lte** | **Time** | Filter results where pulp_last_updated is less than or equal to value | [optional] |
260
+ | **pulp_last_updated__range** | [**Array&lt;Time&gt;**](Time.md) | Filter results where pulp_last_updated is between two comma separated values | [optional] |
261
+ | **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
262
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
263
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
210
264
 
211
265
  ### Return type
212
266
 
@@ -224,16 +278,16 @@ Name | Type | Description | Notes
224
278
 
225
279
  ## partial_update
226
280
 
227
- > AsyncOperationResponse partial_update(maven_maven_remote_href, patchedmaven_maven_remote)
281
+ > <AsyncOperationResponse> partial_update(maven_maven_remote_href, patchedmaven_maven_remote)
228
282
 
229
283
  Update a maven remote
230
284
 
231
285
  Trigger an asynchronous partial update task
232
286
 
233
- ### Example
287
+ ### Examples
234
288
 
235
289
  ```ruby
236
- # load the gem
290
+ require 'time'
237
291
  require 'pulp_maven_client'
238
292
  # setup authorization
239
293
  PulpMavenClient.configure do |config|
@@ -247,21 +301,38 @@ maven_maven_remote_href = 'maven_maven_remote_href_example' # String |
247
301
  patchedmaven_maven_remote = PulpMavenClient::PatchedmavenMavenRemote.new # PatchedmavenMavenRemote |
248
302
 
249
303
  begin
250
- #Update a maven remote
304
+ # Update a maven remote
251
305
  result = api_instance.partial_update(maven_maven_remote_href, patchedmaven_maven_remote)
252
306
  p result
253
307
  rescue PulpMavenClient::ApiError => e
254
- puts "Exception when calling RemotesMavenApi->partial_update: #{e}"
308
+ puts "Error when calling RemotesMavenApi->partial_update: #{e}"
255
309
  end
256
310
  ```
257
311
 
258
- ### Parameters
312
+ #### Using the partial_update_with_http_info variant
313
+
314
+ This returns an Array which contains the response data, status code and headers.
315
+
316
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(maven_maven_remote_href, patchedmaven_maven_remote)
317
+
318
+ ```ruby
319
+ begin
320
+ # Update a maven remote
321
+ data, status_code, headers = api_instance.partial_update_with_http_info(maven_maven_remote_href, patchedmaven_maven_remote)
322
+ p status_code # => 2xx
323
+ p headers # => { ... }
324
+ p data # => <AsyncOperationResponse>
325
+ rescue PulpMavenClient::ApiError => e
326
+ puts "Error when calling RemotesMavenApi->partial_update_with_http_info: #{e}"
327
+ end
328
+ ```
259
329
 
330
+ ### Parameters
260
331
 
261
- Name | Type | Description | Notes
262
- ------------- | ------------- | ------------- | -------------
263
- **maven_maven_remote_href** | **String**| |
264
- **patchedmaven_maven_remote** | [**PatchedmavenMavenRemote**](PatchedmavenMavenRemote.md)| |
332
+ | Name | Type | Description | Notes |
333
+ | ---- | ---- | ----------- | ----- |
334
+ | **maven_maven_remote_href** | **String** | | |
335
+ | **patchedmaven_maven_remote** | [**PatchedmavenMavenRemote**](PatchedmavenMavenRemote.md) | | |
265
336
 
266
337
  ### Return type
267
338
 
@@ -279,16 +350,16 @@ Name | Type | Description | Notes
279
350
 
280
351
  ## read
281
352
 
282
- > MavenMavenRemoteResponse read(maven_maven_remote_href, opts)
353
+ > <MavenMavenRemoteResponse> read(maven_maven_remote_href, opts)
283
354
 
284
355
  Inspect a maven remote
285
356
 
286
357
  A ViewSet for MavenRemote.
287
358
 
288
- ### Example
359
+ ### Examples
289
360
 
290
361
  ```ruby
291
- # load the gem
362
+ require 'time'
292
363
  require 'pulp_maven_client'
293
364
  # setup authorization
294
365
  PulpMavenClient.configure do |config|
@@ -300,27 +371,44 @@ end
300
371
  api_instance = PulpMavenClient::RemotesMavenApi.new
301
372
  maven_maven_remote_href = 'maven_maven_remote_href_example' # String |
302
373
  opts = {
303
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
304
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
374
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
375
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
305
376
  }
306
377
 
307
378
  begin
308
- #Inspect a maven remote
379
+ # Inspect a maven remote
309
380
  result = api_instance.read(maven_maven_remote_href, opts)
310
381
  p result
311
382
  rescue PulpMavenClient::ApiError => e
312
- puts "Exception when calling RemotesMavenApi->read: #{e}"
383
+ puts "Error when calling RemotesMavenApi->read: #{e}"
313
384
  end
314
385
  ```
315
386
 
316
- ### Parameters
387
+ #### Using the read_with_http_info variant
388
+
389
+ This returns an Array which contains the response data, status code and headers.
390
+
391
+ > <Array(<MavenMavenRemoteResponse>, Integer, Hash)> read_with_http_info(maven_maven_remote_href, opts)
392
+
393
+ ```ruby
394
+ begin
395
+ # Inspect a maven remote
396
+ data, status_code, headers = api_instance.read_with_http_info(maven_maven_remote_href, opts)
397
+ p status_code # => 2xx
398
+ p headers # => { ... }
399
+ p data # => <MavenMavenRemoteResponse>
400
+ rescue PulpMavenClient::ApiError => e
401
+ puts "Error when calling RemotesMavenApi->read_with_http_info: #{e}"
402
+ end
403
+ ```
317
404
 
405
+ ### Parameters
318
406
 
319
- Name | Type | Description | Notes
320
- ------------- | ------------- | ------------- | -------------
321
- **maven_maven_remote_href** | **String**| |
322
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
323
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
407
+ | Name | Type | Description | Notes |
408
+ | ---- | ---- | ----------- | ----- |
409
+ | **maven_maven_remote_href** | **String** | | |
410
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
411
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
324
412
 
325
413
  ### Return type
326
414
 
@@ -338,16 +426,16 @@ Name | Type | Description | Notes
338
426
 
339
427
  ## set_label
340
428
 
341
- > SetLabelResponse set_label(maven_maven_remote_href, set_label)
429
+ > <SetLabelResponse> set_label(maven_maven_remote_href, set_label)
342
430
 
343
431
  Set a label
344
432
 
345
433
  Set a single pulp_label on the object to a specific value or null.
346
434
 
347
- ### Example
435
+ ### Examples
348
436
 
349
437
  ```ruby
350
- # load the gem
438
+ require 'time'
351
439
  require 'pulp_maven_client'
352
440
  # setup authorization
353
441
  PulpMavenClient.configure do |config|
@@ -358,24 +446,41 @@ end
358
446
 
359
447
  api_instance = PulpMavenClient::RemotesMavenApi.new
360
448
  maven_maven_remote_href = 'maven_maven_remote_href_example' # String |
361
- set_label = PulpMavenClient::SetLabel.new # SetLabel |
449
+ set_label = PulpMavenClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
362
450
 
363
451
  begin
364
- #Set a label
452
+ # Set a label
365
453
  result = api_instance.set_label(maven_maven_remote_href, set_label)
366
454
  p result
367
455
  rescue PulpMavenClient::ApiError => e
368
- puts "Exception when calling RemotesMavenApi->set_label: #{e}"
456
+ puts "Error when calling RemotesMavenApi->set_label: #{e}"
369
457
  end
370
458
  ```
371
459
 
372
- ### Parameters
460
+ #### Using the set_label_with_http_info variant
461
+
462
+ This returns an Array which contains the response data, status code and headers.
463
+
464
+ > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(maven_maven_remote_href, set_label)
465
+
466
+ ```ruby
467
+ begin
468
+ # Set a label
469
+ data, status_code, headers = api_instance.set_label_with_http_info(maven_maven_remote_href, set_label)
470
+ p status_code # => 2xx
471
+ p headers # => { ... }
472
+ p data # => <SetLabelResponse>
473
+ rescue PulpMavenClient::ApiError => e
474
+ puts "Error when calling RemotesMavenApi->set_label_with_http_info: #{e}"
475
+ end
476
+ ```
373
477
 
478
+ ### Parameters
374
479
 
375
- Name | Type | Description | Notes
376
- ------------- | ------------- | ------------- | -------------
377
- **maven_maven_remote_href** | **String**| |
378
- **set_label** | [**SetLabel**](SetLabel.md)| |
480
+ | Name | Type | Description | Notes |
481
+ | ---- | ---- | ----------- | ----- |
482
+ | **maven_maven_remote_href** | **String** | | |
483
+ | **set_label** | [**SetLabel**](SetLabel.md) | | |
379
484
 
380
485
  ### Return type
381
486
 
@@ -393,16 +498,16 @@ Name | Type | Description | Notes
393
498
 
394
499
  ## unset_label
395
500
 
396
- > UnsetLabelResponse unset_label(maven_maven_remote_href, unset_label)
501
+ > <UnsetLabelResponse> unset_label(maven_maven_remote_href, unset_label)
397
502
 
398
503
  Unset a label
399
504
 
400
505
  Unset a single pulp_label on the object.
401
506
 
402
- ### Example
507
+ ### Examples
403
508
 
404
509
  ```ruby
405
- # load the gem
510
+ require 'time'
406
511
  require 'pulp_maven_client'
407
512
  # setup authorization
408
513
  PulpMavenClient.configure do |config|
@@ -413,24 +518,41 @@ end
413
518
 
414
519
  api_instance = PulpMavenClient::RemotesMavenApi.new
415
520
  maven_maven_remote_href = 'maven_maven_remote_href_example' # String |
416
- unset_label = PulpMavenClient::UnsetLabel.new # UnsetLabel |
521
+ unset_label = PulpMavenClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
417
522
 
418
523
  begin
419
- #Unset a label
524
+ # Unset a label
420
525
  result = api_instance.unset_label(maven_maven_remote_href, unset_label)
421
526
  p result
422
527
  rescue PulpMavenClient::ApiError => e
423
- puts "Exception when calling RemotesMavenApi->unset_label: #{e}"
528
+ puts "Error when calling RemotesMavenApi->unset_label: #{e}"
424
529
  end
425
530
  ```
426
531
 
427
- ### Parameters
532
+ #### Using the unset_label_with_http_info variant
533
+
534
+ This returns an Array which contains the response data, status code and headers.
535
+
536
+ > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(maven_maven_remote_href, unset_label)
537
+
538
+ ```ruby
539
+ begin
540
+ # Unset a label
541
+ data, status_code, headers = api_instance.unset_label_with_http_info(maven_maven_remote_href, unset_label)
542
+ p status_code # => 2xx
543
+ p headers # => { ... }
544
+ p data # => <UnsetLabelResponse>
545
+ rescue PulpMavenClient::ApiError => e
546
+ puts "Error when calling RemotesMavenApi->unset_label_with_http_info: #{e}"
547
+ end
548
+ ```
428
549
 
550
+ ### Parameters
429
551
 
430
- Name | Type | Description | Notes
431
- ------------- | ------------- | ------------- | -------------
432
- **maven_maven_remote_href** | **String**| |
433
- **unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
552
+ | Name | Type | Description | Notes |
553
+ | ---- | ---- | ----------- | ----- |
554
+ | **maven_maven_remote_href** | **String** | | |
555
+ | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
434
556
 
435
557
  ### Return type
436
558
 
@@ -448,16 +570,16 @@ Name | Type | Description | Notes
448
570
 
449
571
  ## update
450
572
 
451
- > AsyncOperationResponse update(maven_maven_remote_href, maven_maven_remote)
573
+ > <AsyncOperationResponse> update(maven_maven_remote_href, maven_maven_remote)
452
574
 
453
575
  Update a maven remote
454
576
 
455
577
  Trigger an asynchronous update task
456
578
 
457
- ### Example
579
+ ### Examples
458
580
 
459
581
  ```ruby
460
- # load the gem
582
+ require 'time'
461
583
  require 'pulp_maven_client'
462
584
  # setup authorization
463
585
  PulpMavenClient.configure do |config|
@@ -468,24 +590,41 @@ end
468
590
 
469
591
  api_instance = PulpMavenClient::RemotesMavenApi.new
470
592
  maven_maven_remote_href = 'maven_maven_remote_href_example' # String |
471
- maven_maven_remote = PulpMavenClient::MavenMavenRemote.new # MavenMavenRemote |
593
+ maven_maven_remote = PulpMavenClient::MavenMavenRemote.new({name: 'name_example', url: 'url_example'}) # MavenMavenRemote |
472
594
 
473
595
  begin
474
- #Update a maven remote
596
+ # Update a maven remote
475
597
  result = api_instance.update(maven_maven_remote_href, maven_maven_remote)
476
598
  p result
477
599
  rescue PulpMavenClient::ApiError => e
478
- puts "Exception when calling RemotesMavenApi->update: #{e}"
600
+ puts "Error when calling RemotesMavenApi->update: #{e}"
479
601
  end
480
602
  ```
481
603
 
482
- ### Parameters
604
+ #### Using the update_with_http_info variant
605
+
606
+ This returns an Array which contains the response data, status code and headers.
607
+
608
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(maven_maven_remote_href, maven_maven_remote)
609
+
610
+ ```ruby
611
+ begin
612
+ # Update a maven remote
613
+ data, status_code, headers = api_instance.update_with_http_info(maven_maven_remote_href, maven_maven_remote)
614
+ p status_code # => 2xx
615
+ p headers # => { ... }
616
+ p data # => <AsyncOperationResponse>
617
+ rescue PulpMavenClient::ApiError => e
618
+ puts "Error when calling RemotesMavenApi->update_with_http_info: #{e}"
619
+ end
620
+ ```
483
621
 
622
+ ### Parameters
484
623
 
485
- Name | Type | Description | Notes
486
- ------------- | ------------- | ------------- | -------------
487
- **maven_maven_remote_href** | **String**| |
488
- **maven_maven_remote** | [**MavenMavenRemote**](MavenMavenRemote.md)| |
624
+ | Name | Type | Description | Notes |
625
+ | ---- | ---- | ----------- | ----- |
626
+ | **maven_maven_remote_href** | **String** | | |
627
+ | **maven_maven_remote** | [**MavenMavenRemote**](MavenMavenRemote.md) | | |
489
628
 
490
629
  ### Return type
491
630