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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 604d6fd817882ade48f9e4f87efa856eb5b97a49db6d6d4fc862641a754a79f6
4
- data.tar.gz: 4ec2a31623f718762910ec9b2bf0182085fcc02641395858e4c51881ab5d7e07
3
+ metadata.gz: bba4422c7d45be1a9fe2f178e8a5a73f70e68d780da250369f533aa2c9d916df
4
+ data.tar.gz: e779556f4d6cfac4ff81b7f8c6d1215c6180185f90113bee0719a43a41723824
5
5
  SHA512:
6
- metadata.gz: 8b7dc80a057a3c50061c751566ea32fffb14fd31591aaf1329530ebe34d06c116c945bd177c8e0f9fb76aa6ccd48b63d5d9bf7be6b18abfdc82d798867a387db
7
- data.tar.gz: 7001d4ac7c26991c7da22182174cde87e1c073dac2c88c8fbfc468d027be572bfc8ed4975bd1c609739fcd553b54f7b7b3ad0667d6e38e7064e3d307a4c002e7
6
+ metadata.gz: e5a2d480cb8f04e57d3749d66bdbab32471d8c8794e038a2172c39c83aaf350c50ec7766de1a4a611c77d3a3cf53b33edcdb1cec21998387e7a62e7bbc1cbc46
7
+ data.tar.gz: f4054adfcca341bf97427278ab40b3897e6437504da27621c30e484e605bc80ee98f0db7c8241c7eccfa69ae3d7ebb596a1920598ddb4257f54b59bffbe601a9
data/README.md CHANGED
@@ -7,7 +7,8 @@ Fetch, Upload, Organize, and Distribute Software Packages
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 0.8.2
10
+ - Package version: 0.8.3
11
+ - Generator version: 7.10.0
11
12
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
13
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
13
14
 
@@ -24,16 +25,16 @@ gem build pulp_maven_client.gemspec
24
25
  Then either install the gem locally:
25
26
 
26
27
  ```shell
27
- gem install ./pulp_maven_client-0.8.2.gem
28
+ gem install ./pulp_maven_client-0.8.3.gem
28
29
  ```
29
30
 
30
- (for development, run `gem install --dev ./pulp_maven_client-0.8.2.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulp_maven_client-0.8.3.gem` to install the development dependencies)
31
32
 
32
33
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
34
 
34
35
  Finally add this to the Gemfile:
35
36
 
36
- gem 'pulp_maven_client', '~> 0.8.2'
37
+ gem 'pulp_maven_client', '~> 0.8.3'
37
38
 
38
39
  ### Install from Git
39
40
 
@@ -62,10 +63,12 @@ PulpMavenClient.configure do |config|
62
63
  # Configure HTTP basic authorization: basicAuth
63
64
  config.username = 'YOUR_USERNAME'
64
65
  config.password = 'YOUR_PASSWORD'
66
+ # Configure faraday connection
67
+ config.configure_faraday_connection { |connection| 'YOUR CONNECTION CONFIG PROC' }
65
68
  end
66
69
 
67
70
  api_instance = PulpMavenClient::ContentArtifactApi.new
68
- maven_maven_artifact = PulpMavenClient::MavenMavenArtifact.new # MavenMavenArtifact |
71
+ maven_maven_artifact = PulpMavenClient::MavenMavenArtifact.new({artifact: 'artifact_example', relative_path: 'relative_path_example'}) # MavenMavenArtifact |
69
72
 
70
73
  begin
71
74
  #Create a maven artifact
@@ -129,7 +132,7 @@ Class | Method | HTTP request | Description
129
132
  - [PulpMavenClient::MavenMavenDistributionResponse](docs/MavenMavenDistributionResponse.md)
130
133
  - [PulpMavenClient::MavenMavenRemote](docs/MavenMavenRemote.md)
131
134
  - [PulpMavenClient::MavenMavenRemoteResponse](docs/MavenMavenRemoteResponse.md)
132
- - [PulpMavenClient::MavenMavenRemoteResponseHiddenFields](docs/MavenMavenRemoteResponseHiddenFields.md)
135
+ - [PulpMavenClient::MavenMavenRemoteResponseHiddenFieldsInner](docs/MavenMavenRemoteResponseHiddenFieldsInner.md)
133
136
  - [PulpMavenClient::MavenMavenRepository](docs/MavenMavenRepository.md)
134
137
  - [PulpMavenClient::MavenMavenRepositoryResponse](docs/MavenMavenRepositoryResponse.md)
135
138
  - [PulpMavenClient::PaginatedRepositoryVersionResponseList](docs/PaginatedRepositoryVersionResponseList.md)
@@ -153,6 +156,7 @@ Class | Method | HTTP request | Description
153
156
  ## Documentation for Authorization
154
157
 
155
158
 
159
+ Authentication schemes defined for the API:
156
160
  ### basicAuth
157
161
 
158
162
  - **Type**: HTTP basic authentication
@@ -2,16 +2,17 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **task** | **String** | The href of the task. |
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **task** | **String** | The href of the task. | |
8
8
 
9
- ## Code Sample
9
+ ## Example
10
10
 
11
11
  ```ruby
12
- require 'PulpMavenClient'
12
+ require 'pulp_maven_client'
13
13
 
14
- instance = PulpMavenClient::AsyncOperationResponse.new(task: null)
14
+ instance = PulpMavenClient::AsyncOperationResponse.new(
15
+ task: null
16
+ )
15
17
  ```
16
18
 
17
-
@@ -2,26 +2,25 @@
2
2
 
3
3
  All URIs are relative to *http://localhost:24817*
4
4
 
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**create**](ContentArtifactApi.md#create) | **POST** /pulp/api/v3/content/maven/artifact/ | Create a maven artifact
8
- [**list**](ContentArtifactApi.md#list) | **GET** /pulp/api/v3/content/maven/artifact/ | List maven artifacts
9
- [**read**](ContentArtifactApi.md#read) | **GET** {maven_maven_artifact_href} | Inspect a maven artifact
10
-
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**create**](ContentArtifactApi.md#create) | **POST** /pulp/api/v3/content/maven/artifact/ | Create a maven artifact |
8
+ | [**list**](ContentArtifactApi.md#list) | **GET** /pulp/api/v3/content/maven/artifact/ | List maven artifacts |
9
+ | [**read**](ContentArtifactApi.md#read) | **GET** {maven_maven_artifact_href} | Inspect a maven artifact |
11
10
 
12
11
 
13
12
  ## create
14
13
 
15
- > MavenMavenArtifactResponse create(maven_maven_artifact)
14
+ > <MavenMavenArtifactResponse> create(maven_maven_artifact)
16
15
 
17
16
  Create a maven artifact
18
17
 
19
18
  A ViewSet for MavenArtifact.
20
19
 
21
- ### Example
20
+ ### Examples
22
21
 
23
22
  ```ruby
24
- # load the gem
23
+ require 'time'
25
24
  require 'pulp_maven_client'
26
25
  # setup authorization
27
26
  PulpMavenClient.configure do |config|
@@ -31,23 +30,40 @@ PulpMavenClient.configure do |config|
31
30
  end
32
31
 
33
32
  api_instance = PulpMavenClient::ContentArtifactApi.new
34
- maven_maven_artifact = PulpMavenClient::MavenMavenArtifact.new # MavenMavenArtifact |
33
+ maven_maven_artifact = PulpMavenClient::MavenMavenArtifact.new({artifact: 'artifact_example', relative_path: 'relative_path_example'}) # MavenMavenArtifact |
35
34
 
36
35
  begin
37
- #Create a maven artifact
36
+ # Create a maven artifact
38
37
  result = api_instance.create(maven_maven_artifact)
39
38
  p result
40
39
  rescue PulpMavenClient::ApiError => e
41
- puts "Exception when calling ContentArtifactApi->create: #{e}"
40
+ puts "Error when calling ContentArtifactApi->create: #{e}"
42
41
  end
43
42
  ```
44
43
 
45
- ### Parameters
44
+ #### Using the create_with_http_info variant
45
+
46
+ This returns an Array which contains the response data, status code and headers.
47
+
48
+ > <Array(<MavenMavenArtifactResponse>, Integer, Hash)> create_with_http_info(maven_maven_artifact)
49
+
50
+ ```ruby
51
+ begin
52
+ # Create a maven artifact
53
+ data, status_code, headers = api_instance.create_with_http_info(maven_maven_artifact)
54
+ p status_code # => 2xx
55
+ p headers # => { ... }
56
+ p data # => <MavenMavenArtifactResponse>
57
+ rescue PulpMavenClient::ApiError => e
58
+ puts "Error when calling ContentArtifactApi->create_with_http_info: #{e}"
59
+ end
60
+ ```
46
61
 
62
+ ### Parameters
47
63
 
48
- Name | Type | Description | Notes
49
- ------------- | ------------- | ------------- | -------------
50
- **maven_maven_artifact** | [**MavenMavenArtifact**](MavenMavenArtifact.md)| |
64
+ | Name | Type | Description | Notes |
65
+ | ---- | ---- | ----------- | ----- |
66
+ | **maven_maven_artifact** | [**MavenMavenArtifact**](MavenMavenArtifact.md) | | |
51
67
 
52
68
  ### Return type
53
69
 
@@ -65,16 +81,16 @@ Name | Type | Description | Notes
65
81
 
66
82
  ## list
67
83
 
68
- > PaginatedmavenMavenArtifactResponseList list(opts)
84
+ > <PaginatedmavenMavenArtifactResponseList> list(opts)
69
85
 
70
86
  List maven artifacts
71
87
 
72
88
  A ViewSet for MavenArtifact.
73
89
 
74
- ### Example
90
+ ### Examples
75
91
 
76
92
  ```ruby
77
- # load the gem
93
+ require 'time'
78
94
  require 'pulp_maven_client'
79
95
  # setup authorization
80
96
  PulpMavenClient.configure do |config|
@@ -90,51 +106,68 @@ opts = {
90
106
  group_id: 'group_id_example', # String | Filter results where group_id matches value
91
107
  limit: 56, # Integer | Number of results to return per page.
92
108
  offset: 56, # Integer | The initial index from which to return the results.
93
- ordering: ['ordering_example'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `group_id` - Group id * `-group_id` - Group id (descending) * `artifact_id` - Artifact id * `-artifact_id` - Artifact id (descending) * `version` - Version * `-version` - Version (descending) * `filename` - Filename * `-filename` - Filename (descending) * `pk` - Pk * `-pk` - Pk (descending)
94
- orphaned_for: 3.4, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
95
- prn__in: ['prn__in_example'], # Array<String> | Multiple values may be separated by commas.
96
- pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
97
- pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
109
+ ordering: ['-artifact_id'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `group_id` - Group id * `-group_id` - Group id (descending) * `artifact_id` - Artifact id * `-artifact_id` - Artifact id (descending) * `version` - Version * `-version` - Version (descending) * `filename` - Filename * `-filename` - Filename (descending) * `pk` - Pk * `-pk` - Pk (descending)
110
+ orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
111
+ prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
112
+ pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
113
+ pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
98
114
  q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
99
115
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
100
116
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
101
117
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF/PRN
102
118
  version: 'version_example', # String | Filter results where version matches value
103
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
104
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
119
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
120
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
105
121
  }
106
122
 
107
123
  begin
108
- #List maven artifacts
124
+ # List maven artifacts
109
125
  result = api_instance.list(opts)
110
126
  p result
111
127
  rescue PulpMavenClient::ApiError => e
112
- puts "Exception when calling ContentArtifactApi->list: #{e}"
128
+ puts "Error when calling ContentArtifactApi->list: #{e}"
113
129
  end
114
130
  ```
115
131
 
116
- ### Parameters
132
+ #### Using the list_with_http_info variant
117
133
 
134
+ This returns an Array which contains the response data, status code and headers.
118
135
 
119
- Name | Type | Description | Notes
120
- ------------- | ------------- | ------------- | -------------
121
- **artifact_id** | **String**| Filter results where artifact_id matches value | [optional]
122
- **filename** | **String**| Filter results where filename matches value | [optional]
123
- **group_id** | **String**| Filter results where group_id matches value | [optional]
124
- **limit** | **Integer**| Number of results to return per page. | [optional]
125
- **offset** | **Integer**| The initial index from which to return the results. | [optional]
126
- **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;group_id&#x60; - Group id * &#x60;-group_id&#x60; - Group id (descending) * &#x60;artifact_id&#x60; - Artifact id * &#x60;-artifact_id&#x60; - Artifact id (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;filename&#x60; - Filename * &#x60;-filename&#x60; - Filename (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
127
- **orphaned_for** | **Float**| Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional]
128
- **prn__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
129
- **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
130
- **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
131
- **q** | **String**| Filter results by using NOT, AND and OR operations on other filters | [optional]
132
- **repository_version** | **String**| Repository Version referenced by HREF/PRN | [optional]
133
- **repository_version_added** | **String**| Repository Version referenced by HREF/PRN | [optional]
134
- **repository_version_removed** | **String**| Repository Version referenced by HREF/PRN | [optional]
135
- **version** | **String**| Filter results where version matches value | [optional]
136
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
137
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
136
+ > <Array(<PaginatedmavenMavenArtifactResponseList>, Integer, Hash)> list_with_http_info(opts)
137
+
138
+ ```ruby
139
+ begin
140
+ # List maven artifacts
141
+ data, status_code, headers = api_instance.list_with_http_info(opts)
142
+ p status_code # => 2xx
143
+ p headers # => { ... }
144
+ p data # => <PaginatedmavenMavenArtifactResponseList>
145
+ rescue PulpMavenClient::ApiError => e
146
+ puts "Error when calling ContentArtifactApi->list_with_http_info: #{e}"
147
+ end
148
+ ```
149
+
150
+ ### Parameters
151
+
152
+ | Name | Type | Description | Notes |
153
+ | ---- | ---- | ----------- | ----- |
154
+ | **artifact_id** | **String** | Filter results where artifact_id matches value | [optional] |
155
+ | **filename** | **String** | Filter results where filename matches value | [optional] |
156
+ | **group_id** | **String** | Filter results where group_id matches value | [optional] |
157
+ | **limit** | **Integer** | Number of results to return per page. | [optional] |
158
+ | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
159
+ | **ordering** | [**Array&lt;String&gt;**](String.md) | Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;group_id&#x60; - Group id * &#x60;-group_id&#x60; - Group id (descending) * &#x60;artifact_id&#x60; - Artifact id * &#x60;-artifact_id&#x60; - Artifact id (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;filename&#x60; - Filename * &#x60;-filename&#x60; - Filename (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
160
+ | **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
161
+ | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
162
+ | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
163
+ | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
164
+ | **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
165
+ | **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
166
+ | **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
167
+ | **repository_version_removed** | **String** | Repository Version referenced by HREF/PRN | [optional] |
168
+ | **version** | **String** | Filter results where version matches value | [optional] |
169
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
170
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
138
171
 
139
172
  ### Return type
140
173
 
@@ -152,16 +185,16 @@ Name | Type | Description | Notes
152
185
 
153
186
  ## read
154
187
 
155
- > MavenMavenArtifactResponse read(maven_maven_artifact_href, opts)
188
+ > <MavenMavenArtifactResponse> read(maven_maven_artifact_href, opts)
156
189
 
157
190
  Inspect a maven artifact
158
191
 
159
192
  A ViewSet for MavenArtifact.
160
193
 
161
- ### Example
194
+ ### Examples
162
195
 
163
196
  ```ruby
164
- # load the gem
197
+ require 'time'
165
198
  require 'pulp_maven_client'
166
199
  # setup authorization
167
200
  PulpMavenClient.configure do |config|
@@ -173,27 +206,44 @@ end
173
206
  api_instance = PulpMavenClient::ContentArtifactApi.new
174
207
  maven_maven_artifact_href = 'maven_maven_artifact_href_example' # String |
175
208
  opts = {
176
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
177
- exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
209
+ fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
210
+ exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
178
211
  }
179
212
 
180
213
  begin
181
- #Inspect a maven artifact
214
+ # Inspect a maven artifact
182
215
  result = api_instance.read(maven_maven_artifact_href, opts)
183
216
  p result
184
217
  rescue PulpMavenClient::ApiError => e
185
- puts "Exception when calling ContentArtifactApi->read: #{e}"
218
+ puts "Error when calling ContentArtifactApi->read: #{e}"
186
219
  end
187
220
  ```
188
221
 
189
- ### Parameters
222
+ #### Using the read_with_http_info variant
223
+
224
+ This returns an Array which contains the response data, status code and headers.
225
+
226
+ > <Array(<MavenMavenArtifactResponse>, Integer, Hash)> read_with_http_info(maven_maven_artifact_href, opts)
190
227
 
228
+ ```ruby
229
+ begin
230
+ # Inspect a maven artifact
231
+ data, status_code, headers = api_instance.read_with_http_info(maven_maven_artifact_href, opts)
232
+ p status_code # => 2xx
233
+ p headers # => { ... }
234
+ p data # => <MavenMavenArtifactResponse>
235
+ rescue PulpMavenClient::ApiError => e
236
+ puts "Error when calling ContentArtifactApi->read_with_http_info: #{e}"
237
+ end
238
+ ```
239
+
240
+ ### Parameters
191
241
 
192
- Name | Type | Description | Notes
193
- ------------- | ------------- | ------------- | -------------
194
- **maven_maven_artifact_href** | **String**| |
195
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
196
- **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
242
+ | Name | Type | Description | Notes |
243
+ | ---- | ---- | ----------- | ----- |
244
+ | **maven_maven_artifact_href** | **String** | | |
245
+ | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
246
+ | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
197
247
 
198
248
  ### Return type
199
249
 
@@ -2,20 +2,21 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- Name | Type | Description | Notes
6
- ------------ | ------------- | ------------- | -------------
7
- **added** | **Hash&lt;String, Object&gt;** | |
8
- **removed** | **Hash&lt;String, Object&gt;** | |
9
- **present** | **Hash&lt;String, Object&gt;** | |
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **added** | **Hash&lt;String, Object&gt;** | | |
8
+ | **removed** | **Hash&lt;String, Object&gt;** | | |
9
+ | **present** | **Hash&lt;String, Object&gt;** | | |
10
10
 
11
- ## Code Sample
11
+ ## Example
12
12
 
13
13
  ```ruby
14
- require 'PulpMavenClient'
14
+ require 'pulp_maven_client'
15
15
 
16
- instance = PulpMavenClient::ContentSummaryResponse.new(added: null,
17
- removed: null,
18
- present: null)
16
+ instance = PulpMavenClient::ContentSummaryResponse.new(
17
+ added: null,
18
+ removed: null,
19
+ present: null
20
+ )
19
21
  ```
20
22
 
21
-