pulp_container_client 2.19.3 → 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 +9 -9
- data/docs/ContainerContainerDistributionResponse.md +12 -10
- data/docs/ContainerContainerNamespaceResponse.md +2 -0
- data/docs/ContainerContainerPullThroughDistribution.md +9 -9
- data/docs/ContainerContainerPullThroughDistributionResponse.md +12 -10
- 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 +9 -9
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +9 -9
- 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 +36 -36
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +52 -42
- 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 +36 -36
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +52 -42
- 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 +39 -39
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +49 -39
- 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 +36 -36
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +36 -36
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +39 -39
- 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 +5 -5
- 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 +5 -5
- data/spec/models/container_container_pull_through_remote_response_spec.rb +6 -6
- data/spec/models/container_container_push_repository_response_spec.rb +12 -6
- 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 +5 -5
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +5 -5
- 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<ContainerContainerRemoteResponse>**](ContainerContainerRemoteResponse.md) | |
|
|
10
|
+
**results** | [**Array<ContainerContainerRemoteResponse>**](ContainerContainerRemoteResponse.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<ContainerContainerRepositoryResponse>**](ContainerContainerRepositoryResponse.md) | |
|
|
10
|
+
**results** | [**Array<ContainerContainerRepositoryResponse>**](ContainerContainerRepositoryResponse.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<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
|
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**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]
|
|
8
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
|
9
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
10
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
11
7
|
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
12
8
|
**pulp_labels** | **Hash<String, String>** | | [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\") | [optional]
|
|
10
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
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]
|
|
@@ -19,12 +19,12 @@ Name | Type | Description | Notes
|
|
|
19
19
|
```ruby
|
|
20
20
|
require 'PulpContainerClient'
|
|
21
21
|
|
|
22
|
-
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(
|
|
23
|
-
name: null,
|
|
24
|
-
content_guard: null,
|
|
25
|
-
repository: null,
|
|
26
|
-
hidden: null,
|
|
22
|
+
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(hidden: null,
|
|
27
23
|
pulp_labels: null,
|
|
24
|
+
base_path: null,
|
|
25
|
+
repository: null,
|
|
26
|
+
content_guard: null,
|
|
27
|
+
name: null,
|
|
28
28
|
repository_version: null,
|
|
29
29
|
private: null,
|
|
30
30
|
description: null)
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**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]
|
|
8
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
|
9
|
-
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [optional]
|
|
10
|
-
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
11
7
|
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
|
12
8
|
**pulp_labels** | **Hash<String, String>** | | [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\") | [optional]
|
|
10
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional]
|
|
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]
|
|
@@ -20,12 +20,12 @@ Name | Type | Description | Notes
|
|
|
20
20
|
```ruby
|
|
21
21
|
require 'PulpContainerClient'
|
|
22
22
|
|
|
23
|
-
instance = PulpContainerClient::PatchedcontainerContainerPullThroughDistribution.new(
|
|
24
|
-
name: null,
|
|
25
|
-
content_guard: null,
|
|
26
|
-
repository: null,
|
|
27
|
-
hidden: null,
|
|
23
|
+
instance = PulpContainerClient::PatchedcontainerContainerPullThroughDistribution.new(hidden: null,
|
|
28
24
|
pulp_labels: null,
|
|
25
|
+
base_path: null,
|
|
26
|
+
repository: null,
|
|
27
|
+
content_guard: null,
|
|
28
|
+
name: null,
|
|
29
29
|
remote: null,
|
|
30
30
|
distributions: null,
|
|
31
31
|
private: null,
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
7
|
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
|
8
|
-
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
|
9
|
-
**name** | **String** | A unique name for this repository. | [optional]
|
|
10
8
|
**description** | **String** | An optional description. | [optional]
|
|
9
|
+
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
|
11
10
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
|
11
|
+
**name** | **String** | A unique name for this repository. | [optional]
|
|
12
12
|
|
|
13
13
|
## Code Sample
|
|
14
14
|
|
|
@@ -16,10 +16,10 @@ Name | Type | Description | Notes
|
|
|
16
16
|
require 'PulpContainerClient'
|
|
17
17
|
|
|
18
18
|
instance = PulpContainerClient::PatchedcontainerContainerPushRepository.new(retain_repo_versions: null,
|
|
19
|
-
manifest_signing_service: null,
|
|
20
|
-
name: null,
|
|
21
19
|
description: null,
|
|
22
|
-
|
|
20
|
+
manifest_signing_service: null,
|
|
21
|
+
pulp_labels: null,
|
|
22
|
+
name: null)
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
|
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
|
|
@@ -15,22 +15,22 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for ContainerDistribution.
|
|
17
17
|
class ContainerContainerDistribution
|
|
18
|
-
#
|
|
19
|
-
attr_accessor :
|
|
18
|
+
# Whether this distribution should be shown in the content app.
|
|
19
|
+
attr_accessor :hidden
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
attr_accessor :name
|
|
21
|
+
attr_accessor :pulp_labels
|
|
23
22
|
|
|
24
|
-
#
|
|
25
|
-
attr_accessor :
|
|
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\")
|
|
24
|
+
attr_accessor :base_path
|
|
26
25
|
|
|
27
26
|
# The latest RepositoryVersion for this Repository will be served.
|
|
28
27
|
attr_accessor :repository
|
|
29
28
|
|
|
30
|
-
#
|
|
31
|
-
attr_accessor :
|
|
29
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
30
|
+
attr_accessor :content_guard
|
|
32
31
|
|
|
33
|
-
|
|
32
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
33
|
+
attr_accessor :name
|
|
34
34
|
|
|
35
35
|
# RepositoryVersion to be served
|
|
36
36
|
attr_accessor :repository_version
|
|
@@ -44,12 +44,12 @@ module PulpContainerClient
|
|
|
44
44
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
45
45
|
def self.attribute_map
|
|
46
46
|
{
|
|
47
|
-
:'base_path' => :'base_path',
|
|
48
|
-
:'name' => :'name',
|
|
49
|
-
:'content_guard' => :'content_guard',
|
|
50
|
-
:'repository' => :'repository',
|
|
51
47
|
:'hidden' => :'hidden',
|
|
52
48
|
:'pulp_labels' => :'pulp_labels',
|
|
49
|
+
:'base_path' => :'base_path',
|
|
50
|
+
:'repository' => :'repository',
|
|
51
|
+
:'content_guard' => :'content_guard',
|
|
52
|
+
:'name' => :'name',
|
|
53
53
|
:'repository_version' => :'repository_version',
|
|
54
54
|
:'private' => :'private',
|
|
55
55
|
:'description' => :'description'
|
|
@@ -59,12 +59,12 @@ module PulpContainerClient
|
|
|
59
59
|
# Attribute type mapping.
|
|
60
60
|
def self.openapi_types
|
|
61
61
|
{
|
|
62
|
-
:'base_path' => :'String',
|
|
63
|
-
:'name' => :'String',
|
|
64
|
-
:'content_guard' => :'String',
|
|
65
|
-
:'repository' => :'String',
|
|
66
62
|
:'hidden' => :'Boolean',
|
|
67
63
|
:'pulp_labels' => :'Hash<String, String>',
|
|
64
|
+
:'base_path' => :'String',
|
|
65
|
+
:'repository' => :'String',
|
|
66
|
+
:'content_guard' => :'String',
|
|
67
|
+
:'name' => :'String',
|
|
68
68
|
:'repository_version' => :'String',
|
|
69
69
|
:'private' => :'Boolean',
|
|
70
70
|
:'description' => :'String'
|
|
@@ -95,32 +95,32 @@ module PulpContainerClient
|
|
|
95
95
|
h[k.to_sym] = v
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
if attributes.key?(:'
|
|
99
|
-
self.
|
|
98
|
+
if attributes.key?(:'hidden')
|
|
99
|
+
self.hidden = attributes[:'hidden']
|
|
100
|
+
else
|
|
101
|
+
self.hidden = false
|
|
100
102
|
end
|
|
101
103
|
|
|
102
|
-
if attributes.key?(:'
|
|
103
|
-
|
|
104
|
+
if attributes.key?(:'pulp_labels')
|
|
105
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
106
|
+
self.pulp_labels = value
|
|
107
|
+
end
|
|
104
108
|
end
|
|
105
109
|
|
|
106
|
-
if attributes.key?(:'
|
|
107
|
-
self.
|
|
110
|
+
if attributes.key?(:'base_path')
|
|
111
|
+
self.base_path = attributes[:'base_path']
|
|
108
112
|
end
|
|
109
113
|
|
|
110
114
|
if attributes.key?(:'repository')
|
|
111
115
|
self.repository = attributes[:'repository']
|
|
112
116
|
end
|
|
113
117
|
|
|
114
|
-
if attributes.key?(:'
|
|
115
|
-
self.
|
|
116
|
-
else
|
|
117
|
-
self.hidden = false
|
|
118
|
+
if attributes.key?(:'content_guard')
|
|
119
|
+
self.content_guard = attributes[:'content_guard']
|
|
118
120
|
end
|
|
119
121
|
|
|
120
|
-
if attributes.key?(:'
|
|
121
|
-
|
|
122
|
-
self.pulp_labels = value
|
|
123
|
-
end
|
|
122
|
+
if attributes.key?(:'name')
|
|
123
|
+
self.name = attributes[:'name']
|
|
124
124
|
end
|
|
125
125
|
|
|
126
126
|
if attributes.key?(:'repository_version')
|
|
@@ -217,12 +217,12 @@ module PulpContainerClient
|
|
|
217
217
|
def ==(o)
|
|
218
218
|
return true if self.equal?(o)
|
|
219
219
|
self.class == o.class &&
|
|
220
|
-
base_path == o.base_path &&
|
|
221
|
-
name == o.name &&
|
|
222
|
-
content_guard == o.content_guard &&
|
|
223
|
-
repository == o.repository &&
|
|
224
220
|
hidden == o.hidden &&
|
|
225
221
|
pulp_labels == o.pulp_labels &&
|
|
222
|
+
base_path == o.base_path &&
|
|
223
|
+
repository == o.repository &&
|
|
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
|
-
[
|
|
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,16 +15,18 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for ContainerDistribution.
|
|
17
17
|
class ContainerContainerDistributionResponse
|
|
18
|
-
#
|
|
19
|
-
attr_accessor :
|
|
20
|
-
|
|
21
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
|
22
|
-
attr_accessor :name
|
|
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
|
|
23
20
|
|
|
24
21
|
attr_accessor :pulp_href
|
|
25
22
|
|
|
26
|
-
#
|
|
27
|
-
attr_accessor :
|
|
23
|
+
# Whether this distribution should be shown in the content app.
|
|
24
|
+
attr_accessor :hidden
|
|
25
|
+
|
|
26
|
+
attr_accessor :pulp_labels
|
|
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
|
|
28
30
|
|
|
29
31
|
# The latest RepositoryVersion for this Repository will be served.
|
|
30
32
|
attr_accessor :repository
|
|
@@ -32,10 +34,11 @@ module PulpContainerClient
|
|
|
32
34
|
# Timestamp of creation.
|
|
33
35
|
attr_accessor :pulp_created
|
|
34
36
|
|
|
35
|
-
#
|
|
36
|
-
attr_accessor :
|
|
37
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
38
|
+
attr_accessor :content_guard
|
|
37
39
|
|
|
38
|
-
|
|
40
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
41
|
+
attr_accessor :name
|
|
39
42
|
|
|
40
43
|
# RepositoryVersion to be served
|
|
41
44
|
attr_accessor :repository_version
|
|
@@ -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
|
{
|
|
61
|
-
:'
|
|
62
|
-
:'name' => :'name',
|
|
64
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
63
65
|
:'pulp_href' => :'pulp_href',
|
|
64
|
-
:'content_guard' => :'content_guard',
|
|
65
|
-
:'repository' => :'repository',
|
|
66
|
-
:'pulp_created' => :'pulp_created',
|
|
67
66
|
:'hidden' => :'hidden',
|
|
68
67
|
:'pulp_labels' => :'pulp_labels',
|
|
68
|
+
:'base_path' => :'base_path',
|
|
69
|
+
:'repository' => :'repository',
|
|
70
|
+
:'pulp_created' => :'pulp_created',
|
|
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
|
{
|
|
81
|
-
:'
|
|
82
|
-
:'name' => :'String',
|
|
85
|
+
:'pulp_last_updated' => :'DateTime',
|
|
83
86
|
:'pulp_href' => :'String',
|
|
84
|
-
:'content_guard' => :'String',
|
|
85
|
-
:'repository' => :'String',
|
|
86
|
-
:'pulp_created' => :'DateTime',
|
|
87
87
|
:'hidden' => :'Boolean',
|
|
88
88
|
:'pulp_labels' => :'Hash<String, String>',
|
|
89
|
+
:'base_path' => :'String',
|
|
90
|
+
:'repository' => :'String',
|
|
91
|
+
:'pulp_created' => :'DateTime',
|
|
92
|
+
:'content_guard' => :'String',
|
|
93
|
+
:'name' => :'String',
|
|
89
94
|
:'repository_version' => :'String',
|
|
90
95
|
:'registry_path' => :'String',
|
|
91
96
|
:'remote' => :'String',
|
|
@@ -119,20 +124,28 @@ module PulpContainerClient
|
|
|
119
124
|
h[k.to_sym] = v
|
|
120
125
|
}
|
|
121
126
|
|
|
122
|
-
if attributes.key?(:'
|
|
123
|
-
self.
|
|
124
|
-
end
|
|
125
|
-
|
|
126
|
-
if attributes.key?(:'name')
|
|
127
|
-
self.name = attributes[:'name']
|
|
127
|
+
if attributes.key?(:'pulp_last_updated')
|
|
128
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
128
129
|
end
|
|
129
130
|
|
|
130
131
|
if attributes.key?(:'pulp_href')
|
|
131
132
|
self.pulp_href = attributes[:'pulp_href']
|
|
132
133
|
end
|
|
133
134
|
|
|
134
|
-
if attributes.key?(:'
|
|
135
|
-
self.
|
|
135
|
+
if attributes.key?(:'hidden')
|
|
136
|
+
self.hidden = attributes[:'hidden']
|
|
137
|
+
else
|
|
138
|
+
self.hidden = false
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
if attributes.key?(:'pulp_labels')
|
|
142
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
143
|
+
self.pulp_labels = value
|
|
144
|
+
end
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
if attributes.key?(:'base_path')
|
|
148
|
+
self.base_path = attributes[:'base_path']
|
|
136
149
|
end
|
|
137
150
|
|
|
138
151
|
if attributes.key?(:'repository')
|
|
@@ -143,16 +156,12 @@ module PulpContainerClient
|
|
|
143
156
|
self.pulp_created = attributes[:'pulp_created']
|
|
144
157
|
end
|
|
145
158
|
|
|
146
|
-
if attributes.key?(:'
|
|
147
|
-
self.
|
|
148
|
-
else
|
|
149
|
-
self.hidden = false
|
|
159
|
+
if attributes.key?(:'content_guard')
|
|
160
|
+
self.content_guard = attributes[:'content_guard']
|
|
150
161
|
end
|
|
151
162
|
|
|
152
|
-
if attributes.key?(:'
|
|
153
|
-
|
|
154
|
-
self.pulp_labels = value
|
|
155
|
-
end
|
|
163
|
+
if attributes.key?(:'name')
|
|
164
|
+
self.name = attributes[:'name']
|
|
156
165
|
end
|
|
157
166
|
|
|
158
167
|
if attributes.key?(:'repository_version')
|
|
@@ -208,14 +217,15 @@ module PulpContainerClient
|
|
|
208
217
|
def ==(o)
|
|
209
218
|
return true if self.equal?(o)
|
|
210
219
|
self.class == o.class &&
|
|
211
|
-
|
|
212
|
-
name == o.name &&
|
|
220
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
213
221
|
pulp_href == o.pulp_href &&
|
|
214
|
-
content_guard == o.content_guard &&
|
|
215
|
-
repository == o.repository &&
|
|
216
|
-
pulp_created == o.pulp_created &&
|
|
217
222
|
hidden == o.hidden &&
|
|
218
223
|
pulp_labels == o.pulp_labels &&
|
|
224
|
+
base_path == o.base_path &&
|
|
225
|
+
repository == o.repository &&
|
|
226
|
+
pulp_created == o.pulp_created &&
|
|
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
|