pulpcore_client 3.112.0 → 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/Purge.md +1 -1
- 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/purge.rb +1 -1
- 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 +202 -198
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_href** | **String** | | [optional][readonly] |
|
|
8
|
-
| **content_guard** | **String** | An optional content-guard. | [optional] |
|
|
9
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
10
|
-
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
|
11
7
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
|
12
|
-
| **
|
|
13
|
-
| **
|
|
14
|
-
| **
|
|
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\") | |
|
|
10
|
+
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
|
11
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
15
12
|
| **content_guard_prn** | **String** | The Pulp Resource Name (PRN) of the associated optional content guard. | [optional][readonly] |
|
|
13
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
|
16
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] |
|
|
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] |
|
|
17
18
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
|
18
|
-
| **
|
|
19
|
-
| **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\") | |
|
|
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_href: null,
|
|
28
|
-
content_guard: null,
|
|
29
|
-
pulp_labels: null,
|
|
30
|
-
repository_version: null,
|
|
31
27
|
name: null,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
28
|
+
repository_version: null,
|
|
29
|
+
base_path: null,
|
|
30
|
+
hidden: null,
|
|
31
|
+
pulp_labels: null,
|
|
35
32
|
content_guard_prn: null,
|
|
33
|
+
pulp_href: null,
|
|
36
34
|
no_content_change_since: null,
|
|
35
|
+
prn: null,
|
|
36
|
+
content_guard: null,
|
|
37
|
+
pulp_last_updated: null,
|
|
37
38
|
pulp_created: null,
|
|
38
|
-
|
|
39
|
-
base_path: null
|
|
39
|
+
base_url: 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-04
|
|
7
|
+
| **finished_before** | **Time** | Purge tasks completed earlier than this timestamp. Format '%Y-%m-%d[T%H:%M:%S]' | [optional][default to '2026-05-04'] |
|
|
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
|
|
@@ -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
|
-
|
|
20
|
-
|
|
21
|
-
# An optional content-guard.
|
|
22
|
-
attr_accessor :content_guard
|
|
23
|
-
|
|
24
|
-
attr_accessor :pulp_labels
|
|
19
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
20
|
+
attr_accessor :name
|
|
25
21
|
|
|
26
22
|
# RepositoryVersion to be served
|
|
27
23
|
attr_accessor :repository_version
|
|
28
24
|
|
|
29
|
-
#
|
|
30
|
-
attr_accessor :
|
|
31
|
-
|
|
32
|
-
# The Pulp Resource Name (PRN).
|
|
33
|
-
attr_accessor :prn
|
|
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
|
|
34
27
|
|
|
35
|
-
#
|
|
36
|
-
attr_accessor :
|
|
28
|
+
# Whether this distribution should be shown in the content app.
|
|
29
|
+
attr_accessor :hidden
|
|
37
30
|
|
|
38
|
-
|
|
39
|
-
attr_accessor :base_url
|
|
31
|
+
attr_accessor :pulp_labels
|
|
40
32
|
|
|
41
33
|
# The Pulp Resource Name (PRN) of the associated optional content guard.
|
|
42
34
|
attr_accessor :content_guard_prn
|
|
43
35
|
|
|
36
|
+
attr_accessor :pulp_href
|
|
37
|
+
|
|
44
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.
|
|
45
39
|
attr_accessor :no_content_change_since
|
|
46
40
|
|
|
41
|
+
# The Pulp Resource Name (PRN).
|
|
42
|
+
attr_accessor :prn
|
|
43
|
+
|
|
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
|
+
|
|
47
50
|
# Timestamp of creation.
|
|
48
51
|
attr_accessor :pulp_created
|
|
49
52
|
|
|
50
|
-
#
|
|
51
|
-
attr_accessor :
|
|
52
|
-
|
|
53
|
-
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
54
|
-
attr_accessor :base_path
|
|
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_href' => :'pulp_href',
|
|
60
|
-
:'content_guard' => :'content_guard',
|
|
61
|
-
:'pulp_labels' => :'pulp_labels',
|
|
62
|
-
:'repository_version' => :'repository_version',
|
|
63
59
|
:'name' => :'name',
|
|
64
|
-
:'
|
|
65
|
-
:'
|
|
66
|
-
:'
|
|
60
|
+
:'repository_version' => :'repository_version',
|
|
61
|
+
:'base_path' => :'base_path',
|
|
62
|
+
:'hidden' => :'hidden',
|
|
63
|
+
:'pulp_labels' => :'pulp_labels',
|
|
67
64
|
:'content_guard_prn' => :'content_guard_prn',
|
|
65
|
+
:'pulp_href' => :'pulp_href',
|
|
68
66
|
:'no_content_change_since' => :'no_content_change_since',
|
|
67
|
+
:'prn' => :'prn',
|
|
68
|
+
:'content_guard' => :'content_guard',
|
|
69
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
69
70
|
:'pulp_created' => :'pulp_created',
|
|
70
|
-
:'
|
|
71
|
-
:'base_path' => :'base_path'
|
|
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_href' => :'String',
|
|
84
|
-
:'content_guard' => :'String',
|
|
85
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
86
|
-
:'repository_version' => :'String',
|
|
87
83
|
:'name' => :'String',
|
|
88
|
-
:'
|
|
89
|
-
:'
|
|
90
|
-
:'
|
|
84
|
+
:'repository_version' => :'String',
|
|
85
|
+
:'base_path' => :'String',
|
|
86
|
+
:'hidden' => :'Boolean',
|
|
87
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
91
88
|
:'content_guard_prn' => :'String',
|
|
89
|
+
:'pulp_href' => :'String',
|
|
92
90
|
:'no_content_change_since' => :'String',
|
|
91
|
+
:'prn' => :'String',
|
|
92
|
+
:'content_guard' => :'String',
|
|
93
|
+
:'pulp_last_updated' => :'Time',
|
|
93
94
|
:'pulp_created' => :'Time',
|
|
94
|
-
:'
|
|
95
|
-
:'base_path' => :'String'
|
|
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,12 +119,26 @@ module PulpcoreClient
|
|
|
119
119
|
h[k.to_sym] = v
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
if attributes.key?(:'
|
|
123
|
-
self.
|
|
122
|
+
if attributes.key?(:'name')
|
|
123
|
+
self.name = attributes[:'name']
|
|
124
|
+
else
|
|
125
|
+
self.name = nil
|
|
124
126
|
end
|
|
125
127
|
|
|
126
|
-
if attributes.key?(:'
|
|
127
|
-
self.
|
|
128
|
+
if attributes.key?(:'repository_version')
|
|
129
|
+
self.repository_version = attributes[:'repository_version']
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
if attributes.key?(:'base_path')
|
|
133
|
+
self.base_path = attributes[:'base_path']
|
|
134
|
+
else
|
|
135
|
+
self.base_path = nil
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
if attributes.key?(:'hidden')
|
|
139
|
+
self.hidden = attributes[:'hidden']
|
|
140
|
+
else
|
|
141
|
+
self.hidden = false
|
|
128
142
|
end
|
|
129
143
|
|
|
130
144
|
if attributes.key?(:'pulp_labels')
|
|
@@ -133,50 +147,36 @@ module PulpcoreClient
|
|
|
133
147
|
end
|
|
134
148
|
end
|
|
135
149
|
|
|
136
|
-
if attributes.key?(:'
|
|
137
|
-
self.
|
|
138
|
-
end
|
|
139
|
-
|
|
140
|
-
if attributes.key?(:'name')
|
|
141
|
-
self.name = attributes[:'name']
|
|
142
|
-
else
|
|
143
|
-
self.name = nil
|
|
150
|
+
if attributes.key?(:'content_guard_prn')
|
|
151
|
+
self.content_guard_prn = attributes[:'content_guard_prn']
|
|
144
152
|
end
|
|
145
153
|
|
|
146
|
-
if attributes.key?(:'
|
|
147
|
-
self.
|
|
154
|
+
if attributes.key?(:'pulp_href')
|
|
155
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
148
156
|
end
|
|
149
157
|
|
|
150
|
-
if attributes.key?(:'
|
|
151
|
-
self.
|
|
158
|
+
if attributes.key?(:'no_content_change_since')
|
|
159
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
152
160
|
end
|
|
153
161
|
|
|
154
|
-
if attributes.key?(:'
|
|
155
|
-
self.
|
|
162
|
+
if attributes.key?(:'prn')
|
|
163
|
+
self.prn = attributes[:'prn']
|
|
156
164
|
end
|
|
157
165
|
|
|
158
|
-
if attributes.key?(:'
|
|
159
|
-
self.
|
|
166
|
+
if attributes.key?(:'content_guard')
|
|
167
|
+
self.content_guard = attributes[:'content_guard']
|
|
160
168
|
end
|
|
161
169
|
|
|
162
|
-
if attributes.key?(:'
|
|
163
|
-
self.
|
|
170
|
+
if attributes.key?(:'pulp_last_updated')
|
|
171
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
164
172
|
end
|
|
165
173
|
|
|
166
174
|
if attributes.key?(:'pulp_created')
|
|
167
175
|
self.pulp_created = attributes[:'pulp_created']
|
|
168
176
|
end
|
|
169
177
|
|
|
170
|
-
if attributes.key?(:'
|
|
171
|
-
self.
|
|
172
|
-
else
|
|
173
|
-
self.hidden = false
|
|
174
|
-
end
|
|
175
|
-
|
|
176
|
-
if attributes.key?(:'base_path')
|
|
177
|
-
self.base_path = attributes[:'base_path']
|
|
178
|
-
else
|
|
179
|
-
self.base_path = nil
|
|
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_href == o.pulp_href &&
|
|
214
|
-
content_guard == o.content_guard &&
|
|
215
|
-
pulp_labels == o.pulp_labels &&
|
|
216
|
-
repository_version == o.repository_version &&
|
|
217
213
|
name == o.name &&
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
214
|
+
repository_version == o.repository_version &&
|
|
215
|
+
base_path == o.base_path &&
|
|
216
|
+
hidden == o.hidden &&
|
|
217
|
+
pulp_labels == o.pulp_labels &&
|
|
221
218
|
content_guard_prn == o.content_guard_prn &&
|
|
219
|
+
pulp_href == o.pulp_href &&
|
|
222
220
|
no_content_change_since == o.no_content_change_since &&
|
|
221
|
+
prn == o.prn &&
|
|
222
|
+
content_guard == o.content_guard &&
|
|
223
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
223
224
|
pulp_created == o.pulp_created &&
|
|
224
|
-
|
|
225
|
-
base_path == o.base_path
|
|
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
|