pulp_maven_client 0.8.2 → 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 +10 -6
  3. data/docs/AsyncOperationResponse.md +8 -7
  4. data/docs/ContentArtifactApi.md +111 -61
  5. data/docs/ContentSummaryResponse.md +12 -11
  6. data/docs/DistributionsMavenApi.md +265 -130
  7. data/docs/MavenMavenArtifact.md +12 -11
  8. data/docs/MavenMavenArtifactResponse.md +24 -23
  9. data/docs/MavenMavenDistribution.md +20 -19
  10. data/docs/MavenMavenDistributionResponse.md +32 -31
  11. data/docs/MavenMavenRemote.md +48 -47
  12. data/docs/MavenMavenRemoteResponse.md +48 -47
  13. data/docs/MavenMavenRemoteResponseHiddenFieldsInner.md +20 -0
  14. data/docs/MavenMavenRepository.md +16 -15
  15. data/docs/MavenMavenRepositoryResponse.md +28 -27
  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 +60 -25
  26. data/docs/RemotesMavenApi.md +269 -132
  27. data/docs/Repair.md +8 -7
  28. data/docs/RepositoriesMavenApi.md +296 -144
  29. data/docs/RepositoriesMavenVersionsApi.md +152 -82
  30. data/docs/RepositoryAddCachedContent.md +8 -7
  31. data/docs/RepositoryVersionResponse.md +22 -21
  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 +20 -14
  37. data/lib/pulp_maven_client/api/distributions_maven_api.rb +61 -38
  38. data/lib/pulp_maven_client/api/pulp_maven_api.rb +9 -7
  39. data/lib/pulp_maven_client/api/remotes_maven_api.rb +76 -50
  40. data/lib/pulp_maven_client/api/repositories_maven_api.rb +70 -43
  41. data/lib/pulp_maven_client/api/repositories_maven_versions_api.rb +40 -30
  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 +34 -24
  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 +36 -24
  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 +60 -41
  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 +34 -39
  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 +32 -24
  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 +4 -4
  76. data/spec/api/distributions_maven_api_spec.rb +9 -9
  77. data/spec/api/pulp_maven_api_spec.rb +3 -3
  78. data/spec/api/remotes_maven_api_spec.rb +16 -15
  79. data/spec/api/repositories_maven_api_spec.rb +10 -10
  80. data/spec/api/repositories_maven_versions_api_spec.rb +12 -11
  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 +15 -20
  84. data/spec/models/maven_maven_artifact_spec.rb +9 -14
  85. data/spec/models/maven_maven_distribution_response_spec.rb +19 -24
  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 +27 -32
  89. data/spec/models/maven_maven_remote_spec.rb +27 -32
  90. data/spec/models/maven_maven_repository_response_spec.rb +17 -22
  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 +14 -19
  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 +67 -43
  110. data/docs/MavenMavenRemoteResponseHiddenFields.md +0 -19
  111. data/spec/api_client_spec.rb +0 -188
  112. data/spec/configuration_spec.rb +0 -42
@@ -2,22 +2,23 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | |
8
- **_next** | **String** | | [optional]
9
- **previous** | **String** | | [optional]
10
- **results** | [**Array<MavenMavenArtifactResponse>**](MavenMavenArtifactResponse.md) | |
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **count** | **Integer** | | |
8
+ | **_next** | **String** | | [optional] |
9
+ | **previous** | **String** | | [optional] |
10
+ | **results** | [**Array<MavenMavenArtifactResponse>**](MavenMavenArtifactResponse.md) | | |
11
11
 
12
- ## Code Sample
12
+ ## Example
13
13
 
14
14
  ```ruby
15
- require 'PulpMavenClient'
15
+ require 'pulp_maven_client'
16
16
 
17
- instance = PulpMavenClient::PaginatedmavenMavenArtifactResponseList.new(count: 123,
18
- _next: http://api.example.org/accounts/?offset=400&limit=100,
19
- previous: http://api.example.org/accounts/?offset=200&limit=100,
20
- results: null)
17
+ instance = PulpMavenClient::PaginatedmavenMavenArtifactResponseList.new(
18
+ count: 123,
19
+ _next: http://api.example.org/accounts/?offset=400&limit=100,
20
+ previous: http://api.example.org/accounts/?offset=200&limit=100,
21
+ results: null
22
+ )
21
23
  ```
22
24
 
23
-
@@ -2,22 +2,23 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | |
8
- **_next** | **String** | | [optional]
9
- **previous** | **String** | | [optional]
10
- **results** | [**Array<MavenMavenDistributionResponse>**](MavenMavenDistributionResponse.md) | |
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **count** | **Integer** | | |
8
+ | **_next** | **String** | | [optional] |
9
+ | **previous** | **String** | | [optional] |
10
+ | **results** | [**Array<MavenMavenDistributionResponse>**](MavenMavenDistributionResponse.md) | | |
11
11
 
12
- ## Code Sample
12
+ ## Example
13
13
 
14
14
  ```ruby
15
- require 'PulpMavenClient'
15
+ require 'pulp_maven_client'
16
16
 
17
- instance = PulpMavenClient::PaginatedmavenMavenDistributionResponseList.new(count: 123,
18
- _next: http://api.example.org/accounts/?offset=400&limit=100,
19
- previous: http://api.example.org/accounts/?offset=200&limit=100,
20
- results: null)
17
+ instance = PulpMavenClient::PaginatedmavenMavenDistributionResponseList.new(
18
+ count: 123,
19
+ _next: http://api.example.org/accounts/?offset=400&limit=100,
20
+ previous: http://api.example.org/accounts/?offset=200&limit=100,
21
+ results: null
22
+ )
21
23
  ```
22
24
 
23
-
@@ -2,22 +2,23 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | |
8
- **_next** | **String** | | [optional]
9
- **previous** | **String** | | [optional]
10
- **results** | [**Array<MavenMavenRemoteResponse>**](MavenMavenRemoteResponse.md) | |
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **count** | **Integer** | | |
8
+ | **_next** | **String** | | [optional] |
9
+ | **previous** | **String** | | [optional] |
10
+ | **results** | [**Array<MavenMavenRemoteResponse>**](MavenMavenRemoteResponse.md) | | |
11
11
 
12
- ## Code Sample
12
+ ## Example
13
13
 
14
14
  ```ruby
15
- require 'PulpMavenClient'
15
+ require 'pulp_maven_client'
16
16
 
17
- instance = PulpMavenClient::PaginatedmavenMavenRemoteResponseList.new(count: 123,
18
- _next: http://api.example.org/accounts/?offset=400&limit=100,
19
- previous: http://api.example.org/accounts/?offset=200&limit=100,
20
- results: null)
17
+ instance = PulpMavenClient::PaginatedmavenMavenRemoteResponseList.new(
18
+ count: 123,
19
+ _next: http://api.example.org/accounts/?offset=400&limit=100,
20
+ previous: http://api.example.org/accounts/?offset=200&limit=100,
21
+ results: null
22
+ )
21
23
  ```
22
24
 
23
-
@@ -2,22 +2,23 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | |
8
- **_next** | **String** | | [optional]
9
- **previous** | **String** | | [optional]
10
- **results** | [**Array<MavenMavenRepositoryResponse>**](MavenMavenRepositoryResponse.md) | |
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **count** | **Integer** | | |
8
+ | **_next** | **String** | | [optional] |
9
+ | **previous** | **String** | | [optional] |
10
+ | **results** | [**Array<MavenMavenRepositoryResponse>**](MavenMavenRepositoryResponse.md) | | |
11
11
 
12
- ## Code Sample
12
+ ## Example
13
13
 
14
14
  ```ruby
15
- require 'PulpMavenClient'
15
+ require 'pulp_maven_client'
16
16
 
17
- instance = PulpMavenClient::PaginatedmavenMavenRepositoryResponseList.new(count: 123,
18
- _next: http://api.example.org/accounts/?offset=400&limit=100,
19
- previous: http://api.example.org/accounts/?offset=200&limit=100,
20
- results: null)
17
+ instance = PulpMavenClient::PaginatedmavenMavenRepositoryResponseList.new(
18
+ count: 123,
19
+ _next: http://api.example.org/accounts/?offset=400&limit=100,
20
+ previous: http://api.example.org/accounts/?offset=200&limit=100,
21
+ results: null
22
+ )
21
23
  ```
22
24
 
23
-
@@ -2,28 +2,29 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional]
8
- **content_guard** | **String** | An optional content-guard. | [optional]
9
- **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
10
- **pulp_labels** | **Hash<String, String>** | | [optional]
11
- **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
12
- **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
13
- **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | [optional] |
8
+ | **content_guard** | **String** | An optional content-guard. | [optional] |
9
+ | **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
10
+ | **pulp_labels** | **Hash<String, String>** | | [optional] |
11
+ | **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional] |
12
+ | **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
13
+ | **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional] |
14
14
 
15
- ## Code Sample
15
+ ## Example
16
16
 
17
17
  ```ruby
18
- require 'PulpMavenClient'
18
+ require 'pulp_maven_client'
19
19
 
20
- instance = PulpMavenClient::PatchedmavenMavenDistribution.new(base_path: null,
21
- content_guard: null,
22
- hidden: null,
23
- pulp_labels: null,
24
- name: null,
25
- repository: null,
26
- remote: null)
20
+ instance = PulpMavenClient::PatchedmavenMavenDistribution.new(
21
+ base_path: null,
22
+ content_guard: null,
23
+ hidden: null,
24
+ pulp_labels: null,
25
+ name: null,
26
+ repository: null,
27
+ remote: null
28
+ )
27
29
  ```
28
30
 
29
-
@@ -2,56 +2,57 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **name** | **String** | A unique name for this remote. | [optional]
8
- **url** | **String** | The URL of an external content source. | [optional]
9
- **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
10
- **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
11
- **client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
12
- **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
13
- **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
14
- **proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
15
- **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
16
- **username** | **String** | The username to be used for authentication when syncing. | [optional]
17
- **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
18
- **pulp_labels** | **Hash<String, String>** | | [optional]
19
- **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
20
- **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
21
- **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. * `immediate` - immediate * `When syncing, download all metadata and content now.` - When syncing, download all metadata and content now. | [optional]
22
- **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
23
- **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
24
- **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
25
- **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
26
- **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
27
- **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | A unique name for this remote. | [optional] |
8
+ | **url** | **String** | The URL of an external content source. | [optional] |
9
+ | **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
10
+ | **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
11
+ | **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
12
+ | **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
13
+ | **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
14
+ | **proxy_username** | **String** | The username to authenticte to the proxy. | [optional] |
15
+ | **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
16
+ | **username** | **String** | The username to be used for authentication when syncing. | [optional] |
17
+ | **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
18
+ | **pulp_labels** | **Hash<String, String>** | | [optional] |
19
+ | **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
20
+ | **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
21
+ | **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. * `immediate` - When syncing, download all metadata and content now. | [optional] |
22
+ | **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
23
+ | **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
24
+ | **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
25
+ | **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
26
+ | **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
27
+ | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
28
28
 
29
- ## Code Sample
29
+ ## Example
30
30
 
31
31
  ```ruby
32
- require 'PulpMavenClient'
32
+ require 'pulp_maven_client'
33
33
 
34
- instance = PulpMavenClient::PatchedmavenMavenRemote.new(name: null,
35
- url: null,
36
- ca_cert: null,
37
- client_cert: null,
38
- client_key: null,
39
- tls_validation: null,
40
- proxy_url: null,
41
- proxy_username: null,
42
- proxy_password: null,
43
- username: null,
44
- password: null,
45
- pulp_labels: null,
46
- download_concurrency: null,
47
- max_retries: null,
48
- policy: null,
49
- total_timeout: null,
50
- connect_timeout: null,
51
- sock_connect_timeout: null,
52
- sock_read_timeout: null,
53
- headers: null,
54
- rate_limit: null)
34
+ instance = PulpMavenClient::PatchedmavenMavenRemote.new(
35
+ name: null,
36
+ url: null,
37
+ ca_cert: null,
38
+ client_cert: null,
39
+ client_key: null,
40
+ tls_validation: null,
41
+ proxy_url: null,
42
+ proxy_username: null,
43
+ proxy_password: null,
44
+ username: null,
45
+ password: null,
46
+ pulp_labels: null,
47
+ download_concurrency: null,
48
+ max_retries: null,
49
+ policy: null,
50
+ total_timeout: null,
51
+ connect_timeout: null,
52
+ sock_connect_timeout: null,
53
+ sock_read_timeout: null,
54
+ headers: null,
55
+ rate_limit: null
56
+ )
55
57
  ```
56
58
 
57
-
@@ -2,24 +2,25 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **pulp_labels** | **Hash<String, String>** | | [optional]
8
- **name** | **String** | A unique name for this repository. | [optional]
9
- **description** | **String** | An optional description. | [optional]
10
- **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
11
- **remote** | **String** | An optional remote to use by default when syncing. | [optional]
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **pulp_labels** | **Hash<String, String>** | | [optional] |
8
+ | **name** | **String** | A unique name for this repository. | [optional] |
9
+ | **description** | **String** | An optional description. | [optional] |
10
+ | **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
11
+ | **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
12
12
 
13
- ## Code Sample
13
+ ## Example
14
14
 
15
15
  ```ruby
16
- require 'PulpMavenClient'
16
+ require 'pulp_maven_client'
17
17
 
18
- instance = PulpMavenClient::PatchedmavenMavenRepository.new(pulp_labels: null,
19
- name: null,
20
- description: null,
21
- retain_repo_versions: null,
22
- remote: null)
18
+ instance = PulpMavenClient::PatchedmavenMavenRepository.new(
19
+ pulp_labels: null,
20
+ name: null,
21
+ description: null,
22
+ retain_repo_versions: null,
23
+ remote: null
24
+ )
23
25
  ```
24
26
 
25
-
data/docs/PolicyEnum.md CHANGED
@@ -2,15 +2,14 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
7
 
8
- ## Code Sample
8
+ ## Example
9
9
 
10
10
  ```ruby
11
- require 'PulpMavenClient'
11
+ require 'pulp_maven_client'
12
12
 
13
13
  instance = PulpMavenClient::PolicyEnum.new()
14
14
  ```
15
15
 
16
-
data/docs/PulpMavenApi.md CHANGED
@@ -2,11 +2,10 @@
2
2
 
3
3
  All URIs are relative to *http://localhost:24817*
4
4
 
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**get**](PulpMavenApi.md#get) | **GET** /pulp/maven/{name}/{path} |
8
- [**put**](PulpMavenApi.md#put) | **PUT** /pulp/maven/{name}/{path} |
9
-
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**get**](PulpMavenApi.md#get) | **GET** /pulp/maven/{name}/{path} | |
8
+ | [**put**](PulpMavenApi.md#put) | **PUT** /pulp/maven/{name}/{path} | |
10
9
 
11
10
 
12
11
  ## get
@@ -17,36 +16,54 @@ Method | HTTP request | Description
17
16
 
18
17
  Responds to GET requests about manifests by reference
19
18
 
20
- ### Example
19
+ ### Examples
21
20
 
22
21
  ```ruby
23
- # load the gem
22
+ require 'time'
24
23
  require 'pulp_maven_client'
25
24
 
26
25
  api_instance = PulpMavenClient::PulpMavenApi.new
27
26
  name = 'name_example' # String |
28
27
  path = 'path_example' # String |
29
28
  opts = {
30
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
31
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
29
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
30
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
32
31
  }
33
32
 
34
33
  begin
34
+
35
35
  api_instance.get(name, path, opts)
36
36
  rescue PulpMavenClient::ApiError => e
37
- puts "Exception when calling PulpMavenApi->get: #{e}"
37
+ puts "Error when calling PulpMavenApi->get: #{e}"
38
38
  end
39
39
  ```
40
40
 
41
- ### Parameters
41
+ #### Using the get_with_http_info variant
42
+
43
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
42
44
 
45
+ > <Array(nil, Integer, Hash)> get_with_http_info(name, path, opts)
46
+
47
+ ```ruby
48
+ begin
49
+
50
+ data, status_code, headers = api_instance.get_with_http_info(name, path, opts)
51
+ p status_code # => 2xx
52
+ p headers # => { ... }
53
+ p data # => nil
54
+ rescue PulpMavenClient::ApiError => e
55
+ puts "Error when calling PulpMavenApi->get_with_http_info: #{e}"
56
+ end
57
+ ```
58
+
59
+ ### Parameters
43
60
 
44
- Name | Type | Description | Notes
45
- ------------- | ------------- | ------------- | -------------
46
- **name** | **String**| |
47
- **path** | **String**| |
48
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
49
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
61
+ | Name | Type | Description | Notes |
62
+ | ---- | ---- | ----------- | ----- |
63
+ | **name** | **String** | | |
64
+ | **path** | **String** | | |
65
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
66
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
50
67
 
51
68
  ### Return type
52
69
 
@@ -70,10 +87,10 @@ No authorization required
70
87
 
71
88
  ViewSet for interacting with maven deploy API
72
89
 
73
- ### Example
90
+ ### Examples
74
91
 
75
92
  ```ruby
76
- # load the gem
93
+ require 'time'
77
94
  require 'pulp_maven_client'
78
95
 
79
96
  api_instance = PulpMavenClient::PulpMavenApi.new
@@ -81,19 +98,37 @@ name = 'name_example' # String |
81
98
  path = 'path_example' # String |
82
99
 
83
100
  begin
101
+
84
102
  api_instance.put(name, path)
85
103
  rescue PulpMavenClient::ApiError => e
86
- puts "Exception when calling PulpMavenApi->put: #{e}"
104
+ puts "Error when calling PulpMavenApi->put: #{e}"
87
105
  end
88
106
  ```
89
107
 
90
- ### Parameters
108
+ #### Using the put_with_http_info variant
109
+
110
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
111
+
112
+ > <Array(nil, Integer, Hash)> put_with_http_info(name, path)
113
+
114
+ ```ruby
115
+ begin
116
+
117
+ data, status_code, headers = api_instance.put_with_http_info(name, path)
118
+ p status_code # => 2xx
119
+ p headers # => { ... }
120
+ p data # => nil
121
+ rescue PulpMavenClient::ApiError => e
122
+ puts "Error when calling PulpMavenApi->put_with_http_info: #{e}"
123
+ end
124
+ ```
91
125
 
126
+ ### Parameters
92
127
 
93
- Name | Type | Description | Notes
94
- ------------- | ------------- | ------------- | -------------
95
- **name** | **String**| |
96
- **path** | **String**| |
128
+ | Name | Type | Description | Notes |
129
+ | ---- | ---- | ----------- | ----- |
130
+ | **name** | **String** | | |
131
+ | **path** | **String** | | |
97
132
 
98
133
  ### Return type
99
134