pulpcore_client 3.49.13 → 3.49.15
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 -5
- data/docs/AccessPoliciesApi.md +1 -1
- data/docs/ArtifactDistributionResponse.md +11 -11
- data/docs/ArtifactsApi.md +1 -1
- data/docs/ContentApi.md +1 -1
- data/docs/ContentguardsApi.md +1 -1
- data/docs/ContentguardsCompositeApi.md +1 -1
- data/docs/ContentguardsContentRedirectApi.md +1 -1
- data/docs/ContentguardsHeaderApi.md +1 -1
- data/docs/ContentguardsRbacApi.md +1 -1
- data/docs/DistributionsApi.md +1 -1
- data/docs/DistributionsArtifactsApi.md +1 -1
- data/docs/DomainsApi.md +1 -1
- data/docs/ExportersFilesystemApi.md +1 -1
- data/docs/ExportersFilesystemExportsApi.md +1 -1
- data/docs/ExportersPulpApi.md +1 -1
- data/docs/ExportersPulpExportsApi.md +1 -1
- data/docs/GroupsApi.md +1 -1
- data/docs/GroupsRolesApi.md +1 -1
- data/docs/GroupsUsersApi.md +1 -1
- data/docs/ImportersPulpApi.md +1 -1
- data/docs/ImportersPulpImportCheckApi.md +1 -1
- data/docs/ImportersPulpImportsApi.md +1 -1
- data/docs/OrphansApi.md +1 -1
- data/docs/OrphansCleanupApi.md +1 -1
- data/docs/PublicationsApi.md +1 -1
- data/docs/RemotesApi.md +1 -1
- data/docs/RepairApi.md +1 -1
- data/docs/RepositoriesApi.md +1 -1
- data/docs/RepositoriesReclaimSpaceApi.md +1 -1
- data/docs/RepositoryVersionsApi.md +1 -1
- data/docs/RolesApi.md +1 -1
- data/docs/SigningServicesApi.md +1 -1
- data/docs/StatusApi.md +1 -1
- data/docs/TaskGroupsApi.md +1 -1
- data/docs/TaskSchedulesApi.md +1 -1
- data/docs/TasksApi.md +1 -1
- data/docs/UploadsApi.md +1 -1
- data/docs/UpstreamPulpsApi.md +1 -1
- data/docs/UsersApi.md +1 -1
- data/docs/UsersRolesApi.md +1 -1
- data/docs/WorkersApi.md +1 -1
- data/lib/pulpcore_client/configuration.rb +2 -2
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +46 -46
- data/lib/pulpcore_client/models/remote_response.rb +20 -20
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_distribution_response_spec.rb +8 -8
- metadata +166 -166
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 177550b876fca7fe14b6c5a8b7c76cf0f4d442f19320bd4dcd5e3871e15f90b8
|
|
4
|
+
data.tar.gz: 135bf22b80d73760560dbab6c671a07bb42544e0e697ae5b769129380b483831
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: febe0b1546a85e77c60a7b2db9771905c4acbcd9efe93ae6b6be03f7d462ed6a1c5e4a3b204444ba7e1d22c2915608946702143f007597d959535052e603007d
|
|
7
|
+
data.tar.gz: a7b08f6584f52bb9ea7c1ba415e4ff4dea7a62fa944bba4dc9d4c34417ea85abffa75999c2597d5fcbc76c450fb7824e1d91ac7bd93af8e002fe4d5df445dab9
|
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.49.
|
|
10
|
+
- Package version: 3.49.15
|
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
13
13
|
|
|
@@ -24,16 +24,16 @@ gem build pulpcore_client.gemspec
|
|
|
24
24
|
Then either install the gem locally:
|
|
25
25
|
|
|
26
26
|
```shell
|
|
27
|
-
gem install ./pulpcore_client-3.49.
|
|
27
|
+
gem install ./pulpcore_client-3.49.15.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./pulpcore_client-3.49.
|
|
30
|
+
(for development, run `gem install --dev ./pulpcore_client-3.49.15.gem` to install the development dependencies)
|
|
31
31
|
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
33
33
|
|
|
34
34
|
Finally add this to the Gemfile:
|
|
35
35
|
|
|
36
|
-
gem 'pulpcore_client', '~> 3.49.
|
|
36
|
+
gem 'pulpcore_client', '~> 3.49.15'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -98,7 +98,7 @@ end
|
|
|
98
98
|
|
|
99
99
|
## Documentation for API Endpoints
|
|
100
100
|
|
|
101
|
-
All URIs are relative to *http://
|
|
101
|
+
All URIs are relative to *http://localhost:24817*
|
|
102
102
|
|
|
103
103
|
Class | Method | HTTP request | Description
|
|
104
104
|
------------ | ------------- | ------------- | -------------
|
data/docs/AccessPoliciesApi.md
CHANGED
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
8
|
-
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
9
|
-
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
|
10
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
|
11
|
-
**
|
|
8
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
12
9
|
**pulp_last_updated** | **DateTime** | 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]
|
|
10
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
11
|
+
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
|
12
|
+
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
13
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
|
13
14
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
|
14
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. |
|
|
15
15
|
**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\") |
|
|
16
16
|
|
|
17
17
|
## Code Sample
|
|
@@ -19,14 +19,14 @@ Name | Type | Description | Notes
|
|
|
19
19
|
```ruby
|
|
20
20
|
require 'PulpcoreClient'
|
|
21
21
|
|
|
22
|
-
instance = PulpcoreClient::ArtifactDistributionResponse.new(
|
|
23
|
-
|
|
24
|
-
base_url: null,
|
|
25
|
-
pulp_href: null,
|
|
26
|
-
pulp_labels: null,
|
|
22
|
+
instance = PulpcoreClient::ArtifactDistributionResponse.new(pulp_href: null,
|
|
23
|
+
name: null,
|
|
27
24
|
pulp_last_updated: null,
|
|
25
|
+
pulp_labels: null,
|
|
26
|
+
base_url: null,
|
|
27
|
+
hidden: null,
|
|
28
|
+
pulp_created: null,
|
|
28
29
|
content_guard: null,
|
|
29
|
-
name: null,
|
|
30
30
|
base_path: null)
|
|
31
31
|
```
|
|
32
32
|
|
data/docs/ArtifactsApi.md
CHANGED
data/docs/ContentApi.md
CHANGED
data/docs/ContentguardsApi.md
CHANGED
data/docs/DistributionsApi.md
CHANGED
data/docs/DomainsApi.md
CHANGED
data/docs/ExportersPulpApi.md
CHANGED
data/docs/GroupsApi.md
CHANGED
data/docs/GroupsRolesApi.md
CHANGED
data/docs/GroupsUsersApi.md
CHANGED
data/docs/ImportersPulpApi.md
CHANGED
data/docs/OrphansApi.md
CHANGED
data/docs/OrphansCleanupApi.md
CHANGED
data/docs/PublicationsApi.md
CHANGED
data/docs/RemotesApi.md
CHANGED
data/docs/RepairApi.md
CHANGED
data/docs/RepositoriesApi.md
CHANGED
data/docs/RolesApi.md
CHANGED
data/docs/SigningServicesApi.md
CHANGED
data/docs/StatusApi.md
CHANGED
data/docs/TaskGroupsApi.md
CHANGED
data/docs/TaskSchedulesApi.md
CHANGED
data/docs/TasksApi.md
CHANGED
data/docs/UploadsApi.md
CHANGED
data/docs/UpstreamPulpsApi.md
CHANGED
data/docs/UsersApi.md
CHANGED
data/docs/UsersRolesApi.md
CHANGED
data/docs/WorkersApi.md
CHANGED
|
@@ -128,7 +128,7 @@ module PulpcoreClient
|
|
|
128
128
|
|
|
129
129
|
def initialize
|
|
130
130
|
@scheme = 'http'
|
|
131
|
-
@host = '
|
|
131
|
+
@host = 'localhost'
|
|
132
132
|
@base_path = ''
|
|
133
133
|
@api_key = {}
|
|
134
134
|
@api_key_prefix = {}
|
|
@@ -210,7 +210,7 @@ module PulpcoreClient
|
|
|
210
210
|
def server_settings
|
|
211
211
|
[
|
|
212
212
|
{
|
|
213
|
-
url: "http://
|
|
213
|
+
url: "http://localhost:24817/",
|
|
214
214
|
description: "No description provided",
|
|
215
215
|
}
|
|
216
216
|
]
|
|
@@ -15,42 +15,42 @@ require 'date'
|
|
|
15
15
|
module PulpcoreClient
|
|
16
16
|
# A serializer for ArtifactDistribution.
|
|
17
17
|
class ArtifactDistributionResponse
|
|
18
|
-
|
|
19
|
-
attr_accessor :pulp_created
|
|
18
|
+
attr_accessor :pulp_href
|
|
20
19
|
|
|
21
|
-
#
|
|
22
|
-
attr_accessor :
|
|
20
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
21
|
+
attr_accessor :name
|
|
22
|
+
|
|
23
|
+
# 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.
|
|
24
|
+
attr_accessor :pulp_last_updated
|
|
25
|
+
|
|
26
|
+
attr_accessor :pulp_labels
|
|
23
27
|
|
|
24
28
|
# The URL for accessing the publication as defined by this distribution.
|
|
25
29
|
attr_accessor :base_url
|
|
26
30
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
attr_accessor :pulp_labels
|
|
31
|
+
# Whether this distribution should be shown in the content app.
|
|
32
|
+
attr_accessor :hidden
|
|
30
33
|
|
|
31
|
-
# Timestamp of
|
|
32
|
-
attr_accessor :
|
|
34
|
+
# Timestamp of creation.
|
|
35
|
+
attr_accessor :pulp_created
|
|
33
36
|
|
|
34
37
|
# An optional content-guard.
|
|
35
38
|
attr_accessor :content_guard
|
|
36
39
|
|
|
37
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
|
38
|
-
attr_accessor :name
|
|
39
|
-
|
|
40
40
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
41
41
|
attr_accessor :base_path
|
|
42
42
|
|
|
43
43
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
44
44
|
def self.attribute_map
|
|
45
45
|
{
|
|
46
|
-
:'pulp_created' => :'pulp_created',
|
|
47
|
-
:'hidden' => :'hidden',
|
|
48
|
-
:'base_url' => :'base_url',
|
|
49
46
|
:'pulp_href' => :'pulp_href',
|
|
50
|
-
:'
|
|
47
|
+
:'name' => :'name',
|
|
51
48
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
49
|
+
:'pulp_labels' => :'pulp_labels',
|
|
50
|
+
:'base_url' => :'base_url',
|
|
51
|
+
:'hidden' => :'hidden',
|
|
52
|
+
:'pulp_created' => :'pulp_created',
|
|
52
53
|
:'content_guard' => :'content_guard',
|
|
53
|
-
:'name' => :'name',
|
|
54
54
|
:'base_path' => :'base_path'
|
|
55
55
|
}
|
|
56
56
|
end
|
|
@@ -58,14 +58,14 @@ module PulpcoreClient
|
|
|
58
58
|
# Attribute type mapping.
|
|
59
59
|
def self.openapi_types
|
|
60
60
|
{
|
|
61
|
-
:'pulp_created' => :'DateTime',
|
|
62
|
-
:'hidden' => :'Boolean',
|
|
63
|
-
:'base_url' => :'String',
|
|
64
61
|
:'pulp_href' => :'String',
|
|
65
|
-
:'
|
|
62
|
+
:'name' => :'String',
|
|
66
63
|
:'pulp_last_updated' => :'DateTime',
|
|
64
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
65
|
+
:'base_url' => :'String',
|
|
66
|
+
:'hidden' => :'Boolean',
|
|
67
|
+
:'pulp_created' => :'DateTime',
|
|
67
68
|
:'content_guard' => :'String',
|
|
68
|
-
:'name' => :'String',
|
|
69
69
|
:'base_path' => :'String'
|
|
70
70
|
}
|
|
71
71
|
end
|
|
@@ -92,22 +92,16 @@ module PulpcoreClient
|
|
|
92
92
|
h[k.to_sym] = v
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
if attributes.key?(:'
|
|
96
|
-
self.
|
|
97
|
-
end
|
|
98
|
-
|
|
99
|
-
if attributes.key?(:'hidden')
|
|
100
|
-
self.hidden = attributes[:'hidden']
|
|
101
|
-
else
|
|
102
|
-
self.hidden = false
|
|
95
|
+
if attributes.key?(:'pulp_href')
|
|
96
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
103
97
|
end
|
|
104
98
|
|
|
105
|
-
if attributes.key?(:'
|
|
106
|
-
self.
|
|
99
|
+
if attributes.key?(:'name')
|
|
100
|
+
self.name = attributes[:'name']
|
|
107
101
|
end
|
|
108
102
|
|
|
109
|
-
if attributes.key?(:'
|
|
110
|
-
self.
|
|
103
|
+
if attributes.key?(:'pulp_last_updated')
|
|
104
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
111
105
|
end
|
|
112
106
|
|
|
113
107
|
if attributes.key?(:'pulp_labels')
|
|
@@ -116,16 +110,22 @@ module PulpcoreClient
|
|
|
116
110
|
end
|
|
117
111
|
end
|
|
118
112
|
|
|
119
|
-
if attributes.key?(:'
|
|
120
|
-
self.
|
|
113
|
+
if attributes.key?(:'base_url')
|
|
114
|
+
self.base_url = attributes[:'base_url']
|
|
121
115
|
end
|
|
122
116
|
|
|
123
|
-
if attributes.key?(:'
|
|
124
|
-
self.
|
|
117
|
+
if attributes.key?(:'hidden')
|
|
118
|
+
self.hidden = attributes[:'hidden']
|
|
119
|
+
else
|
|
120
|
+
self.hidden = false
|
|
125
121
|
end
|
|
126
122
|
|
|
127
|
-
if attributes.key?(:'
|
|
128
|
-
self.
|
|
123
|
+
if attributes.key?(:'pulp_created')
|
|
124
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
if attributes.key?(:'content_guard')
|
|
128
|
+
self.content_guard = attributes[:'content_guard']
|
|
129
129
|
end
|
|
130
130
|
|
|
131
131
|
if attributes.key?(:'base_path')
|
|
@@ -161,14 +161,14 @@ module PulpcoreClient
|
|
|
161
161
|
def ==(o)
|
|
162
162
|
return true if self.equal?(o)
|
|
163
163
|
self.class == o.class &&
|
|
164
|
-
pulp_created == o.pulp_created &&
|
|
165
|
-
hidden == o.hidden &&
|
|
166
|
-
base_url == o.base_url &&
|
|
167
164
|
pulp_href == o.pulp_href &&
|
|
168
|
-
|
|
165
|
+
name == o.name &&
|
|
169
166
|
pulp_last_updated == o.pulp_last_updated &&
|
|
167
|
+
pulp_labels == o.pulp_labels &&
|
|
168
|
+
base_url == o.base_url &&
|
|
169
|
+
hidden == o.hidden &&
|
|
170
|
+
pulp_created == o.pulp_created &&
|
|
170
171
|
content_guard == o.content_guard &&
|
|
171
|
-
name == o.name &&
|
|
172
172
|
base_path == o.base_path
|
|
173
173
|
end
|
|
174
174
|
|
|
@@ -181,7 +181,7 @@ module PulpcoreClient
|
|
|
181
181
|
# Calculates hash code according to all attributes.
|
|
182
182
|
# @return [Integer] Hash code
|
|
183
183
|
def hash
|
|
184
|
-
[
|
|
184
|
+
[pulp_href, name, pulp_last_updated, pulp_labels, base_url, hidden, pulp_created, content_guard, base_path].hash
|
|
185
185
|
end
|
|
186
186
|
|
|
187
187
|
# Builds the object from hash
|