pulpcore_client 3.124.0 → 3.125.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 +4 -4
- data/README.md +4 -4
- data/docs/ArtifactDistributionResponse.md +16 -16
- data/docs/Purge.md +1 -1
- data/docs/TaskGroupsApi.md +24 -0
- data/lib/pulpcore_client/api/task_groups_api.rb +40 -0
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +71 -71
- data/lib/pulpcore_client/models/purge.rb +1 -1
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/api/task_groups_api_spec.rb +12 -0
- data/spec/models/artifact_distribution_response_spec.rb +11 -11
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 14caf2cf138e222eba9d9d3fc692e880a8e44f30e4733ea7d896d6029bb0b57c
|
|
4
|
+
data.tar.gz: 608f8ce8491b6c62cc612d022ae471a1e7a46ddf2b48141338ee927556b4b550
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bf14c326a9791932386eb6cb87bcbf00226603287eb93a7141f1692ccdd34d9128361aa2fae0b524337104bec75d5542a9ce14ec3684c20219b1c5b480f69bf3
|
|
7
|
+
data.tar.gz: ce0112a14fcfed7bf02ce91b35a3d68df302f57c8cd4dbfa9293f814e1e8c84fe18f78a643f678890c7fbcdab138e120851b1390de705dc47971f82fa91b87d5
|
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.
|
|
10
|
+
- Package version: 3.125.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 pulpcore_client.gemspec
|
|
|
25
25
|
Then either install the gem locally:
|
|
26
26
|
|
|
27
27
|
```shell
|
|
28
|
-
gem install ./pulpcore_client-3.
|
|
28
|
+
gem install ./pulpcore_client-3.125.0.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulpcore_client-3.
|
|
31
|
+
(for development, run `gem install --dev ./pulpcore_client-3.125.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 'pulpcore_client', '~> 3.
|
|
37
|
+
gem 'pulpcore_client', '~> 3.125.0'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -4,19 +4,19 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **
|
|
8
|
-
| **
|
|
9
|
-
| **
|
|
10
|
-
| **
|
|
7
|
+
| **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\") | |
|
|
8
|
+
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
|
9
|
+
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
|
10
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
11
11
|
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
|
12
12
|
| **pulp_href** | **String** | | [optional][readonly] |
|
|
13
|
-
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
|
14
13
|
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
|
15
14
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
16
|
-
| **
|
|
15
|
+
| **content_guard** | **String** | An optional content-guard. | [optional] |
|
|
17
16
|
| **content_guard_prn** | **String** | The Pulp Resource Name (PRN) of the associated optional content guard. | [optional][readonly] |
|
|
18
|
-
| **
|
|
19
|
-
| **
|
|
17
|
+
| **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional][readonly] |
|
|
18
|
+
| **no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional][readonly] |
|
|
19
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
20
20
|
|
|
21
21
|
## Example
|
|
22
22
|
|
|
@@ -24,19 +24,19 @@
|
|
|
24
24
|
require 'pulpcore_client'
|
|
25
25
|
|
|
26
26
|
instance = PulpcoreClient::ArtifactDistributionResponse.new(
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
base_path: null,
|
|
28
|
+
name: null,
|
|
29
|
+
repository_version: null,
|
|
30
|
+
pulp_created: null,
|
|
31
31
|
hidden: null,
|
|
32
32
|
pulp_href: null,
|
|
33
|
-
name: null,
|
|
34
33
|
pulp_last_updated: null,
|
|
35
34
|
prn: null,
|
|
36
|
-
|
|
35
|
+
content_guard: null,
|
|
37
36
|
content_guard_prn: null,
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
base_url: null,
|
|
38
|
+
no_content_change_since: null,
|
|
39
|
+
pulp_labels: null
|
|
40
40
|
)
|
|
41
41
|
```
|
|
42
42
|
|
data/docs/Purge.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **finished_before** | **Time** | Purge tasks completed earlier than this timestamp. Format '%Y-%m-%d[T%H:%M:%S]' | [optional][default to '2026-10-
|
|
7
|
+
| **finished_before** | **Time** | Purge tasks completed earlier than this timestamp. Format '%Y-%m-%d[T%H:%M:%S]' | [optional][default to '2026-10-26'] |
|
|
8
8
|
| **states** | [**Array<StatesEnum>**](StatesEnum.md) | List of task-states to be purged. Only 'final' states are allowed. | [optional] |
|
|
9
9
|
|
|
10
10
|
## Example
|
data/docs/TaskGroupsApi.md
CHANGED
|
@@ -32,6 +32,18 @@ opts = {
|
|
|
32
32
|
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
|
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
|
+
ordering: ['-all_tasks_dispatched'], # 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) * `description` - Description * `-description` - Description (descending) * `all_tasks_dispatched` - All tasks dispatched * `-all_tasks_dispatched` - All tasks dispatched (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
36
|
+
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
37
|
+
pulp_created: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created matches value
|
|
38
|
+
pulp_created__gt: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created is greater than value
|
|
39
|
+
pulp_created__gte: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created is greater than or equal to value
|
|
40
|
+
pulp_created__isnull: true, # Boolean | Filter results where pulp_created has a null value
|
|
41
|
+
pulp_created__lt: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created is less than value
|
|
42
|
+
pulp_created__lte: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created is less than or equal to value
|
|
43
|
+
pulp_created__range: [Time.now], # Array<Time> | Filter results where pulp_created is between two comma separated values
|
|
44
|
+
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
45
|
+
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
46
|
+
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
|
35
47
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
36
48
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
37
49
|
}
|
|
@@ -70,6 +82,18 @@ end
|
|
|
70
82
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
71
83
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
|
72
84
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
|
85
|
+
| **ordering** | [**Array<String>**](String.md) | 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) * `description` - Description * `-description` - Description (descending) * `all_tasks_dispatched` - All tasks dispatched * `-all_tasks_dispatched` - All tasks dispatched (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
86
|
+
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
87
|
+
| **pulp_created** | **Time** | Filter results where pulp_created matches value | [optional] |
|
|
88
|
+
| **pulp_created__gt** | **Time** | Filter results where pulp_created is greater than value | [optional] |
|
|
89
|
+
| **pulp_created__gte** | **Time** | Filter results where pulp_created is greater than or equal to value | [optional] |
|
|
90
|
+
| **pulp_created__isnull** | **Boolean** | Filter results where pulp_created has a null value | [optional] |
|
|
91
|
+
| **pulp_created__lt** | **Time** | Filter results where pulp_created is less than value | [optional] |
|
|
92
|
+
| **pulp_created__lte** | **Time** | Filter results where pulp_created is less than or equal to value | [optional] |
|
|
93
|
+
| **pulp_created__range** | [**Array<Time>**](Time.md) | Filter results where pulp_created is between two comma separated values | [optional] |
|
|
94
|
+
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
95
|
+
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
96
|
+
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
|
73
97
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
74
98
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
75
99
|
|
|
@@ -24,6 +24,18 @@ module PulpcoreClient
|
|
|
24
24
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
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
|
+
# @option opts [Array<String>] :ordering 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) * `description` - Description * `-description` - Description (descending) * `all_tasks_dispatched` - All tasks dispatched * `-all_tasks_dispatched` - All tasks dispatched (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
28
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
29
|
+
# @option opts [Time] :pulp_created Filter results where pulp_created matches value
|
|
30
|
+
# @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
|
|
31
|
+
# @option opts [Time] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
|
32
|
+
# @option opts [Boolean] :pulp_created__isnull Filter results where pulp_created has a null value
|
|
33
|
+
# @option opts [Time] :pulp_created__lt Filter results where pulp_created is less than value
|
|
34
|
+
# @option opts [Time] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
|
35
|
+
# @option opts [Array<Time>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
|
36
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
37
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
38
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
27
39
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
28
40
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
29
41
|
# @return [PaginatedTaskGroupResponseList]
|
|
@@ -37,6 +49,18 @@ module PulpcoreClient
|
|
|
37
49
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
38
50
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
39
51
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
52
|
+
# @option opts [Array<String>] :ordering 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) * `description` - Description * `-description` - Description (descending) * `all_tasks_dispatched` - All tasks dispatched * `-all_tasks_dispatched` - All tasks dispatched (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
53
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
54
|
+
# @option opts [Time] :pulp_created Filter results where pulp_created matches value
|
|
55
|
+
# @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
|
|
56
|
+
# @option opts [Time] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
|
57
|
+
# @option opts [Boolean] :pulp_created__isnull Filter results where pulp_created has a null value
|
|
58
|
+
# @option opts [Time] :pulp_created__lt Filter results where pulp_created is less than value
|
|
59
|
+
# @option opts [Time] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
|
60
|
+
# @option opts [Array<Time>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
|
61
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
62
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
63
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
40
64
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
41
65
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
42
66
|
# @return [Array<(PaginatedTaskGroupResponseList, Integer, Hash)>] PaginatedTaskGroupResponseList data, response status code and response headers
|
|
@@ -44,6 +68,10 @@ module PulpcoreClient
|
|
|
44
68
|
if @api_client.config.debugging
|
|
45
69
|
@api_client.config.logger.debug 'Calling API: TaskGroupsApi.list ...'
|
|
46
70
|
end
|
|
71
|
+
allowable_values = ["-all_tasks_dispatched", "-description", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "all_tasks_dispatched", "description", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
|
72
|
+
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
73
|
+
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
74
|
+
end
|
|
47
75
|
# resource path
|
|
48
76
|
local_var_path = '/pulp/api/v3/task-groups/'
|
|
49
77
|
|
|
@@ -51,6 +79,18 @@ module PulpcoreClient
|
|
|
51
79
|
query_params = opts[:query_params] || {}
|
|
52
80
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
53
81
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
82
|
+
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
|
83
|
+
query_params[:'prn__in'] = @api_client.build_collection_param(opts[:'prn__in'], :csv) if !opts[:'prn__in'].nil?
|
|
84
|
+
query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
|
|
85
|
+
query_params[:'pulp_created__gt'] = opts[:'pulp_created__gt'] if !opts[:'pulp_created__gt'].nil?
|
|
86
|
+
query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
|
|
87
|
+
query_params[:'pulp_created__isnull'] = opts[:'pulp_created__isnull'] if !opts[:'pulp_created__isnull'].nil?
|
|
88
|
+
query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
|
|
89
|
+
query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
|
|
90
|
+
query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
|
|
91
|
+
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
|
92
|
+
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
|
93
|
+
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
|
54
94
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
55
95
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
56
96
|
|
|
@@ -16,59 +16,59 @@ require 'time'
|
|
|
16
16
|
module PulpcoreClient
|
|
17
17
|
# A serializer for ArtifactDistribution.
|
|
18
18
|
class ArtifactDistributionResponse
|
|
19
|
-
# The
|
|
20
|
-
attr_accessor :
|
|
19
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
20
|
+
attr_accessor :base_path
|
|
21
21
|
|
|
22
|
-
#
|
|
23
|
-
attr_accessor :
|
|
22
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
23
|
+
attr_accessor :name
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
# RepositoryVersion to be served
|
|
26
|
+
attr_accessor :repository_version
|
|
26
27
|
|
|
27
|
-
#
|
|
28
|
-
attr_accessor :
|
|
28
|
+
# Timestamp of creation.
|
|
29
|
+
attr_accessor :pulp_created
|
|
29
30
|
|
|
30
31
|
# Whether this distribution should be shown in the content app.
|
|
31
32
|
attr_accessor :hidden
|
|
32
33
|
|
|
33
34
|
attr_accessor :pulp_href
|
|
34
35
|
|
|
35
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
|
36
|
-
attr_accessor :name
|
|
37
|
-
|
|
38
36
|
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
|
39
37
|
attr_accessor :pulp_last_updated
|
|
40
38
|
|
|
41
39
|
# The Pulp Resource Name (PRN).
|
|
42
40
|
attr_accessor :prn
|
|
43
41
|
|
|
44
|
-
#
|
|
45
|
-
attr_accessor :
|
|
42
|
+
# An optional content-guard.
|
|
43
|
+
attr_accessor :content_guard
|
|
46
44
|
|
|
47
45
|
# The Pulp Resource Name (PRN) of the associated optional content guard.
|
|
48
46
|
attr_accessor :content_guard_prn
|
|
49
47
|
|
|
50
|
-
#
|
|
51
|
-
attr_accessor :
|
|
48
|
+
# The URL for accessing the publication as defined by this distribution.
|
|
49
|
+
attr_accessor :base_url
|
|
52
50
|
|
|
53
|
-
#
|
|
54
|
-
attr_accessor :
|
|
51
|
+
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
52
|
+
attr_accessor :no_content_change_since
|
|
53
|
+
|
|
54
|
+
attr_accessor :pulp_labels
|
|
55
55
|
|
|
56
56
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
57
57
|
def self.attribute_map
|
|
58
58
|
{
|
|
59
|
-
:'
|
|
60
|
-
:'
|
|
61
|
-
:'
|
|
62
|
-
:'
|
|
59
|
+
:'base_path' => :'base_path',
|
|
60
|
+
:'name' => :'name',
|
|
61
|
+
:'repository_version' => :'repository_version',
|
|
62
|
+
:'pulp_created' => :'pulp_created',
|
|
63
63
|
:'hidden' => :'hidden',
|
|
64
64
|
:'pulp_href' => :'pulp_href',
|
|
65
|
-
:'name' => :'name',
|
|
66
65
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
67
66
|
:'prn' => :'prn',
|
|
68
|
-
:'
|
|
67
|
+
:'content_guard' => :'content_guard',
|
|
69
68
|
:'content_guard_prn' => :'content_guard_prn',
|
|
70
|
-
:'
|
|
71
|
-
:'
|
|
69
|
+
:'base_url' => :'base_url',
|
|
70
|
+
:'no_content_change_since' => :'no_content_change_since',
|
|
71
|
+
:'pulp_labels' => :'pulp_labels'
|
|
72
72
|
}
|
|
73
73
|
end
|
|
74
74
|
|
|
@@ -80,27 +80,27 @@ module PulpcoreClient
|
|
|
80
80
|
# Attribute type mapping.
|
|
81
81
|
def self.openapi_types
|
|
82
82
|
{
|
|
83
|
-
:'
|
|
84
|
-
:'
|
|
85
|
-
:'
|
|
86
|
-
:'
|
|
83
|
+
:'base_path' => :'String',
|
|
84
|
+
:'name' => :'String',
|
|
85
|
+
:'repository_version' => :'String',
|
|
86
|
+
:'pulp_created' => :'Time',
|
|
87
87
|
:'hidden' => :'Boolean',
|
|
88
88
|
:'pulp_href' => :'String',
|
|
89
|
-
:'name' => :'String',
|
|
90
89
|
:'pulp_last_updated' => :'Time',
|
|
91
90
|
:'prn' => :'String',
|
|
92
|
-
:'
|
|
91
|
+
:'content_guard' => :'String',
|
|
93
92
|
:'content_guard_prn' => :'String',
|
|
94
|
-
:'
|
|
95
|
-
:'
|
|
93
|
+
:'base_url' => :'String',
|
|
94
|
+
:'no_content_change_since' => :'String',
|
|
95
|
+
:'pulp_labels' => :'Hash<String, String>'
|
|
96
96
|
}
|
|
97
97
|
end
|
|
98
98
|
|
|
99
99
|
# List of attributes with nullable: true
|
|
100
100
|
def self.openapi_nullable
|
|
101
101
|
Set.new([
|
|
102
|
-
:'content_guard',
|
|
103
102
|
:'repository_version',
|
|
103
|
+
:'content_guard',
|
|
104
104
|
])
|
|
105
105
|
end
|
|
106
106
|
|
|
@@ -119,22 +119,24 @@ module PulpcoreClient
|
|
|
119
119
|
h[k.to_sym] = v
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
if attributes.key?(:'
|
|
123
|
-
self.
|
|
122
|
+
if attributes.key?(:'base_path')
|
|
123
|
+
self.base_path = attributes[:'base_path']
|
|
124
|
+
else
|
|
125
|
+
self.base_path = nil
|
|
124
126
|
end
|
|
125
127
|
|
|
126
|
-
if attributes.key?(:'
|
|
127
|
-
self.
|
|
128
|
+
if attributes.key?(:'name')
|
|
129
|
+
self.name = attributes[:'name']
|
|
130
|
+
else
|
|
131
|
+
self.name = nil
|
|
128
132
|
end
|
|
129
133
|
|
|
130
|
-
if attributes.key?(:'
|
|
131
|
-
|
|
132
|
-
self.pulp_labels = value
|
|
133
|
-
end
|
|
134
|
+
if attributes.key?(:'repository_version')
|
|
135
|
+
self.repository_version = attributes[:'repository_version']
|
|
134
136
|
end
|
|
135
137
|
|
|
136
|
-
if attributes.key?(:'
|
|
137
|
-
self.
|
|
138
|
+
if attributes.key?(:'pulp_created')
|
|
139
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
138
140
|
end
|
|
139
141
|
|
|
140
142
|
if attributes.key?(:'hidden')
|
|
@@ -147,12 +149,6 @@ module PulpcoreClient
|
|
|
147
149
|
self.pulp_href = attributes[:'pulp_href']
|
|
148
150
|
end
|
|
149
151
|
|
|
150
|
-
if attributes.key?(:'name')
|
|
151
|
-
self.name = attributes[:'name']
|
|
152
|
-
else
|
|
153
|
-
self.name = nil
|
|
154
|
-
end
|
|
155
|
-
|
|
156
152
|
if attributes.key?(:'pulp_last_updated')
|
|
157
153
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
158
154
|
end
|
|
@@ -161,22 +157,26 @@ module PulpcoreClient
|
|
|
161
157
|
self.prn = attributes[:'prn']
|
|
162
158
|
end
|
|
163
159
|
|
|
164
|
-
if attributes.key?(:'
|
|
165
|
-
self.
|
|
160
|
+
if attributes.key?(:'content_guard')
|
|
161
|
+
self.content_guard = attributes[:'content_guard']
|
|
166
162
|
end
|
|
167
163
|
|
|
168
164
|
if attributes.key?(:'content_guard_prn')
|
|
169
165
|
self.content_guard_prn = attributes[:'content_guard_prn']
|
|
170
166
|
end
|
|
171
167
|
|
|
172
|
-
if attributes.key?(:'
|
|
173
|
-
self.
|
|
168
|
+
if attributes.key?(:'base_url')
|
|
169
|
+
self.base_url = attributes[:'base_url']
|
|
174
170
|
end
|
|
175
171
|
|
|
176
|
-
if attributes.key?(:'
|
|
177
|
-
self.
|
|
178
|
-
|
|
179
|
-
|
|
172
|
+
if attributes.key?(:'no_content_change_since')
|
|
173
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
174
|
+
end
|
|
175
|
+
|
|
176
|
+
if attributes.key?(:'pulp_labels')
|
|
177
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
178
|
+
self.pulp_labels = value
|
|
179
|
+
end
|
|
180
180
|
end
|
|
181
181
|
end
|
|
182
182
|
|
|
@@ -185,14 +185,14 @@ module PulpcoreClient
|
|
|
185
185
|
def list_invalid_properties
|
|
186
186
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
187
187
|
invalid_properties = Array.new
|
|
188
|
-
if @name.nil?
|
|
189
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
190
|
-
end
|
|
191
|
-
|
|
192
188
|
if @base_path.nil?
|
|
193
189
|
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
|
194
190
|
end
|
|
195
191
|
|
|
192
|
+
if @name.nil?
|
|
193
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
194
|
+
end
|
|
195
|
+
|
|
196
196
|
invalid_properties
|
|
197
197
|
end
|
|
198
198
|
|
|
@@ -200,8 +200,8 @@ module PulpcoreClient
|
|
|
200
200
|
# @return true if the model is valid
|
|
201
201
|
def valid?
|
|
202
202
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
203
|
-
return false if @name.nil?
|
|
204
203
|
return false if @base_path.nil?
|
|
204
|
+
return false if @name.nil?
|
|
205
205
|
true
|
|
206
206
|
end
|
|
207
207
|
|
|
@@ -210,19 +210,19 @@ module PulpcoreClient
|
|
|
210
210
|
def ==(o)
|
|
211
211
|
return true if self.equal?(o)
|
|
212
212
|
self.class == o.class &&
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
213
|
+
base_path == o.base_path &&
|
|
214
|
+
name == o.name &&
|
|
215
|
+
repository_version == o.repository_version &&
|
|
216
|
+
pulp_created == o.pulp_created &&
|
|
217
217
|
hidden == o.hidden &&
|
|
218
218
|
pulp_href == o.pulp_href &&
|
|
219
|
-
name == o.name &&
|
|
220
219
|
pulp_last_updated == o.pulp_last_updated &&
|
|
221
220
|
prn == o.prn &&
|
|
222
|
-
|
|
221
|
+
content_guard == o.content_guard &&
|
|
223
222
|
content_guard_prn == o.content_guard_prn &&
|
|
224
|
-
|
|
225
|
-
|
|
223
|
+
base_url == o.base_url &&
|
|
224
|
+
no_content_change_since == o.no_content_change_since &&
|
|
225
|
+
pulp_labels == o.pulp_labels
|
|
226
226
|
end
|
|
227
227
|
|
|
228
228
|
# @see the `==` method
|
|
@@ -234,7 +234,7 @@ module PulpcoreClient
|
|
|
234
234
|
# Calculates hash code according to all attributes.
|
|
235
235
|
# @return [Integer] Hash code
|
|
236
236
|
def hash
|
|
237
|
-
[
|
|
237
|
+
[base_path, name, repository_version, pulp_created, hidden, pulp_href, pulp_last_updated, prn, content_guard, content_guard_prn, base_url, no_content_change_since, pulp_labels].hash
|
|
238
238
|
end
|
|
239
239
|
|
|
240
240
|
# Builds the object from hash
|
|
@@ -38,6 +38,18 @@ describe 'TaskGroupsApi' do
|
|
|
38
38
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
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
|
+
# @option opts [Array<String>] :ordering 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) * `description` - Description * `-description` - Description (descending) * `all_tasks_dispatched` - All tasks dispatched * `-all_tasks_dispatched` - All tasks dispatched (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
42
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
43
|
+
# @option opts [Time] :pulp_created Filter results where pulp_created matches value
|
|
44
|
+
# @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
|
|
45
|
+
# @option opts [Time] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
|
46
|
+
# @option opts [Boolean] :pulp_created__isnull Filter results where pulp_created has a null value
|
|
47
|
+
# @option opts [Time] :pulp_created__lt Filter results where pulp_created is less than value
|
|
48
|
+
# @option opts [Time] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
|
49
|
+
# @option opts [Array<Time>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
|
50
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
51
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
52
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
41
53
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
42
54
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
43
55
|
# @return [PaginatedTaskGroupResponseList]
|
|
@@ -27,25 +27,25 @@ describe PulpcoreClient::ArtifactDistributionResponse do
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
describe 'test attribute "
|
|
30
|
+
describe 'test attribute "base_path"' do
|
|
31
31
|
it 'should work' do
|
|
32
32
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
-
describe 'test attribute "
|
|
36
|
+
describe 'test attribute "name"' do
|
|
37
37
|
it 'should work' do
|
|
38
38
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
-
describe 'test attribute "
|
|
42
|
+
describe 'test attribute "repository_version"' do
|
|
43
43
|
it 'should work' do
|
|
44
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
45
|
end
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
-
describe 'test attribute "
|
|
48
|
+
describe 'test attribute "pulp_created"' do
|
|
49
49
|
it 'should work' do
|
|
50
50
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
51
|
end
|
|
@@ -63,43 +63,43 @@ describe PulpcoreClient::ArtifactDistributionResponse do
|
|
|
63
63
|
end
|
|
64
64
|
end
|
|
65
65
|
|
|
66
|
-
describe 'test attribute "
|
|
66
|
+
describe 'test attribute "pulp_last_updated"' do
|
|
67
67
|
it 'should work' do
|
|
68
68
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
69
|
end
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
-
describe 'test attribute "
|
|
72
|
+
describe 'test attribute "prn"' do
|
|
73
73
|
it 'should work' do
|
|
74
74
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
75
|
end
|
|
76
76
|
end
|
|
77
77
|
|
|
78
|
-
describe 'test attribute "
|
|
78
|
+
describe 'test attribute "content_guard"' do
|
|
79
79
|
it 'should work' do
|
|
80
80
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
81
|
end
|
|
82
82
|
end
|
|
83
83
|
|
|
84
|
-
describe 'test attribute "
|
|
84
|
+
describe 'test attribute "content_guard_prn"' do
|
|
85
85
|
it 'should work' do
|
|
86
86
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
87
87
|
end
|
|
88
88
|
end
|
|
89
89
|
|
|
90
|
-
describe 'test attribute "
|
|
90
|
+
describe 'test attribute "base_url"' do
|
|
91
91
|
it 'should work' do
|
|
92
92
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
93
93
|
end
|
|
94
94
|
end
|
|
95
95
|
|
|
96
|
-
describe 'test attribute "
|
|
96
|
+
describe 'test attribute "no_content_change_since"' do
|
|
97
97
|
it 'should work' do
|
|
98
98
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
99
99
|
end
|
|
100
100
|
end
|
|
101
101
|
|
|
102
|
-
describe 'test attribute "
|
|
102
|
+
describe 'test attribute "pulp_labels"' do
|
|
103
103
|
it 'should work' do
|
|
104
104
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
105
105
|
end
|