pulp_maven_client 0.8.1 → 0.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -7
  3. data/docs/AsyncOperationResponse.md +8 -7
  4. data/docs/ContentArtifactApi.md +116 -64
  5. data/docs/ContentSummaryResponse.md +12 -11
  6. data/docs/DistributionsMavenApi.md +267 -130
  7. data/docs/MavenMavenArtifact.md +12 -11
  8. data/docs/MavenMavenArtifactResponse.md +24 -21
  9. data/docs/MavenMavenDistribution.md +20 -19
  10. data/docs/MavenMavenDistributionResponse.md +32 -27
  11. data/docs/MavenMavenRemote.md +48 -47
  12. data/docs/MavenMavenRemoteResponse.md +48 -45
  13. data/docs/MavenMavenRemoteResponseHiddenFieldsInner.md +20 -0
  14. data/docs/MavenMavenRepository.md +16 -15
  15. data/docs/MavenMavenRepositoryResponse.md +28 -25
  16. data/docs/PaginatedRepositoryVersionResponseList.md +14 -13
  17. data/docs/PaginatedmavenMavenArtifactResponseList.md +14 -13
  18. data/docs/PaginatedmavenMavenDistributionResponseList.md +14 -13
  19. data/docs/PaginatedmavenMavenRemoteResponseList.md +14 -13
  20. data/docs/PaginatedmavenMavenRepositoryResponseList.md +14 -13
  21. data/docs/PatchedmavenMavenDistribution.md +20 -19
  22. data/docs/PatchedmavenMavenRemote.md +48 -47
  23. data/docs/PatchedmavenMavenRepository.md +16 -15
  24. data/docs/PolicyEnum.md +4 -5
  25. data/docs/PulpMavenApi.md +61 -26
  26. data/docs/RemotesMavenApi.md +271 -132
  27. data/docs/Repair.md +8 -7
  28. data/docs/RepositoriesMavenApi.md +300 -146
  29. data/docs/RepositoriesMavenVersionsApi.md +155 -83
  30. data/docs/RepositoryAddCachedContent.md +8 -7
  31. data/docs/RepositoryVersionResponse.md +22 -19
  32. data/docs/SetLabel.md +10 -9
  33. data/docs/SetLabelResponse.md +10 -9
  34. data/docs/UnsetLabel.md +8 -7
  35. data/docs/UnsetLabelResponse.md +10 -9
  36. data/lib/pulp_maven_client/api/content_artifact_api.rb +31 -22
  37. data/lib/pulp_maven_client/api/distributions_maven_api.rb +66 -40
  38. data/lib/pulp_maven_client/api/pulp_maven_api.rb +9 -7
  39. data/lib/pulp_maven_client/api/remotes_maven_api.rb +81 -52
  40. data/lib/pulp_maven_client/api/repositories_maven_api.rb +79 -49
  41. data/lib/pulp_maven_client/api/repositories_maven_versions_api.rb +50 -37
  42. data/lib/pulp_maven_client/api_client.rb +137 -102
  43. data/lib/pulp_maven_client/api_error.rb +2 -1
  44. data/lib/pulp_maven_client/configuration.rb +162 -21
  45. data/lib/pulp_maven_client/models/async_operation_response.rb +32 -22
  46. data/lib/pulp_maven_client/models/content_summary_response.rb +36 -22
  47. data/lib/pulp_maven_client/models/maven_maven_artifact.rb +34 -22
  48. data/lib/pulp_maven_client/models/maven_maven_artifact_response.rb +45 -25
  49. data/lib/pulp_maven_client/models/maven_maven_distribution.rb +34 -22
  50. data/lib/pulp_maven_client/models/maven_maven_distribution_response.rb +57 -25
  51. data/lib/pulp_maven_client/models/maven_maven_remote.rb +57 -38
  52. data/lib/pulp_maven_client/models/maven_maven_remote_response.rb +71 -42
  53. data/lib/pulp_maven_client/models/{maven_maven_remote_response_hidden_fields.rb → maven_maven_remote_response_hidden_fields_inner.rb} +37 -25
  54. data/lib/pulp_maven_client/models/maven_maven_repository.rb +32 -37
  55. data/lib/pulp_maven_client/models/maven_maven_repository_response.rb +45 -40
  56. data/lib/pulp_maven_client/models/paginated_repository_version_response_list.rb +34 -24
  57. data/lib/pulp_maven_client/models/paginatedmaven_maven_artifact_response_list.rb +34 -24
  58. data/lib/pulp_maven_client/models/paginatedmaven_maven_distribution_response_list.rb +34 -24
  59. data/lib/pulp_maven_client/models/paginatedmaven_maven_remote_response_list.rb +34 -24
  60. data/lib/pulp_maven_client/models/paginatedmaven_maven_repository_response_list.rb +34 -24
  61. data/lib/pulp_maven_client/models/patchedmaven_maven_distribution.rb +40 -24
  62. data/lib/pulp_maven_client/models/patchedmaven_maven_remote.rb +63 -40
  63. data/lib/pulp_maven_client/models/patchedmaven_maven_repository.rb +35 -38
  64. data/lib/pulp_maven_client/models/policy_enum.rb +8 -5
  65. data/lib/pulp_maven_client/models/repair.rb +30 -22
  66. data/lib/pulp_maven_client/models/repository_add_cached_content.rb +30 -22
  67. data/lib/pulp_maven_client/models/repository_version_response.rb +44 -26
  68. data/lib/pulp_maven_client/models/set_label.rb +34 -22
  69. data/lib/pulp_maven_client/models/set_label_response.rb +34 -22
  70. data/lib/pulp_maven_client/models/unset_label.rb +32 -22
  71. data/lib/pulp_maven_client/models/unset_label_response.rb +32 -22
  72. data/lib/pulp_maven_client/version.rb +2 -2
  73. data/lib/pulp_maven_client.rb +2 -2
  74. data/pulp_maven_client.gemspec +9 -6
  75. data/spec/api/content_artifact_api_spec.rb +9 -8
  76. data/spec/api/distributions_maven_api_spec.rb +11 -10
  77. data/spec/api/pulp_maven_api_spec.rb +3 -3
  78. data/spec/api/remotes_maven_api_spec.rb +18 -16
  79. data/spec/api/repositories_maven_api_spec.rb +14 -13
  80. data/spec/api/repositories_maven_versions_api_spec.rb +16 -14
  81. data/spec/models/async_operation_response_spec.rb +7 -12
  82. data/spec/models/content_summary_response_spec.rb +9 -14
  83. data/spec/models/maven_maven_artifact_response_spec.rb +20 -19
  84. data/spec/models/maven_maven_artifact_spec.rb +9 -14
  85. data/spec/models/maven_maven_distribution_response_spec.rb +29 -22
  86. data/spec/models/maven_maven_distribution_spec.rb +13 -18
  87. data/spec/models/{maven_maven_remote_response_hidden_fields_spec.rb → maven_maven_remote_response_hidden_fields_inner_spec.rb} +11 -16
  88. data/spec/models/maven_maven_remote_response_spec.rb +32 -31
  89. data/spec/models/maven_maven_remote_spec.rb +27 -32
  90. data/spec/models/maven_maven_repository_response_spec.rb +22 -21
  91. data/spec/models/maven_maven_repository_spec.rb +11 -16
  92. data/spec/models/paginated_repository_version_response_list_spec.rb +10 -15
  93. data/spec/models/paginatedmaven_maven_artifact_response_list_spec.rb +10 -15
  94. data/spec/models/paginatedmaven_maven_distribution_response_list_spec.rb +10 -15
  95. data/spec/models/paginatedmaven_maven_remote_response_list_spec.rb +10 -15
  96. data/spec/models/paginatedmaven_maven_repository_response_list_spec.rb +10 -15
  97. data/spec/models/patchedmaven_maven_distribution_spec.rb +13 -18
  98. data/spec/models/patchedmaven_maven_remote_spec.rb +27 -32
  99. data/spec/models/patchedmaven_maven_repository_spec.rb +11 -16
  100. data/spec/models/policy_enum_spec.rb +6 -11
  101. data/spec/models/repair_spec.rb +7 -12
  102. data/spec/models/repository_add_cached_content_spec.rb +7 -12
  103. data/spec/models/repository_version_response_spec.rb +19 -18
  104. data/spec/models/set_label_response_spec.rb +8 -13
  105. data/spec/models/set_label_spec.rb +8 -13
  106. data/spec/models/unset_label_response_spec.rb +8 -13
  107. data/spec/models/unset_label_spec.rb +7 -12
  108. data/spec/spec_helper.rb +1 -1
  109. metadata +78 -54
  110. data/docs/MavenMavenRemoteResponseHiddenFields.md +0 -19
  111. data/spec/api_client_spec.rb +0 -188
  112. data/spec/configuration_spec.rb +0 -42
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 37207515145fe9cae4d6b938af17d5318ee80f8fe02b0b6da85e3c8b65984b7a
4
- data.tar.gz: 1c8fdc6ee34600a49b46c1fb375c849c1967097b3e0b7e3c9901c2ea62579341
3
+ metadata.gz: bba4422c7d45be1a9fe2f178e8a5a73f70e68d780da250369f533aa2c9d916df
4
+ data.tar.gz: e779556f4d6cfac4ff81b7f8c6d1215c6180185f90113bee0719a43a41723824
5
5
  SHA512:
6
- metadata.gz: e965909476296c32264b54ba47a79b43e5d83de17d0ac9b729f62f416424a8dc5454eff0a6350c6abd63e989e3badcc05979bd43e901f36ba24ab79d6fcc68eb
7
- data.tar.gz: 7b7a809cf81711843f0889441f0916b2e9d583258c755f35f2527b66eb4326cbc9072cf404412bdefc63d7bd71af6881dfba07be225be5ba83c31877d6a19912
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.1
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.1.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.1.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.1'
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
@@ -79,7 +82,7 @@ end
79
82
 
80
83
  ## Documentation for API Endpoints
81
84
 
82
- All URIs are relative to *http://pulp*
85
+ All URIs are relative to *http://localhost:24817*
83
86
 
84
87
  Class | Method | HTTP request | Description
85
88
  ------------ | ------------- | ------------- | -------------
@@ -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
-
@@ -1,27 +1,26 @@
1
1
  # PulpMavenClient::ContentArtifactApi
2
2
 
3
- All URIs are relative to *http://pulp*
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
3
+ All URIs are relative to *http://localhost:24817*
10
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 |
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,49 +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
- pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
96
- pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
97
- q: 'q_example', # String |
98
- repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
99
- repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
100
- repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
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.
114
+ q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
115
+ repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
116
+ repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
117
+ repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF/PRN
101
118
  version: 'version_example', # String | Filter results where version matches value
102
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
103
- 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.
104
121
  }
105
122
 
106
123
  begin
107
- #List maven artifacts
124
+ # List maven artifacts
108
125
  result = api_instance.list(opts)
109
126
  p result
110
127
  rescue PulpMavenClient::ApiError => e
111
- puts "Exception when calling ContentArtifactApi->list: #{e}"
128
+ puts "Error when calling ContentArtifactApi->list: #{e}"
112
129
  end
113
130
  ```
114
131
 
115
- ### Parameters
132
+ #### Using the list_with_http_info variant
116
133
 
134
+ This returns an Array which contains the response data, status code and headers.
117
135
 
118
- Name | Type | Description | Notes
119
- ------------- | ------------- | ------------- | -------------
120
- **artifact_id** | **String**| Filter results where artifact_id matches value | [optional]
121
- **filename** | **String**| Filter results where filename matches value | [optional]
122
- **group_id** | **String**| Filter results where group_id matches value | [optional]
123
- **limit** | **Integer**| Number of results to return per page. | [optional]
124
- **offset** | **Integer**| The initial index from which to return the results. | [optional]
125
- **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]
126
- **orphaned_for** | **Float**| Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional]
127
- **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
128
- **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
129
- **q** | **String**| | [optional]
130
- **repository_version** | **String**| Repository Version referenced by HREF | [optional]
131
- **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
132
- **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
133
- **version** | **String**| Filter results where version matches value | [optional]
134
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
135
- **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] |
136
171
 
137
172
  ### Return type
138
173
 
@@ -150,16 +185,16 @@ Name | Type | Description | Notes
150
185
 
151
186
  ## read
152
187
 
153
- > MavenMavenArtifactResponse read(maven_maven_artifact_href, opts)
188
+ > <MavenMavenArtifactResponse> read(maven_maven_artifact_href, opts)
154
189
 
155
190
  Inspect a maven artifact
156
191
 
157
192
  A ViewSet for MavenArtifact.
158
193
 
159
- ### Example
194
+ ### Examples
160
195
 
161
196
  ```ruby
162
- # load the gem
197
+ require 'time'
163
198
  require 'pulp_maven_client'
164
199
  # setup authorization
165
200
  PulpMavenClient.configure do |config|
@@ -171,27 +206,44 @@ end
171
206
  api_instance = PulpMavenClient::ContentArtifactApi.new
172
207
  maven_maven_artifact_href = 'maven_maven_artifact_href_example' # String |
173
208
  opts = {
174
- fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
175
- 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.
176
211
  }
177
212
 
178
213
  begin
179
- #Inspect a maven artifact
214
+ # Inspect a maven artifact
180
215
  result = api_instance.read(maven_maven_artifact_href, opts)
181
216
  p result
182
217
  rescue PulpMavenClient::ApiError => e
183
- puts "Exception when calling ContentArtifactApi->read: #{e}"
218
+ puts "Error when calling ContentArtifactApi->read: #{e}"
184
219
  end
185
220
  ```
186
221
 
187
- ### 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)
188
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
189
241
 
190
- Name | Type | Description | Notes
191
- ------------- | ------------- | ------------- | -------------
192
- **maven_maven_artifact_href** | **String**| |
193
- **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
194
- **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] |
195
247
 
196
248
  ### Return type
197
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
-