pulp_maven_client 0.27.5 → 0.28.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8d1e05a94be6ecf0307a3afc6c7d48f05022e3058090d7f0c8726f2ce1c71b99
4
- data.tar.gz: 04f93d60bde6f545aa17ef8797540efce4ec0ba2c8db496acf6b008bc2acdfb0
3
+ metadata.gz: 3869a2b787b71b361f4eaab86847d927769313930f8f756297243815ebf9f239
4
+ data.tar.gz: 41a82e5a1693591f14cac8aa74ad8f27c607429e48b06ba20e87dc80c585cc27
5
5
  SHA512:
6
- metadata.gz: 4e587236df1b80693bc48c13304a0fc0c1972ab0fdd066c1e1b18a048f72cccde379781279a0c5f0229229497583538287011743c57c0b375fa0581a61a107e3
7
- data.tar.gz: 789effd789652ab6d8e1fc07c97bf5cbcd726fef313d349b7f18b677e6ee7ed519d1f20dc7087ea0006d17965d2cefe8659a5199b6aa9e2ec5f945c3dc2416ab
6
+ metadata.gz: 6ba48c5346b44d69a99fb0af00c434bd8e8a4083a0a619226c9de52844b538f848620f6bc0ca67c0e2a0866699280d220da820556509142adeb8feec471e4026
7
+ data.tar.gz: 5904f06a32173a721b9e7fe9dfb98c915b8586ddd4d22d441e8e1f932293788cabe27791f9d9de4496bfea12cb85ab77cf0660b20494f6b8095cdc8de482882d
data/README.md CHANGED
@@ -7,7 +7,7 @@ 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.27.5
10
+ - Package version: 0.28.0
11
11
  - Generator version: 7.10.0
12
12
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
13
13
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
@@ -25,16 +25,16 @@ gem build pulp_maven_client.gemspec
25
25
  Then either install the gem locally:
26
26
 
27
27
  ```shell
28
- gem install ./pulp_maven_client-0.27.5.gem
28
+ gem install ./pulp_maven_client-0.28.0.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./pulp_maven_client-0.27.5.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulp_maven_client-0.28.0.gem` to install the development dependencies)
32
32
 
33
33
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
34
34
 
35
35
  Finally add this to the Gemfile:
36
36
 
37
- gem 'pulp_maven_client', '~> 0.27.5'
37
+ gem 'pulp_maven_client', '~> 0.28.0'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -34,8 +34,8 @@ api_instance = PulpMavenClient::ContentPackageApi.new
34
34
  opts = {
35
35
  x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
36
36
  artifact_id: 'artifact_id_example', # String | Filter results where artifact_id matches value
37
- base_version: 'base_version_example', # String | Match units whose version strips to this logical version (same suffix as collapse_builds: \\.[a-zA-Z]+-\\d+$). 5.3.18 matches 5.3.18 and 5.3.18.rhlw-00003, but not 5.3.180.
38
- collapse_builds: true, # Boolean | When true, collapse rebuilds of the same logical version: strip a trailing suffix matching \\.[a-zA-Z]+-\\d+$ from version, then keep one MavenPackage per (group_id, artifact_id, base_version) with the latest pulp_created. Default false.
37
+ base_version: 'base_version_example', # String | Match units whose version strips to this logical version (same suffix as collapse_builds: \\.[a-zA-Z]+-[^.]+$). 5.3.17 matches 5.3.17, 5.3.17.rhlw-00001, and 5.3.17.rhlw-00001-n0001, but not 5.3.170.
38
+ collapse_builds: true, # Boolean | When true, collapse rebuilds of the same logical version: strip a trailing suffix matching \\.[a-zA-Z]+-[^.]+$ from version, then keep one MavenPackage per (group_id, artifact_id, base_version) with the latest pulp_created. Default false.
39
39
  group_id: 'group_id_example', # String | Filter results where group_id matches value
40
40
  limit: 56, # Integer | Number of results to return per page.
41
41
  name: 'name_example', # String | Filter results where name matches value
@@ -90,8 +90,8 @@ end
90
90
  | ---- | ---- | ----------- | ----- |
91
91
  | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
92
92
  | **artifact_id** | **String** | Filter results where artifact_id matches value | [optional] |
93
- | **base_version** | **String** | Match units whose version strips to this logical version (same suffix as collapse_builds: \\.[a-zA-Z]+-\\d+$). 5.3.18 matches 5.3.18 and 5.3.18.rhlw-00003, but not 5.3.180. | [optional] |
94
- | **collapse_builds** | **Boolean** | When true, collapse rebuilds of the same logical version: strip a trailing suffix matching \\.[a-zA-Z]+-\\d+$ from version, then keep one MavenPackage per (group_id, artifact_id, base_version) with the latest pulp_created. Default false. | [optional] |
93
+ | **base_version** | **String** | Match units whose version strips to this logical version (same suffix as collapse_builds: \\.[a-zA-Z]+-[^.]+$). 5.3.17 matches 5.3.17, 5.3.17.rhlw-00001, and 5.3.17.rhlw-00001-n0001, but not 5.3.170. | [optional] |
94
+ | **collapse_builds** | **Boolean** | When true, collapse rebuilds of the same logical version: strip a trailing suffix matching \\.[a-zA-Z]+-[^.]+$ from version, then keep one MavenPackage per (group_id, artifact_id, base_version) with the latest pulp_created. Default false. | [optional] |
95
95
  | **group_id** | **String** | Filter results where group_id matches value | [optional] |
96
96
  | **limit** | **Integer** | Number of results to return per page. | [optional] |
97
97
  | **name** | **String** | Filter results where name matches value | [optional] |
@@ -13,7 +13,7 @@
13
13
  | **group_id** | **String** | Group Id of the package. | [optional][readonly] |
14
14
  | **artifact_id** | **String** | Artifact Id of the package. | [optional][readonly] |
15
15
  | **version** | **String** | Version of the package. | [optional][readonly] |
16
- | **base_version** | **String** | The package version with a trailing rebuild suffix stripped (matching \\.[a-zA-Z]+-\\d+$). Equal to version when no suffix is present. | [optional][readonly] |
16
+ | **base_version** | **String** | The package version with a trailing rebuild suffix stripped (matching \\.[a-zA-Z]+-[^.]+$). Equal to version when no suffix is present. | [optional][readonly] |
17
17
  | **name** | **String** | Human-readable name from the POM. | [optional][readonly] |
18
18
  | **description** | **String** | Description from the POM. | [optional][readonly] |
19
19
  | **packaging** | **String** | Packaging type (jar, war, pom, etc). | [optional][readonly] |
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **version** | **String** | Logical version key (rebuild suffix stripped). | |
8
- | **release** | **String** | Rebuild/release qualifier within the version line (e.g. rhlw-00003). Empty when the selected unit has no rebuild suffix. | |
8
+ | **release** | **String** | Rebuild/release qualifier within the version line (e.g. rhlw-00001 or rhlw-00001-n0001). Empty when the selected unit has no rebuild suffix. | |
9
9
  | **created_at** | **Time** | When this logical version entered the repository: RepositoryContent.pulp_created of the newest rebuild, falling back to the content unit&#39;s pulp_created. | |
10
10
 
11
11
  ## Example
@@ -6,8 +6,9 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **group_id** | **String** | Maven groupId. Index rows are unique on GA. | |
8
8
  | **artifact_id** | **String** | Maven artifactId. Index rows are unique on GA. | |
9
- | **versions** | **Array&lt;String&gt;** | Distinct logical version keys after rebuild-suffix strip. The set of values matches latest_releases[].version. | |
10
- | **latest_releases** | [**Array&lt;MavenPackageReleaseResponse&gt;**](MavenPackageReleaseResponse.md) | Newest rebuild per logical version (latest pulp_created). set(versions) &#x3D;&#x3D;&#x3D; set(latest_releases[].version). | |
9
+ | **last_updated** | **Time** | When this package was last updated in the repository: the latest RepositoryContent.pulp_created among all MavenPackage units for this GA (any rebuild), falling back to the content unit&#39;s pulp_created. | |
10
+ | **versions** | **Array&lt;String&gt;** | Distinct logical version keys after rebuild-suffix strip, newest first. The set of values matches latest_releases[].version. | |
11
+ | **latest_releases** | [**Array&lt;MavenPackageReleaseResponse&gt;**](MavenPackageReleaseResponse.md) | Newest rebuild per logical version (latest pulp_created), newest version first. set(versions) &#x3D;&#x3D;&#x3D; set(latest_releases[].version). | |
11
12
 
12
13
  ## Example
13
14
 
@@ -17,6 +18,7 @@ require 'pulp_maven_client'
17
18
  instance = PulpMavenClient::MavenRepositoryPackageResponse.new(
18
19
  group_id: null,
19
20
  artifact_id: null,
21
+ last_updated: null,
20
22
  versions: null,
21
23
  latest_releases: null
22
24
  )
@@ -790,7 +790,7 @@ end
790
790
 
791
791
  List packages
792
792
 
793
- Return one row per distinct (group_id, artifact_id) in a repository version (latest complete version if repository_version is omitted). Pagination count is the number of distinct packages, not GAVs. Each row includes versions (logical version keys after rebuild-suffix strip) and latest_releases (newest rebuild per logical version). set(versions) === set(latest_releases[].version).
793
+ Return one row per distinct (group_id, artifact_id) in a repository version (latest complete version if repository_version is omitted). Pagination count is the number of distinct packages, not GAVs. Each row includes last_updated (newest membership among any rebuild), versions (logical version keys after rebuild-suffix strip, newest first), and latest_releases (newest rebuild per logical version, same order). set(versions) === set(latest_releases[].version).
794
794
 
795
795
  ### Examples
796
796
 
@@ -810,7 +810,9 @@ opts = {
810
810
  x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
811
811
  artifact_id__istartswith: 'artifact_id__istartswith_example', # String | Case-insensitive prefix on artifact_id.
812
812
  group_id__istartswith: 'group_id__istartswith_example', # String | Case-insensitive prefix on group_id.
813
+ ordering: ['inner_example'], # Array<String> | Order catalog rows. Allowed: group_id, artifact_id, last_updated. Prefix with '-' for descending. Default is group_id, artifact_id. Ordering by group_id without artifact_id also sorts by artifact_id.
813
814
  repository_version: 'repository_version_example', # String | HREF or PRN of a version of this repository. Defaults to the latest complete version.
815
+ search: 'search_example', # String | Case-insensitive package search. Without ':', group_id or artifact_id contains the term (OR). With ':', group_id contains the left part AND artifact_id contains the right part. A third ':' segment (version) is ignored. Empty or ':' is a no-op. Combines with prefix filters using AND.
814
816
  fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
815
817
  exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
816
818
  }
@@ -850,7 +852,9 @@ end
850
852
  | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
851
853
  | **artifact_id__istartswith** | **String** | Case-insensitive prefix on artifact_id. | [optional] |
852
854
  | **group_id__istartswith** | **String** | Case-insensitive prefix on group_id. | [optional] |
855
+ | **ordering** | [**Array&lt;String&gt;**](String.md) | Order catalog rows. Allowed: group_id, artifact_id, last_updated. Prefix with &#39;-&#39; for descending. Default is group_id, artifact_id. Ordering by group_id without artifact_id also sorts by artifact_id. | [optional] |
853
856
  | **repository_version** | **String** | HREF or PRN of a version of this repository. Defaults to the latest complete version. | [optional] |
857
+ | **search** | **String** | Case-insensitive package search. Without &#39;:&#39;, group_id or artifact_id contains the term (OR). With &#39;:&#39;, group_id contains the left part AND artifact_id contains the right part. A third &#39;:&#39; segment (version) is ignored. Empty or &#39;:&#39; is a no-op. Combines with prefix filters using AND. | [optional] |
854
858
  | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
855
859
  | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
856
860
 
@@ -24,8 +24,8 @@ module PulpMavenClient
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
26
26
  # @option opts [String] :artifact_id Filter results where artifact_id matches value
27
- # @option opts [String] :base_version Match units whose version strips to this logical version (same suffix as collapse_builds: \\.[a-zA-Z]+-\\d+$). 5.3.18 matches 5.3.18 and 5.3.18.rhlw-00003, but not 5.3.180.
28
- # @option opts [Boolean] :collapse_builds When true, collapse rebuilds of the same logical version: strip a trailing suffix matching \\.[a-zA-Z]+-\\d+$ from version, then keep one MavenPackage per (group_id, artifact_id, base_version) with the latest pulp_created. Default false.
27
+ # @option opts [String] :base_version Match units whose version strips to this logical version (same suffix as collapse_builds: \\.[a-zA-Z]+-[^.]+$). 5.3.17 matches 5.3.17, 5.3.17.rhlw-00001, and 5.3.17.rhlw-00001-n0001, but not 5.3.170.
28
+ # @option opts [Boolean] :collapse_builds When true, collapse rebuilds of the same logical version: strip a trailing suffix matching \\.[a-zA-Z]+-[^.]+$ from version, then keep one MavenPackage per (group_id, artifact_id, base_version) with the latest pulp_created. Default false.
29
29
  # @option opts [String] :group_id Filter results where group_id matches value
30
30
  # @option opts [Integer] :limit Number of results to return per page.
31
31
  # @option opts [String] :name Filter results where name matches value
@@ -56,8 +56,8 @@ module PulpMavenClient
56
56
  # @param [Hash] opts the optional parameters
57
57
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
58
58
  # @option opts [String] :artifact_id Filter results where artifact_id matches value
59
- # @option opts [String] :base_version Match units whose version strips to this logical version (same suffix as collapse_builds: \\.[a-zA-Z]+-\\d+$). 5.3.18 matches 5.3.18 and 5.3.18.rhlw-00003, but not 5.3.180.
60
- # @option opts [Boolean] :collapse_builds When true, collapse rebuilds of the same logical version: strip a trailing suffix matching \\.[a-zA-Z]+-\\d+$ from version, then keep one MavenPackage per (group_id, artifact_id, base_version) with the latest pulp_created. Default false.
59
+ # @option opts [String] :base_version Match units whose version strips to this logical version (same suffix as collapse_builds: \\.[a-zA-Z]+-[^.]+$). 5.3.17 matches 5.3.17, 5.3.17.rhlw-00001, and 5.3.17.rhlw-00001-n0001, but not 5.3.170.
60
+ # @option opts [Boolean] :collapse_builds When true, collapse rebuilds of the same logical version: strip a trailing suffix matching \\.[a-zA-Z]+-[^.]+$ from version, then keep one MavenPackage per (group_id, artifact_id, base_version) with the latest pulp_created. Default false.
61
61
  # @option opts [String] :group_id Filter results where group_id matches value
62
62
  # @option opts [Integer] :limit Number of results to return per page.
63
63
  # @option opts [String] :name Filter results where name matches value
@@ -785,13 +785,15 @@ module PulpMavenClient
785
785
  end
786
786
 
787
787
  # List packages
788
- # Return one row per distinct (group_id, artifact_id) in a repository version (latest complete version if repository_version is omitted). Pagination count is the number of distinct packages, not GAVs. Each row includes versions (logical version keys after rebuild-suffix strip) and latest_releases (newest rebuild per logical version). set(versions) === set(latest_releases[].version).
788
+ # Return one row per distinct (group_id, artifact_id) in a repository version (latest complete version if repository_version is omitted). Pagination count is the number of distinct packages, not GAVs. Each row includes last_updated (newest membership among any rebuild), versions (logical version keys after rebuild-suffix strip, newest first), and latest_releases (newest rebuild per logical version, same order). set(versions) === set(latest_releases[].version).
789
789
  # @param maven_maven_repository_href [String]
790
790
  # @param [Hash] opts the optional parameters
791
791
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
792
792
  # @option opts [String] :artifact_id__istartswith Case-insensitive prefix on artifact_id.
793
793
  # @option opts [String] :group_id__istartswith Case-insensitive prefix on group_id.
794
+ # @option opts [Array<String>] :ordering Order catalog rows. Allowed: group_id, artifact_id, last_updated. Prefix with &#39;-&#39; for descending. Default is group_id, artifact_id. Ordering by group_id without artifact_id also sorts by artifact_id.
794
795
  # @option opts [String] :repository_version HREF or PRN of a version of this repository. Defaults to the latest complete version.
796
+ # @option opts [String] :search Case-insensitive package search. Without &#39;:&#39;, group_id or artifact_id contains the term (OR). With &#39;:&#39;, group_id contains the left part AND artifact_id contains the right part. A third &#39;:&#39; segment (version) is ignored. Empty or &#39;:&#39; is a no-op. Combines with prefix filters using AND.
795
797
  # @option opts [Array<String>] :fields A list of fields to include in the response.
796
798
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
797
799
  # @return [PaginatedMavenRepositoryPackageListResponse]
@@ -801,13 +803,15 @@ module PulpMavenClient
801
803
  end
802
804
 
803
805
  # List packages
804
- # Return one row per distinct (group_id, artifact_id) in a repository version (latest complete version if repository_version is omitted). Pagination count is the number of distinct packages, not GAVs. Each row includes versions (logical version keys after rebuild-suffix strip) and latest_releases (newest rebuild per logical version). set(versions) &#x3D;&#x3D;&#x3D; set(latest_releases[].version).
806
+ # Return one row per distinct (group_id, artifact_id) in a repository version (latest complete version if repository_version is omitted). Pagination count is the number of distinct packages, not GAVs. Each row includes last_updated (newest membership among any rebuild), versions (logical version keys after rebuild-suffix strip, newest first), and latest_releases (newest rebuild per logical version, same order). set(versions) &#x3D;&#x3D;&#x3D; set(latest_releases[].version).
805
807
  # @param maven_maven_repository_href [String]
806
808
  # @param [Hash] opts the optional parameters
807
809
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
808
810
  # @option opts [String] :artifact_id__istartswith Case-insensitive prefix on artifact_id.
809
811
  # @option opts [String] :group_id__istartswith Case-insensitive prefix on group_id.
812
+ # @option opts [Array<String>] :ordering Order catalog rows. Allowed: group_id, artifact_id, last_updated. Prefix with &#39;-&#39; for descending. Default is group_id, artifact_id. Ordering by group_id without artifact_id also sorts by artifact_id.
810
813
  # @option opts [String] :repository_version HREF or PRN of a version of this repository. Defaults to the latest complete version.
814
+ # @option opts [String] :search Case-insensitive package search. Without &#39;:&#39;, group_id or artifact_id contains the term (OR). With &#39;:&#39;, group_id contains the left part AND artifact_id contains the right part. A third &#39;:&#39; segment (version) is ignored. Empty or &#39;:&#39; is a no-op. Combines with prefix filters using AND.
811
815
  # @option opts [Array<String>] :fields A list of fields to include in the response.
812
816
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
813
817
  # @return [Array<(PaginatedMavenRepositoryPackageListResponse, Integer, Hash)>] PaginatedMavenRepositoryPackageListResponse data, response status code and response headers
@@ -826,7 +830,9 @@ module PulpMavenClient
826
830
  query_params = opts[:query_params] || {}
827
831
  query_params[:'artifact_id__istartswith'] = opts[:'artifact_id__istartswith'] if !opts[:'artifact_id__istartswith'].nil?
828
832
  query_params[:'group_id__istartswith'] = opts[:'group_id__istartswith'] if !opts[:'group_id__istartswith'].nil?
833
+ query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :multi) if !opts[:'ordering'].nil?
829
834
  query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
835
+ query_params[:'search'] = opts[:'search'] if !opts[:'search'].nil?
830
836
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
831
837
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
832
838
 
@@ -41,7 +41,7 @@ module PulpMavenClient
41
41
  # Version of the package.
42
42
  attr_accessor :version
43
43
 
44
- # The package version with a trailing rebuild suffix stripped (matching \\.[a-zA-Z]+-\\d+$). Equal to version when no suffix is present.
44
+ # The package version with a trailing rebuild suffix stripped (matching \\.[a-zA-Z]+-[^.]+$). Equal to version when no suffix is present.
45
45
  attr_accessor :base_version
46
46
 
47
47
  # Human-readable name from the POM.
@@ -19,7 +19,7 @@ module PulpMavenClient
19
19
  # Logical version key (rebuild suffix stripped).
20
20
  attr_accessor :version
21
21
 
22
- # Rebuild/release qualifier within the version line (e.g. rhlw-00003). Empty when the selected unit has no rebuild suffix.
22
+ # Rebuild/release qualifier within the version line (e.g. rhlw-00001 or rhlw-00001-n0001). Empty when the selected unit has no rebuild suffix.
23
23
  attr_accessor :release
24
24
 
25
25
  # When this logical version entered the repository: RepositoryContent.pulp_created of the newest rebuild, falling back to the content unit's pulp_created.
@@ -22,10 +22,13 @@ module PulpMavenClient
22
22
  # Maven artifactId. Index rows are unique on GA.
23
23
  attr_accessor :artifact_id
24
24
 
25
- # Distinct logical version keys after rebuild-suffix strip. The set of values matches latest_releases[].version.
25
+ # When this package was last updated in the repository: the latest RepositoryContent.pulp_created among all MavenPackage units for this GA (any rebuild), falling back to the content unit's pulp_created.
26
+ attr_accessor :last_updated
27
+
28
+ # Distinct logical version keys after rebuild-suffix strip, newest first. The set of values matches latest_releases[].version.
26
29
  attr_accessor :versions
27
30
 
28
- # Newest rebuild per logical version (latest pulp_created). set(versions) === set(latest_releases[].version).
31
+ # Newest rebuild per logical version (latest pulp_created), newest version first. set(versions) === set(latest_releases[].version).
29
32
  attr_accessor :latest_releases
30
33
 
31
34
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -33,6 +36,7 @@ module PulpMavenClient
33
36
  {
34
37
  :'group_id' => :'group_id',
35
38
  :'artifact_id' => :'artifact_id',
39
+ :'last_updated' => :'last_updated',
36
40
  :'versions' => :'versions',
37
41
  :'latest_releases' => :'latest_releases'
38
42
  }
@@ -48,6 +52,7 @@ module PulpMavenClient
48
52
  {
49
53
  :'group_id' => :'String',
50
54
  :'artifact_id' => :'String',
55
+ :'last_updated' => :'Time',
51
56
  :'versions' => :'Array<String>',
52
57
  :'latest_releases' => :'Array<MavenPackageReleaseResponse>'
53
58
  }
@@ -56,6 +61,7 @@ module PulpMavenClient
56
61
  # List of attributes with nullable: true
57
62
  def self.openapi_nullable
58
63
  Set.new([
64
+ :'last_updated',
59
65
  ])
60
66
  end
61
67
 
@@ -86,6 +92,12 @@ module PulpMavenClient
86
92
  self.artifact_id = nil
87
93
  end
88
94
 
95
+ if attributes.key?(:'last_updated')
96
+ self.last_updated = attributes[:'last_updated']
97
+ else
98
+ self.last_updated = nil
99
+ end
100
+
89
101
  if attributes.key?(:'versions')
90
102
  if (value = attributes[:'versions']).is_a?(Array)
91
103
  self.versions = value
@@ -145,6 +157,7 @@ module PulpMavenClient
145
157
  self.class == o.class &&
146
158
  group_id == o.group_id &&
147
159
  artifact_id == o.artifact_id &&
160
+ last_updated == o.last_updated &&
148
161
  versions == o.versions &&
149
162
  latest_releases == o.latest_releases
150
163
  end
@@ -158,7 +171,7 @@ module PulpMavenClient
158
171
  # Calculates hash code according to all attributes.
159
172
  # @return [Integer] Hash code
160
173
  def hash
161
- [group_id, artifact_id, versions, latest_releases].hash
174
+ [group_id, artifact_id, last_updated, versions, latest_releases].hash
162
175
  end
163
176
 
164
177
  # Builds the object from hash
@@ -11,5 +11,5 @@ Generator version: 7.10.0
11
11
  =end
12
12
 
13
13
  module PulpMavenClient
14
- VERSION = '0.27.5'
14
+ VERSION = '0.28.0'
15
15
  end
@@ -38,8 +38,8 @@ describe 'ContentPackageApi' do
38
38
  # @param [Hash] opts the optional parameters
39
39
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
40
40
  # @option opts [String] :artifact_id Filter results where artifact_id matches value
41
- # @option opts [String] :base_version Match units whose version strips to this logical version (same suffix as collapse_builds: \\.[a-zA-Z]+-\\d+$). 5.3.18 matches 5.3.18 and 5.3.18.rhlw-00003, but not 5.3.180.
42
- # @option opts [Boolean] :collapse_builds When true, collapse rebuilds of the same logical version: strip a trailing suffix matching \\.[a-zA-Z]+-\\d+$ from version, then keep one MavenPackage per (group_id, artifact_id, base_version) with the latest pulp_created. Default false.
41
+ # @option opts [String] :base_version Match units whose version strips to this logical version (same suffix as collapse_builds: \\.[a-zA-Z]+-[^.]+$). 5.3.17 matches 5.3.17, 5.3.17.rhlw-00001, and 5.3.17.rhlw-00001-n0001, but not 5.3.170.
42
+ # @option opts [Boolean] :collapse_builds When true, collapse rebuilds of the same logical version: strip a trailing suffix matching \\.[a-zA-Z]+-[^.]+$ from version, then keep one MavenPackage per (group_id, artifact_id, base_version) with the latest pulp_created. Default false.
43
43
  # @option opts [String] :group_id Filter results where group_id matches value
44
44
  # @option opts [Integer] :limit Number of results to return per page.
45
45
  # @option opts [String] :name Filter results where name matches value
@@ -198,13 +198,15 @@ describe 'RepositoriesMavenApi' do
198
198
 
199
199
  # unit tests for packages
200
200
  # List packages
201
- # Return one row per distinct (group_id, artifact_id) in a repository version (latest complete version if repository_version is omitted). Pagination count is the number of distinct packages, not GAVs. Each row includes versions (logical version keys after rebuild-suffix strip) and latest_releases (newest rebuild per logical version). set(versions) &#x3D;&#x3D;&#x3D; set(latest_releases[].version).
201
+ # Return one row per distinct (group_id, artifact_id) in a repository version (latest complete version if repository_version is omitted). Pagination count is the number of distinct packages, not GAVs. Each row includes last_updated (newest membership among any rebuild), versions (logical version keys after rebuild-suffix strip, newest first), and latest_releases (newest rebuild per logical version, same order). set(versions) &#x3D;&#x3D;&#x3D; set(latest_releases[].version).
202
202
  # @param maven_maven_repository_href
203
203
  # @param [Hash] opts the optional parameters
204
204
  # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
205
205
  # @option opts [String] :artifact_id__istartswith Case-insensitive prefix on artifact_id.
206
206
  # @option opts [String] :group_id__istartswith Case-insensitive prefix on group_id.
207
+ # @option opts [Array<String>] :ordering Order catalog rows. Allowed: group_id, artifact_id, last_updated. Prefix with &#39;-&#39; for descending. Default is group_id, artifact_id. Ordering by group_id without artifact_id also sorts by artifact_id.
207
208
  # @option opts [String] :repository_version HREF or PRN of a version of this repository. Defaults to the latest complete version.
209
+ # @option opts [String] :search Case-insensitive package search. Without &#39;:&#39;, group_id or artifact_id contains the term (OR). With &#39;:&#39;, group_id contains the left part AND artifact_id contains the right part. A third &#39;:&#39; segment (version) is ignored. Empty or &#39;:&#39; is a no-op. Combines with prefix filters using AND.
208
210
  # @option opts [Array<String>] :fields A list of fields to include in the response.
209
211
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
210
212
  # @return [PaginatedMavenRepositoryPackageListResponse]
@@ -39,6 +39,12 @@ describe PulpMavenClient::MavenRepositoryPackageResponse do
39
39
  end
40
40
  end
41
41
 
42
+ describe 'test attribute "last_updated"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
42
48
  describe 'test attribute "versions"' do
43
49
  it 'should work' do
44
50
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_maven_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.5
4
+ version: 0.28.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator