pulp_container_client 2.19.2 → 2.19.4
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 -7
- data/docs/ContainerBlobResponse.md +2 -0
- data/docs/ContainerContainerDistribution.md +4 -4
- data/docs/ContainerContainerDistributionResponse.md +9 -7
- data/docs/ContainerContainerNamespaceResponse.md +2 -0
- data/docs/ContainerContainerPullThroughDistribution.md +4 -4
- data/docs/ContainerContainerPullThroughDistributionResponse.md +9 -7
- data/docs/ContainerContainerPullThroughRemoteResponse.md +2 -2
- data/docs/ContainerContainerPullThroughRemoteResponseHiddenFields.md +2 -2
- data/docs/ContainerContainerPushRepository.md +5 -5
- data/docs/ContainerContainerPushRepositoryResponse.md +12 -10
- data/docs/ContainerContainerRemoteResponse.md +2 -2
- data/docs/ContainerContainerRepositoryResponse.md +2 -0
- data/docs/ContainerManifestResponse.md +2 -0
- data/docs/ContainerManifestSignatureResponse.md +2 -0
- data/docs/ContainerTagResponse.md +2 -0
- data/docs/ContentBlobsApi.md +1 -1
- data/docs/ContentManifestsApi.md +1 -1
- data/docs/ContentSignaturesApi.md +1 -1
- data/docs/ContentTagsApi.md +1 -1
- data/docs/DistributionsContainerApi.md +1 -1
- data/docs/DistributionsPullThroughApi.md +1 -1
- data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
- data/docs/PaginatedcontainerBlobResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerDistributionResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerNamespaceResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerPullThroughDistributionResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerPullThroughRemoteResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerPushRepositoryResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerRemoteResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerRepositoryResponseList.md +2 -2
- data/docs/PaginatedcontainerManifestResponseList.md +2 -2
- data/docs/PaginatedcontainerManifestSignatureResponseList.md +2 -2
- data/docs/PaginatedcontainerTagResponseList.md +2 -2
- data/docs/PatchedcontainerContainerDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPushRepository.md +5 -5
- data/docs/PulpContainerNamespacesApi.md +1 -1
- data/docs/RemotesContainerApi.md +1 -1
- data/docs/RemotesPullThroughApi.md +1 -1
- data/docs/RepositoriesContainerApi.md +1 -1
- data/docs/RepositoriesContainerPushApi.md +1 -1
- data/docs/RepositoriesContainerPushVersionsApi.md +1 -1
- data/docs/RepositoriesContainerVersionsApi.md +1 -1
- data/docs/RepositoryVersionResponse.md +2 -0
- data/docs/TokenApi.md +1 -1
- data/lib/pulp_container_client/configuration.rb +2 -2
- data/lib/pulp_container_client/models/container_blob_response.rb +11 -1
- data/lib/pulp_container_client/models/container_container_distribution.rb +18 -18
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +37 -27
- data/lib/pulp_container_client/models/container_container_namespace_response.rb +11 -1
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +18 -18
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +37 -27
- data/lib/pulp_container_client/models/container_container_pull_through_remote_response.rb +11 -11
- data/lib/pulp_container_client/models/container_container_pull_through_remote_response_hidden_fields.rb +10 -0
- data/lib/pulp_container_client/models/container_container_push_repository.rb +38 -38
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +48 -38
- data/lib/pulp_container_client/models/container_container_remote_response.rb +11 -11
- data/lib/pulp_container_client/models/container_container_repository_response.rb +11 -1
- data/lib/pulp_container_client/models/container_manifest_response.rb +11 -1
- data/lib/pulp_container_client/models/container_manifest_signature_response.rb +11 -1
- data/lib/pulp_container_client/models/container_tag_response.rb +11 -1
- data/lib/pulp_container_client/models/paginated_repository_version_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_blob_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_container_distribution_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_container_namespace_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_distribution_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_remote_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_container_push_repository_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_container_remote_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_container_repository_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_manifest_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_manifest_signature_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_tag_response_list.rb +10 -0
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +18 -18
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +18 -18
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +38 -38
- data/lib/pulp_container_client/models/repository_version_response.rb +11 -1
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +0 -2
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/container_blob_response_spec.rb +6 -0
- data/spec/models/container_container_distribution_response_spec.rb +12 -6
- data/spec/models/container_container_distribution_spec.rb +4 -4
- data/spec/models/container_container_namespace_response_spec.rb +6 -0
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +12 -6
- data/spec/models/container_container_pull_through_distribution_spec.rb +4 -4
- data/spec/models/container_container_pull_through_remote_response_spec.rb +6 -6
- data/spec/models/container_container_push_repository_response_spec.rb +11 -5
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/container_container_remote_response_spec.rb +6 -6
- data/spec/models/container_container_repository_response_spec.rb +6 -0
- data/spec/models/container_manifest_response_spec.rb +6 -0
- data/spec/models/container_manifest_signature_response_spec.rb +6 -0
- data/spec/models/container_tag_response_spec.rb +6 -0
- data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +76 -84
- data/docs/IndexDynamicApi.md +0 -50
- data/docs/IndexStaticApi.md +0 -50
- data/lib/pulp_container_client/api/index_dynamic_api.rb +0 -74
- data/lib/pulp_container_client/api/index_static_api.rb +0 -74
- data/spec/api/index_dynamic_api_spec.rb +0 -45
- data/spec/api/index_static_api_spec.rb +0 -45
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**count** | **Integer** | |
|
|
7
|
+
**count** | **Integer** | |
|
|
8
8
|
**_next** | **String** | | [optional]
|
|
9
9
|
**previous** | **String** | | [optional]
|
|
10
|
-
**results** | [**Array<ContainerManifestResponse>**](ContainerManifestResponse.md) | |
|
|
10
|
+
**results** | [**Array<ContainerManifestResponse>**](ContainerManifestResponse.md) | |
|
|
11
11
|
|
|
12
12
|
## Code Sample
|
|
13
13
|
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**count** | **Integer** | |
|
|
7
|
+
**count** | **Integer** | |
|
|
8
8
|
**_next** | **String** | | [optional]
|
|
9
9
|
**previous** | **String** | | [optional]
|
|
10
|
-
**results** | [**Array<ContainerManifestSignatureResponse>**](ContainerManifestSignatureResponse.md) | |
|
|
10
|
+
**results** | [**Array<ContainerManifestSignatureResponse>**](ContainerManifestSignatureResponse.md) | |
|
|
11
11
|
|
|
12
12
|
## Code Sample
|
|
13
13
|
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**count** | **Integer** | |
|
|
7
|
+
**count** | **Integer** | |
|
|
8
8
|
**_next** | **String** | | [optional]
|
|
9
9
|
**previous** | **String** | | [optional]
|
|
10
|
-
**results** | [**Array<ContainerTagResponse>**](ContainerTagResponse.md) | |
|
|
10
|
+
**results** | [**Array<ContainerTagResponse>**](ContainerTagResponse.md) | |
|
|
11
11
|
|
|
12
12
|
## Code Sample
|
|
13
13
|
|
|
@@ -6,10 +6,10 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
8
8
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
9
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
10
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\") | [optional]
|
|
11
|
-
**
|
|
10
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
12
11
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
12
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
|
13
13
|
**repository_version** | **String** | RepositoryVersion to be served | [optional]
|
|
14
14
|
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access. | [optional]
|
|
15
15
|
**description** | **String** | An optional description. | [optional]
|
|
@@ -21,10 +21,10 @@ require 'PulpContainerClient'
|
|
|
21
21
|
|
|
22
22
|
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(hidden: null,
|
|
23
23
|
pulp_labels: null,
|
|
24
|
-
repository: null,
|
|
25
24
|
base_path: null,
|
|
26
|
-
|
|
25
|
+
repository: null,
|
|
27
26
|
content_guard: null,
|
|
27
|
+
name: null,
|
|
28
28
|
repository_version: null,
|
|
29
29
|
private: null,
|
|
30
30
|
description: null)
|
|
@@ -6,10 +6,10 @@ Name | Type | Description | Notes
|
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
8
8
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
9
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
10
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\") | [optional]
|
|
11
|
-
**
|
|
10
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
12
11
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
12
|
+
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
|
13
13
|
**remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional]
|
|
14
14
|
**distributions** | **Array<String>** | Distributions created after pulling content through cache | [optional]
|
|
15
15
|
**private** | **Boolean** | Restrict pull access to explicitly authorized users. Related distributions inherit this value. Defaults to unrestricted pull access. | [optional]
|
|
@@ -22,10 +22,10 @@ require 'PulpContainerClient'
|
|
|
22
22
|
|
|
23
23
|
instance = PulpContainerClient::PatchedcontainerContainerPullThroughDistribution.new(hidden: null,
|
|
24
24
|
pulp_labels: null,
|
|
25
|
-
repository: null,
|
|
26
25
|
base_path: null,
|
|
27
|
-
|
|
26
|
+
repository: null,
|
|
28
27
|
content_guard: null,
|
|
28
|
+
name: null,
|
|
29
29
|
remote: null,
|
|
30
30
|
distributions: null,
|
|
31
31
|
private: null,
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
|
8
|
+
**description** | **String** | An optional description. | [optional]
|
|
7
9
|
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
|
8
10
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
9
|
-
**description** | **String** | An optional description. | [optional]
|
|
10
|
-
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
|
11
11
|
**name** | **String** | A unique name for this repository. | [optional]
|
|
12
12
|
|
|
13
13
|
## Code Sample
|
|
@@ -15,10 +15,10 @@ Name | Type | Description | Notes
|
|
|
15
15
|
```ruby
|
|
16
16
|
require 'PulpContainerClient'
|
|
17
17
|
|
|
18
|
-
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(
|
|
19
|
-
pulp_labels: null,
|
|
18
|
+
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(retain_repo_versions: null,
|
|
20
19
|
description: null,
|
|
21
|
-
|
|
20
|
+
manifest_signing_service: null,
|
|
21
|
+
pulp_labels: null,
|
|
22
22
|
name: null)
|
|
23
23
|
```
|
|
24
24
|
|
data/docs/RemotesContainerApi.md
CHANGED
|
@@ -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 'PulpContainerClient'
|
|
|
18
19
|
|
|
19
20
|
instance = PulpContainerClient::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,
|
data/docs/TokenApi.md
CHANGED
|
@@ -128,7 +128,7 @@ module PulpContainerClient
|
|
|
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 PulpContainerClient
|
|
|
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
|
]
|
|
@@ -20,6 +20,9 @@ module PulpContainerClient
|
|
|
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
|
|
|
@@ -31,6 +34,7 @@ module PulpContainerClient
|
|
|
31
34
|
{
|
|
32
35
|
:'pulp_href' => :'pulp_href',
|
|
33
36
|
:'pulp_created' => :'pulp_created',
|
|
37
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
34
38
|
:'artifact' => :'artifact',
|
|
35
39
|
:'digest' => :'digest'
|
|
36
40
|
}
|
|
@@ -41,6 +45,7 @@ module PulpContainerClient
|
|
|
41
45
|
{
|
|
42
46
|
:'pulp_href' => :'String',
|
|
43
47
|
:'pulp_created' => :'DateTime',
|
|
48
|
+
:'pulp_last_updated' => :'DateTime',
|
|
44
49
|
:'artifact' => :'String',
|
|
45
50
|
:'digest' => :'String'
|
|
46
51
|
}
|
|
@@ -75,6 +80,10 @@ module PulpContainerClient
|
|
|
75
80
|
self.pulp_created = attributes[:'pulp_created']
|
|
76
81
|
end
|
|
77
82
|
|
|
83
|
+
if attributes.key?(:'pulp_last_updated')
|
|
84
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
85
|
+
end
|
|
86
|
+
|
|
78
87
|
if attributes.key?(:'artifact')
|
|
79
88
|
self.artifact = attributes[:'artifact']
|
|
80
89
|
end
|
|
@@ -114,6 +123,7 @@ module PulpContainerClient
|
|
|
114
123
|
self.class == o.class &&
|
|
115
124
|
pulp_href == o.pulp_href &&
|
|
116
125
|
pulp_created == o.pulp_created &&
|
|
126
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
117
127
|
artifact == o.artifact &&
|
|
118
128
|
digest == o.digest
|
|
119
129
|
end
|
|
@@ -127,7 +137,7 @@ module PulpContainerClient
|
|
|
127
137
|
# Calculates hash code according to all attributes.
|
|
128
138
|
# @return [Integer] Hash code
|
|
129
139
|
def hash
|
|
130
|
-
[pulp_href, pulp_created, artifact, digest].hash
|
|
140
|
+
[pulp_href, pulp_created, pulp_last_updated, artifact, digest].hash
|
|
131
141
|
end
|
|
132
142
|
|
|
133
143
|
# Builds the object from hash
|
|
@@ -20,18 +20,18 @@ module PulpContainerClient
|
|
|
20
20
|
|
|
21
21
|
attr_accessor :pulp_labels
|
|
22
22
|
|
|
23
|
-
# The latest RepositoryVersion for this Repository will be served.
|
|
24
|
-
attr_accessor :repository
|
|
25
|
-
|
|
26
23
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
27
24
|
attr_accessor :base_path
|
|
28
25
|
|
|
29
|
-
#
|
|
30
|
-
attr_accessor :
|
|
26
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
27
|
+
attr_accessor :repository
|
|
31
28
|
|
|
32
29
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
33
30
|
attr_accessor :content_guard
|
|
34
31
|
|
|
32
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
33
|
+
attr_accessor :name
|
|
34
|
+
|
|
35
35
|
# RepositoryVersion to be served
|
|
36
36
|
attr_accessor :repository_version
|
|
37
37
|
|
|
@@ -46,10 +46,10 @@ module PulpContainerClient
|
|
|
46
46
|
{
|
|
47
47
|
:'hidden' => :'hidden',
|
|
48
48
|
:'pulp_labels' => :'pulp_labels',
|
|
49
|
-
:'repository' => :'repository',
|
|
50
49
|
:'base_path' => :'base_path',
|
|
51
|
-
:'
|
|
50
|
+
:'repository' => :'repository',
|
|
52
51
|
:'content_guard' => :'content_guard',
|
|
52
|
+
:'name' => :'name',
|
|
53
53
|
:'repository_version' => :'repository_version',
|
|
54
54
|
:'private' => :'private',
|
|
55
55
|
:'description' => :'description'
|
|
@@ -61,10 +61,10 @@ module PulpContainerClient
|
|
|
61
61
|
{
|
|
62
62
|
:'hidden' => :'Boolean',
|
|
63
63
|
:'pulp_labels' => :'Hash<String, String>',
|
|
64
|
-
:'repository' => :'String',
|
|
65
64
|
:'base_path' => :'String',
|
|
66
|
-
:'
|
|
65
|
+
:'repository' => :'String',
|
|
67
66
|
:'content_guard' => :'String',
|
|
67
|
+
:'name' => :'String',
|
|
68
68
|
:'repository_version' => :'String',
|
|
69
69
|
:'private' => :'Boolean',
|
|
70
70
|
:'description' => :'String'
|
|
@@ -107,22 +107,22 @@ module PulpContainerClient
|
|
|
107
107
|
end
|
|
108
108
|
end
|
|
109
109
|
|
|
110
|
-
if attributes.key?(:'repository')
|
|
111
|
-
self.repository = attributes[:'repository']
|
|
112
|
-
end
|
|
113
|
-
|
|
114
110
|
if attributes.key?(:'base_path')
|
|
115
111
|
self.base_path = attributes[:'base_path']
|
|
116
112
|
end
|
|
117
113
|
|
|
118
|
-
if attributes.key?(:'
|
|
119
|
-
self.
|
|
114
|
+
if attributes.key?(:'repository')
|
|
115
|
+
self.repository = attributes[:'repository']
|
|
120
116
|
end
|
|
121
117
|
|
|
122
118
|
if attributes.key?(:'content_guard')
|
|
123
119
|
self.content_guard = attributes[:'content_guard']
|
|
124
120
|
end
|
|
125
121
|
|
|
122
|
+
if attributes.key?(:'name')
|
|
123
|
+
self.name = attributes[:'name']
|
|
124
|
+
end
|
|
125
|
+
|
|
126
126
|
if attributes.key?(:'repository_version')
|
|
127
127
|
self.repository_version = attributes[:'repository_version']
|
|
128
128
|
end
|
|
@@ -219,10 +219,10 @@ module PulpContainerClient
|
|
|
219
219
|
self.class == o.class &&
|
|
220
220
|
hidden == o.hidden &&
|
|
221
221
|
pulp_labels == o.pulp_labels &&
|
|
222
|
-
repository == o.repository &&
|
|
223
222
|
base_path == o.base_path &&
|
|
224
|
-
|
|
223
|
+
repository == o.repository &&
|
|
225
224
|
content_guard == o.content_guard &&
|
|
225
|
+
name == o.name &&
|
|
226
226
|
repository_version == o.repository_version &&
|
|
227
227
|
private == o.private &&
|
|
228
228
|
description == o.description
|
|
@@ -237,7 +237,7 @@ module PulpContainerClient
|
|
|
237
237
|
# Calculates hash code according to all attributes.
|
|
238
238
|
# @return [Integer] Hash code
|
|
239
239
|
def hash
|
|
240
|
-
[hidden, pulp_labels, repository,
|
|
240
|
+
[hidden, pulp_labels, base_path, repository, content_guard, name, repository_version, private, description].hash
|
|
241
241
|
end
|
|
242
242
|
|
|
243
243
|
# Builds the object from hash
|
|
@@ -15,28 +15,31 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for ContainerDistribution.
|
|
17
17
|
class ContainerContainerDistributionResponse
|
|
18
|
+
# 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.
|
|
19
|
+
attr_accessor :pulp_last_updated
|
|
20
|
+
|
|
21
|
+
attr_accessor :pulp_href
|
|
22
|
+
|
|
18
23
|
# Whether this distribution should be shown in the content app.
|
|
19
24
|
attr_accessor :hidden
|
|
20
25
|
|
|
21
26
|
attr_accessor :pulp_labels
|
|
22
27
|
|
|
28
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
29
|
+
attr_accessor :base_path
|
|
30
|
+
|
|
23
31
|
# The latest RepositoryVersion for this Repository will be served.
|
|
24
32
|
attr_accessor :repository
|
|
25
33
|
|
|
26
34
|
# Timestamp of creation.
|
|
27
35
|
attr_accessor :pulp_created
|
|
28
36
|
|
|
29
|
-
#
|
|
30
|
-
attr_accessor :
|
|
31
|
-
|
|
32
|
-
attr_accessor :pulp_href
|
|
37
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
38
|
+
attr_accessor :content_guard
|
|
33
39
|
|
|
34
40
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
35
41
|
attr_accessor :name
|
|
36
42
|
|
|
37
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
|
38
|
-
attr_accessor :content_guard
|
|
39
|
-
|
|
40
43
|
# RepositoryVersion to be served
|
|
41
44
|
attr_accessor :repository_version
|
|
42
45
|
|
|
@@ -58,14 +61,15 @@ module PulpContainerClient
|
|
|
58
61
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
59
62
|
def self.attribute_map
|
|
60
63
|
{
|
|
64
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
65
|
+
:'pulp_href' => :'pulp_href',
|
|
61
66
|
:'hidden' => :'hidden',
|
|
62
67
|
:'pulp_labels' => :'pulp_labels',
|
|
68
|
+
:'base_path' => :'base_path',
|
|
63
69
|
:'repository' => :'repository',
|
|
64
70
|
:'pulp_created' => :'pulp_created',
|
|
65
|
-
:'base_path' => :'base_path',
|
|
66
|
-
:'pulp_href' => :'pulp_href',
|
|
67
|
-
:'name' => :'name',
|
|
68
71
|
:'content_guard' => :'content_guard',
|
|
72
|
+
:'name' => :'name',
|
|
69
73
|
:'repository_version' => :'repository_version',
|
|
70
74
|
:'registry_path' => :'registry_path',
|
|
71
75
|
:'remote' => :'remote',
|
|
@@ -78,14 +82,15 @@ module PulpContainerClient
|
|
|
78
82
|
# Attribute type mapping.
|
|
79
83
|
def self.openapi_types
|
|
80
84
|
{
|
|
85
|
+
:'pulp_last_updated' => :'DateTime',
|
|
86
|
+
:'pulp_href' => :'String',
|
|
81
87
|
:'hidden' => :'Boolean',
|
|
82
88
|
:'pulp_labels' => :'Hash<String, String>',
|
|
89
|
+
:'base_path' => :'String',
|
|
83
90
|
:'repository' => :'String',
|
|
84
91
|
:'pulp_created' => :'DateTime',
|
|
85
|
-
:'base_path' => :'String',
|
|
86
|
-
:'pulp_href' => :'String',
|
|
87
|
-
:'name' => :'String',
|
|
88
92
|
:'content_guard' => :'String',
|
|
93
|
+
:'name' => :'String',
|
|
89
94
|
:'repository_version' => :'String',
|
|
90
95
|
:'registry_path' => :'String',
|
|
91
96
|
:'remote' => :'String',
|
|
@@ -119,6 +124,14 @@ module PulpContainerClient
|
|
|
119
124
|
h[k.to_sym] = v
|
|
120
125
|
}
|
|
121
126
|
|
|
127
|
+
if attributes.key?(:'pulp_last_updated')
|
|
128
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
if attributes.key?(:'pulp_href')
|
|
132
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
133
|
+
end
|
|
134
|
+
|
|
122
135
|
if attributes.key?(:'hidden')
|
|
123
136
|
self.hidden = attributes[:'hidden']
|
|
124
137
|
else
|
|
@@ -131,6 +144,10 @@ module PulpContainerClient
|
|
|
131
144
|
end
|
|
132
145
|
end
|
|
133
146
|
|
|
147
|
+
if attributes.key?(:'base_path')
|
|
148
|
+
self.base_path = attributes[:'base_path']
|
|
149
|
+
end
|
|
150
|
+
|
|
134
151
|
if attributes.key?(:'repository')
|
|
135
152
|
self.repository = attributes[:'repository']
|
|
136
153
|
end
|
|
@@ -139,22 +156,14 @@ module PulpContainerClient
|
|
|
139
156
|
self.pulp_created = attributes[:'pulp_created']
|
|
140
157
|
end
|
|
141
158
|
|
|
142
|
-
if attributes.key?(:'
|
|
143
|
-
self.
|
|
144
|
-
end
|
|
145
|
-
|
|
146
|
-
if attributes.key?(:'pulp_href')
|
|
147
|
-
self.pulp_href = attributes[:'pulp_href']
|
|
159
|
+
if attributes.key?(:'content_guard')
|
|
160
|
+
self.content_guard = attributes[:'content_guard']
|
|
148
161
|
end
|
|
149
162
|
|
|
150
163
|
if attributes.key?(:'name')
|
|
151
164
|
self.name = attributes[:'name']
|
|
152
165
|
end
|
|
153
166
|
|
|
154
|
-
if attributes.key?(:'content_guard')
|
|
155
|
-
self.content_guard = attributes[:'content_guard']
|
|
156
|
-
end
|
|
157
|
-
|
|
158
167
|
if attributes.key?(:'repository_version')
|
|
159
168
|
self.repository_version = attributes[:'repository_version']
|
|
160
169
|
end
|
|
@@ -208,14 +217,15 @@ module PulpContainerClient
|
|
|
208
217
|
def ==(o)
|
|
209
218
|
return true if self.equal?(o)
|
|
210
219
|
self.class == o.class &&
|
|
220
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
221
|
+
pulp_href == o.pulp_href &&
|
|
211
222
|
hidden == o.hidden &&
|
|
212
223
|
pulp_labels == o.pulp_labels &&
|
|
224
|
+
base_path == o.base_path &&
|
|
213
225
|
repository == o.repository &&
|
|
214
226
|
pulp_created == o.pulp_created &&
|
|
215
|
-
base_path == o.base_path &&
|
|
216
|
-
pulp_href == o.pulp_href &&
|
|
217
|
-
name == o.name &&
|
|
218
227
|
content_guard == o.content_guard &&
|
|
228
|
+
name == o.name &&
|
|
219
229
|
repository_version == o.repository_version &&
|
|
220
230
|
registry_path == o.registry_path &&
|
|
221
231
|
remote == o.remote &&
|
|
@@ -233,7 +243,7 @@ module PulpContainerClient
|
|
|
233
243
|
# Calculates hash code according to all attributes.
|
|
234
244
|
# @return [Integer] Hash code
|
|
235
245
|
def hash
|
|
236
|
-
[
|
|
246
|
+
[pulp_last_updated, pulp_href, hidden, pulp_labels, base_path, repository, pulp_created, content_guard, name, repository_version, registry_path, remote, namespace, private, description].hash
|
|
237
247
|
end
|
|
238
248
|
|
|
239
249
|
# Builds the object from hash
|
|
@@ -20,6 +20,9 @@ module PulpContainerClient
|
|
|
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 :name
|
|
24
27
|
|
|
25
28
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -27,6 +30,7 @@ module PulpContainerClient
|
|
|
27
30
|
{
|
|
28
31
|
:'pulp_href' => :'pulp_href',
|
|
29
32
|
:'pulp_created' => :'pulp_created',
|
|
33
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
30
34
|
:'name' => :'name'
|
|
31
35
|
}
|
|
32
36
|
end
|
|
@@ -36,6 +40,7 @@ module PulpContainerClient
|
|
|
36
40
|
{
|
|
37
41
|
:'pulp_href' => :'String',
|
|
38
42
|
:'pulp_created' => :'DateTime',
|
|
43
|
+
:'pulp_last_updated' => :'DateTime',
|
|
39
44
|
:'name' => :'String'
|
|
40
45
|
}
|
|
41
46
|
end
|
|
@@ -69,6 +74,10 @@ module PulpContainerClient
|
|
|
69
74
|
self.pulp_created = attributes[:'pulp_created']
|
|
70
75
|
end
|
|
71
76
|
|
|
77
|
+
if attributes.key?(:'pulp_last_updated')
|
|
78
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
79
|
+
end
|
|
80
|
+
|
|
72
81
|
if attributes.key?(:'name')
|
|
73
82
|
self.name = attributes[:'name']
|
|
74
83
|
end
|
|
@@ -99,6 +108,7 @@ module PulpContainerClient
|
|
|
99
108
|
self.class == o.class &&
|
|
100
109
|
pulp_href == o.pulp_href &&
|
|
101
110
|
pulp_created == o.pulp_created &&
|
|
111
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
102
112
|
name == o.name
|
|
103
113
|
end
|
|
104
114
|
|
|
@@ -111,7 +121,7 @@ module PulpContainerClient
|
|
|
111
121
|
# Calculates hash code according to all attributes.
|
|
112
122
|
# @return [Integer] Hash code
|
|
113
123
|
def hash
|
|
114
|
-
[pulp_href, pulp_created, name].hash
|
|
124
|
+
[pulp_href, pulp_created, pulp_last_updated, name].hash
|
|
115
125
|
end
|
|
116
126
|
|
|
117
127
|
# Builds the object from hash
|