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.
- checksums.yaml +4 -4
- data/README.md +10 -6
- data/docs/AsyncOperationResponse.md +8 -7
- data/docs/ContentArtifactApi.md +111 -61
- data/docs/ContentSummaryResponse.md +12 -11
- data/docs/DistributionsMavenApi.md +265 -130
- data/docs/MavenMavenArtifact.md +12 -11
- data/docs/MavenMavenArtifactResponse.md +24 -23
- data/docs/MavenMavenDistribution.md +20 -19
- data/docs/MavenMavenDistributionResponse.md +32 -31
- data/docs/MavenMavenRemote.md +48 -47
- data/docs/MavenMavenRemoteResponse.md +48 -47
- data/docs/MavenMavenRemoteResponseHiddenFieldsInner.md +20 -0
- data/docs/MavenMavenRepository.md +16 -15
- data/docs/MavenMavenRepositoryResponse.md +28 -27
- data/docs/PaginatedRepositoryVersionResponseList.md +14 -13
- data/docs/PaginatedmavenMavenArtifactResponseList.md +14 -13
- data/docs/PaginatedmavenMavenDistributionResponseList.md +14 -13
- data/docs/PaginatedmavenMavenRemoteResponseList.md +14 -13
- data/docs/PaginatedmavenMavenRepositoryResponseList.md +14 -13
- data/docs/PatchedmavenMavenDistribution.md +20 -19
- data/docs/PatchedmavenMavenRemote.md +48 -47
- data/docs/PatchedmavenMavenRepository.md +16 -15
- data/docs/PolicyEnum.md +4 -5
- data/docs/PulpMavenApi.md +60 -25
- data/docs/RemotesMavenApi.md +269 -132
- data/docs/Repair.md +8 -7
- data/docs/RepositoriesMavenApi.md +296 -144
- data/docs/RepositoriesMavenVersionsApi.md +152 -82
- data/docs/RepositoryAddCachedContent.md +8 -7
- data/docs/RepositoryVersionResponse.md +22 -21
- data/docs/SetLabel.md +10 -9
- data/docs/SetLabelResponse.md +10 -9
- data/docs/UnsetLabel.md +8 -7
- data/docs/UnsetLabelResponse.md +10 -9
- data/lib/pulp_maven_client/api/content_artifact_api.rb +20 -14
- data/lib/pulp_maven_client/api/distributions_maven_api.rb +61 -38
- data/lib/pulp_maven_client/api/pulp_maven_api.rb +9 -7
- data/lib/pulp_maven_client/api/remotes_maven_api.rb +76 -50
- data/lib/pulp_maven_client/api/repositories_maven_api.rb +70 -43
- data/lib/pulp_maven_client/api/repositories_maven_versions_api.rb +40 -30
- data/lib/pulp_maven_client/api_client.rb +137 -102
- data/lib/pulp_maven_client/api_error.rb +2 -1
- data/lib/pulp_maven_client/configuration.rb +162 -21
- data/lib/pulp_maven_client/models/async_operation_response.rb +32 -22
- data/lib/pulp_maven_client/models/content_summary_response.rb +36 -22
- data/lib/pulp_maven_client/models/maven_maven_artifact.rb +34 -22
- data/lib/pulp_maven_client/models/maven_maven_artifact_response.rb +34 -24
- data/lib/pulp_maven_client/models/maven_maven_distribution.rb +34 -22
- data/lib/pulp_maven_client/models/maven_maven_distribution_response.rb +36 -24
- data/lib/pulp_maven_client/models/maven_maven_remote.rb +57 -38
- data/lib/pulp_maven_client/models/maven_maven_remote_response.rb +60 -41
- data/lib/pulp_maven_client/models/{maven_maven_remote_response_hidden_fields.rb → maven_maven_remote_response_hidden_fields_inner.rb} +37 -25
- data/lib/pulp_maven_client/models/maven_maven_repository.rb +32 -37
- data/lib/pulp_maven_client/models/maven_maven_repository_response.rb +34 -39
- data/lib/pulp_maven_client/models/paginated_repository_version_response_list.rb +34 -24
- data/lib/pulp_maven_client/models/paginatedmaven_maven_artifact_response_list.rb +34 -24
- data/lib/pulp_maven_client/models/paginatedmaven_maven_distribution_response_list.rb +34 -24
- data/lib/pulp_maven_client/models/paginatedmaven_maven_remote_response_list.rb +34 -24
- data/lib/pulp_maven_client/models/paginatedmaven_maven_repository_response_list.rb +34 -24
- data/lib/pulp_maven_client/models/patchedmaven_maven_distribution.rb +40 -24
- data/lib/pulp_maven_client/models/patchedmaven_maven_remote.rb +63 -40
- data/lib/pulp_maven_client/models/patchedmaven_maven_repository.rb +35 -38
- data/lib/pulp_maven_client/models/policy_enum.rb +8 -5
- data/lib/pulp_maven_client/models/repair.rb +30 -22
- data/lib/pulp_maven_client/models/repository_add_cached_content.rb +30 -22
- data/lib/pulp_maven_client/models/repository_version_response.rb +32 -24
- data/lib/pulp_maven_client/models/set_label.rb +34 -22
- data/lib/pulp_maven_client/models/set_label_response.rb +34 -22
- data/lib/pulp_maven_client/models/unset_label.rb +32 -22
- data/lib/pulp_maven_client/models/unset_label_response.rb +32 -22
- data/lib/pulp_maven_client/version.rb +2 -2
- data/lib/pulp_maven_client.rb +2 -2
- data/pulp_maven_client.gemspec +9 -6
- data/spec/api/content_artifact_api_spec.rb +4 -4
- data/spec/api/distributions_maven_api_spec.rb +9 -9
- data/spec/api/pulp_maven_api_spec.rb +3 -3
- data/spec/api/remotes_maven_api_spec.rb +16 -15
- data/spec/api/repositories_maven_api_spec.rb +10 -10
- data/spec/api/repositories_maven_versions_api_spec.rb +12 -11
- data/spec/models/async_operation_response_spec.rb +7 -12
- data/spec/models/content_summary_response_spec.rb +9 -14
- data/spec/models/maven_maven_artifact_response_spec.rb +15 -20
- data/spec/models/maven_maven_artifact_spec.rb +9 -14
- data/spec/models/maven_maven_distribution_response_spec.rb +19 -24
- data/spec/models/maven_maven_distribution_spec.rb +13 -18
- data/spec/models/{maven_maven_remote_response_hidden_fields_spec.rb → maven_maven_remote_response_hidden_fields_inner_spec.rb} +11 -16
- data/spec/models/maven_maven_remote_response_spec.rb +27 -32
- data/spec/models/maven_maven_remote_spec.rb +27 -32
- data/spec/models/maven_maven_repository_response_spec.rb +17 -22
- data/spec/models/maven_maven_repository_spec.rb +11 -16
- data/spec/models/paginated_repository_version_response_list_spec.rb +10 -15
- data/spec/models/paginatedmaven_maven_artifact_response_list_spec.rb +10 -15
- data/spec/models/paginatedmaven_maven_distribution_response_list_spec.rb +10 -15
- data/spec/models/paginatedmaven_maven_remote_response_list_spec.rb +10 -15
- data/spec/models/paginatedmaven_maven_repository_response_list_spec.rb +10 -15
- data/spec/models/patchedmaven_maven_distribution_spec.rb +13 -18
- data/spec/models/patchedmaven_maven_remote_spec.rb +27 -32
- data/spec/models/patchedmaven_maven_repository_spec.rb +11 -16
- data/spec/models/policy_enum_spec.rb +6 -11
- data/spec/models/repair_spec.rb +7 -12
- data/spec/models/repository_add_cached_content_spec.rb +7 -12
- data/spec/models/repository_version_response_spec.rb +14 -19
- data/spec/models/set_label_response_spec.rb +8 -13
- data/spec/models/set_label_spec.rb +8 -13
- data/spec/models/unset_label_response_spec.rb +8 -13
- data/spec/models/unset_label_spec.rb +7 -12
- data/spec/spec_helper.rb +1 -1
- metadata +67 -43
- data/docs/MavenMavenRemoteResponseHiddenFields.md +0 -19
- data/spec/api_client_spec.rb +0 -188
- data/spec/configuration_spec.rb +0 -42
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bba4422c7d45be1a9fe2f178e8a5a73f70e68d780da250369f533aa2c9d916df
|
4
|
+
data.tar.gz: e779556f4d6cfac4ff81b7f8c6d1215c6180185f90113bee0719a43a41723824
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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.
|
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.
|
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::
|
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
|
-
##
|
9
|
+
## Example
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
require '
|
12
|
+
require 'pulp_maven_client'
|
13
13
|
|
14
|
-
instance = PulpMavenClient::AsyncOperationResponse.new(
|
14
|
+
instance = PulpMavenClient::AsyncOperationResponse.new(
|
15
|
+
task: null
|
16
|
+
)
|
15
17
|
```
|
16
18
|
|
17
|
-
|
data/docs/ContentArtifactApi.md
CHANGED
@@ -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
|
-
###
|
20
|
+
### Examples
|
22
21
|
|
23
22
|
```ruby
|
24
|
-
|
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 "
|
40
|
+
puts "Error when calling ContentArtifactApi->create: #{e}"
|
42
41
|
end
|
43
42
|
```
|
44
43
|
|
45
|
-
|
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
|
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
|
-
###
|
90
|
+
### Examples
|
75
91
|
|
76
92
|
```ruby
|
77
|
-
|
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: ['
|
94
|
-
orphaned_for:
|
95
|
-
prn__in: ['
|
96
|
-
pulp_href__in: ['
|
97
|
-
pulp_id__in: ['
|
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: ['
|
104
|
-
exclude_fields: ['
|
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 "
|
128
|
+
puts "Error when calling ContentArtifactApi->list: #{e}"
|
113
129
|
end
|
114
130
|
```
|
115
131
|
|
116
|
-
|
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
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
**
|
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<String>**](String.md) | 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) | [optional] |
|
160
|
+
| **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
|
161
|
+
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
162
|
+
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
163
|
+
| **pulp_id__in** | [**Array<String>**](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<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
170
|
+
| **exclude_fields** | [**Array<String>**](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
|
-
###
|
194
|
+
### Examples
|
162
195
|
|
163
196
|
```ruby
|
164
|
-
|
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: ['
|
177
|
-
exclude_fields: ['
|
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 "
|
218
|
+
puts "Error when calling ContentArtifactApi->read: #{e}"
|
186
219
|
end
|
187
220
|
```
|
188
221
|
|
189
|
-
|
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
|
193
|
-
|
194
|
-
**maven_maven_artifact_href** | **String
|
195
|
-
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
196
|
-
**exclude_fields** | [**Array<String>**](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<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
246
|
+
| **exclude_fields** | [**Array<String>**](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<String, Object>** | |
|
8
|
-
**removed** | **Hash<String, Object>** | |
|
9
|
-
**present** | **Hash<String, Object>** | |
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **added** | **Hash<String, Object>** | | |
|
8
|
+
| **removed** | **Hash<String, Object>** | | |
|
9
|
+
| **present** | **Hash<String, Object>** | | |
|
10
10
|
|
11
|
-
##
|
11
|
+
## Example
|
12
12
|
|
13
13
|
```ruby
|
14
|
-
require '
|
14
|
+
require 'pulp_maven_client'
|
15
15
|
|
16
|
-
instance = PulpMavenClient::ContentSummaryResponse.new(
|
17
|
-
|
18
|
-
|
16
|
+
instance = PulpMavenClient::ContentSummaryResponse.new(
|
17
|
+
added: null,
|
18
|
+
removed: null,
|
19
|
+
present: null
|
20
|
+
)
|
19
21
|
```
|
20
22
|
|
21
|
-
|