pulpcore_client 3.112.1 → 3.113.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 +5 -4
- data/docs/ArtifactDistributionResponse.md +18 -18
- data/docs/UpstreamPulpReplicate.md +18 -0
- data/docs/UpstreamPulpsApi.md +7 -5
- data/lib/pulpcore_client/api/upstream_pulps_api.rb +15 -4
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +81 -81
- data/lib/pulpcore_client/models/upstream_pulp_replicate.rb +216 -0
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +1 -0
- data/spec/api/upstream_pulps_api_spec.rb +1 -0
- data/spec/models/artifact_distribution_response_spec.rb +13 -13
- data/spec/models/upstream_pulp_replicate_spec.rb +36 -0
- metadata +5 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f85814a13497ffcabb3ed82c40da54e8e30a285ef5e843c025efddb2f3e7a337
|
|
4
|
+
data.tar.gz: c17fee4e598571772ce61dbcf4ebc62b6d3b34b8003a619382399a2c4681f393
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 06ea7c16f52f56eb32f98a9a007f81c34b1a9b8f34dec89a16a5ced4c24bee5cd020645ff5e9f50344d50206410a5a7c671efdf648f64e808116861a7eeb9aae
|
|
7
|
+
data.tar.gz: 6efa8d03077dd4de5308fabee9663e726c2c27735a59d9b3dc35ac38c724afde62b8134d14e10ab0a1eb98983acfa5e3912f05d994c40ce86944622f90a1d857
|
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.113.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.113.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.113.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.113.0'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -512,6 +512,7 @@ Class | Method | HTTP request | Description
|
|
|
512
512
|
- [PulpcoreClient::UploadDetailResponse](docs/UploadDetailResponse.md)
|
|
513
513
|
- [PulpcoreClient::UploadResponse](docs/UploadResponse.md)
|
|
514
514
|
- [PulpcoreClient::UpstreamPulp](docs/UpstreamPulp.md)
|
|
515
|
+
- [PulpcoreClient::UpstreamPulpReplicate](docs/UpstreamPulpReplicate.md)
|
|
515
516
|
- [PulpcoreClient::UpstreamPulpResponse](docs/UpstreamPulpResponse.md)
|
|
516
517
|
- [PulpcoreClient::User](docs/User.md)
|
|
517
518
|
- [PulpcoreClient::UserGroup](docs/UserGroup.md)
|
|
@@ -4,19 +4,19 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **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] |
|
|
8
|
-
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
9
|
-
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
10
|
-
| **pulp_href** | **String** | | [optional][readonly] |
|
|
11
7
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
|
12
|
-
| **
|
|
13
|
-
| **
|
|
14
|
-
| **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional][readonly] |
|
|
8
|
+
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
|
9
|
+
| **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\") | |
|
|
15
10
|
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
|
16
11
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
12
|
+
| **content_guard_prn** | **String** | The Pulp Resource Name (PRN) of the associated optional content guard. | [optional][readonly] |
|
|
13
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
|
17
14
|
| **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] |
|
|
18
|
-
| **
|
|
19
|
-
| **
|
|
15
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
|
16
|
+
| **content_guard** | **String** | An optional content-guard. | [optional] |
|
|
17
|
+
| **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] |
|
|
18
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
19
|
+
| **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional][readonly] |
|
|
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
|
-
pulp_last_updated: null,
|
|
28
|
-
pulp_created: null,
|
|
29
|
-
prn: null,
|
|
30
|
-
pulp_href: null,
|
|
31
27
|
name: null,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
base_url: null,
|
|
28
|
+
repository_version: null,
|
|
29
|
+
base_path: null,
|
|
35
30
|
hidden: null,
|
|
36
31
|
pulp_labels: null,
|
|
32
|
+
content_guard_prn: null,
|
|
33
|
+
pulp_href: null,
|
|
37
34
|
no_content_change_since: null,
|
|
38
|
-
|
|
39
|
-
|
|
35
|
+
prn: null,
|
|
36
|
+
content_guard: null,
|
|
37
|
+
pulp_last_updated: null,
|
|
38
|
+
pulp_created: null,
|
|
39
|
+
base_url: null
|
|
40
40
|
)
|
|
41
41
|
```
|
|
42
42
|
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# PulpcoreClient::UpstreamPulpReplicate
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **q_select** | **String** | Filter distributions on the upstream Pulp using complex filtering. When specified, overrides the stored q_select for this replication run only. E.g. pulp_label_select=\"foo\" OR pulp_label_select=\"key=val\" | [optional] |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'pulpcore_client'
|
|
13
|
+
|
|
14
|
+
instance = PulpcoreClient::UpstreamPulpReplicate.new(
|
|
15
|
+
q_select: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
data/docs/UpstreamPulpsApi.md
CHANGED
|
@@ -768,7 +768,7 @@ end
|
|
|
768
768
|
|
|
769
769
|
## replicate
|
|
770
770
|
|
|
771
|
-
> <TaskGroupOperationResponse> replicate(upstream_pulp_href, opts)
|
|
771
|
+
> <TaskGroupOperationResponse> replicate(upstream_pulp_href, upstream_pulp_replicate, opts)
|
|
772
772
|
|
|
773
773
|
Replicate
|
|
774
774
|
|
|
@@ -788,13 +788,14 @@ end
|
|
|
788
788
|
|
|
789
789
|
api_instance = PulpcoreClient::UpstreamPulpsApi.new
|
|
790
790
|
upstream_pulp_href = 'upstream_pulp_href_example' # String |
|
|
791
|
+
upstream_pulp_replicate = PulpcoreClient::UpstreamPulpReplicate.new # UpstreamPulpReplicate |
|
|
791
792
|
opts = {
|
|
792
793
|
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
|
793
794
|
}
|
|
794
795
|
|
|
795
796
|
begin
|
|
796
797
|
# Replicate
|
|
797
|
-
result = api_instance.replicate(upstream_pulp_href, opts)
|
|
798
|
+
result = api_instance.replicate(upstream_pulp_href, upstream_pulp_replicate, opts)
|
|
798
799
|
p result
|
|
799
800
|
rescue PulpcoreClient::ApiError => e
|
|
800
801
|
puts "Error when calling UpstreamPulpsApi->replicate: #{e}"
|
|
@@ -805,12 +806,12 @@ end
|
|
|
805
806
|
|
|
806
807
|
This returns an Array which contains the response data, status code and headers.
|
|
807
808
|
|
|
808
|
-
> <Array(<TaskGroupOperationResponse>, Integer, Hash)> replicate_with_http_info(upstream_pulp_href, opts)
|
|
809
|
+
> <Array(<TaskGroupOperationResponse>, Integer, Hash)> replicate_with_http_info(upstream_pulp_href, upstream_pulp_replicate, opts)
|
|
809
810
|
|
|
810
811
|
```ruby
|
|
811
812
|
begin
|
|
812
813
|
# Replicate
|
|
813
|
-
data, status_code, headers = api_instance.replicate_with_http_info(upstream_pulp_href, opts)
|
|
814
|
+
data, status_code, headers = api_instance.replicate_with_http_info(upstream_pulp_href, upstream_pulp_replicate, opts)
|
|
814
815
|
p status_code # => 2xx
|
|
815
816
|
p headers # => { ... }
|
|
816
817
|
p data # => <TaskGroupOperationResponse>
|
|
@@ -824,6 +825,7 @@ end
|
|
|
824
825
|
| Name | Type | Description | Notes |
|
|
825
826
|
| ---- | ---- | ----------- | ----- |
|
|
826
827
|
| **upstream_pulp_href** | **String** | | |
|
|
828
|
+
| **upstream_pulp_replicate** | [**UpstreamPulpReplicate**](UpstreamPulpReplicate.md) | | |
|
|
827
829
|
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
|
828
830
|
|
|
829
831
|
### Return type
|
|
@@ -836,7 +838,7 @@ end
|
|
|
836
838
|
|
|
837
839
|
### HTTP request headers
|
|
838
840
|
|
|
839
|
-
- **Content-Type**:
|
|
841
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
|
840
842
|
- **Accept**: application/json
|
|
841
843
|
|
|
842
844
|
|
|
@@ -770,21 +770,23 @@ module PulpcoreClient
|
|
|
770
770
|
# Replicate
|
|
771
771
|
# Trigger an asynchronous repository replication task group. This API is provided as a tech preview.
|
|
772
772
|
# @param upstream_pulp_href [String]
|
|
773
|
+
# @param upstream_pulp_replicate [UpstreamPulpReplicate]
|
|
773
774
|
# @param [Hash] opts the optional parameters
|
|
774
775
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
775
776
|
# @return [TaskGroupOperationResponse]
|
|
776
|
-
def replicate(upstream_pulp_href, opts = {})
|
|
777
|
-
data, _status_code, _headers = replicate_with_http_info(upstream_pulp_href, opts)
|
|
777
|
+
def replicate(upstream_pulp_href, upstream_pulp_replicate, opts = {})
|
|
778
|
+
data, _status_code, _headers = replicate_with_http_info(upstream_pulp_href, upstream_pulp_replicate, opts)
|
|
778
779
|
data
|
|
779
780
|
end
|
|
780
781
|
|
|
781
782
|
# Replicate
|
|
782
783
|
# Trigger an asynchronous repository replication task group. This API is provided as a tech preview.
|
|
783
784
|
# @param upstream_pulp_href [String]
|
|
785
|
+
# @param upstream_pulp_replicate [UpstreamPulpReplicate]
|
|
784
786
|
# @param [Hash] opts the optional parameters
|
|
785
787
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
786
788
|
# @return [Array<(TaskGroupOperationResponse, Integer, Hash)>] TaskGroupOperationResponse data, response status code and response headers
|
|
787
|
-
def replicate_with_http_info(upstream_pulp_href, opts = {})
|
|
789
|
+
def replicate_with_http_info(upstream_pulp_href, upstream_pulp_replicate, opts = {})
|
|
788
790
|
if @api_client.config.debugging
|
|
789
791
|
@api_client.config.logger.debug 'Calling API: UpstreamPulpsApi.replicate ...'
|
|
790
792
|
end
|
|
@@ -792,6 +794,10 @@ module PulpcoreClient
|
|
|
792
794
|
if @api_client.config.client_side_validation && upstream_pulp_href.nil?
|
|
793
795
|
fail ArgumentError, "Missing the required parameter 'upstream_pulp_href' when calling UpstreamPulpsApi.replicate"
|
|
794
796
|
end
|
|
797
|
+
# verify the required parameter 'upstream_pulp_replicate' is set
|
|
798
|
+
if @api_client.config.client_side_validation && upstream_pulp_replicate.nil?
|
|
799
|
+
fail ArgumentError, "Missing the required parameter 'upstream_pulp_replicate' when calling UpstreamPulpsApi.replicate"
|
|
800
|
+
end
|
|
795
801
|
# resource path
|
|
796
802
|
local_var_path = '{upstream_pulp_href}replicate/'.sub('{' + 'upstream_pulp_href' + '}', CGI.escape(upstream_pulp_href.to_s).gsub('%2F', '/'))
|
|
797
803
|
|
|
@@ -802,13 +808,18 @@ module PulpcoreClient
|
|
|
802
808
|
header_params = opts[:header_params] || {}
|
|
803
809
|
# HTTP header 'Accept' (if needed)
|
|
804
810
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
811
|
+
# HTTP header 'Content-Type'
|
|
812
|
+
content_type = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
813
|
+
if !content_type.nil?
|
|
814
|
+
header_params['Content-Type'] = content_type
|
|
815
|
+
end
|
|
805
816
|
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
806
817
|
|
|
807
818
|
# form parameters
|
|
808
819
|
form_params = opts[:form_params] || {}
|
|
809
820
|
|
|
810
821
|
# http body (model)
|
|
811
|
-
post_body = opts[:debug_body]
|
|
822
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(upstream_pulp_replicate)
|
|
812
823
|
|
|
813
824
|
# return_type
|
|
814
825
|
return_type = opts[:debug_return_type] || 'TaskGroupOperationResponse'
|
|
@@ -16,59 +16,59 @@ require 'time'
|
|
|
16
16
|
module PulpcoreClient
|
|
17
17
|
# A serializer for ArtifactDistribution.
|
|
18
18
|
class ArtifactDistributionResponse
|
|
19
|
-
# 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.
|
|
20
|
-
attr_accessor :pulp_last_updated
|
|
21
|
-
|
|
22
|
-
# Timestamp of creation.
|
|
23
|
-
attr_accessor :pulp_created
|
|
24
|
-
|
|
25
|
-
# The Pulp Resource Name (PRN).
|
|
26
|
-
attr_accessor :prn
|
|
27
|
-
|
|
28
|
-
attr_accessor :pulp_href
|
|
29
|
-
|
|
30
19
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
31
20
|
attr_accessor :name
|
|
32
21
|
|
|
33
|
-
#
|
|
34
|
-
attr_accessor :
|
|
35
|
-
|
|
36
|
-
# The Pulp Resource Name (PRN) of the associated optional content guard.
|
|
37
|
-
attr_accessor :content_guard_prn
|
|
22
|
+
# RepositoryVersion to be served
|
|
23
|
+
attr_accessor :repository_version
|
|
38
24
|
|
|
39
|
-
# The
|
|
40
|
-
attr_accessor :
|
|
25
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
26
|
+
attr_accessor :base_path
|
|
41
27
|
|
|
42
28
|
# Whether this distribution should be shown in the content app.
|
|
43
29
|
attr_accessor :hidden
|
|
44
30
|
|
|
45
31
|
attr_accessor :pulp_labels
|
|
46
32
|
|
|
33
|
+
# The Pulp Resource Name (PRN) of the associated optional content guard.
|
|
34
|
+
attr_accessor :content_guard_prn
|
|
35
|
+
|
|
36
|
+
attr_accessor :pulp_href
|
|
37
|
+
|
|
47
38
|
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
48
39
|
attr_accessor :no_content_change_since
|
|
49
40
|
|
|
50
|
-
#
|
|
51
|
-
attr_accessor :
|
|
41
|
+
# The Pulp Resource Name (PRN).
|
|
42
|
+
attr_accessor :prn
|
|
52
43
|
|
|
53
|
-
#
|
|
54
|
-
attr_accessor :
|
|
44
|
+
# An optional content-guard.
|
|
45
|
+
attr_accessor :content_guard
|
|
46
|
+
|
|
47
|
+
# 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.
|
|
48
|
+
attr_accessor :pulp_last_updated
|
|
49
|
+
|
|
50
|
+
# Timestamp of creation.
|
|
51
|
+
attr_accessor :pulp_created
|
|
52
|
+
|
|
53
|
+
# The URL for accessing the publication as defined by this distribution.
|
|
54
|
+
attr_accessor :base_url
|
|
55
55
|
|
|
56
56
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
57
57
|
def self.attribute_map
|
|
58
58
|
{
|
|
59
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
60
|
-
:'pulp_created' => :'pulp_created',
|
|
61
|
-
:'prn' => :'prn',
|
|
62
|
-
:'pulp_href' => :'pulp_href',
|
|
63
59
|
:'name' => :'name',
|
|
64
|
-
:'
|
|
65
|
-
:'
|
|
66
|
-
:'base_url' => :'base_url',
|
|
60
|
+
:'repository_version' => :'repository_version',
|
|
61
|
+
:'base_path' => :'base_path',
|
|
67
62
|
:'hidden' => :'hidden',
|
|
68
63
|
:'pulp_labels' => :'pulp_labels',
|
|
64
|
+
:'content_guard_prn' => :'content_guard_prn',
|
|
65
|
+
:'pulp_href' => :'pulp_href',
|
|
69
66
|
:'no_content_change_since' => :'no_content_change_since',
|
|
70
|
-
:'
|
|
71
|
-
:'
|
|
67
|
+
:'prn' => :'prn',
|
|
68
|
+
:'content_guard' => :'content_guard',
|
|
69
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
70
|
+
:'pulp_created' => :'pulp_created',
|
|
71
|
+
:'base_url' => :'base_url'
|
|
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
|
-
:'pulp_last_updated' => :'Time',
|
|
84
|
-
:'pulp_created' => :'Time',
|
|
85
|
-
:'prn' => :'String',
|
|
86
|
-
:'pulp_href' => :'String',
|
|
87
83
|
:'name' => :'String',
|
|
88
|
-
:'
|
|
89
|
-
:'
|
|
90
|
-
:'base_url' => :'String',
|
|
84
|
+
:'repository_version' => :'String',
|
|
85
|
+
:'base_path' => :'String',
|
|
91
86
|
:'hidden' => :'Boolean',
|
|
92
87
|
:'pulp_labels' => :'Hash<String, String>',
|
|
88
|
+
:'content_guard_prn' => :'String',
|
|
89
|
+
:'pulp_href' => :'String',
|
|
93
90
|
:'no_content_change_since' => :'String',
|
|
94
|
-
:'
|
|
95
|
-
:'
|
|
91
|
+
:'prn' => :'String',
|
|
92
|
+
:'content_guard' => :'String',
|
|
93
|
+
:'pulp_last_updated' => :'Time',
|
|
94
|
+
:'pulp_created' => :'Time',
|
|
95
|
+
:'base_url' => :'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,38 +119,20 @@ module PulpcoreClient
|
|
|
119
119
|
h[k.to_sym] = v
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
if attributes.key?(:'pulp_last_updated')
|
|
123
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
124
|
-
end
|
|
125
|
-
|
|
126
|
-
if attributes.key?(:'pulp_created')
|
|
127
|
-
self.pulp_created = attributes[:'pulp_created']
|
|
128
|
-
end
|
|
129
|
-
|
|
130
|
-
if attributes.key?(:'prn')
|
|
131
|
-
self.prn = attributes[:'prn']
|
|
132
|
-
end
|
|
133
|
-
|
|
134
|
-
if attributes.key?(:'pulp_href')
|
|
135
|
-
self.pulp_href = attributes[:'pulp_href']
|
|
136
|
-
end
|
|
137
|
-
|
|
138
122
|
if attributes.key?(:'name')
|
|
139
123
|
self.name = attributes[:'name']
|
|
140
124
|
else
|
|
141
125
|
self.name = nil
|
|
142
126
|
end
|
|
143
127
|
|
|
144
|
-
if attributes.key?(:'
|
|
145
|
-
self.
|
|
146
|
-
end
|
|
147
|
-
|
|
148
|
-
if attributes.key?(:'content_guard_prn')
|
|
149
|
-
self.content_guard_prn = attributes[:'content_guard_prn']
|
|
128
|
+
if attributes.key?(:'repository_version')
|
|
129
|
+
self.repository_version = attributes[:'repository_version']
|
|
150
130
|
end
|
|
151
131
|
|
|
152
|
-
if attributes.key?(:'
|
|
153
|
-
self.
|
|
132
|
+
if attributes.key?(:'base_path')
|
|
133
|
+
self.base_path = attributes[:'base_path']
|
|
134
|
+
else
|
|
135
|
+
self.base_path = nil
|
|
154
136
|
end
|
|
155
137
|
|
|
156
138
|
if attributes.key?(:'hidden')
|
|
@@ -165,18 +147,36 @@ module PulpcoreClient
|
|
|
165
147
|
end
|
|
166
148
|
end
|
|
167
149
|
|
|
150
|
+
if attributes.key?(:'content_guard_prn')
|
|
151
|
+
self.content_guard_prn = attributes[:'content_guard_prn']
|
|
152
|
+
end
|
|
153
|
+
|
|
154
|
+
if attributes.key?(:'pulp_href')
|
|
155
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
156
|
+
end
|
|
157
|
+
|
|
168
158
|
if attributes.key?(:'no_content_change_since')
|
|
169
159
|
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
170
160
|
end
|
|
171
161
|
|
|
172
|
-
if attributes.key?(:'
|
|
173
|
-
self.
|
|
162
|
+
if attributes.key?(:'prn')
|
|
163
|
+
self.prn = attributes[:'prn']
|
|
174
164
|
end
|
|
175
165
|
|
|
176
|
-
if attributes.key?(:'
|
|
177
|
-
self.
|
|
178
|
-
|
|
179
|
-
|
|
166
|
+
if attributes.key?(:'content_guard')
|
|
167
|
+
self.content_guard = attributes[:'content_guard']
|
|
168
|
+
end
|
|
169
|
+
|
|
170
|
+
if attributes.key?(:'pulp_last_updated')
|
|
171
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
172
|
+
end
|
|
173
|
+
|
|
174
|
+
if attributes.key?(:'pulp_created')
|
|
175
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
176
|
+
end
|
|
177
|
+
|
|
178
|
+
if attributes.key?(:'base_url')
|
|
179
|
+
self.base_url = attributes[:'base_url']
|
|
180
180
|
end
|
|
181
181
|
end
|
|
182
182
|
|
|
@@ -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
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
214
|
-
pulp_created == o.pulp_created &&
|
|
215
|
-
prn == o.prn &&
|
|
216
|
-
pulp_href == o.pulp_href &&
|
|
217
213
|
name == o.name &&
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
base_url == o.base_url &&
|
|
214
|
+
repository_version == o.repository_version &&
|
|
215
|
+
base_path == o.base_path &&
|
|
221
216
|
hidden == o.hidden &&
|
|
222
217
|
pulp_labels == o.pulp_labels &&
|
|
218
|
+
content_guard_prn == o.content_guard_prn &&
|
|
219
|
+
pulp_href == o.pulp_href &&
|
|
223
220
|
no_content_change_since == o.no_content_change_since &&
|
|
224
|
-
|
|
225
|
-
|
|
221
|
+
prn == o.prn &&
|
|
222
|
+
content_guard == o.content_guard &&
|
|
223
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
224
|
+
pulp_created == o.pulp_created &&
|
|
225
|
+
base_url == o.base_url
|
|
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
|
+
[name, repository_version, base_path, hidden, pulp_labels, content_guard_prn, pulp_href, no_content_change_since, prn, content_guard, pulp_last_updated, pulp_created, base_url].hash
|
|
238
238
|
end
|
|
239
239
|
|
|
240
240
|
# Builds the object from hash
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Pulp 3 API
|
|
3
|
+
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v3
|
|
7
|
+
Contact: pulp-list@redhat.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module PulpcoreClient
|
|
17
|
+
class UpstreamPulpReplicate
|
|
18
|
+
# Filter distributions on the upstream Pulp using complex filtering. When specified, overrides the stored q_select for this replication run only. E.g. pulp_label_select=\"foo\" OR pulp_label_select=\"key=val\"
|
|
19
|
+
attr_accessor :q_select
|
|
20
|
+
|
|
21
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
22
|
+
def self.attribute_map
|
|
23
|
+
{
|
|
24
|
+
:'q_select' => :'q_select'
|
|
25
|
+
}
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
# Returns all the JSON keys this model knows about
|
|
29
|
+
def self.acceptable_attributes
|
|
30
|
+
attribute_map.values
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
# Attribute type mapping.
|
|
34
|
+
def self.openapi_types
|
|
35
|
+
{
|
|
36
|
+
:'q_select' => :'String'
|
|
37
|
+
}
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
# List of attributes with nullable: true
|
|
41
|
+
def self.openapi_nullable
|
|
42
|
+
Set.new([
|
|
43
|
+
:'q_select'
|
|
44
|
+
])
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
# Initializes the object
|
|
48
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
49
|
+
def initialize(attributes = {})
|
|
50
|
+
if (!attributes.is_a?(Hash))
|
|
51
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpcoreClient::UpstreamPulpReplicate` initialize method"
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
55
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
56
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
|
57
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpcoreClient::UpstreamPulpReplicate`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
|
58
|
+
end
|
|
59
|
+
h[k.to_sym] = v
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
if attributes.key?(:'q_select')
|
|
63
|
+
self.q_select = attributes[:'q_select']
|
|
64
|
+
end
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
68
|
+
# @return Array for valid properties with the reasons
|
|
69
|
+
def list_invalid_properties
|
|
70
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
71
|
+
invalid_properties = Array.new
|
|
72
|
+
invalid_properties
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
# Check to see if the all the properties in the model are valid
|
|
76
|
+
# @return true if the model is valid
|
|
77
|
+
def valid?
|
|
78
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
79
|
+
true
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
# Checks equality by comparing each attribute.
|
|
83
|
+
# @param [Object] Object to be compared
|
|
84
|
+
def ==(o)
|
|
85
|
+
return true if self.equal?(o)
|
|
86
|
+
self.class == o.class &&
|
|
87
|
+
q_select == o.q_select
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
# @see the `==` method
|
|
91
|
+
# @param [Object] Object to be compared
|
|
92
|
+
def eql?(o)
|
|
93
|
+
self == o
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
# Calculates hash code according to all attributes.
|
|
97
|
+
# @return [Integer] Hash code
|
|
98
|
+
def hash
|
|
99
|
+
[q_select].hash
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
# Builds the object from hash
|
|
103
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
104
|
+
# @return [Object] Returns the model itself
|
|
105
|
+
def self.build_from_hash(attributes)
|
|
106
|
+
return nil unless attributes.is_a?(Hash)
|
|
107
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
108
|
+
transformed_hash = {}
|
|
109
|
+
openapi_types.each_pair do |key, type|
|
|
110
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
111
|
+
transformed_hash["#{key}"] = nil
|
|
112
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
113
|
+
# check to ensure the input is an array given that the attribute
|
|
114
|
+
# is documented as an array but the input is not
|
|
115
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
116
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
117
|
+
end
|
|
118
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
119
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
120
|
+
end
|
|
121
|
+
end
|
|
122
|
+
new(transformed_hash)
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
# Deserializes the data based on type
|
|
126
|
+
# @param string type Data type
|
|
127
|
+
# @param string value Value to be deserialized
|
|
128
|
+
# @return [Object] Deserialized data
|
|
129
|
+
def self._deserialize(type, value)
|
|
130
|
+
case type.to_sym
|
|
131
|
+
when :Time
|
|
132
|
+
Time.parse(value)
|
|
133
|
+
when :Date
|
|
134
|
+
Date.parse(value)
|
|
135
|
+
when :String
|
|
136
|
+
value.to_s
|
|
137
|
+
when :Integer
|
|
138
|
+
value.to_i
|
|
139
|
+
when :Float
|
|
140
|
+
value.to_f
|
|
141
|
+
when :Boolean
|
|
142
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
143
|
+
true
|
|
144
|
+
else
|
|
145
|
+
false
|
|
146
|
+
end
|
|
147
|
+
when :Object
|
|
148
|
+
# generic object (usually a Hash), return directly
|
|
149
|
+
value
|
|
150
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
151
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
152
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
153
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
154
|
+
k_type = Regexp.last_match[:k_type]
|
|
155
|
+
v_type = Regexp.last_match[:v_type]
|
|
156
|
+
{}.tap do |hash|
|
|
157
|
+
value.each do |k, v|
|
|
158
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
159
|
+
end
|
|
160
|
+
end
|
|
161
|
+
else # model
|
|
162
|
+
# models (e.g. Pet) or oneOf
|
|
163
|
+
klass = PulpcoreClient.const_get(type)
|
|
164
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
165
|
+
end
|
|
166
|
+
end
|
|
167
|
+
|
|
168
|
+
# Returns the string representation of the object
|
|
169
|
+
# @return [String] String presentation of the object
|
|
170
|
+
def to_s
|
|
171
|
+
to_hash.to_s
|
|
172
|
+
end
|
|
173
|
+
|
|
174
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
175
|
+
# @return [Hash] Returns the object in the form of hash
|
|
176
|
+
def to_body
|
|
177
|
+
to_hash
|
|
178
|
+
end
|
|
179
|
+
|
|
180
|
+
# Returns the object in the form of hash
|
|
181
|
+
# @return [Hash] Returns the object in the form of hash
|
|
182
|
+
def to_hash
|
|
183
|
+
hash = {}
|
|
184
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
185
|
+
value = self.send(attr)
|
|
186
|
+
if value.nil?
|
|
187
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
188
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
189
|
+
end
|
|
190
|
+
|
|
191
|
+
hash[param] = _to_hash(value)
|
|
192
|
+
end
|
|
193
|
+
hash
|
|
194
|
+
end
|
|
195
|
+
|
|
196
|
+
# Outputs non-array value in the form of hash
|
|
197
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
198
|
+
# @param [Object] value Any valid value
|
|
199
|
+
# @return [Hash] Returns the value in the form of hash
|
|
200
|
+
def _to_hash(value)
|
|
201
|
+
if value.is_a?(Array)
|
|
202
|
+
value.compact.map { |v| _to_hash(v) }
|
|
203
|
+
elsif value.is_a?(Hash)
|
|
204
|
+
{}.tap do |hash|
|
|
205
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
206
|
+
end
|
|
207
|
+
elsif value.respond_to? :to_hash
|
|
208
|
+
value.to_hash
|
|
209
|
+
else
|
|
210
|
+
value
|
|
211
|
+
end
|
|
212
|
+
end
|
|
213
|
+
|
|
214
|
+
end
|
|
215
|
+
|
|
216
|
+
end
|
data/lib/pulpcore_client.rb
CHANGED
|
@@ -186,6 +186,7 @@ require 'pulpcore_client/models/upload_commit'
|
|
|
186
186
|
require 'pulpcore_client/models/upload_detail_response'
|
|
187
187
|
require 'pulpcore_client/models/upload_response'
|
|
188
188
|
require 'pulpcore_client/models/upstream_pulp'
|
|
189
|
+
require 'pulpcore_client/models/upstream_pulp_replicate'
|
|
189
190
|
require 'pulpcore_client/models/upstream_pulp_response'
|
|
190
191
|
require 'pulpcore_client/models/user'
|
|
191
192
|
require 'pulpcore_client/models/user_group'
|
|
@@ -195,6 +195,7 @@ describe 'UpstreamPulpsApi' do
|
|
|
195
195
|
# Replicate
|
|
196
196
|
# Trigger an asynchronous repository replication task group. This API is provided as a tech preview.
|
|
197
197
|
# @param upstream_pulp_href
|
|
198
|
+
# @param upstream_pulp_replicate
|
|
198
199
|
# @param [Hash] opts the optional parameters
|
|
199
200
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
200
201
|
# @return [TaskGroupOperationResponse]
|
|
@@ -27,79 +27,79 @@ describe PulpcoreClient::ArtifactDistributionResponse do
|
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
describe 'test attribute "
|
|
30
|
+
describe 'test attribute "name"' 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 "repository_version"' 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 "base_path"' 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 "hidden"' 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
|
|
52
52
|
end
|
|
53
53
|
|
|
54
|
-
describe 'test attribute "
|
|
54
|
+
describe 'test attribute "pulp_labels"' do
|
|
55
55
|
it 'should work' do
|
|
56
56
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
57
|
end
|
|
58
58
|
end
|
|
59
59
|
|
|
60
|
-
describe 'test attribute "
|
|
60
|
+
describe 'test attribute "content_guard_prn"' do
|
|
61
61
|
it 'should work' do
|
|
62
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
63
|
end
|
|
64
64
|
end
|
|
65
65
|
|
|
66
|
-
describe 'test attribute "
|
|
66
|
+
describe 'test attribute "pulp_href"' 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 "no_content_change_since"' 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 "prn"' 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"' 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 "pulp_last_updated"' 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 "pulp_created"' 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 "base_url"' 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
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Pulp 3 API
|
|
3
|
+
|
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: v3
|
|
7
|
+
Contact: pulp-list@redhat.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.10.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for PulpcoreClient::UpstreamPulpReplicate
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe PulpcoreClient::UpstreamPulpReplicate do
|
|
21
|
+
let(:instance) { PulpcoreClient::UpstreamPulpReplicate.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of UpstreamPulpReplicate' do
|
|
24
|
+
it 'should create an instance of UpstreamPulpReplicate' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(PulpcoreClient::UpstreamPulpReplicate)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "q_select"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pulpcore_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.113.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
@@ -304,6 +304,7 @@ files:
|
|
|
304
304
|
- docs/UploadResponse.md
|
|
305
305
|
- docs/UploadsApi.md
|
|
306
306
|
- docs/UpstreamPulp.md
|
|
307
|
+
- docs/UpstreamPulpReplicate.md
|
|
307
308
|
- docs/UpstreamPulpResponse.md
|
|
308
309
|
- docs/UpstreamPulpsApi.md
|
|
309
310
|
- docs/User.md
|
|
@@ -544,6 +545,7 @@ files:
|
|
|
544
545
|
- lib/pulpcore_client/models/upload_detail_response.rb
|
|
545
546
|
- lib/pulpcore_client/models/upload_response.rb
|
|
546
547
|
- lib/pulpcore_client/models/upstream_pulp.rb
|
|
548
|
+
- lib/pulpcore_client/models/upstream_pulp_replicate.rb
|
|
547
549
|
- lib/pulpcore_client/models/upstream_pulp_response.rb
|
|
548
550
|
- lib/pulpcore_client/models/user.rb
|
|
549
551
|
- lib/pulpcore_client/models/user_group.rb
|
|
@@ -776,6 +778,7 @@ files:
|
|
|
776
778
|
- spec/models/upload_detail_response_spec.rb
|
|
777
779
|
- spec/models/upload_response_spec.rb
|
|
778
780
|
- spec/models/upload_spec.rb
|
|
781
|
+
- spec/models/upstream_pulp_replicate_spec.rb
|
|
779
782
|
- spec/models/upstream_pulp_response_spec.rb
|
|
780
783
|
- spec/models/upstream_pulp_spec.rb
|
|
781
784
|
- spec/models/user_group_response_spec.rb
|
|
@@ -867,6 +870,7 @@ test_files:
|
|
|
867
870
|
- spec/models/progress_report_response_spec.rb
|
|
868
871
|
- spec/models/open_pgp_distribution_spec.rb
|
|
869
872
|
- spec/models/paginated_generic_remote_response_list_spec.rb
|
|
873
|
+
- spec/models/upstream_pulp_replicate_spec.rb
|
|
870
874
|
- spec/models/nested_open_pgp_signature_response_spec.rb
|
|
871
875
|
- spec/models/unset_label_response_spec.rb
|
|
872
876
|
- spec/models/set_label_spec.rb
|