pulp_file_client 3.46.0 → 3.48.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/FileFileAlternateContentSourceResponse.md +2 -0
- data/docs/FileFileContentResponse.md +2 -0
- data/docs/FileFileDistributionResponse.md +2 -0
- data/docs/FileFilePublicationResponse.md +2 -0
- data/docs/FileFileRemoteResponse.md +2 -2
- data/docs/FileFileRemoteResponseHiddenFields.md +2 -2
- data/docs/FileFileRepositoryResponse.md +2 -0
- data/docs/RepositoryVersionResponse.md +2 -0
- data/lib/pulp_file_client/models/file_file_alternate_content_source_response.rb +11 -1
- data/lib/pulp_file_client/models/file_file_content_response.rb +11 -1
- data/lib/pulp_file_client/models/file_file_distribution_response.rb +11 -1
- data/lib/pulp_file_client/models/file_file_publication_response.rb +11 -1
- data/lib/pulp_file_client/models/file_file_remote_response.rb +11 -11
- data/lib/pulp_file_client/models/file_file_remote_response_hidden_fields.rb +10 -0
- data/lib/pulp_file_client/models/file_file_repository_response.rb +11 -1
- data/lib/pulp_file_client/models/repository_version_response.rb +11 -1
- data/lib/pulp_file_client/version.rb +1 -1
- data/spec/models/file_file_alternate_content_source_response_spec.rb +6 -0
- data/spec/models/file_file_content_response_spec.rb +6 -0
- data/spec/models/file_file_distribution_response_spec.rb +6 -0
- data/spec/models/file_file_publication_response_spec.rb +6 -0
- data/spec/models/file_file_remote_response_spec.rb +6 -6
- data/spec/models/file_file_repository_response_spec.rb +6 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f2d9e06aa1c1a79efe162340d4fe1e1dd08e4efb247d84d9bcaf3cc72f68cac6
|
4
|
+
data.tar.gz: f30fb22c139ad838fbb2915be3fa222e71bb60dbea51529438fc215761394a65
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ecda966a974b19f79eaacbb504f1e05277468f9a4585e7ac2a61bb05f81d07f4dc3e06218844643d17bba8cfd85d0718f71120fc6f13fffed0e21b44ecb7f555
|
7
|
+
data.tar.gz: a8e7ae8dc9c6541cad3507cd03186dcbb576709ddf9d0ada2046c2157ac6f20b969e025db36c01b7e7140afcd62b02d0d237e8727f1f8931c7ce2830b20d6dd0
|
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.48.0
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build pulp_file_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./pulp_file_client-3.
|
27
|
+
gem install ./pulp_file_client-3.48.0.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./pulp_file_client-3.
|
30
|
+
(for development, run `gem install --dev ./pulp_file_client-3.48.0.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'pulp_file_client', '~> 3.
|
36
|
+
gem 'pulp_file_client', '~> 3.48.0'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
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]
|
9
10
|
**name** | **String** | Name of Alternate Content Source. |
|
10
11
|
**last_refreshed** | **DateTime** | Date of last refresh of AlternateContentSource. | [optional]
|
11
12
|
**paths** | **Array<String>** | List of paths that will be appended to the Remote url when searching for content. | [optional]
|
@@ -18,6 +19,7 @@ require 'PulpFileClient'
|
|
18
19
|
|
19
20
|
instance = PulpFileClient::FileFileAlternateContentSourceResponse.new(pulp_href: null,
|
20
21
|
pulp_created: null,
|
22
|
+
pulp_last_updated: null,
|
21
23
|
name: null,
|
22
24
|
last_refreshed: null,
|
23
25
|
paths: null,
|
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
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]
|
9
10
|
**artifact** | **String** | Artifact file representing the physical content | [optional]
|
10
11
|
**relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
|
11
12
|
**md5** | **String** | The MD5 checksum if available. | [optional] [readonly]
|
@@ -22,6 +23,7 @@ require 'PulpFileClient'
|
|
22
23
|
|
23
24
|
instance = PulpFileClient::FileFileContentResponse.new(pulp_href: null,
|
24
25
|
pulp_created: null,
|
26
|
+
pulp_last_updated: null,
|
25
27
|
artifact: null,
|
26
28
|
relative_path: null,
|
27
29
|
md5: null,
|
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
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]
|
9
10
|
**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
11
|
**base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional] [readonly]
|
11
12
|
**content_guard** | **String** | An optional content-guard. | [optional]
|
@@ -22,6 +23,7 @@ require 'PulpFileClient'
|
|
22
23
|
|
23
24
|
instance = PulpFileClient::FileFileDistributionResponse.new(pulp_href: null,
|
24
25
|
pulp_created: null,
|
26
|
+
pulp_last_updated: null,
|
25
27
|
base_path: null,
|
26
28
|
base_url: null,
|
27
29
|
content_guard: null,
|
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
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]
|
9
10
|
**repository_version** | **String** | | [optional]
|
10
11
|
**repository** | **String** | A URI of the repository to be published. | [optional]
|
11
12
|
**distributions** | **Array<String>** | This publication is currently hosted as defined by these distributions. | [optional] [readonly]
|
@@ -18,6 +19,7 @@ require 'PulpFileClient'
|
|
18
19
|
|
19
20
|
instance = PulpFileClient::FileFilePublicationResponse.new(pulp_href: null,
|
20
21
|
pulp_created: null,
|
22
|
+
pulp_last_updated: null,
|
21
23
|
repository_version: null,
|
22
24
|
repository: null,
|
23
25
|
distributions: null,
|
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
9
10
|
**name** | **String** | A unique name for this remote. |
|
10
11
|
**url** | **String** | The URL of an external content source. |
|
11
12
|
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
@@ -13,7 +14,6 @@ Name | Type | Description | Notes
|
|
13
14
|
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
14
15
|
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
15
16
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
16
|
-
**pulp_last_updated** | **DateTime** | Timestamp of the most recent update of the remote. | [optional] [readonly]
|
17
17
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
18
18
|
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
19
19
|
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional]
|
@@ -32,6 +32,7 @@ require 'PulpFileClient'
|
|
32
32
|
|
33
33
|
instance = PulpFileClient::FileFileRemoteResponse.new(pulp_href: null,
|
34
34
|
pulp_created: null,
|
35
|
+
pulp_last_updated: null,
|
35
36
|
name: null,
|
36
37
|
url: null,
|
37
38
|
ca_cert: null,
|
@@ -39,7 +40,6 @@ instance = PulpFileClient::FileFileRemoteResponse.new(pulp_href: null,
|
|
39
40
|
tls_validation: null,
|
40
41
|
proxy_url: null,
|
41
42
|
pulp_labels: null,
|
42
|
-
pulp_last_updated: null,
|
43
43
|
download_concurrency: null,
|
44
44
|
max_retries: null,
|
45
45
|
policy: null,
|
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**name** | **String** | |
|
8
|
-
**is_set** | **Boolean** | |
|
7
|
+
**name** | **String** | |
|
8
|
+
**is_set** | **Boolean** | |
|
9
9
|
|
10
10
|
## Code Sample
|
11
11
|
|
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
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]
|
9
10
|
**versions_href** | **String** | | [optional] [readonly]
|
10
11
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
11
12
|
**latest_version_href** | **String** | | [optional] [readonly]
|
@@ -23,6 +24,7 @@ require 'PulpFileClient'
|
|
23
24
|
|
24
25
|
instance = PulpFileClient::FileFileRepositoryResponse.new(pulp_href: null,
|
25
26
|
pulp_created: null,
|
27
|
+
pulp_last_updated: null,
|
26
28
|
versions_href: null,
|
27
29
|
pulp_labels: null,
|
28
30
|
latest_version_href: null,
|
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**pulp_href** | **String** | | [optional] [readonly]
|
8
8
|
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
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]
|
9
10
|
**number** | **Integer** | | [optional] [readonly]
|
10
11
|
**repository** | **String** | | [optional] [readonly]
|
11
12
|
**base_version** | **String** | A repository version whose content was used as the initial set of content for this repository version | [optional]
|
@@ -18,6 +19,7 @@ require 'PulpFileClient'
|
|
18
19
|
|
19
20
|
instance = PulpFileClient::RepositoryVersionResponse.new(pulp_href: null,
|
20
21
|
pulp_created: null,
|
22
|
+
pulp_last_updated: null,
|
21
23
|
number: null,
|
22
24
|
repository: null,
|
23
25
|
base_version: null,
|
@@ -20,6 +20,9 @@ module PulpFileClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
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
|
+
|
23
26
|
# Name of Alternate Content Source.
|
24
27
|
attr_accessor :name
|
25
28
|
|
@@ -37,6 +40,7 @@ module PulpFileClient
|
|
37
40
|
{
|
38
41
|
:'pulp_href' => :'pulp_href',
|
39
42
|
:'pulp_created' => :'pulp_created',
|
43
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
40
44
|
:'name' => :'name',
|
41
45
|
:'last_refreshed' => :'last_refreshed',
|
42
46
|
:'paths' => :'paths',
|
@@ -49,6 +53,7 @@ module PulpFileClient
|
|
49
53
|
{
|
50
54
|
:'pulp_href' => :'String',
|
51
55
|
:'pulp_created' => :'DateTime',
|
56
|
+
:'pulp_last_updated' => :'DateTime',
|
52
57
|
:'name' => :'String',
|
53
58
|
:'last_refreshed' => :'DateTime',
|
54
59
|
:'paths' => :'Array<String>',
|
@@ -86,6 +91,10 @@ module PulpFileClient
|
|
86
91
|
self.pulp_created = attributes[:'pulp_created']
|
87
92
|
end
|
88
93
|
|
94
|
+
if attributes.key?(:'pulp_last_updated')
|
95
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
96
|
+
end
|
97
|
+
|
89
98
|
if attributes.key?(:'name')
|
90
99
|
self.name = attributes[:'name']
|
91
100
|
end
|
@@ -135,6 +144,7 @@ module PulpFileClient
|
|
135
144
|
self.class == o.class &&
|
136
145
|
pulp_href == o.pulp_href &&
|
137
146
|
pulp_created == o.pulp_created &&
|
147
|
+
pulp_last_updated == o.pulp_last_updated &&
|
138
148
|
name == o.name &&
|
139
149
|
last_refreshed == o.last_refreshed &&
|
140
150
|
paths == o.paths &&
|
@@ -150,7 +160,7 @@ module PulpFileClient
|
|
150
160
|
# Calculates hash code according to all attributes.
|
151
161
|
# @return [Integer] Hash code
|
152
162
|
def hash
|
153
|
-
[pulp_href, pulp_created, name, last_refreshed, paths, remote].hash
|
163
|
+
[pulp_href, pulp_created, pulp_last_updated, name, last_refreshed, paths, remote].hash
|
154
164
|
end
|
155
165
|
|
156
166
|
# Builds the object from hash
|
@@ -20,6 +20,9 @@ module PulpFileClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
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
|
+
|
23
26
|
# Artifact file representing the physical content
|
24
27
|
attr_accessor :artifact
|
25
28
|
|
@@ -49,6 +52,7 @@ module PulpFileClient
|
|
49
52
|
{
|
50
53
|
:'pulp_href' => :'pulp_href',
|
51
54
|
:'pulp_created' => :'pulp_created',
|
55
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
52
56
|
:'artifact' => :'artifact',
|
53
57
|
:'relative_path' => :'relative_path',
|
54
58
|
:'md5' => :'md5',
|
@@ -65,6 +69,7 @@ module PulpFileClient
|
|
65
69
|
{
|
66
70
|
:'pulp_href' => :'String',
|
67
71
|
:'pulp_created' => :'DateTime',
|
72
|
+
:'pulp_last_updated' => :'DateTime',
|
68
73
|
:'artifact' => :'String',
|
69
74
|
:'relative_path' => :'String',
|
70
75
|
:'md5' => :'String',
|
@@ -105,6 +110,10 @@ module PulpFileClient
|
|
105
110
|
self.pulp_created = attributes[:'pulp_created']
|
106
111
|
end
|
107
112
|
|
113
|
+
if attributes.key?(:'pulp_last_updated')
|
114
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
115
|
+
end
|
116
|
+
|
108
117
|
if attributes.key?(:'artifact')
|
109
118
|
self.artifact = attributes[:'artifact']
|
110
119
|
end
|
@@ -163,6 +172,7 @@ module PulpFileClient
|
|
163
172
|
self.class == o.class &&
|
164
173
|
pulp_href == o.pulp_href &&
|
165
174
|
pulp_created == o.pulp_created &&
|
175
|
+
pulp_last_updated == o.pulp_last_updated &&
|
166
176
|
artifact == o.artifact &&
|
167
177
|
relative_path == o.relative_path &&
|
168
178
|
md5 == o.md5 &&
|
@@ -182,7 +192,7 @@ module PulpFileClient
|
|
182
192
|
# Calculates hash code according to all attributes.
|
183
193
|
# @return [Integer] Hash code
|
184
194
|
def hash
|
185
|
-
[pulp_href, pulp_created, artifact, relative_path, md5, sha1, sha224, sha256, sha384, sha512].hash
|
195
|
+
[pulp_href, pulp_created, pulp_last_updated, artifact, relative_path, md5, sha1, sha224, sha256, sha384, sha512].hash
|
186
196
|
end
|
187
197
|
|
188
198
|
# Builds the object from hash
|
@@ -20,6 +20,9 @@ module PulpFileClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
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
|
+
|
23
26
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
24
27
|
attr_accessor :base_path
|
25
28
|
|
@@ -48,6 +51,7 @@ module PulpFileClient
|
|
48
51
|
{
|
49
52
|
:'pulp_href' => :'pulp_href',
|
50
53
|
:'pulp_created' => :'pulp_created',
|
54
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
51
55
|
:'base_path' => :'base_path',
|
52
56
|
:'base_url' => :'base_url',
|
53
57
|
:'content_guard' => :'content_guard',
|
@@ -64,6 +68,7 @@ module PulpFileClient
|
|
64
68
|
{
|
65
69
|
:'pulp_href' => :'String',
|
66
70
|
:'pulp_created' => :'DateTime',
|
71
|
+
:'pulp_last_updated' => :'DateTime',
|
67
72
|
:'base_path' => :'String',
|
68
73
|
:'base_url' => :'String',
|
69
74
|
:'content_guard' => :'String',
|
@@ -107,6 +112,10 @@ module PulpFileClient
|
|
107
112
|
self.pulp_created = attributes[:'pulp_created']
|
108
113
|
end
|
109
114
|
|
115
|
+
if attributes.key?(:'pulp_last_updated')
|
116
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
117
|
+
end
|
118
|
+
|
110
119
|
if attributes.key?(:'base_path')
|
111
120
|
self.base_path = attributes[:'base_path']
|
112
121
|
end
|
@@ -174,6 +183,7 @@ module PulpFileClient
|
|
174
183
|
self.class == o.class &&
|
175
184
|
pulp_href == o.pulp_href &&
|
176
185
|
pulp_created == o.pulp_created &&
|
186
|
+
pulp_last_updated == o.pulp_last_updated &&
|
177
187
|
base_path == o.base_path &&
|
178
188
|
base_url == o.base_url &&
|
179
189
|
content_guard == o.content_guard &&
|
@@ -193,7 +203,7 @@ module PulpFileClient
|
|
193
203
|
# Calculates hash code according to all attributes.
|
194
204
|
# @return [Integer] Hash code
|
195
205
|
def hash
|
196
|
-
[pulp_href, pulp_created, base_path, base_url, content_guard, hidden, pulp_labels, name, repository, publication].hash
|
206
|
+
[pulp_href, pulp_created, pulp_last_updated, base_path, base_url, content_guard, hidden, pulp_labels, name, repository, publication].hash
|
197
207
|
end
|
198
208
|
|
199
209
|
# Builds the object from hash
|
@@ -20,6 +20,9 @@ module PulpFileClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
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
|
+
|
23
26
|
attr_accessor :repository_version
|
24
27
|
|
25
28
|
# A URI of the repository to be published.
|
@@ -36,6 +39,7 @@ module PulpFileClient
|
|
36
39
|
{
|
37
40
|
:'pulp_href' => :'pulp_href',
|
38
41
|
:'pulp_created' => :'pulp_created',
|
42
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
39
43
|
:'repository_version' => :'repository_version',
|
40
44
|
:'repository' => :'repository',
|
41
45
|
:'distributions' => :'distributions',
|
@@ -48,6 +52,7 @@ module PulpFileClient
|
|
48
52
|
{
|
49
53
|
:'pulp_href' => :'String',
|
50
54
|
:'pulp_created' => :'DateTime',
|
55
|
+
:'pulp_last_updated' => :'DateTime',
|
51
56
|
:'repository_version' => :'String',
|
52
57
|
:'repository' => :'String',
|
53
58
|
:'distributions' => :'Array<String>',
|
@@ -85,6 +90,10 @@ module PulpFileClient
|
|
85
90
|
self.pulp_created = attributes[:'pulp_created']
|
86
91
|
end
|
87
92
|
|
93
|
+
if attributes.key?(:'pulp_last_updated')
|
94
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
95
|
+
end
|
96
|
+
|
88
97
|
if attributes.key?(:'repository_version')
|
89
98
|
self.repository_version = attributes[:'repository_version']
|
90
99
|
end
|
@@ -126,6 +135,7 @@ module PulpFileClient
|
|
126
135
|
self.class == o.class &&
|
127
136
|
pulp_href == o.pulp_href &&
|
128
137
|
pulp_created == o.pulp_created &&
|
138
|
+
pulp_last_updated == o.pulp_last_updated &&
|
129
139
|
repository_version == o.repository_version &&
|
130
140
|
repository == o.repository &&
|
131
141
|
distributions == o.distributions &&
|
@@ -141,7 +151,7 @@ module PulpFileClient
|
|
141
151
|
# Calculates hash code according to all attributes.
|
142
152
|
# @return [Integer] Hash code
|
143
153
|
def hash
|
144
|
-
[pulp_href, pulp_created, repository_version, repository, distributions, manifest].hash
|
154
|
+
[pulp_href, pulp_created, pulp_last_updated, repository_version, repository, distributions, manifest].hash
|
145
155
|
end
|
146
156
|
|
147
157
|
# Builds the object from hash
|
@@ -20,6 +20,9 @@ module PulpFileClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
22
|
|
23
|
+
# Timestamp of the most recent update of the remote.
|
24
|
+
attr_accessor :pulp_last_updated
|
25
|
+
|
23
26
|
# A unique name for this remote.
|
24
27
|
attr_accessor :name
|
25
28
|
|
@@ -40,9 +43,6 @@ module PulpFileClient
|
|
40
43
|
|
41
44
|
attr_accessor :pulp_labels
|
42
45
|
|
43
|
-
# Timestamp of the most recent update of the remote.
|
44
|
-
attr_accessor :pulp_last_updated
|
45
|
-
|
46
46
|
# Total number of simultaneous connections. If not set then the default value will be used.
|
47
47
|
attr_accessor :download_concurrency
|
48
48
|
|
@@ -78,6 +78,7 @@ module PulpFileClient
|
|
78
78
|
{
|
79
79
|
:'pulp_href' => :'pulp_href',
|
80
80
|
:'pulp_created' => :'pulp_created',
|
81
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
81
82
|
:'name' => :'name',
|
82
83
|
:'url' => :'url',
|
83
84
|
:'ca_cert' => :'ca_cert',
|
@@ -85,7 +86,6 @@ module PulpFileClient
|
|
85
86
|
:'tls_validation' => :'tls_validation',
|
86
87
|
:'proxy_url' => :'proxy_url',
|
87
88
|
:'pulp_labels' => :'pulp_labels',
|
88
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
89
89
|
:'download_concurrency' => :'download_concurrency',
|
90
90
|
:'max_retries' => :'max_retries',
|
91
91
|
:'policy' => :'policy',
|
@@ -104,6 +104,7 @@ module PulpFileClient
|
|
104
104
|
{
|
105
105
|
:'pulp_href' => :'String',
|
106
106
|
:'pulp_created' => :'DateTime',
|
107
|
+
:'pulp_last_updated' => :'DateTime',
|
107
108
|
:'name' => :'String',
|
108
109
|
:'url' => :'String',
|
109
110
|
:'ca_cert' => :'String',
|
@@ -111,7 +112,6 @@ module PulpFileClient
|
|
111
112
|
:'tls_validation' => :'Boolean',
|
112
113
|
:'proxy_url' => :'String',
|
113
114
|
:'pulp_labels' => :'Hash<String, String>',
|
114
|
-
:'pulp_last_updated' => :'DateTime',
|
115
115
|
:'download_concurrency' => :'Integer',
|
116
116
|
:'max_retries' => :'Integer',
|
117
117
|
:'policy' => :'PolicyEnum',
|
@@ -164,6 +164,10 @@ module PulpFileClient
|
|
164
164
|
self.pulp_created = attributes[:'pulp_created']
|
165
165
|
end
|
166
166
|
|
167
|
+
if attributes.key?(:'pulp_last_updated')
|
168
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
169
|
+
end
|
170
|
+
|
167
171
|
if attributes.key?(:'name')
|
168
172
|
self.name = attributes[:'name']
|
169
173
|
end
|
@@ -194,10 +198,6 @@ module PulpFileClient
|
|
194
198
|
end
|
195
199
|
end
|
196
200
|
|
197
|
-
if attributes.key?(:'pulp_last_updated')
|
198
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
199
|
-
end
|
200
|
-
|
201
201
|
if attributes.key?(:'download_concurrency')
|
202
202
|
self.download_concurrency = attributes[:'download_concurrency']
|
203
203
|
end
|
@@ -348,6 +348,7 @@ module PulpFileClient
|
|
348
348
|
self.class == o.class &&
|
349
349
|
pulp_href == o.pulp_href &&
|
350
350
|
pulp_created == o.pulp_created &&
|
351
|
+
pulp_last_updated == o.pulp_last_updated &&
|
351
352
|
name == o.name &&
|
352
353
|
url == o.url &&
|
353
354
|
ca_cert == o.ca_cert &&
|
@@ -355,7 +356,6 @@ module PulpFileClient
|
|
355
356
|
tls_validation == o.tls_validation &&
|
356
357
|
proxy_url == o.proxy_url &&
|
357
358
|
pulp_labels == o.pulp_labels &&
|
358
|
-
pulp_last_updated == o.pulp_last_updated &&
|
359
359
|
download_concurrency == o.download_concurrency &&
|
360
360
|
max_retries == o.max_retries &&
|
361
361
|
policy == o.policy &&
|
@@ -377,7 +377,7 @@ module PulpFileClient
|
|
377
377
|
# Calculates hash code according to all attributes.
|
378
378
|
# @return [Integer] Hash code
|
379
379
|
def hash
|
380
|
-
[pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels,
|
380
|
+
[pulp_href, pulp_created, pulp_last_updated, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, hidden_fields].hash
|
381
381
|
end
|
382
382
|
|
383
383
|
# Builds the object from hash
|
@@ -68,12 +68,22 @@ module PulpFileClient
|
|
68
68
|
# @return Array for valid properties with the reasons
|
69
69
|
def list_invalid_properties
|
70
70
|
invalid_properties = Array.new
|
71
|
+
if @name.nil?
|
72
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
73
|
+
end
|
74
|
+
|
75
|
+
if @is_set.nil?
|
76
|
+
invalid_properties.push('invalid value for "is_set", is_set cannot be nil.')
|
77
|
+
end
|
78
|
+
|
71
79
|
invalid_properties
|
72
80
|
end
|
73
81
|
|
74
82
|
# Check to see if the all the properties in the model are valid
|
75
83
|
# @return true if the model is valid
|
76
84
|
def valid?
|
85
|
+
return false if @name.nil?
|
86
|
+
return false if @is_set.nil?
|
77
87
|
true
|
78
88
|
end
|
79
89
|
|
@@ -20,6 +20,9 @@ module PulpFileClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
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
|
+
|
23
26
|
attr_accessor :versions_href
|
24
27
|
|
25
28
|
attr_accessor :pulp_labels
|
@@ -49,6 +52,7 @@ module PulpFileClient
|
|
49
52
|
{
|
50
53
|
:'pulp_href' => :'pulp_href',
|
51
54
|
:'pulp_created' => :'pulp_created',
|
55
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
52
56
|
:'versions_href' => :'versions_href',
|
53
57
|
:'pulp_labels' => :'pulp_labels',
|
54
58
|
:'latest_version_href' => :'latest_version_href',
|
@@ -66,6 +70,7 @@ module PulpFileClient
|
|
66
70
|
{
|
67
71
|
:'pulp_href' => :'String',
|
68
72
|
:'pulp_created' => :'DateTime',
|
73
|
+
:'pulp_last_updated' => :'DateTime',
|
69
74
|
:'versions_href' => :'String',
|
70
75
|
:'pulp_labels' => :'Hash<String, String>',
|
71
76
|
:'latest_version_href' => :'String',
|
@@ -111,6 +116,10 @@ module PulpFileClient
|
|
111
116
|
self.pulp_created = attributes[:'pulp_created']
|
112
117
|
end
|
113
118
|
|
119
|
+
if attributes.key?(:'pulp_last_updated')
|
120
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
121
|
+
end
|
122
|
+
|
114
123
|
if attributes.key?(:'versions_href')
|
115
124
|
self.versions_href = attributes[:'versions_href']
|
116
125
|
end
|
@@ -194,6 +203,7 @@ module PulpFileClient
|
|
194
203
|
self.class == o.class &&
|
195
204
|
pulp_href == o.pulp_href &&
|
196
205
|
pulp_created == o.pulp_created &&
|
206
|
+
pulp_last_updated == o.pulp_last_updated &&
|
197
207
|
versions_href == o.versions_href &&
|
198
208
|
pulp_labels == o.pulp_labels &&
|
199
209
|
latest_version_href == o.latest_version_href &&
|
@@ -214,7 +224,7 @@ module PulpFileClient
|
|
214
224
|
# Calculates hash code according to all attributes.
|
215
225
|
# @return [Integer] Hash code
|
216
226
|
def hash
|
217
|
-
[pulp_href, pulp_created, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, autopublish, manifest].hash
|
227
|
+
[pulp_href, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, autopublish, manifest].hash
|
218
228
|
end
|
219
229
|
|
220
230
|
# Builds the object from hash
|
@@ -20,6 +20,9 @@ module PulpFileClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
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
|
+
|
23
26
|
attr_accessor :number
|
24
27
|
|
25
28
|
attr_accessor :repository
|
@@ -35,6 +38,7 @@ module PulpFileClient
|
|
35
38
|
{
|
36
39
|
:'pulp_href' => :'pulp_href',
|
37
40
|
:'pulp_created' => :'pulp_created',
|
41
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
38
42
|
:'number' => :'number',
|
39
43
|
:'repository' => :'repository',
|
40
44
|
:'base_version' => :'base_version',
|
@@ -47,6 +51,7 @@ module PulpFileClient
|
|
47
51
|
{
|
48
52
|
:'pulp_href' => :'String',
|
49
53
|
:'pulp_created' => :'DateTime',
|
54
|
+
:'pulp_last_updated' => :'DateTime',
|
50
55
|
:'number' => :'Integer',
|
51
56
|
:'repository' => :'String',
|
52
57
|
:'base_version' => :'String',
|
@@ -83,6 +88,10 @@ module PulpFileClient
|
|
83
88
|
self.pulp_created = attributes[:'pulp_created']
|
84
89
|
end
|
85
90
|
|
91
|
+
if attributes.key?(:'pulp_last_updated')
|
92
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
93
|
+
end
|
94
|
+
|
86
95
|
if attributes.key?(:'number')
|
87
96
|
self.number = attributes[:'number']
|
88
97
|
end
|
@@ -120,6 +129,7 @@ module PulpFileClient
|
|
120
129
|
self.class == o.class &&
|
121
130
|
pulp_href == o.pulp_href &&
|
122
131
|
pulp_created == o.pulp_created &&
|
132
|
+
pulp_last_updated == o.pulp_last_updated &&
|
123
133
|
number == o.number &&
|
124
134
|
repository == o.repository &&
|
125
135
|
base_version == o.base_version &&
|
@@ -135,7 +145,7 @@ module PulpFileClient
|
|
135
145
|
# Calculates hash code according to all attributes.
|
136
146
|
# @return [Integer] Hash code
|
137
147
|
def hash
|
138
|
-
[pulp_href, pulp_created, number, repository, base_version, content_summary].hash
|
148
|
+
[pulp_href, pulp_created, pulp_last_updated, number, repository, base_version, content_summary].hash
|
139
149
|
end
|
140
150
|
|
141
151
|
# Builds the object from hash
|
@@ -44,6 +44,12 @@ describe 'FileFileAlternateContentSourceResponse' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "pulp_last_updated"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
47
53
|
describe 'test attribute "name"' do
|
48
54
|
it 'should work' do
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -44,6 +44,12 @@ describe 'FileFileContentResponse' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "pulp_last_updated"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
47
53
|
describe 'test attribute "artifact"' do
|
48
54
|
it 'should work' do
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -44,6 +44,12 @@ describe 'FileFileDistributionResponse' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "pulp_last_updated"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
47
53
|
describe 'test attribute "base_path"' do
|
48
54
|
it 'should work' do
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -44,6 +44,12 @@ describe 'FileFilePublicationResponse' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "pulp_last_updated"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
47
53
|
describe 'test attribute "repository_version"' do
|
48
54
|
it 'should work' do
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -44,6 +44,12 @@ describe 'FileFileRemoteResponse' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "pulp_last_updated"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
47
53
|
describe 'test attribute "name"' do
|
48
54
|
it 'should work' do
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -86,12 +92,6 @@ describe 'FileFileRemoteResponse' do
|
|
86
92
|
end
|
87
93
|
end
|
88
94
|
|
89
|
-
describe 'test attribute "pulp_last_updated"' do
|
90
|
-
it 'should work' do
|
91
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
-
end
|
93
|
-
end
|
94
|
-
|
95
95
|
describe 'test attribute "download_concurrency"' do
|
96
96
|
it 'should work' do
|
97
97
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -44,6 +44,12 @@ describe 'FileFileRepositoryResponse' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "pulp_last_updated"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
47
53
|
describe 'test attribute "versions_href"' do
|
48
54
|
it 'should work' do
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -44,6 +44,12 @@ describe 'RepositoryVersionResponse' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "pulp_last_updated"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
47
53
|
describe 'test attribute "number"' do
|
48
54
|
it 'should work' do
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_file_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.48.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-02-
|
11
|
+
date: 2024-02-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|