pulpcore_client 3.44.1 → 3.45.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 68d4d7334786af4c9b790bc98dcbe2eb13a8817999db2055e7273d9ff0630da0
4
- data.tar.gz: eed5f53edbd88239c7a79e3a606bcf5098dcbdb1b75c54f2c4c8c472e8af9ab5
3
+ metadata.gz: 84270ca22ce2b04185203204d0cdb1d6bad1aace41829b12db51b10bd2ac1e66
4
+ data.tar.gz: f6cedcfb17b79c34d727f5935af186202dfb7ff9de331b3dea0c9b605a638adf
5
5
  SHA512:
6
- metadata.gz: f4955711b4d09f932d0ef1465ed48f6b7e9da848fbf5fc1fab9ca8be55b6cb2414f9b6440110e1779ce2bda36ca3285e89e3d2c8091ae3adae81465387bec730
7
- data.tar.gz: d0f8e88d6f313397f4bb03a67245b1dd6ad55614aa9d23022e30bcfa05b783c3ac7e3fbbc63bba656600f71f421124f5f72173ca424d6b83e215627430f66d30
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.1
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.1.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.1.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.1'
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_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
8
- **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
9
- **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
10
- **pulp_labels** | **Hash<String, String>** | | [optional]
11
7
  **content_guard** | **String** | An optional content-guard. | [optional]
12
- **pulp_href** | **String** | | [optional] [readonly]
13
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
+ **name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
10
+ **pulp_href** | **String** | | [optional] [readonly]
11
+ **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
12
+ **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
14
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_created: null,
22
- base_url: null,
21
+ instance = PulpcoreClient::ArtifactDistributionResponse.new(content_guard: null,
22
+ base_path: null,
23
23
  name: null,
24
- pulp_labels: null,
25
- content_guard: null,
26
24
  pulp_href: null,
27
- base_path: null,
28
- hidden: null)
25
+ pulp_created: null,
26
+ base_url: 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,53 +15,53 @@ require 'date'
15
15
  module PulpcoreClient
16
16
  # A serializer for ArtifactDistribution.
17
17
  class ArtifactDistributionResponse
18
- # Timestamp of creation.
19
- attr_accessor :pulp_created
18
+ # An optional content-guard.
19
+ attr_accessor :content_guard
20
20
 
21
- # The URL for accessing the publication as defined by this distribution.
22
- attr_accessor :base_url
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\")
22
+ attr_accessor :base_path
23
23
 
24
24
  # A unique name. Ex, `rawhide` and `stable`.
25
25
  attr_accessor :name
26
26
 
27
- attr_accessor :pulp_labels
28
-
29
- # An optional content-guard.
30
- attr_accessor :content_guard
31
-
32
27
  attr_accessor :pulp_href
33
28
 
34
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
35
- attr_accessor :base_path
29
+ # Timestamp of creation.
30
+ attr_accessor :pulp_created
31
+
32
+ # The URL for accessing the publication as defined by this distribution.
33
+ attr_accessor :base_url
36
34
 
37
35
  # Whether this distribution should be shown in the content app.
38
36
  attr_accessor :hidden
39
37
 
38
+ attr_accessor :pulp_labels
39
+
40
40
  # Attribute mapping from ruby-style variable name to JSON key.
41
41
  def self.attribute_map
42
42
  {
43
- :'pulp_created' => :'pulp_created',
44
- :'base_url' => :'base_url',
45
- :'name' => :'name',
46
- :'pulp_labels' => :'pulp_labels',
47
43
  :'content_guard' => :'content_guard',
48
- :'pulp_href' => :'pulp_href',
49
44
  :'base_path' => :'base_path',
50
- :'hidden' => :'hidden'
45
+ :'name' => :'name',
46
+ :'pulp_href' => :'pulp_href',
47
+ :'pulp_created' => :'pulp_created',
48
+ :'base_url' => :'base_url',
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_created' => :'DateTime',
58
- :'base_url' => :'String',
59
- :'name' => :'String',
60
- :'pulp_labels' => :'Hash<String, String>',
61
57
  :'content_guard' => :'String',
62
- :'pulp_href' => :'String',
63
58
  :'base_path' => :'String',
64
- :'hidden' => :'Boolean'
59
+ :'name' => :'String',
60
+ :'pulp_href' => :'String',
61
+ :'pulp_created' => :'DateTime',
62
+ :'base_url' => :'String',
63
+ :'hidden' => :'Boolean',
64
+ :'pulp_labels' => :'Hash<String, String>'
65
65
  }
66
66
  end
67
67
 
@@ -87,34 +87,28 @@ module PulpcoreClient
87
87
  h[k.to_sym] = v
88
88
  }
89
89
 
90
- if attributes.key?(:'pulp_created')
91
- self.pulp_created = attributes[:'pulp_created']
90
+ if attributes.key?(:'content_guard')
91
+ self.content_guard = attributes[:'content_guard']
92
92
  end
93
93
 
94
- if attributes.key?(:'base_url')
95
- self.base_url = attributes[:'base_url']
94
+ if attributes.key?(:'base_path')
95
+ self.base_path = attributes[:'base_path']
96
96
  end
97
97
 
98
98
  if attributes.key?(:'name')
99
99
  self.name = attributes[:'name']
100
100
  end
101
101
 
102
- if attributes.key?(:'pulp_labels')
103
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
104
- self.pulp_labels = value
105
- end
106
- end
107
-
108
- if attributes.key?(:'content_guard')
109
- self.content_guard = attributes[:'content_guard']
110
- end
111
-
112
102
  if attributes.key?(:'pulp_href')
113
103
  self.pulp_href = attributes[:'pulp_href']
114
104
  end
115
105
 
116
- if attributes.key?(:'base_path')
117
- self.base_path = attributes[:'base_path']
106
+ if attributes.key?(:'pulp_created')
107
+ self.pulp_created = attributes[:'pulp_created']
108
+ end
109
+
110
+ if attributes.key?(:'base_url')
111
+ self.base_url = attributes[:'base_url']
118
112
  end
119
113
 
120
114
  if attributes.key?(:'hidden')
@@ -122,28 +116,34 @@ module PulpcoreClient
122
116
  else
123
117
  self.hidden = false
124
118
  end
119
+
120
+ if attributes.key?(:'pulp_labels')
121
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
122
+ self.pulp_labels = value
123
+ end
124
+ end
125
125
  end
126
126
 
127
127
  # Show invalid properties with the reasons. Usually used together with valid?
128
128
  # @return Array for valid properties with the reasons
129
129
  def list_invalid_properties
130
130
  invalid_properties = Array.new
131
- if @name.nil?
132
- invalid_properties.push('invalid value for "name", name cannot be nil.')
133
- end
134
-
135
131
  if @base_path.nil?
136
132
  invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
137
133
  end
138
134
 
135
+ if @name.nil?
136
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
137
+ end
138
+
139
139
  invalid_properties
140
140
  end
141
141
 
142
142
  # Check to see if the all the properties in the model are valid
143
143
  # @return true if the model is valid
144
144
  def valid?
145
- return false if @name.nil?
146
145
  return false if @base_path.nil?
146
+ return false if @name.nil?
147
147
  true
148
148
  end
149
149
 
@@ -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_created == o.pulp_created &&
156
- base_url == o.base_url &&
157
- name == o.name &&
158
- pulp_labels == o.pulp_labels &&
159
155
  content_guard == o.content_guard &&
160
- pulp_href == o.pulp_href &&
161
156
  base_path == o.base_path &&
162
- hidden == o.hidden
157
+ name == o.name &&
158
+ pulp_href == o.pulp_href &&
159
+ pulp_created == o.pulp_created &&
160
+ base_url == o.base_url &&
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_created, base_url, name, pulp_labels, content_guard, pulp_href, base_path, hidden].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.1'
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,13 +32,13 @@ describe 'ArtifactDistributionResponse' do
32
32
  expect(@instance).to be_instance_of(PulpcoreClient::ArtifactDistributionResponse)
33
33
  end
34
34
  end
35
- describe 'test attribute "pulp_created"' 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
39
39
  end
40
40
 
41
- describe 'test attribute "base_url"' do
41
+ describe 'test attribute "base_path"' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
@@ -50,31 +50,31 @@ describe 'ArtifactDistributionResponse' do
50
50
  end
51
51
  end
52
52
 
53
- describe 'test attribute "pulp_labels"' 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
57
57
  end
58
58
 
59
- describe 'test attribute "content_guard"' do
59
+ describe 'test attribute "pulp_created"' do
60
60
  it 'should work' do
61
61
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
62
  end
63
63
  end
64
64
 
65
- describe 'test attribute "pulp_href"' do
65
+ describe 'test attribute "base_url"' do
66
66
  it 'should work' do
67
67
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
68
  end
69
69
  end
70
70
 
71
- describe 'test attribute "base_path"' 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 "hidden"' 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.1
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-17 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