pulpcore_client 3.44.0 → 3.45.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: 72a48039fbc768a3893fd96a86c49b382fa14dcfb642645930f6b0dfe6acd5b6
4
- data.tar.gz: fe79cbb09cd20ffa3885d6a1322462efea0fc7420aff9823f8c836823f893c95
3
+ metadata.gz: 84270ca22ce2b04185203204d0cdb1d6bad1aace41829b12db51b10bd2ac1e66
4
+ data.tar.gz: f6cedcfb17b79c34d727f5935af186202dfb7ff9de331b3dea0c9b605a638adf
5
5
  SHA512:
6
- metadata.gz: ad3d9ee03c218e79ec7bd152ccb97e53959d50598765c2b5bf058876e3b7180902c331ace6504fba0563020e996156ed165efcb545be403b15f45a28476e8e77
7
- data.tar.gz: 2e9c199b36fbfa3076568919f9e4227959d2e884d0fee2573e7a1022839b1b11b3871fa52cfeee9d288edb16b1997ff4b9b5d0338fb9a99f3d2af08683dc517c
6
+ metadata.gz: 17f9308c7556738520d38c06d7a7c82880f28534e48a759c40f981538941ff0458a494868f16490448c262478c5d68b31f403e1468d3331f1c9a2205aecf7488
7
+ data.tar.gz: 8a1d2600470e550f6fa8c53a8519a11a5196c59ee307428b5aec67ed6294080ab29117c3ff6818da9261a945cea35239ece5164db652f28820739d6aef43e675
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: 3.44.0
10
+ - Package version: 3.45.0
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
13
13
 
@@ -24,16 +24,16 @@ gem build pulpcore_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulpcore_client-3.44.0.gem
27
+ gem install ./pulpcore_client-3.45.0.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulpcore_client-3.44.0.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulpcore_client-3.45.0.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'pulpcore_client', '~> 3.44.0'
36
+ gem 'pulpcore_client', '~> 3.45.0'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -4,28 +4,28 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **pulp_href** | **String** | | [optional] [readonly]
7
+ **content_guard** | **String** | An optional content-guard. | [optional]
8
8
  **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") |
9
- **pulp_labels** | **Hash<String, String>** | | [optional]
10
- **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
9
+ **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
10
+ **pulp_href** | **String** | | [optional] [readonly]
11
11
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
12
12
  **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
13
- **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
14
- **content_guard** | **String** | An optional content-guard. | [optional]
13
+ **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
14
+ **pulp_labels** | **Hash<String, String>** | | [optional]
15
15
 
16
16
  ## Code Sample
17
17
 
18
18
  ```ruby
19
19
  require 'PulpcoreClient'
20
20
 
21
- instance = PulpcoreClient::ArtifactDistributionResponse.new(pulp_href: null,
21
+ instance = PulpcoreClient::ArtifactDistributionResponse.new(content_guard: null,
22
22
  base_path: null,
23
- pulp_labels: null,
24
- hidden: null,
23
+ name: null,
24
+ pulp_href: null,
25
25
  pulp_created: null,
26
26
  base_url: null,
27
- name: null,
28
- content_guard: null)
27
+ hidden: null,
28
+ pulp_labels: null)
29
29
  ```
30
30
 
31
31
 
data/docs/ArtifactsApi.md CHANGED
@@ -158,6 +158,7 @@ opts = {
158
158
  md5: 'md5_example', # String | Filter results where md5 matches value
159
159
  offset: 56, # Integer | The initial index from which to return the results.
160
160
  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) * `file` - File * `-file` - File (descending) * `size` - Size * `-size` - Size (descending) * `md5` - Md5 * `-md5` - Md5 (descending) * `sha1` - Sha1 * `-sha1` - Sha1 (descending) * `sha224` - Sha224 * `-sha224` - Sha224 (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `sha384` - Sha384 * `-sha384` - Sha384 (descending) * `sha512` - Sha512 * `-sha512` - Sha512 (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `pk` - Pk * `-pk` - Pk (descending)
161
+ orphaned_for: 3.4, # Float | Minutes Artifacts have been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
161
162
  pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
162
163
  pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
163
164
  q: 'q_example', # String |
@@ -189,6 +190,7 @@ Name | Type | Description | Notes
189
190
  **md5** | **String**| Filter results where md5 matches value | [optional]
190
191
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
191
192
  **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;file&#x60; - File * &#x60;-file&#x60; - File (descending) * &#x60;size&#x60; - Size * &#x60;-size&#x60; - Size (descending) * &#x60;md5&#x60; - Md5 * &#x60;-md5&#x60; - Md5 (descending) * &#x60;sha1&#x60; - Sha1 * &#x60;-sha1&#x60; - Sha1 (descending) * &#x60;sha224&#x60; - Sha224 * &#x60;-sha224&#x60; - Sha224 (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;sha384&#x60; - Sha384 * &#x60;-sha384&#x60; - Sha384 (descending) * &#x60;sha512&#x60; - Sha512 * &#x60;-sha512&#x60; - Sha512 (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
193
+ **orphaned_for** | **Float**| Minutes Artifacts have been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional]
192
194
  **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
193
195
  **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
194
196
  **q** | **String**| | [optional]
data/docs/ContentApi.md CHANGED
@@ -33,6 +33,7 @@ opts = {
33
33
  limit: 56, # Integer | Number of results to return per page.
34
34
  offset: 56, # Integer | The initial index from which to return the results.
35
35
  ordering: ['ordering_example'], # Array<String> | Ordering * `pk` - Pk * `-pk` - Pk (descending)
36
+ orphaned_for: 3.4, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
36
37
  pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
37
38
  pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
38
39
  pulp_type: 'pulp_type_example', # String | Pulp type * `core.publishedmetadata` - core.publishedmetadata * `file.file` - file.file
@@ -62,6 +63,7 @@ Name | Type | Description | Notes
62
63
  **limit** | **Integer**| Number of results to return per page. | [optional]
63
64
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
64
65
  **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
66
+ **orphaned_for** | **Float**| Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional]
65
67
  **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
66
68
  **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
67
69
  **pulp_type** | **String**| Pulp type * &#x60;core.publishedmetadata&#x60; - core.publishedmetadata * &#x60;file.file&#x60; - file.file | [optional]
@@ -44,8 +44,8 @@ opts = {
44
44
  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) * `name` - Name * `-name` - Name (descending) * `description` - Description * `-description` - Description (descending) * `pk` - Pk * `-pk` - Pk (descending)
45
45
  pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
46
46
  pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
47
- pulp_type: 'pulp_type_example', # String | Pulp type * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header * `core.composite` - core.composite
48
- pulp_type__in: ['pulp_type__in_example'], # Array<String> | Multiple values may be separated by commas. * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header * `core.composite` - core.composite
47
+ pulp_type: 'pulp_type_example', # String | Pulp type * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header * `core.composite` - core.composite * `certguard.rhsm` - certguard.rhsm * `certguard.x509` - certguard.x509
48
+ pulp_type__in: ['pulp_type__in_example'], # Array<String> | Multiple values may be separated by commas. * `core.rbac` - core.rbac * `core.content_redirect` - core.content_redirect * `core.header` - core.header * `core.composite` - core.composite * `certguard.rhsm` - certguard.rhsm * `certguard.x509` - certguard.x509
49
49
  q: 'q_example', # String |
50
50
  fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
51
51
  exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
@@ -79,8 +79,8 @@ Name | Type | Description | Notes
79
79
  **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;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
80
80
  **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
81
81
  **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
82
- **pulp_type** | **String**| Pulp type * &#x60;core.rbac&#x60; - core.rbac * &#x60;core.content_redirect&#x60; - core.content_redirect * &#x60;core.header&#x60; - core.header * &#x60;core.composite&#x60; - core.composite | [optional]
83
- **pulp_type__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. * &#x60;core.rbac&#x60; - core.rbac * &#x60;core.content_redirect&#x60; - core.content_redirect * &#x60;core.header&#x60; - core.header * &#x60;core.composite&#x60; - core.composite | [optional]
82
+ **pulp_type** | **String**| Pulp type * &#x60;core.rbac&#x60; - core.rbac * &#x60;core.content_redirect&#x60; - core.content_redirect * &#x60;core.header&#x60; - core.header * &#x60;core.composite&#x60; - core.composite * &#x60;certguard.rhsm&#x60; - certguard.rhsm * &#x60;certguard.x509&#x60; - certguard.x509 | [optional]
83
+ **pulp_type__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. * &#x60;core.rbac&#x60; - core.rbac * &#x60;core.content_redirect&#x60; - core.content_redirect * &#x60;core.header&#x60; - core.header * &#x60;core.composite&#x60; - core.composite * &#x60;certguard.rhsm&#x60; - certguard.rhsm * &#x60;certguard.x509&#x60; - certguard.x509 | [optional]
84
84
  **q** | **String**| | [optional]
85
85
  **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
86
86
  **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
@@ -196,6 +196,7 @@ module PulpcoreClient
196
196
  # @option opts [String] :md5 Filter results where md5 matches value
197
197
  # @option opts [Integer] :offset The initial index from which to return the results.
198
198
  # @option opts [Array<String>] :ordering 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;file&#x60; - File * &#x60;-file&#x60; - File (descending) * &#x60;size&#x60; - Size * &#x60;-size&#x60; - Size (descending) * &#x60;md5&#x60; - Md5 * &#x60;-md5&#x60; - Md5 (descending) * &#x60;sha1&#x60; - Sha1 * &#x60;-sha1&#x60; - Sha1 (descending) * &#x60;sha224&#x60; - Sha224 * &#x60;-sha224&#x60; - Sha224 (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;sha384&#x60; - Sha384 * &#x60;-sha384&#x60; - Sha384 (descending) * &#x60;sha512&#x60; - Sha512 * &#x60;-sha512&#x60; - Sha512 (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
199
+ # @option opts [Float] :orphaned_for Minutes Artifacts have been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
199
200
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
200
201
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
201
202
  # @option opts [String] :q
@@ -220,6 +221,7 @@ module PulpcoreClient
220
221
  # @option opts [String] :md5 Filter results where md5 matches value
221
222
  # @option opts [Integer] :offset The initial index from which to return the results.
222
223
  # @option opts [Array<String>] :ordering 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;file&#x60; - File * &#x60;-file&#x60; - File (descending) * &#x60;size&#x60; - Size * &#x60;-size&#x60; - Size (descending) * &#x60;md5&#x60; - Md5 * &#x60;-md5&#x60; - Md5 (descending) * &#x60;sha1&#x60; - Sha1 * &#x60;-sha1&#x60; - Sha1 (descending) * &#x60;sha224&#x60; - Sha224 * &#x60;-sha224&#x60; - Sha224 (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;sha384&#x60; - Sha384 * &#x60;-sha384&#x60; - Sha384 (descending) * &#x60;sha512&#x60; - Sha512 * &#x60;-sha512&#x60; - Sha512 (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
224
+ # @option opts [Float] :orphaned_for Minutes Artifacts have been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
223
225
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
224
226
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
225
227
  # @option opts [String] :q
@@ -249,6 +251,7 @@ module PulpcoreClient
249
251
  query_params[:'md5'] = opts[:'md5'] if !opts[:'md5'].nil?
250
252
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
251
253
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
254
+ query_params[:'orphaned_for'] = opts[:'orphaned_for'] if !opts[:'orphaned_for'].nil?
252
255
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
253
256
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
254
257
  query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
@@ -25,6 +25,7 @@ module PulpcoreClient
25
25
  # @option opts [Integer] :limit Number of results to return per page.
26
26
  # @option opts [Integer] :offset The initial index from which to return the results.
27
27
  # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
28
+ # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
28
29
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
29
30
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
30
31
  # @option opts [String] :pulp_type Pulp type * &#x60;core.publishedmetadata&#x60; - core.publishedmetadata * &#x60;file.file&#x60; - file.file
@@ -47,6 +48,7 @@ module PulpcoreClient
47
48
  # @option opts [Integer] :limit Number of results to return per page.
48
49
  # @option opts [Integer] :offset The initial index from which to return the results.
49
50
  # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
51
+ # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
50
52
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
51
53
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
52
54
  # @option opts [String] :pulp_type Pulp type * &#x60;core.publishedmetadata&#x60; - core.publishedmetadata * &#x60;file.file&#x60; - file.file
@@ -82,6 +84,7 @@ module PulpcoreClient
82
84
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
83
85
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
84
86
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
87
+ query_params[:'orphaned_for'] = opts[:'orphaned_for'] if !opts[:'orphaned_for'].nil?
85
88
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
86
89
  query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
87
90
  query_params[:'pulp_type'] = opts[:'pulp_type'] if !opts[:'pulp_type'].nil?
@@ -36,8 +36,8 @@ module PulpcoreClient
36
36
  # @option opts [Array<String>] :ordering 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;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
37
37
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
38
38
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
39
- # @option opts [String] :pulp_type Pulp type * &#x60;core.rbac&#x60; - core.rbac * &#x60;core.content_redirect&#x60; - core.content_redirect * &#x60;core.header&#x60; - core.header * &#x60;core.composite&#x60; - core.composite
40
- # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * &#x60;core.rbac&#x60; - core.rbac * &#x60;core.content_redirect&#x60; - core.content_redirect * &#x60;core.header&#x60; - core.header * &#x60;core.composite&#x60; - core.composite
39
+ # @option opts [String] :pulp_type Pulp type * &#x60;core.rbac&#x60; - core.rbac * &#x60;core.content_redirect&#x60; - core.content_redirect * &#x60;core.header&#x60; - core.header * &#x60;core.composite&#x60; - core.composite * &#x60;certguard.rhsm&#x60; - certguard.rhsm * &#x60;certguard.x509&#x60; - certguard.x509
40
+ # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * &#x60;core.rbac&#x60; - core.rbac * &#x60;core.content_redirect&#x60; - core.content_redirect * &#x60;core.header&#x60; - core.header * &#x60;core.composite&#x60; - core.composite * &#x60;certguard.rhsm&#x60; - certguard.rhsm * &#x60;certguard.x509&#x60; - certguard.x509
41
41
  # @option opts [String] :q
42
42
  # @option opts [Array<String>] :fields A list of fields to include in the response.
43
43
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
@@ -64,8 +64,8 @@ module PulpcoreClient
64
64
  # @option opts [Array<String>] :ordering 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;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
65
65
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
66
66
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
67
- # @option opts [String] :pulp_type Pulp type * &#x60;core.rbac&#x60; - core.rbac * &#x60;core.content_redirect&#x60; - core.content_redirect * &#x60;core.header&#x60; - core.header * &#x60;core.composite&#x60; - core.composite
68
- # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * &#x60;core.rbac&#x60; - core.rbac * &#x60;core.content_redirect&#x60; - core.content_redirect * &#x60;core.header&#x60; - core.header * &#x60;core.composite&#x60; - core.composite
67
+ # @option opts [String] :pulp_type Pulp type * &#x60;core.rbac&#x60; - core.rbac * &#x60;core.content_redirect&#x60; - core.content_redirect * &#x60;core.header&#x60; - core.header * &#x60;core.composite&#x60; - core.composite * &#x60;certguard.rhsm&#x60; - certguard.rhsm * &#x60;certguard.x509&#x60; - certguard.x509
68
+ # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * &#x60;core.rbac&#x60; - core.rbac * &#x60;core.content_redirect&#x60; - core.content_redirect * &#x60;core.header&#x60; - core.header * &#x60;core.composite&#x60; - core.composite * &#x60;certguard.rhsm&#x60; - certguard.rhsm * &#x60;certguard.x509&#x60; - certguard.x509
69
69
  # @option opts [String] :q
70
70
  # @option opts [Array<String>] :fields A list of fields to include in the response.
71
71
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
@@ -78,11 +78,11 @@ module PulpcoreClient
78
78
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
79
79
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
80
80
  end
81
- allowable_values = ["core.composite", "core.content_redirect", "core.header", "core.rbac"]
81
+ allowable_values = ["certguard.rhsm", "certguard.x509", "core.composite", "core.content_redirect", "core.header", "core.rbac"]
82
82
  if @api_client.config.client_side_validation && opts[:'pulp_type'] && !allowable_values.include?(opts[:'pulp_type'])
83
83
  fail ArgumentError, "invalid value for \"pulp_type\", must be one of #{allowable_values}"
84
84
  end
85
- allowable_values = ["core.composite", "core.content_redirect", "core.header", "core.rbac"]
85
+ allowable_values = ["certguard.rhsm", "certguard.x509", "core.composite", "core.content_redirect", "core.header", "core.rbac"]
86
86
  if @api_client.config.client_side_validation && opts[:'pulp_type__in'] && !opts[:'pulp_type__in'].all? { |item| allowable_values.include?(item) }
87
87
  fail ArgumentError, "invalid value for \"pulp_type__in\", must include one of #{allowable_values}"
88
88
  end
@@ -15,15 +15,16 @@ require 'date'
15
15
  module PulpcoreClient
16
16
  # A serializer for ArtifactDistribution.
17
17
  class ArtifactDistributionResponse
18
- attr_accessor :pulp_href
18
+ # An optional content-guard.
19
+ attr_accessor :content_guard
19
20
 
20
21
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
21
22
  attr_accessor :base_path
22
23
 
23
- attr_accessor :pulp_labels
24
+ # A unique name. Ex, `rawhide` and `stable`.
25
+ attr_accessor :name
24
26
 
25
- # Whether this distribution should be shown in the content app.
26
- attr_accessor :hidden
27
+ attr_accessor :pulp_href
27
28
 
28
29
  # Timestamp of creation.
29
30
  attr_accessor :pulp_created
@@ -31,44 +32,43 @@ module PulpcoreClient
31
32
  # The URL for accessing the publication as defined by this distribution.
32
33
  attr_accessor :base_url
33
34
 
34
- # A unique name. Ex, `rawhide` and `stable`.
35
- attr_accessor :name
35
+ # Whether this distribution should be shown in the content app.
36
+ attr_accessor :hidden
36
37
 
37
- # An optional content-guard.
38
- attr_accessor :content_guard
38
+ attr_accessor :pulp_labels
39
39
 
40
40
  # Attribute mapping from ruby-style variable name to JSON key.
41
41
  def self.attribute_map
42
42
  {
43
- :'pulp_href' => :'pulp_href',
43
+ :'content_guard' => :'content_guard',
44
44
  :'base_path' => :'base_path',
45
- :'pulp_labels' => :'pulp_labels',
46
- :'hidden' => :'hidden',
45
+ :'name' => :'name',
46
+ :'pulp_href' => :'pulp_href',
47
47
  :'pulp_created' => :'pulp_created',
48
48
  :'base_url' => :'base_url',
49
- :'name' => :'name',
50
- :'content_guard' => :'content_guard'
49
+ :'hidden' => :'hidden',
50
+ :'pulp_labels' => :'pulp_labels'
51
51
  }
52
52
  end
53
53
 
54
54
  # Attribute type mapping.
55
55
  def self.openapi_types
56
56
  {
57
- :'pulp_href' => :'String',
57
+ :'content_guard' => :'String',
58
58
  :'base_path' => :'String',
59
- :'pulp_labels' => :'Hash<String, String>',
60
- :'hidden' => :'Boolean',
59
+ :'name' => :'String',
60
+ :'pulp_href' => :'String',
61
61
  :'pulp_created' => :'DateTime',
62
62
  :'base_url' => :'String',
63
- :'name' => :'String',
64
- :'content_guard' => :'String'
63
+ :'hidden' => :'Boolean',
64
+ :'pulp_labels' => :'Hash<String, String>'
65
65
  }
66
66
  end
67
67
 
68
68
  # List of attributes with nullable: true
69
69
  def self.openapi_nullable
70
70
  Set.new([
71
- :'content_guard'
71
+ :'content_guard',
72
72
  ])
73
73
  end
74
74
 
@@ -87,24 +87,20 @@ module PulpcoreClient
87
87
  h[k.to_sym] = v
88
88
  }
89
89
 
90
- if attributes.key?(:'pulp_href')
91
- self.pulp_href = attributes[:'pulp_href']
90
+ if attributes.key?(:'content_guard')
91
+ self.content_guard = attributes[:'content_guard']
92
92
  end
93
93
 
94
94
  if attributes.key?(:'base_path')
95
95
  self.base_path = attributes[:'base_path']
96
96
  end
97
97
 
98
- if attributes.key?(:'pulp_labels')
99
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
100
- self.pulp_labels = value
101
- end
98
+ if attributes.key?(:'name')
99
+ self.name = attributes[:'name']
102
100
  end
103
101
 
104
- if attributes.key?(:'hidden')
105
- self.hidden = attributes[:'hidden']
106
- else
107
- self.hidden = false
102
+ if attributes.key?(:'pulp_href')
103
+ self.pulp_href = attributes[:'pulp_href']
108
104
  end
109
105
 
110
106
  if attributes.key?(:'pulp_created')
@@ -115,12 +111,16 @@ module PulpcoreClient
115
111
  self.base_url = attributes[:'base_url']
116
112
  end
117
113
 
118
- if attributes.key?(:'name')
119
- self.name = attributes[:'name']
114
+ if attributes.key?(:'hidden')
115
+ self.hidden = attributes[:'hidden']
116
+ else
117
+ self.hidden = false
120
118
  end
121
119
 
122
- if attributes.key?(:'content_guard')
123
- self.content_guard = attributes[:'content_guard']
120
+ if attributes.key?(:'pulp_labels')
121
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
122
+ self.pulp_labels = value
123
+ end
124
124
  end
125
125
  end
126
126
 
@@ -152,14 +152,14 @@ module PulpcoreClient
152
152
  def ==(o)
153
153
  return true if self.equal?(o)
154
154
  self.class == o.class &&
155
- pulp_href == o.pulp_href &&
155
+ content_guard == o.content_guard &&
156
156
  base_path == o.base_path &&
157
- pulp_labels == o.pulp_labels &&
158
- hidden == o.hidden &&
157
+ name == o.name &&
158
+ pulp_href == o.pulp_href &&
159
159
  pulp_created == o.pulp_created &&
160
160
  base_url == o.base_url &&
161
- name == o.name &&
162
- content_guard == o.content_guard
161
+ hidden == o.hidden &&
162
+ pulp_labels == o.pulp_labels
163
163
  end
164
164
 
165
165
  # @see the `==` method
@@ -171,7 +171,7 @@ module PulpcoreClient
171
171
  # Calculates hash code according to all attributes.
172
172
  # @return [Integer] Hash code
173
173
  def hash
174
- [pulp_href, base_path, pulp_labels, hidden, pulp_created, base_url, name, content_guard].hash
174
+ [content_guard, base_path, name, pulp_href, pulp_created, base_url, hidden, pulp_labels].hash
175
175
  end
176
176
 
177
177
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpcoreClient
14
- VERSION = '3.44.0'
14
+ VERSION = '3.45.0'
15
15
  end
@@ -71,6 +71,7 @@ describe 'ArtifactsApi' do
71
71
  # @option opts [String] :md5 Filter results where md5 matches value
72
72
  # @option opts [Integer] :offset The initial index from which to return the results.
73
73
  # @option opts [Array<String>] :ordering 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;file&#x60; - File * &#x60;-file&#x60; - File (descending) * &#x60;size&#x60; - Size * &#x60;-size&#x60; - Size (descending) * &#x60;md5&#x60; - Md5 * &#x60;-md5&#x60; - Md5 (descending) * &#x60;sha1&#x60; - Sha1 * &#x60;-sha1&#x60; - Sha1 (descending) * &#x60;sha224&#x60; - Sha224 * &#x60;-sha224&#x60; - Sha224 (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;sha384&#x60; - Sha384 * &#x60;-sha384&#x60; - Sha384 (descending) * &#x60;sha512&#x60; - Sha512 * &#x60;-sha512&#x60; - Sha512 (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
74
+ # @option opts [Float] :orphaned_for Minutes Artifacts have been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
74
75
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
75
76
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
76
77
  # @option opts [String] :q
@@ -39,6 +39,7 @@ describe 'ContentApi' do
39
39
  # @option opts [Integer] :limit Number of results to return per page.
40
40
  # @option opts [Integer] :offset The initial index from which to return the results.
41
41
  # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
42
+ # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
42
43
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
43
44
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
44
45
  # @option opts [String] :pulp_type Pulp type * &#x60;core.publishedmetadata&#x60; - core.publishedmetadata * &#x60;file.file&#x60; - file.file
@@ -50,8 +50,8 @@ describe 'ContentguardsApi' do
50
50
  # @option opts [Array<String>] :ordering 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;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
51
51
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
52
52
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
53
- # @option opts [String] :pulp_type Pulp type * &#x60;core.rbac&#x60; - core.rbac * &#x60;core.content_redirect&#x60; - core.content_redirect * &#x60;core.header&#x60; - core.header * &#x60;core.composite&#x60; - core.composite
54
- # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * &#x60;core.rbac&#x60; - core.rbac * &#x60;core.content_redirect&#x60; - core.content_redirect * &#x60;core.header&#x60; - core.header * &#x60;core.composite&#x60; - core.composite
53
+ # @option opts [String] :pulp_type Pulp type * &#x60;core.rbac&#x60; - core.rbac * &#x60;core.content_redirect&#x60; - core.content_redirect * &#x60;core.header&#x60; - core.header * &#x60;core.composite&#x60; - core.composite * &#x60;certguard.rhsm&#x60; - certguard.rhsm * &#x60;certguard.x509&#x60; - certguard.x509
54
+ # @option opts [Array<String>] :pulp_type__in Multiple values may be separated by commas. * &#x60;core.rbac&#x60; - core.rbac * &#x60;core.content_redirect&#x60; - core.content_redirect * &#x60;core.header&#x60; - core.header * &#x60;core.composite&#x60; - core.composite * &#x60;certguard.rhsm&#x60; - certguard.rhsm * &#x60;certguard.x509&#x60; - certguard.x509
55
55
  # @option opts [String] :q
56
56
  # @option opts [Array<String>] :fields A list of fields to include in the response.
57
57
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
@@ -32,7 +32,7 @@ describe 'ArtifactDistributionResponse' do
32
32
  expect(@instance).to be_instance_of(PulpcoreClient::ArtifactDistributionResponse)
33
33
  end
34
34
  end
35
- describe 'test attribute "pulp_href"' do
35
+ describe 'test attribute "content_guard"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
@@ -44,13 +44,13 @@ describe 'ArtifactDistributionResponse' do
44
44
  end
45
45
  end
46
46
 
47
- describe 'test attribute "pulp_labels"' do
47
+ describe 'test attribute "name"' do
48
48
  it 'should work' do
49
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "hidden"' do
53
+ describe 'test attribute "pulp_href"' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  end
@@ -68,13 +68,13 @@ describe 'ArtifactDistributionResponse' do
68
68
  end
69
69
  end
70
70
 
71
- describe 'test attribute "name"' do
71
+ describe 'test attribute "hidden"' do
72
72
  it 'should work' do
73
73
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
74
  end
75
75
  end
76
76
 
77
- describe 'test attribute "content_guard"' do
77
+ describe 'test attribute "pulp_labels"' do
78
78
  it 'should work' do
79
79
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
80
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulpcore_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.44.0
4
+ version: 3.45.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-16 00:00:00.000000000 Z
11
+ date: 2024-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday