pulp_container_client 2.19.3 → 2.19.5
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 +8 -8
- data/docs/ContainerContainerDistributionResponse.md +12 -10
- data/docs/ContainerContainerNamespaceResponse.md +2 -0
- data/docs/ContainerContainerPullThroughDistribution.md +8 -8
- data/docs/ContainerContainerPullThroughDistributionResponse.md +12 -10
- data/docs/ContainerContainerPullThroughRemoteResponse.md +2 -2
- data/docs/ContainerContainerPullThroughRemoteResponseHiddenFields.md +2 -2
- data/docs/ContainerContainerPushRepository.md +4 -4
- 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 +8 -8
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +8 -8
- data/docs/PatchedcontainerContainerPushRepository.md +4 -4
- 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 +33 -33
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +50 -40
- 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 +33 -33
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +50 -40
- 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 +34 -34
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +52 -42
- 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 +33 -33
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +33 -33
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +34 -34
- 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 +6 -6
- 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 +6 -6
- data/spec/models/container_container_pull_through_remote_response_spec.rb +6 -6
- data/spec/models/container_container_push_repository_response_spec.rb +13 -7
- data/spec/models/container_container_push_repository_spec.rb +3 -3
- 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 +6 -6
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +6 -6
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +3 -3
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +77 -85
- 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
|
-
**
|
8
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
7
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
9
8
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [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
|
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
12
|
-
**
|
11
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [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,
|
22
|
+
instance = PulpContainerClient::PatchedcontainerContainerDistribution.new(pulp_labels: null,
|
24
23
|
content_guard: null,
|
25
|
-
|
24
|
+
base_path: null,
|
26
25
|
hidden: null,
|
27
|
-
|
26
|
+
repository: 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
|
-
**
|
8
|
-
**name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional]
|
7
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
9
8
|
**content_guard** | **String** | An optional content-guard. If none is specified, a default one will be used. | [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
|
**hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional] [default to false]
|
12
|
-
**
|
11
|
+
**repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [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,
|
23
|
+
instance = PulpContainerClient::PatchedcontainerContainerPullThroughDistribution.new(pulp_labels: null,
|
25
24
|
content_guard: null,
|
26
|
-
|
25
|
+
base_path: null,
|
27
26
|
hidden: null,
|
28
|
-
|
27
|
+
repository: 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
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
8
9
|
**manifest_signing_service** | **String** | A reference to an associated signing service. | [optional]
|
9
|
-
**name** | **String** | A unique name for this repository. | [optional]
|
10
10
|
**description** | **String** | An optional description. | [optional]
|
11
|
-
**
|
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
|
+
pulp_labels: null,
|
19
20
|
manifest_signing_service: null,
|
20
|
-
name: null,
|
21
21
|
description: null,
|
22
|
-
|
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 :base_path
|
20
|
-
|
21
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
22
|
-
attr_accessor :name
|
18
|
+
attr_accessor :pulp_labels
|
23
19
|
|
24
20
|
# An optional content-guard. If none is specified, a default one will be used.
|
25
21
|
attr_accessor :content_guard
|
26
22
|
|
27
|
-
# The
|
28
|
-
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
|
29
25
|
|
30
26
|
# Whether this distribution should be shown in the content app.
|
31
27
|
attr_accessor :hidden
|
32
28
|
|
33
|
-
|
29
|
+
# The latest RepositoryVersion for this Repository will be served.
|
30
|
+
attr_accessor :repository
|
31
|
+
|
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
|
-
:'
|
48
|
-
:'name' => :'name',
|
47
|
+
:'pulp_labels' => :'pulp_labels',
|
49
48
|
:'content_guard' => :'content_guard',
|
50
|
-
:'
|
49
|
+
:'base_path' => :'base_path',
|
51
50
|
:'hidden' => :'hidden',
|
52
|
-
:'
|
51
|
+
:'repository' => :'repository',
|
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
|
-
:'
|
63
|
-
:'name' => :'String',
|
62
|
+
:'pulp_labels' => :'Hash<String, String>',
|
64
63
|
:'content_guard' => :'String',
|
65
|
-
:'
|
64
|
+
:'base_path' => :'String',
|
66
65
|
:'hidden' => :'Boolean',
|
67
|
-
:'
|
66
|
+
:'repository' => :'String',
|
67
|
+
:'name' => :'String',
|
68
68
|
:'repository_version' => :'String',
|
69
69
|
:'private' => :'Boolean',
|
70
70
|
:'description' => :'String'
|
@@ -95,20 +95,18 @@ module PulpContainerClient
|
|
95
95
|
h[k.to_sym] = v
|
96
96
|
}
|
97
97
|
|
98
|
-
if attributes.key?(:'
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
if attributes.key?(:'name')
|
103
|
-
self.name = attributes[:'name']
|
98
|
+
if attributes.key?(:'pulp_labels')
|
99
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
100
|
+
self.pulp_labels = value
|
101
|
+
end
|
104
102
|
end
|
105
103
|
|
106
104
|
if attributes.key?(:'content_guard')
|
107
105
|
self.content_guard = attributes[:'content_guard']
|
108
106
|
end
|
109
107
|
|
110
|
-
if attributes.key?(:'
|
111
|
-
self.
|
108
|
+
if attributes.key?(:'base_path')
|
109
|
+
self.base_path = attributes[:'base_path']
|
112
110
|
end
|
113
111
|
|
114
112
|
if attributes.key?(:'hidden')
|
@@ -117,10 +115,12 @@ module PulpContainerClient
|
|
117
115
|
self.hidden = false
|
118
116
|
end
|
119
117
|
|
120
|
-
if attributes.key?(:'
|
121
|
-
|
122
|
-
|
123
|
-
|
118
|
+
if attributes.key?(:'repository')
|
119
|
+
self.repository = attributes[:'repository']
|
120
|
+
end
|
121
|
+
|
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
|
-
|
221
|
-
name == o.name &&
|
220
|
+
pulp_labels == o.pulp_labels &&
|
222
221
|
content_guard == o.content_guard &&
|
223
|
-
|
222
|
+
base_path == o.base_path &&
|
224
223
|
hidden == o.hidden &&
|
225
|
-
|
224
|
+
repository == o.repository &&
|
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
|
+
[pulp_labels, content_guard, base_path, hidden, repository, name, repository_version, private, description].hash
|
241
241
|
end
|
242
242
|
|
243
243
|
# Builds the object from hash
|
@@ -15,27 +15,30 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class ContainerContainerDistributionResponse
|
18
|
-
#
|
19
|
-
attr_accessor :
|
18
|
+
# Timestamp of creation.
|
19
|
+
attr_accessor :pulp_created
|
20
20
|
|
21
|
-
#
|
22
|
-
attr_accessor :
|
21
|
+
# 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.
|
22
|
+
attr_accessor :pulp_last_updated
|
23
|
+
|
24
|
+
attr_accessor :pulp_labels
|
23
25
|
|
24
26
|
attr_accessor :pulp_href
|
25
27
|
|
26
28
|
# An optional content-guard. If none is specified, a default one will be used.
|
27
29
|
attr_accessor :content_guard
|
28
30
|
|
29
|
-
# The
|
30
|
-
attr_accessor :
|
31
|
-
|
32
|
-
# Timestamp of creation.
|
33
|
-
attr_accessor :pulp_created
|
31
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
32
|
+
attr_accessor :base_path
|
34
33
|
|
35
34
|
# Whether this distribution should be shown in the content app.
|
36
35
|
attr_accessor :hidden
|
37
36
|
|
38
|
-
|
37
|
+
# The latest RepositoryVersion for this Repository will be served.
|
38
|
+
attr_accessor :repository
|
39
|
+
|
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
|
-
:'
|
64
|
+
:'pulp_created' => :'pulp_created',
|
65
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
66
|
+
:'pulp_labels' => :'pulp_labels',
|
63
67
|
:'pulp_href' => :'pulp_href',
|
64
68
|
:'content_guard' => :'content_guard',
|
65
|
-
:'
|
66
|
-
:'pulp_created' => :'pulp_created',
|
69
|
+
:'base_path' => :'base_path',
|
67
70
|
:'hidden' => :'hidden',
|
68
|
-
:'
|
71
|
+
:'repository' => :'repository',
|
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
|
-
:'
|
85
|
+
:'pulp_created' => :'DateTime',
|
86
|
+
:'pulp_last_updated' => :'DateTime',
|
87
|
+
:'pulp_labels' => :'Hash<String, String>',
|
83
88
|
:'pulp_href' => :'String',
|
84
89
|
:'content_guard' => :'String',
|
85
|
-
:'
|
86
|
-
:'pulp_created' => :'DateTime',
|
90
|
+
:'base_path' => :'String',
|
87
91
|
:'hidden' => :'Boolean',
|
88
|
-
:'
|
92
|
+
:'repository' => :'String',
|
93
|
+
:'name' => :'String',
|
89
94
|
:'repository_version' => :'String',
|
90
95
|
:'registry_path' => :'String',
|
91
96
|
:'remote' => :'String',
|
@@ -119,12 +124,18 @@ module PulpContainerClient
|
|
119
124
|
h[k.to_sym] = v
|
120
125
|
}
|
121
126
|
|
122
|
-
if attributes.key?(:'
|
123
|
-
self.
|
127
|
+
if attributes.key?(:'pulp_created')
|
128
|
+
self.pulp_created = attributes[:'pulp_created']
|
124
129
|
end
|
125
130
|
|
126
|
-
if attributes.key?(:'
|
127
|
-
self.
|
131
|
+
if attributes.key?(:'pulp_last_updated')
|
132
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
133
|
+
end
|
134
|
+
|
135
|
+
if attributes.key?(:'pulp_labels')
|
136
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
137
|
+
self.pulp_labels = value
|
138
|
+
end
|
128
139
|
end
|
129
140
|
|
130
141
|
if attributes.key?(:'pulp_href')
|
@@ -135,12 +146,8 @@ module PulpContainerClient
|
|
135
146
|
self.content_guard = attributes[:'content_guard']
|
136
147
|
end
|
137
148
|
|
138
|
-
if attributes.key?(:'
|
139
|
-
self.
|
140
|
-
end
|
141
|
-
|
142
|
-
if attributes.key?(:'pulp_created')
|
143
|
-
self.pulp_created = attributes[:'pulp_created']
|
149
|
+
if attributes.key?(:'base_path')
|
150
|
+
self.base_path = attributes[:'base_path']
|
144
151
|
end
|
145
152
|
|
146
153
|
if attributes.key?(:'hidden')
|
@@ -149,10 +156,12 @@ module PulpContainerClient
|
|
149
156
|
self.hidden = false
|
150
157
|
end
|
151
158
|
|
152
|
-
if attributes.key?(:'
|
153
|
-
|
154
|
-
|
155
|
-
|
159
|
+
if attributes.key?(:'repository')
|
160
|
+
self.repository = attributes[:'repository']
|
161
|
+
end
|
162
|
+
|
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
|
-
|
220
|
+
pulp_created == o.pulp_created &&
|
221
|
+
pulp_last_updated == o.pulp_last_updated &&
|
222
|
+
pulp_labels == o.pulp_labels &&
|
213
223
|
pulp_href == o.pulp_href &&
|
214
224
|
content_guard == o.content_guard &&
|
215
|
-
|
216
|
-
pulp_created == o.pulp_created &&
|
225
|
+
base_path == o.base_path &&
|
217
226
|
hidden == o.hidden &&
|
218
|
-
|
227
|
+
repository == o.repository &&
|
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_created, pulp_last_updated, pulp_labels, pulp_href, content_guard, base_path, hidden, repository, name, repository_version, registry_path, remote, namespace, private, description].hash
|
237
247
|
end
|
238
248
|
|
239
249
|
# Builds the object from hash
|