pulp_maven_client 0.2.0b1.dev01595620836 → 0.2.0b1.dev01596139522

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of pulp_maven_client might be problematic. Click here for more details.

Files changed (92) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +24 -13
  3. data/docs/ContentArtifactApi.md +32 -32
  4. data/docs/ContentSummary.md +3 -3
  5. data/docs/ContentSummaryResponse.md +21 -0
  6. data/docs/DistributionsMavenApi.md +104 -56
  7. data/docs/InlineResponse200.md +3 -3
  8. data/docs/InlineResponse2001.md +3 -3
  9. data/docs/InlineResponse2002.md +3 -3
  10. data/docs/InlineResponse2003.md +3 -3
  11. data/docs/InlineResponse2004.md +3 -3
  12. data/docs/MavenMavenArtifact.md +3 -13
  13. data/docs/MavenMavenArtifactResponse.md +29 -0
  14. data/docs/MavenMavenDistribution.md +1 -7
  15. data/docs/MavenMavenDistributionResponse.md +29 -0
  16. data/docs/MavenMavenRemote.md +2 -8
  17. data/docs/MavenMavenRemoteResponse.md +43 -0
  18. data/docs/MavenMavenRepository.md +4 -10
  19. data/docs/MavenMavenRepositoryResponse.md +29 -0
  20. data/docs/PatchedmavenMavenDistribution.md +23 -0
  21. data/docs/PatchedmavenMavenRemote.md +37 -0
  22. data/docs/PatchedmavenMavenRepository.md +21 -0
  23. data/docs/PolicyEnum.md +16 -0
  24. data/docs/RemotesMavenApi.md +121 -61
  25. data/docs/RepositoriesMavenApi.md +73 -49
  26. data/docs/RepositoriesMavenVersionsApi.md +90 -58
  27. data/docs/RepositoryVersion.md +1 -9
  28. data/docs/RepositoryVersionResponse.md +25 -0
  29. data/lib/pulp_maven_client.rb +12 -2
  30. data/lib/pulp_maven_client/api/content_artifact_api.rb +44 -44
  31. data/lib/pulp_maven_client/api/distributions_maven_api.rb +131 -68
  32. data/lib/pulp_maven_client/api/remotes_maven_api.rb +159 -78
  33. data/lib/pulp_maven_client/api/repositories_maven_api.rb +89 -62
  34. data/lib/pulp_maven_client/api/repositories_maven_versions_api.rb +119 -74
  35. data/lib/pulp_maven_client/api_client.rb +2 -2
  36. data/lib/pulp_maven_client/api_error.rb +2 -2
  37. data/lib/pulp_maven_client/configuration.rb +3 -3
  38. data/lib/pulp_maven_client/models/async_operation_response.rb +3 -2
  39. data/lib/pulp_maven_client/models/content_summary.rb +9 -15
  40. data/lib/pulp_maven_client/models/content_summary_response.rb +240 -0
  41. data/lib/pulp_maven_client/models/inline_response200.rb +3 -13
  42. data/lib/pulp_maven_client/models/inline_response2001.rb +3 -13
  43. data/lib/pulp_maven_client/models/inline_response2002.rb +3 -13
  44. data/lib/pulp_maven_client/models/inline_response2003.rb +3 -13
  45. data/lib/pulp_maven_client/models/inline_response2004.rb +3 -13
  46. data/lib/pulp_maven_client/models/maven_maven_artifact.rb +14 -117
  47. data/lib/pulp_maven_client/models/maven_maven_artifact_response.rb +272 -0
  48. data/lib/pulp_maven_client/models/maven_maven_distribution.rb +4 -85
  49. data/lib/pulp_maven_client/models/maven_maven_distribution_response.rb +279 -0
  50. data/lib/pulp_maven_client/models/maven_maven_remote.rb +5 -197
  51. data/lib/pulp_maven_client/models/maven_maven_remote_response.rb +368 -0
  52. data/lib/pulp_maven_client/models/maven_maven_repository.rb +18 -78
  53. data/lib/pulp_maven_client/models/maven_maven_repository_response.rb +271 -0
  54. data/lib/pulp_maven_client/models/patchedmaven_maven_distribution.rb +240 -0
  55. data/lib/pulp_maven_client/models/patchedmaven_maven_remote.rb +329 -0
  56. data/lib/pulp_maven_client/models/patchedmaven_maven_repository.rb +229 -0
  57. data/lib/pulp_maven_client/models/policy_enum.rb +36 -0
  58. data/lib/pulp_maven_client/models/repository_version.rb +7 -43
  59. data/lib/pulp_maven_client/models/repository_version_response.rb +246 -0
  60. data/lib/pulp_maven_client/version.rb +3 -3
  61. data/pulp_maven_client.gemspec +4 -4
  62. data/spec/api/content_artifact_api_spec.rb +14 -14
  63. data/spec/api/distributions_maven_api_spec.rb +39 -18
  64. data/spec/api/remotes_maven_api_spec.rb +48 -21
  65. data/spec/api/repositories_maven_api_spec.rb +24 -15
  66. data/spec/api/repositories_maven_versions_api_spec.rb +38 -23
  67. data/spec/api_client_spec.rb +2 -2
  68. data/spec/configuration_spec.rb +2 -2
  69. data/spec/models/async_operation_response_spec.rb +2 -2
  70. data/spec/models/content_summary_response_spec.rb +53 -0
  71. data/spec/models/content_summary_spec.rb +2 -2
  72. data/spec/models/inline_response2001_spec.rb +2 -2
  73. data/spec/models/inline_response2002_spec.rb +2 -2
  74. data/spec/models/inline_response2003_spec.rb +2 -2
  75. data/spec/models/inline_response2004_spec.rb +2 -2
  76. data/spec/models/inline_response200_spec.rb +2 -2
  77. data/spec/models/maven_maven_artifact_response_spec.rb +77 -0
  78. data/spec/models/maven_maven_artifact_spec.rb +3 -33
  79. data/spec/models/maven_maven_distribution_response_spec.rb +77 -0
  80. data/spec/models/maven_maven_distribution_spec.rb +2 -20
  81. data/spec/models/maven_maven_remote_response_spec.rb +119 -0
  82. data/spec/models/maven_maven_remote_spec.rb +2 -24
  83. data/spec/models/maven_maven_repository_response_spec.rb +77 -0
  84. data/spec/models/maven_maven_repository_spec.rb +5 -23
  85. data/spec/models/patchedmaven_maven_distribution_spec.rb +59 -0
  86. data/spec/models/patchedmaven_maven_remote_spec.rb +101 -0
  87. data/spec/models/patchedmaven_maven_repository_spec.rb +53 -0
  88. data/spec/models/policy_enum_spec.rb +35 -0
  89. data/spec/models/repository_version_response_spec.rb +65 -0
  90. data/spec/models/repository_version_spec.rb +2 -26
  91. data/spec/spec_helper.rb +2 -2
  92. metadata +44 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 565a6fd9c2694c682cb7200f06433e11a8b39dced6b879547a7120c5f5ad6395
4
- data.tar.gz: 79a506b6f6b54a3e531c00ab8a5db3031e6c2e191bdfde8747417521ebf99267
3
+ metadata.gz: ae9e4097943d841d42449f4f7ac8bf75fdfbc5a5a2febb9d9996142756e70020
4
+ data.tar.gz: a5a9d9b67aa355d95775713d9fed5e7423b2eb584bcc61ae14e60e5a34de33a5
5
5
  SHA512:
6
- metadata.gz: 917a1c19cad6716cf108119c79d93d13899049373c7685dfb0327fd8edbd2a21ca3161d707f122bfcc90dca338c44cf07c5dae7e92e78d69221dd7660256900d
7
- data.tar.gz: d6d07a21bad2a18ee087125f517c468dd366799d8f2cca524d111786d4355b9df675b6f7d8b93c83fabcef148943e3befbad9db99581670963291cd8c64fada2
6
+ metadata.gz: 538fbb1248a5b33c3ba75ce591ce895398f48190e21a290808945998e2e9c5027e389760140fd9aec20706b0ce6ece9ae02a1284d653db1020eb59485bc4c1ba
7
+ data.tar.gz: e066731a31f813ac82a864b956aaf8a86032bcbcaba50e1009f1666be0b484aa453a5313bd51a641db4e5707558f05d79ab72890f004d5e95651ad2f50ba9835
data/README.md CHANGED
@@ -2,13 +2,14 @@
2
2
 
3
3
  PulpMavenClient - the Ruby gem for the Pulp 3 API
4
4
 
5
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ Fetch, Upload, Organize, and Distribute Software Packages
6
6
 
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.2.0b1.dev01595620836
10
+ - Package version: 0.2.0b1.dev01596139522
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
+ For more information, please visit [https://pulpproject.org](https://pulpproject.org)
12
13
 
13
14
  ## Installation
14
15
 
@@ -23,16 +24,16 @@ gem build pulp_maven_client.gemspec
23
24
  Then either install the gem locally:
24
25
 
25
26
  ```shell
26
- gem install ./pulp_maven_client-0.2.0b1.dev01595620836.gem
27
+ gem install ./pulp_maven_client-0.2.0b1.dev01596139522.gem
27
28
  ```
28
29
 
29
- (for development, run `gem install --dev ./pulp_maven_client-0.2.0b1.dev01595620836.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_maven_client-0.2.0b1.dev01596139522.gem` to install the development dependencies)
30
31
 
31
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
33
 
33
34
  Finally add this to the Gemfile:
34
35
 
35
- gem 'pulp_maven_client', '~> 0.2.0b1.dev01595620836'
36
+ gem 'pulp_maven_client', '~> 0.2.0b1.dev01596139522'
36
37
 
37
38
  ### Install from Git
38
39
 
@@ -58,17 +59,17 @@ require 'pulp_maven_client'
58
59
 
59
60
  # Setup authorization
60
61
  PulpMavenClient.configure do |config|
61
- # Configure HTTP basic authorization: Basic
62
+ # Configure HTTP basic authorization: basicAuth
62
63
  config.username = 'YOUR_USERNAME'
63
64
  config.password = 'YOUR_PASSWORD'
64
65
  end
65
66
 
66
67
  api_instance = PulpMavenClient::ContentArtifactApi.new
67
- data = PulpMavenClient::MavenMavenArtifact.new # MavenMavenArtifact |
68
+ maven_maven_artifact = PulpMavenClient::MavenMavenArtifact.new # MavenMavenArtifact |
68
69
 
69
70
  begin
70
71
  #Create a maven artifact
71
- result = api_instance.create(data)
72
+ result = api_instance.create(maven_maven_artifact)
72
73
  p result
73
74
  rescue PulpMavenClient::ApiError => e
74
75
  puts "Exception when calling ContentArtifactApi->create: #{e}"
@@ -88,23 +89,23 @@ Class | Method | HTTP request | Description
88
89
  *PulpMavenClient::DistributionsMavenApi* | [**create**](docs/DistributionsMavenApi.md#create) | **POST** /pulp/api/v3/distributions/maven/maven/ | Create a maven distribution
89
90
  *PulpMavenClient::DistributionsMavenApi* | [**delete**](docs/DistributionsMavenApi.md#delete) | **DELETE** {maven_distribution_href} | Delete a maven distribution
90
91
  *PulpMavenClient::DistributionsMavenApi* | [**list**](docs/DistributionsMavenApi.md#list) | **GET** /pulp/api/v3/distributions/maven/maven/ | List maven distributions
91
- *PulpMavenClient::DistributionsMavenApi* | [**partial_update**](docs/DistributionsMavenApi.md#partial_update) | **PATCH** {maven_distribution_href} | Partially update a maven distribution
92
+ *PulpMavenClient::DistributionsMavenApi* | [**partial_update**](docs/DistributionsMavenApi.md#partial_update) | **PATCH** {maven_distribution_href} | Update a maven distribution
92
93
  *PulpMavenClient::DistributionsMavenApi* | [**read**](docs/DistributionsMavenApi.md#read) | **GET** {maven_distribution_href} | Inspect a maven distribution
93
94
  *PulpMavenClient::DistributionsMavenApi* | [**update**](docs/DistributionsMavenApi.md#update) | **PUT** {maven_distribution_href} | Update a maven distribution
94
95
  *PulpMavenClient::RemotesMavenApi* | [**create**](docs/RemotesMavenApi.md#create) | **POST** /pulp/api/v3/remotes/maven/maven/ | Create a maven remote
95
96
  *PulpMavenClient::RemotesMavenApi* | [**delete**](docs/RemotesMavenApi.md#delete) | **DELETE** {maven_remote_href} | Delete a maven remote
96
97
  *PulpMavenClient::RemotesMavenApi* | [**list**](docs/RemotesMavenApi.md#list) | **GET** /pulp/api/v3/remotes/maven/maven/ | List maven remotes
97
- *PulpMavenClient::RemotesMavenApi* | [**partial_update**](docs/RemotesMavenApi.md#partial_update) | **PATCH** {maven_remote_href} | Partially update a maven remote
98
+ *PulpMavenClient::RemotesMavenApi* | [**partial_update**](docs/RemotesMavenApi.md#partial_update) | **PATCH** {maven_remote_href} | Update a maven remote
98
99
  *PulpMavenClient::RemotesMavenApi* | [**read**](docs/RemotesMavenApi.md#read) | **GET** {maven_remote_href} | Inspect a maven remote
99
100
  *PulpMavenClient::RemotesMavenApi* | [**update**](docs/RemotesMavenApi.md#update) | **PUT** {maven_remote_href} | Update a maven remote
100
101
  *PulpMavenClient::RepositoriesMavenApi* | [**create**](docs/RepositoriesMavenApi.md#create) | **POST** /pulp/api/v3/repositories/maven/maven/ | Create a maven repository
101
102
  *PulpMavenClient::RepositoriesMavenApi* | [**delete**](docs/RepositoriesMavenApi.md#delete) | **DELETE** {maven_repository_href} | Delete a maven repository
102
103
  *PulpMavenClient::RepositoriesMavenApi* | [**list**](docs/RepositoriesMavenApi.md#list) | **GET** /pulp/api/v3/repositories/maven/maven/ | List maven repositorys
103
- *PulpMavenClient::RepositoriesMavenApi* | [**partial_update**](docs/RepositoriesMavenApi.md#partial_update) | **PATCH** {maven_repository_href} | Partially update a maven repository
104
+ *PulpMavenClient::RepositoriesMavenApi* | [**partial_update**](docs/RepositoriesMavenApi.md#partial_update) | **PATCH** {maven_repository_href} | Update a maven repository
104
105
  *PulpMavenClient::RepositoriesMavenApi* | [**read**](docs/RepositoriesMavenApi.md#read) | **GET** {maven_repository_href} | Inspect a maven repository
105
106
  *PulpMavenClient::RepositoriesMavenApi* | [**update**](docs/RepositoriesMavenApi.md#update) | **PUT** {maven_repository_href} | Update a maven repository
106
107
  *PulpMavenClient::RepositoriesMavenVersionsApi* | [**delete**](docs/RepositoriesMavenVersionsApi.md#delete) | **DELETE** {maven_repository_version_href} | Delete a repository version
107
- *PulpMavenClient::RepositoriesMavenVersionsApi* | [**list**](docs/RepositoriesMavenVersionsApi.md#list) | **GET** {maven_repository_href}versions/ | List repository versions
108
+ *PulpMavenClient::RepositoriesMavenVersionsApi* | [**list**](docs/RepositoriesMavenVersionsApi.md#list) | **GET** {maven_repository_version_href}versions/ | List repository versions
108
109
  *PulpMavenClient::RepositoriesMavenVersionsApi* | [**read**](docs/RepositoriesMavenVersionsApi.md#read) | **GET** {maven_repository_version_href} | Inspect a repository version
109
110
  *PulpMavenClient::RepositoriesMavenVersionsApi* | [**repair**](docs/RepositoriesMavenVersionsApi.md#repair) | **POST** {maven_repository_version_href}repair/ |
110
111
 
@@ -113,22 +114,32 @@ Class | Method | HTTP request | Description
113
114
 
114
115
  - [PulpMavenClient::AsyncOperationResponse](docs/AsyncOperationResponse.md)
115
116
  - [PulpMavenClient::ContentSummary](docs/ContentSummary.md)
117
+ - [PulpMavenClient::ContentSummaryResponse](docs/ContentSummaryResponse.md)
116
118
  - [PulpMavenClient::InlineResponse200](docs/InlineResponse200.md)
117
119
  - [PulpMavenClient::InlineResponse2001](docs/InlineResponse2001.md)
118
120
  - [PulpMavenClient::InlineResponse2002](docs/InlineResponse2002.md)
119
121
  - [PulpMavenClient::InlineResponse2003](docs/InlineResponse2003.md)
120
122
  - [PulpMavenClient::InlineResponse2004](docs/InlineResponse2004.md)
121
123
  - [PulpMavenClient::MavenMavenArtifact](docs/MavenMavenArtifact.md)
124
+ - [PulpMavenClient::MavenMavenArtifactResponse](docs/MavenMavenArtifactResponse.md)
122
125
  - [PulpMavenClient::MavenMavenDistribution](docs/MavenMavenDistribution.md)
126
+ - [PulpMavenClient::MavenMavenDistributionResponse](docs/MavenMavenDistributionResponse.md)
123
127
  - [PulpMavenClient::MavenMavenRemote](docs/MavenMavenRemote.md)
128
+ - [PulpMavenClient::MavenMavenRemoteResponse](docs/MavenMavenRemoteResponse.md)
124
129
  - [PulpMavenClient::MavenMavenRepository](docs/MavenMavenRepository.md)
130
+ - [PulpMavenClient::MavenMavenRepositoryResponse](docs/MavenMavenRepositoryResponse.md)
131
+ - [PulpMavenClient::PatchedmavenMavenDistribution](docs/PatchedmavenMavenDistribution.md)
132
+ - [PulpMavenClient::PatchedmavenMavenRemote](docs/PatchedmavenMavenRemote.md)
133
+ - [PulpMavenClient::PatchedmavenMavenRepository](docs/PatchedmavenMavenRepository.md)
134
+ - [PulpMavenClient::PolicyEnum](docs/PolicyEnum.md)
125
135
  - [PulpMavenClient::RepositoryVersion](docs/RepositoryVersion.md)
136
+ - [PulpMavenClient::RepositoryVersionResponse](docs/RepositoryVersionResponse.md)
126
137
 
127
138
 
128
139
  ## Documentation for Authorization
129
140
 
130
141
 
131
- ### Basic
142
+ ### basicAuth
132
143
 
133
144
  - **Type**: HTTP basic authentication
134
145
 
@@ -12,7 +12,7 @@ Method | HTTP request | Description
12
12
 
13
13
  ## create
14
14
 
15
- > MavenMavenArtifact create(data)
15
+ > MavenMavenArtifactResponse create(maven_maven_artifact)
16
16
 
17
17
  Create a maven artifact
18
18
 
@@ -25,17 +25,17 @@ A ViewSet for MavenArtifact.
25
25
  require 'pulp_maven_client'
26
26
  # setup authorization
27
27
  PulpMavenClient.configure do |config|
28
- # Configure HTTP basic authorization: Basic
28
+ # Configure HTTP basic authorization: basicAuth
29
29
  config.username = 'YOUR USERNAME'
30
30
  config.password = 'YOUR PASSWORD'
31
31
  end
32
32
 
33
33
  api_instance = PulpMavenClient::ContentArtifactApi.new
34
- data = PulpMavenClient::MavenMavenArtifact.new # MavenMavenArtifact |
34
+ maven_maven_artifact = PulpMavenClient::MavenMavenArtifact.new # MavenMavenArtifact |
35
35
 
36
36
  begin
37
37
  #Create a maven artifact
38
- result = api_instance.create(data)
38
+ result = api_instance.create(maven_maven_artifact)
39
39
  p result
40
40
  rescue PulpMavenClient::ApiError => e
41
41
  puts "Exception when calling ContentArtifactApi->create: #{e}"
@@ -47,19 +47,19 @@ end
47
47
 
48
48
  Name | Type | Description | Notes
49
49
  ------------- | ------------- | ------------- | -------------
50
- **data** | [**MavenMavenArtifact**](MavenMavenArtifact.md)| |
50
+ **maven_maven_artifact** | [**MavenMavenArtifact**](MavenMavenArtifact.md)| |
51
51
 
52
52
  ### Return type
53
53
 
54
- [**MavenMavenArtifact**](MavenMavenArtifact.md)
54
+ [**MavenMavenArtifactResponse**](MavenMavenArtifactResponse.md)
55
55
 
56
56
  ### Authorization
57
57
 
58
- [Basic](../README.md#Basic)
58
+ [basicAuth](../README.md#basicAuth)
59
59
 
60
60
  ### HTTP request headers
61
61
 
62
- - **Content-Type**: application/json
62
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
63
63
  - **Accept**: application/json
64
64
 
65
65
 
@@ -78,23 +78,23 @@ A ViewSet for MavenArtifact.
78
78
  require 'pulp_maven_client'
79
79
  # setup authorization
80
80
  PulpMavenClient.configure do |config|
81
- # Configure HTTP basic authorization: Basic
81
+ # Configure HTTP basic authorization: basicAuth
82
82
  config.username = 'YOUR USERNAME'
83
83
  config.password = 'YOUR PASSWORD'
84
84
  end
85
85
 
86
86
  api_instance = PulpMavenClient::ContentArtifactApi.new
87
87
  opts = {
88
- ordering: 'ordering_example', # String | Which field to use when ordering the results.
89
- group_id: 'group_id_example', # String | Filter results where group_id matches value
90
- artifact_id: 'artifact_id_example', # String | Filter results where artifact_id matches value
91
- version: 'version_example', # String | Filter results where version matches value
92
- filename: 'filename_example', # String | Filter results where filename matches value
93
- repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
94
- repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
95
- repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
88
+ artifact_id: 'artifact_id_example', # String | artifact_id
89
+ filename: 'filename_example', # String | filename
90
+ group_id: 'group_id_example', # String | group_id
96
91
  limit: 56, # Integer | Number of results to return per page.
97
92
  offset: 56, # Integer | The initial index from which to return the results.
93
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
94
+ repository_version: 'repository_version_example', # String | repository_version
95
+ repository_version_added: 'repository_version_added_example', # String | repository_version_added
96
+ repository_version_removed: 'repository_version_removed_example', # String | repository_version_removed
97
+ version: 'version_example', # String | version
98
98
  fields: 'fields_example', # String | A list of fields to include in the response.
99
99
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
100
100
  }
@@ -113,16 +113,16 @@ end
113
113
 
114
114
  Name | Type | Description | Notes
115
115
  ------------- | ------------- | ------------- | -------------
116
- **ordering** | **String**| Which field to use when ordering the results. | [optional]
117
- **group_id** | **String**| Filter results where group_id matches value | [optional]
118
- **artifact_id** | **String**| Filter results where artifact_id matches value | [optional]
119
- **version** | **String**| Filter results where version matches value | [optional]
120
- **filename** | **String**| Filter results where filename matches value | [optional]
121
- **repository_version** | **String**| Repository Version referenced by HREF | [optional]
122
- **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
123
- **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
116
+ **artifact_id** | **String**| artifact_id | [optional]
117
+ **filename** | **String**| filename | [optional]
118
+ **group_id** | **String**| group_id | [optional]
124
119
  **limit** | **Integer**| Number of results to return per page. | [optional]
125
120
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
121
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
122
+ **repository_version** | **String**| repository_version | [optional]
123
+ **repository_version_added** | **String**| repository_version_added | [optional]
124
+ **repository_version_removed** | **String**| repository_version_removed | [optional]
125
+ **version** | **String**| version | [optional]
126
126
  **fields** | **String**| A list of fields to include in the response. | [optional]
127
127
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
128
128
 
@@ -132,7 +132,7 @@ Name | Type | Description | Notes
132
132
 
133
133
  ### Authorization
134
134
 
135
- [Basic](../README.md#Basic)
135
+ [basicAuth](../README.md#basicAuth)
136
136
 
137
137
  ### HTTP request headers
138
138
 
@@ -142,7 +142,7 @@ Name | Type | Description | Notes
142
142
 
143
143
  ## read
144
144
 
145
- > MavenMavenArtifact read(maven_artifact_href, opts)
145
+ > MavenMavenArtifactResponse read(maven_artifact_href, opts)
146
146
 
147
147
  Inspect a maven artifact
148
148
 
@@ -155,13 +155,13 @@ A ViewSet for MavenArtifact.
155
155
  require 'pulp_maven_client'
156
156
  # setup authorization
157
157
  PulpMavenClient.configure do |config|
158
- # Configure HTTP basic authorization: Basic
158
+ # Configure HTTP basic authorization: basicAuth
159
159
  config.username = 'YOUR USERNAME'
160
160
  config.password = 'YOUR PASSWORD'
161
161
  end
162
162
 
163
163
  api_instance = PulpMavenClient::ContentArtifactApi.new
164
- maven_artifact_href = 'maven_artifact_href_example' # String | URI of Maven Artifact. e.g.: /pulp/api/v3/content/maven/artifact/1/
164
+ maven_artifact_href = 'maven_artifact_href_example' # String |
165
165
  opts = {
166
166
  fields: 'fields_example', # String | A list of fields to include in the response.
167
167
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
@@ -181,17 +181,17 @@ end
181
181
 
182
182
  Name | Type | Description | Notes
183
183
  ------------- | ------------- | ------------- | -------------
184
- **maven_artifact_href** | **String**| URI of Maven Artifact. e.g.: /pulp/api/v3/content/maven/artifact/1/ |
184
+ **maven_artifact_href** | **String**| |
185
185
  **fields** | **String**| A list of fields to include in the response. | [optional]
186
186
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
187
187
 
188
188
  ### Return type
189
189
 
190
- [**MavenMavenArtifact**](MavenMavenArtifact.md)
190
+ [**MavenMavenArtifactResponse**](MavenMavenArtifactResponse.md)
191
191
 
192
192
  ### Authorization
193
193
 
194
- [Basic](../README.md#Basic)
194
+ [basicAuth](../README.md#basicAuth)
195
195
 
196
196
  ### HTTP request headers
197
197
 
@@ -4,9 +4,9 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **added** | **Hash<String, Hash<String, String>>** | |
8
- **removed** | **Hash<String, Hash<String, String>>** | |
9
- **present** | **Hash<String, Hash<String, String>>** | |
7
+ **added** | [**Object**](.md) | |
8
+ **removed** | [**Object**](.md) | |
9
+ **present** | [**Object**](.md) | |
10
10
 
11
11
  ## Code Sample
12
12
 
@@ -0,0 +1,21 @@
1
+ # PulpMavenClient::ContentSummaryResponse
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **added** | [**Object**](.md) | |
8
+ **removed** | [**Object**](.md) | |
9
+ **present** | [**Object**](.md) | |
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'PulpMavenClient'
15
+
16
+ instance = PulpMavenClient::ContentSummaryResponse.new(added: null,
17
+ removed: null,
18
+ present: null)
19
+ ```
20
+
21
+
@@ -7,7 +7,7 @@ Method | HTTP request | Description
7
7
  [**create**](DistributionsMavenApi.md#create) | **POST** /pulp/api/v3/distributions/maven/maven/ | Create a maven distribution
8
8
  [**delete**](DistributionsMavenApi.md#delete) | **DELETE** {maven_distribution_href} | Delete a maven distribution
9
9
  [**list**](DistributionsMavenApi.md#list) | **GET** /pulp/api/v3/distributions/maven/maven/ | List maven distributions
10
- [**partial_update**](DistributionsMavenApi.md#partial_update) | **PATCH** {maven_distribution_href} | Partially update a maven distribution
10
+ [**partial_update**](DistributionsMavenApi.md#partial_update) | **PATCH** {maven_distribution_href} | Update a maven distribution
11
11
  [**read**](DistributionsMavenApi.md#read) | **GET** {maven_distribution_href} | Inspect a maven distribution
12
12
  [**update**](DistributionsMavenApi.md#update) | **PUT** {maven_distribution_href} | Update a maven distribution
13
13
 
@@ -15,7 +15,7 @@ Method | HTTP request | Description
15
15
 
16
16
  ## create
17
17
 
18
- > AsyncOperationResponse create(data)
18
+ > AsyncOperationResponse create(maven_maven_distribution)
19
19
 
20
20
  Create a maven distribution
21
21
 
@@ -28,17 +28,17 @@ Trigger an asynchronous create task
28
28
  require 'pulp_maven_client'
29
29
  # setup authorization
30
30
  PulpMavenClient.configure do |config|
31
- # Configure HTTP basic authorization: Basic
31
+ # Configure HTTP basic authorization: basicAuth
32
32
  config.username = 'YOUR USERNAME'
33
33
  config.password = 'YOUR PASSWORD'
34
34
  end
35
35
 
36
36
  api_instance = PulpMavenClient::DistributionsMavenApi.new
37
- data = PulpMavenClient::MavenMavenDistribution.new # MavenMavenDistribution |
37
+ maven_maven_distribution = PulpMavenClient::MavenMavenDistribution.new # MavenMavenDistribution |
38
38
 
39
39
  begin
40
40
  #Create a maven distribution
41
- result = api_instance.create(data)
41
+ result = api_instance.create(maven_maven_distribution)
42
42
  p result
43
43
  rescue PulpMavenClient::ApiError => e
44
44
  puts "Exception when calling DistributionsMavenApi->create: #{e}"
@@ -50,7 +50,7 @@ end
50
50
 
51
51
  Name | Type | Description | Notes
52
52
  ------------- | ------------- | ------------- | -------------
53
- **data** | [**MavenMavenDistribution**](MavenMavenDistribution.md)| |
53
+ **maven_maven_distribution** | [**MavenMavenDistribution**](MavenMavenDistribution.md)| |
54
54
 
55
55
  ### Return type
56
56
 
@@ -58,17 +58,17 @@ Name | Type | Description | Notes
58
58
 
59
59
  ### Authorization
60
60
 
61
- [Basic](../README.md#Basic)
61
+ [basicAuth](../README.md#basicAuth)
62
62
 
63
63
  ### HTTP request headers
64
64
 
65
- - **Content-Type**: application/json
65
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
66
66
  - **Accept**: application/json
67
67
 
68
68
 
69
69
  ## delete
70
70
 
71
- > AsyncOperationResponse delete(maven_distribution_href)
71
+ > AsyncOperationResponse delete(maven_distribution_href, opts)
72
72
 
73
73
  Delete a maven distribution
74
74
 
@@ -81,17 +81,26 @@ Trigger an asynchronous delete task
81
81
  require 'pulp_maven_client'
82
82
  # setup authorization
83
83
  PulpMavenClient.configure do |config|
84
- # Configure HTTP basic authorization: Basic
84
+ # Configure HTTP basic authorization: basicAuth
85
85
  config.username = 'YOUR USERNAME'
86
86
  config.password = 'YOUR PASSWORD'
87
87
  end
88
88
 
89
89
  api_instance = PulpMavenClient::DistributionsMavenApi.new
90
- maven_distribution_href = 'maven_distribution_href_example' # String | URI of Maven Distribution. e.g.: /pulp/api/v3/distributions/maven/maven/1/
90
+ maven_distribution_href = 'maven_distribution_href_example' # String |
91
+ opts = {
92
+ base_path: 'base_path_example', # String | base_path
93
+ base_path__contains: 'base_path__contains_example', # String | base_path__contains
94
+ base_path__icontains: 'base_path__icontains_example', # String | base_path__icontains
95
+ base_path__in: 'base_path__in_example', # String | base_path__in
96
+ name: 'name_example', # String | name
97
+ name__in: 'name__in_example', # String | name__in
98
+ ordering: 'ordering_example' # String | Which field to use when ordering the results.
99
+ }
91
100
 
92
101
  begin
93
102
  #Delete a maven distribution
94
- result = api_instance.delete(maven_distribution_href)
103
+ result = api_instance.delete(maven_distribution_href, opts)
95
104
  p result
96
105
  rescue PulpMavenClient::ApiError => e
97
106
  puts "Exception when calling DistributionsMavenApi->delete: #{e}"
@@ -103,7 +112,14 @@ end
103
112
 
104
113
  Name | Type | Description | Notes
105
114
  ------------- | ------------- | ------------- | -------------
106
- **maven_distribution_href** | **String**| URI of Maven Distribution. e.g.: /pulp/api/v3/distributions/maven/maven/1/ |
115
+ **maven_distribution_href** | **String**| |
116
+ **base_path** | **String**| base_path | [optional]
117
+ **base_path__contains** | **String**| base_path__contains | [optional]
118
+ **base_path__icontains** | **String**| base_path__icontains | [optional]
119
+ **base_path__in** | **String**| base_path__in | [optional]
120
+ **name** | **String**| name | [optional]
121
+ **name__in** | **String**| name__in | [optional]
122
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
107
123
 
108
124
  ### Return type
109
125
 
@@ -111,7 +127,7 @@ Name | Type | Description | Notes
111
127
 
112
128
  ### Authorization
113
129
 
114
- [Basic](../README.md#Basic)
130
+ [basicAuth](../README.md#basicAuth)
115
131
 
116
132
  ### HTTP request headers
117
133
 
@@ -134,22 +150,22 @@ ViewSet for Maven Distributions.
134
150
  require 'pulp_maven_client'
135
151
  # setup authorization
136
152
  PulpMavenClient.configure do |config|
137
- # Configure HTTP basic authorization: Basic
153
+ # Configure HTTP basic authorization: basicAuth
138
154
  config.username = 'YOUR USERNAME'
139
155
  config.password = 'YOUR PASSWORD'
140
156
  end
141
157
 
142
158
  api_instance = PulpMavenClient::DistributionsMavenApi.new
143
159
  opts = {
144
- ordering: 'ordering_example', # String | Which field to use when ordering the results.
145
- name: 'name_example', # String |
146
- name__in: 'name__in_example', # String | Filter results where name is in a comma-separated list of values
147
- base_path: 'base_path_example', # String |
148
- base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
149
- base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
150
- base_path__in: 'base_path__in_example', # String | Filter results where base_path is in a comma-separated list of values
160
+ base_path: 'base_path_example', # String | base_path
161
+ base_path__contains: 'base_path__contains_example', # String | base_path__contains
162
+ base_path__icontains: 'base_path__icontains_example', # String | base_path__icontains
163
+ base_path__in: 'base_path__in_example', # String | base_path__in
151
164
  limit: 56, # Integer | Number of results to return per page.
165
+ name: 'name_example', # String | name
166
+ name__in: 'name__in_example', # String | name__in
152
167
  offset: 56, # Integer | The initial index from which to return the results.
168
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
153
169
  fields: 'fields_example', # String | A list of fields to include in the response.
154
170
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
155
171
  }
@@ -168,15 +184,15 @@ end
168
184
 
169
185
  Name | Type | Description | Notes
170
186
  ------------- | ------------- | ------------- | -------------
171
- **ordering** | **String**| Which field to use when ordering the results. | [optional]
172
- **name** | **String**| | [optional]
173
- **name__in** | **String**| Filter results where name is in a comma-separated list of values | [optional]
174
- **base_path** | **String**| | [optional]
175
- **base_path__contains** | **String**| Filter results where base_path contains value | [optional]
176
- **base_path__icontains** | **String**| Filter results where base_path contains value | [optional]
177
- **base_path__in** | **String**| Filter results where base_path is in a comma-separated list of values | [optional]
187
+ **base_path** | **String**| base_path | [optional]
188
+ **base_path__contains** | **String**| base_path__contains | [optional]
189
+ **base_path__icontains** | **String**| base_path__icontains | [optional]
190
+ **base_path__in** | **String**| base_path__in | [optional]
178
191
  **limit** | **Integer**| Number of results to return per page. | [optional]
192
+ **name** | **String**| name | [optional]
193
+ **name__in** | **String**| name__in | [optional]
179
194
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
195
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
180
196
  **fields** | **String**| A list of fields to include in the response. | [optional]
181
197
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
182
198
 
@@ -186,7 +202,7 @@ Name | Type | Description | Notes
186
202
 
187
203
  ### Authorization
188
204
 
189
- [Basic](../README.md#Basic)
205
+ [basicAuth](../README.md#basicAuth)
190
206
 
191
207
  ### HTTP request headers
192
208
 
@@ -196,9 +212,9 @@ Name | Type | Description | Notes
196
212
 
197
213
  ## partial_update
198
214
 
199
- > AsyncOperationResponse partial_update(maven_distribution_href, data)
215
+ > AsyncOperationResponse partial_update(maven_distribution_href, patchedmaven_maven_distribution, opts)
200
216
 
201
- Partially update a maven distribution
217
+ Update a maven distribution
202
218
 
203
219
  Trigger an asynchronous partial update task
204
220
 
@@ -209,18 +225,27 @@ Trigger an asynchronous partial update task
209
225
  require 'pulp_maven_client'
210
226
  # setup authorization
211
227
  PulpMavenClient.configure do |config|
212
- # Configure HTTP basic authorization: Basic
228
+ # Configure HTTP basic authorization: basicAuth
213
229
  config.username = 'YOUR USERNAME'
214
230
  config.password = 'YOUR PASSWORD'
215
231
  end
216
232
 
217
233
  api_instance = PulpMavenClient::DistributionsMavenApi.new
218
- maven_distribution_href = 'maven_distribution_href_example' # String | URI of Maven Distribution. e.g.: /pulp/api/v3/distributions/maven/maven/1/
219
- data = PulpMavenClient::MavenMavenDistribution.new # MavenMavenDistribution |
234
+ maven_distribution_href = 'maven_distribution_href_example' # String |
235
+ patchedmaven_maven_distribution = PulpMavenClient::PatchedmavenMavenDistribution.new # PatchedmavenMavenDistribution |
236
+ opts = {
237
+ base_path: 'base_path_example', # String | base_path
238
+ base_path__contains: 'base_path__contains_example', # String | base_path__contains
239
+ base_path__icontains: 'base_path__icontains_example', # String | base_path__icontains
240
+ base_path__in: 'base_path__in_example', # String | base_path__in
241
+ name: 'name_example', # String | name
242
+ name__in: 'name__in_example', # String | name__in
243
+ ordering: 'ordering_example' # String | Which field to use when ordering the results.
244
+ }
220
245
 
221
246
  begin
222
- #Partially update a maven distribution
223
- result = api_instance.partial_update(maven_distribution_href, data)
247
+ #Update a maven distribution
248
+ result = api_instance.partial_update(maven_distribution_href, patchedmaven_maven_distribution, opts)
224
249
  p result
225
250
  rescue PulpMavenClient::ApiError => e
226
251
  puts "Exception when calling DistributionsMavenApi->partial_update: #{e}"
@@ -232,8 +257,15 @@ end
232
257
 
233
258
  Name | Type | Description | Notes
234
259
  ------------- | ------------- | ------------- | -------------
235
- **maven_distribution_href** | **String**| URI of Maven Distribution. e.g.: /pulp/api/v3/distributions/maven/maven/1/ |
236
- **data** | [**MavenMavenDistribution**](MavenMavenDistribution.md)| |
260
+ **maven_distribution_href** | **String**| |
261
+ **patchedmaven_maven_distribution** | [**PatchedmavenMavenDistribution**](PatchedmavenMavenDistribution.md)| |
262
+ **base_path** | **String**| base_path | [optional]
263
+ **base_path__contains** | **String**| base_path__contains | [optional]
264
+ **base_path__icontains** | **String**| base_path__icontains | [optional]
265
+ **base_path__in** | **String**| base_path__in | [optional]
266
+ **name** | **String**| name | [optional]
267
+ **name__in** | **String**| name__in | [optional]
268
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
237
269
 
238
270
  ### Return type
239
271
 
@@ -241,17 +273,17 @@ Name | Type | Description | Notes
241
273
 
242
274
  ### Authorization
243
275
 
244
- [Basic](../README.md#Basic)
276
+ [basicAuth](../README.md#basicAuth)
245
277
 
246
278
  ### HTTP request headers
247
279
 
248
- - **Content-Type**: application/json
280
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
249
281
  - **Accept**: application/json
250
282
 
251
283
 
252
284
  ## read
253
285
 
254
- > MavenMavenDistribution read(maven_distribution_href, opts)
286
+ > MavenMavenDistributionResponse read(maven_distribution_href, opts)
255
287
 
256
288
  Inspect a maven distribution
257
289
 
@@ -264,13 +296,13 @@ ViewSet for Maven Distributions.
264
296
  require 'pulp_maven_client'
265
297
  # setup authorization
266
298
  PulpMavenClient.configure do |config|
267
- # Configure HTTP basic authorization: Basic
299
+ # Configure HTTP basic authorization: basicAuth
268
300
  config.username = 'YOUR USERNAME'
269
301
  config.password = 'YOUR PASSWORD'
270
302
  end
271
303
 
272
304
  api_instance = PulpMavenClient::DistributionsMavenApi.new
273
- maven_distribution_href = 'maven_distribution_href_example' # String | URI of Maven Distribution. e.g.: /pulp/api/v3/distributions/maven/maven/1/
305
+ maven_distribution_href = 'maven_distribution_href_example' # String |
274
306
  opts = {
275
307
  fields: 'fields_example', # String | A list of fields to include in the response.
276
308
  exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
@@ -290,17 +322,17 @@ end
290
322
 
291
323
  Name | Type | Description | Notes
292
324
  ------------- | ------------- | ------------- | -------------
293
- **maven_distribution_href** | **String**| URI of Maven Distribution. e.g.: /pulp/api/v3/distributions/maven/maven/1/ |
325
+ **maven_distribution_href** | **String**| |
294
326
  **fields** | **String**| A list of fields to include in the response. | [optional]
295
327
  **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
296
328
 
297
329
  ### Return type
298
330
 
299
- [**MavenMavenDistribution**](MavenMavenDistribution.md)
331
+ [**MavenMavenDistributionResponse**](MavenMavenDistributionResponse.md)
300
332
 
301
333
  ### Authorization
302
334
 
303
- [Basic](../README.md#Basic)
335
+ [basicAuth](../README.md#basicAuth)
304
336
 
305
337
  ### HTTP request headers
306
338
 
@@ -310,7 +342,7 @@ Name | Type | Description | Notes
310
342
 
311
343
  ## update
312
344
 
313
- > AsyncOperationResponse update(maven_distribution_href, data)
345
+ > AsyncOperationResponse update(maven_distribution_href, maven_maven_distribution, opts)
314
346
 
315
347
  Update a maven distribution
316
348
 
@@ -323,18 +355,27 @@ Trigger an asynchronous update task
323
355
  require 'pulp_maven_client'
324
356
  # setup authorization
325
357
  PulpMavenClient.configure do |config|
326
- # Configure HTTP basic authorization: Basic
358
+ # Configure HTTP basic authorization: basicAuth
327
359
  config.username = 'YOUR USERNAME'
328
360
  config.password = 'YOUR PASSWORD'
329
361
  end
330
362
 
331
363
  api_instance = PulpMavenClient::DistributionsMavenApi.new
332
- maven_distribution_href = 'maven_distribution_href_example' # String | URI of Maven Distribution. e.g.: /pulp/api/v3/distributions/maven/maven/1/
333
- data = PulpMavenClient::MavenMavenDistribution.new # MavenMavenDistribution |
364
+ maven_distribution_href = 'maven_distribution_href_example' # String |
365
+ maven_maven_distribution = PulpMavenClient::MavenMavenDistribution.new # MavenMavenDistribution |
366
+ opts = {
367
+ base_path: 'base_path_example', # String | base_path
368
+ base_path__contains: 'base_path__contains_example', # String | base_path__contains
369
+ base_path__icontains: 'base_path__icontains_example', # String | base_path__icontains
370
+ base_path__in: 'base_path__in_example', # String | base_path__in
371
+ name: 'name_example', # String | name
372
+ name__in: 'name__in_example', # String | name__in
373
+ ordering: 'ordering_example' # String | Which field to use when ordering the results.
374
+ }
334
375
 
335
376
  begin
336
377
  #Update a maven distribution
337
- result = api_instance.update(maven_distribution_href, data)
378
+ result = api_instance.update(maven_distribution_href, maven_maven_distribution, opts)
338
379
  p result
339
380
  rescue PulpMavenClient::ApiError => e
340
381
  puts "Exception when calling DistributionsMavenApi->update: #{e}"
@@ -346,8 +387,15 @@ end
346
387
 
347
388
  Name | Type | Description | Notes
348
389
  ------------- | ------------- | ------------- | -------------
349
- **maven_distribution_href** | **String**| URI of Maven Distribution. e.g.: /pulp/api/v3/distributions/maven/maven/1/ |
350
- **data** | [**MavenMavenDistribution**](MavenMavenDistribution.md)| |
390
+ **maven_distribution_href** | **String**| |
391
+ **maven_maven_distribution** | [**MavenMavenDistribution**](MavenMavenDistribution.md)| |
392
+ **base_path** | **String**| base_path | [optional]
393
+ **base_path__contains** | **String**| base_path__contains | [optional]
394
+ **base_path__icontains** | **String**| base_path__icontains | [optional]
395
+ **base_path__in** | **String**| base_path__in | [optional]
396
+ **name** | **String**| name | [optional]
397
+ **name__in** | **String**| name__in | [optional]
398
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
351
399
 
352
400
  ### Return type
353
401
 
@@ -355,10 +403,10 @@ Name | Type | Description | Notes
355
403
 
356
404
  ### Authorization
357
405
 
358
- [Basic](../README.md#Basic)
406
+ [basicAuth](../README.md#basicAuth)
359
407
 
360
408
  ### HTTP request headers
361
409
 
362
- - **Content-Type**: application/json
410
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
363
411
  - **Accept**: application/json
364
412