pulp_container_client 2.27.1 → 2.27.2
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 +7 -7
- data/docs/ContainerContainerDistribution.md +6 -6
- data/docs/ContainerContainerDistributionResponse.md +12 -12
- data/docs/ContainerContainerPullThroughDistribution.md +6 -6
- data/docs/ContainerContainerPullThroughDistributionResponse.md +12 -12
- data/docs/ContainerContainerPushRepository.md +7 -7
- data/docs/ContainerContainerPushRepositoryResponse.md +15 -15
- data/docs/ContentBlobsApi.md +6 -6
- data/docs/ContentManifestsApi.md +6 -6
- data/docs/ContentSignaturesApi.md +6 -6
- data/docs/ContentTagsApi.md +6 -6
- data/docs/DistributionsContainerApi.md +6 -6
- data/docs/DistributionsPullThroughApi.md +6 -6
- data/docs/PatchedcontainerContainerDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPushRepository.md +7 -7
- data/docs/RepositoriesContainerApi.md +2 -2
- data/docs/RepositoriesContainerPushApi.md +2 -2
- data/lib/pulp_container_client/api/content_blobs_api.rb +6 -6
- data/lib/pulp_container_client/api/content_manifests_api.rb +6 -6
- data/lib/pulp_container_client/api/content_signatures_api.rb +6 -6
- data/lib/pulp_container_client/api/content_tags_api.rb +6 -6
- data/lib/pulp_container_client/api/distributions_container_api.rb +4 -4
- data/lib/pulp_container_client/api/distributions_pull_through_api.rb +4 -4
- data/lib/pulp_container_client/api/repositories_container_api.rb +2 -2
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +2 -2
- data/lib/pulp_container_client/models/container_container_distribution.rb +51 -51
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +62 -62
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +51 -51
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +62 -62
- data/lib/pulp_container_client/models/container_container_push_repository.rb +48 -48
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +65 -65
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +46 -46
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +46 -46
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +46 -46
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/api/content_blobs_api_spec.rb +3 -3
- data/spec/api/content_manifests_api_spec.rb +3 -3
- data/spec/api/content_signatures_api_spec.rb +3 -3
- data/spec/api/content_tags_api_spec.rb +3 -3
- data/spec/api/distributions_container_api_spec.rb +2 -2
- data/spec/api/distributions_pull_through_api_spec.rb +2 -2
- data/spec/api/repositories_container_api_spec.rb +1 -1
- data/spec/api/repositories_container_push_api_spec.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +9 -9
- data/spec/models/container_container_distribution_spec.rb +5 -5
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +9 -9
- data/spec/models/container_container_pull_through_distribution_spec.rb +5 -5
- data/spec/models/container_container_push_repository_response_spec.rb +11 -11
- data/spec/models/container_container_push_repository_spec.rb +5 -5
- 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 +5 -5
- metadata +2 -2
|
@@ -136,7 +136,7 @@ opts = {
|
|
|
136
136
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
137
137
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
|
138
138
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
|
139
|
-
remote: '
|
|
139
|
+
remote: 'remote_example', # String |
|
|
140
140
|
retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
|
|
141
141
|
retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
|
|
142
142
|
retain_repo_versions__gte: 56, # Integer | Filter results where retain_repo_versions is greater than or equal to value
|
|
@@ -200,7 +200,7 @@ end
|
|
|
200
200
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
201
201
|
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
|
202
202
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
|
203
|
-
| **remote** | **String** |
|
|
203
|
+
| **remote** | **String** | | [optional] |
|
|
204
204
|
| **retain_repo_versions** | **Integer** | Filter results where retain_repo_versions matches value | [optional] |
|
|
205
205
|
| **retain_repo_versions__gt** | **Integer** | Filter results where retain_repo_versions is greater than value | [optional] |
|
|
206
206
|
| **retain_repo_versions__gte** | **Integer** | Filter results where retain_repo_versions is greater than or equal to value | [optional] |
|
|
@@ -34,9 +34,9 @@ module PulpContainerClient
|
|
|
34
34
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
35
35
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
36
36
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
37
|
-
# @option opts [String] :repository_version
|
|
38
|
-
# @option opts [String] :repository_version_added
|
|
39
|
-
# @option opts [String] :repository_version_removed
|
|
37
|
+
# @option opts [String] :repository_version
|
|
38
|
+
# @option opts [String] :repository_version_added
|
|
39
|
+
# @option opts [String] :repository_version_removed
|
|
40
40
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
41
41
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
42
42
|
# @return [PaginatedcontainerBlobResponseList]
|
|
@@ -60,9 +60,9 @@ module PulpContainerClient
|
|
|
60
60
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
61
61
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
62
62
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
63
|
-
# @option opts [String] :repository_version
|
|
64
|
-
# @option opts [String] :repository_version_added
|
|
65
|
-
# @option opts [String] :repository_version_removed
|
|
63
|
+
# @option opts [String] :repository_version
|
|
64
|
+
# @option opts [String] :repository_version_added
|
|
65
|
+
# @option opts [String] :repository_version_removed
|
|
66
66
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
67
67
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
68
68
|
# @return [Array<(PaginatedcontainerBlobResponseList, Integer, Hash)>] PaginatedcontainerBlobResponseList data, response status code and response headers
|
|
@@ -37,9 +37,9 @@ module PulpContainerClient
|
|
|
37
37
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
38
38
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
39
39
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
40
|
-
# @option opts [String] :repository_version
|
|
41
|
-
# @option opts [String] :repository_version_added
|
|
42
|
-
# @option opts [String] :repository_version_removed
|
|
40
|
+
# @option opts [String] :repository_version
|
|
41
|
+
# @option opts [String] :repository_version_added
|
|
42
|
+
# @option opts [String] :repository_version_removed
|
|
43
43
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
44
44
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
45
45
|
# @return [PaginatedcontainerManifestResponseList]
|
|
@@ -66,9 +66,9 @@ module PulpContainerClient
|
|
|
66
66
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
67
67
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
68
68
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
69
|
-
# @option opts [String] :repository_version
|
|
70
|
-
# @option opts [String] :repository_version_added
|
|
71
|
-
# @option opts [String] :repository_version_removed
|
|
69
|
+
# @option opts [String] :repository_version
|
|
70
|
+
# @option opts [String] :repository_version_added
|
|
71
|
+
# @option opts [String] :repository_version_removed
|
|
72
72
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
73
73
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
74
74
|
# @return [Array<(PaginatedcontainerManifestResponseList, Integer, Hash)>] PaginatedcontainerManifestResponseList data, response status code and response headers
|
|
@@ -46,9 +46,9 @@ module PulpContainerClient
|
|
|
46
46
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
47
47
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
48
48
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
49
|
-
# @option opts [String] :repository_version
|
|
50
|
-
# @option opts [String] :repository_version_added
|
|
51
|
-
# @option opts [String] :repository_version_removed
|
|
49
|
+
# @option opts [String] :repository_version
|
|
50
|
+
# @option opts [String] :repository_version_added
|
|
51
|
+
# @option opts [String] :repository_version_removed
|
|
52
52
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
53
53
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
54
54
|
# @return [PaginatedcontainerManifestSignatureResponseList]
|
|
@@ -84,9 +84,9 @@ module PulpContainerClient
|
|
|
84
84
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
85
85
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
86
86
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
87
|
-
# @option opts [String] :repository_version
|
|
88
|
-
# @option opts [String] :repository_version_added
|
|
89
|
-
# @option opts [String] :repository_version_removed
|
|
87
|
+
# @option opts [String] :repository_version
|
|
88
|
+
# @option opts [String] :repository_version_added
|
|
89
|
+
# @option opts [String] :repository_version_removed
|
|
90
90
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
91
91
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
92
92
|
# @return [Array<(PaginatedcontainerManifestSignatureResponseList, Integer, Hash)>] PaginatedcontainerManifestSignatureResponseList data, response status code and response headers
|
|
@@ -36,9 +36,9 @@ module PulpContainerClient
|
|
|
36
36
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
37
37
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
38
38
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
39
|
-
# @option opts [String] :repository_version
|
|
40
|
-
# @option opts [String] :repository_version_added
|
|
41
|
-
# @option opts [String] :repository_version_removed
|
|
39
|
+
# @option opts [String] :repository_version
|
|
40
|
+
# @option opts [String] :repository_version_added
|
|
41
|
+
# @option opts [String] :repository_version_removed
|
|
42
42
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
43
43
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
44
44
|
# @return [PaginatedcontainerTagResponseList]
|
|
@@ -64,9 +64,9 @@ module PulpContainerClient
|
|
|
64
64
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
65
65
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
66
66
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
67
|
-
# @option opts [String] :repository_version
|
|
68
|
-
# @option opts [String] :repository_version_added
|
|
69
|
-
# @option opts [String] :repository_version_removed
|
|
67
|
+
# @option opts [String] :repository_version
|
|
68
|
+
# @option opts [String] :repository_version_added
|
|
69
|
+
# @option opts [String] :repository_version_removed
|
|
70
70
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
71
71
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
72
72
|
# @return [Array<(PaginatedcontainerTagResponseList, Integer, Hash)>] PaginatedcontainerTagResponseList data, response status code and response headers
|
|
@@ -260,8 +260,8 @@ module PulpContainerClient
|
|
|
260
260
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
261
261
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
262
262
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
263
|
-
# @option opts [String] :repository
|
|
264
|
-
# @option opts [Array<String>] :repository__in
|
|
263
|
+
# @option opts [String] :repository
|
|
264
|
+
# @option opts [Array<String>] :repository__in
|
|
265
265
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
|
266
266
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
267
267
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
@@ -298,8 +298,8 @@ module PulpContainerClient
|
|
|
298
298
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
299
299
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
300
300
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
301
|
-
# @option opts [String] :repository
|
|
302
|
-
# @option opts [Array<String>] :repository__in
|
|
301
|
+
# @option opts [String] :repository
|
|
302
|
+
# @option opts [Array<String>] :repository__in
|
|
303
303
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
|
304
304
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
305
305
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
@@ -259,8 +259,8 @@ module PulpContainerClient
|
|
|
259
259
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
260
260
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
261
261
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
262
|
-
# @option opts [String] :repository
|
|
263
|
-
# @option opts [Array<String>] :repository__in
|
|
262
|
+
# @option opts [String] :repository
|
|
263
|
+
# @option opts [Array<String>] :repository__in
|
|
264
264
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
|
265
265
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
266
266
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
@@ -296,8 +296,8 @@ module PulpContainerClient
|
|
|
296
296
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
297
297
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
298
298
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
299
|
-
# @option opts [String] :repository
|
|
300
|
-
# @option opts [Array<String>] :repository__in
|
|
299
|
+
# @option opts [String] :repository
|
|
300
|
+
# @option opts [Array<String>] :repository__in
|
|
301
301
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
|
302
302
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
303
303
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
@@ -573,7 +573,7 @@ module PulpContainerClient
|
|
|
573
573
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
574
574
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
575
575
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
576
|
-
# @option opts [String] :remote
|
|
576
|
+
# @option opts [String] :remote
|
|
577
577
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
|
578
578
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
|
579
579
|
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
|
@@ -613,7 +613,7 @@ module PulpContainerClient
|
|
|
613
613
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
614
614
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
615
615
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
616
|
-
# @option opts [String] :remote
|
|
616
|
+
# @option opts [String] :remote
|
|
617
617
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
|
618
618
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
|
619
619
|
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
|
@@ -118,7 +118,7 @@ module PulpContainerClient
|
|
|
118
118
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
119
119
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
120
120
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
121
|
-
# @option opts [String] :remote
|
|
121
|
+
# @option opts [String] :remote
|
|
122
122
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
|
123
123
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
|
124
124
|
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
|
@@ -158,7 +158,7 @@ module PulpContainerClient
|
|
|
158
158
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
159
159
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
160
160
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
161
|
-
# @option opts [String] :remote
|
|
161
|
+
# @option opts [String] :remote
|
|
162
162
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
|
163
163
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
|
164
164
|
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
|
@@ -16,11 +16,8 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# A serializer for ContainerDistribution.
|
|
18
18
|
class ContainerContainerDistribution
|
|
19
|
-
#
|
|
20
|
-
attr_accessor :
|
|
21
|
-
|
|
22
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
|
23
|
-
attr_accessor :content_guard
|
|
19
|
+
# Whether this distribution should be shown in the content app.
|
|
20
|
+
attr_accessor :hidden
|
|
24
21
|
|
|
25
22
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
26
23
|
attr_accessor :base_path
|
|
@@ -28,10 +25,13 @@ module PulpContainerClient
|
|
|
28
25
|
# The latest RepositoryVersion for this Repository will be served.
|
|
29
26
|
attr_accessor :repository
|
|
30
27
|
|
|
28
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
29
|
+
attr_accessor :content_guard
|
|
30
|
+
|
|
31
31
|
attr_accessor :pulp_labels
|
|
32
32
|
|
|
33
|
-
#
|
|
34
|
-
attr_accessor :
|
|
33
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
34
|
+
attr_accessor :name
|
|
35
35
|
|
|
36
36
|
# RepositoryVersion to be served
|
|
37
37
|
attr_accessor :repository_version
|
|
@@ -45,12 +45,12 @@ module PulpContainerClient
|
|
|
45
45
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
46
46
|
def self.attribute_map
|
|
47
47
|
{
|
|
48
|
-
:'
|
|
49
|
-
:'content_guard' => :'content_guard',
|
|
48
|
+
:'hidden' => :'hidden',
|
|
50
49
|
:'base_path' => :'base_path',
|
|
51
50
|
:'repository' => :'repository',
|
|
51
|
+
:'content_guard' => :'content_guard',
|
|
52
52
|
:'pulp_labels' => :'pulp_labels',
|
|
53
|
-
:'
|
|
53
|
+
:'name' => :'name',
|
|
54
54
|
:'repository_version' => :'repository_version',
|
|
55
55
|
:'private' => :'private',
|
|
56
56
|
:'description' => :'description'
|
|
@@ -65,12 +65,12 @@ module PulpContainerClient
|
|
|
65
65
|
# Attribute type mapping.
|
|
66
66
|
def self.openapi_types
|
|
67
67
|
{
|
|
68
|
-
:'
|
|
69
|
-
:'content_guard' => :'String',
|
|
68
|
+
:'hidden' => :'Boolean',
|
|
70
69
|
:'base_path' => :'String',
|
|
71
70
|
:'repository' => :'String',
|
|
71
|
+
:'content_guard' => :'String',
|
|
72
72
|
:'pulp_labels' => :'Hash<String, String>',
|
|
73
|
-
:'
|
|
73
|
+
:'name' => :'String',
|
|
74
74
|
:'repository_version' => :'String',
|
|
75
75
|
:'private' => :'Boolean',
|
|
76
76
|
:'description' => :'String'
|
|
@@ -101,14 +101,10 @@ module PulpContainerClient
|
|
|
101
101
|
h[k.to_sym] = v
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
if attributes.key?(:'
|
|
105
|
-
self.
|
|
104
|
+
if attributes.key?(:'hidden')
|
|
105
|
+
self.hidden = attributes[:'hidden']
|
|
106
106
|
else
|
|
107
|
-
self.
|
|
108
|
-
end
|
|
109
|
-
|
|
110
|
-
if attributes.key?(:'content_guard')
|
|
111
|
-
self.content_guard = attributes[:'content_guard']
|
|
107
|
+
self.hidden = false
|
|
112
108
|
end
|
|
113
109
|
|
|
114
110
|
if attributes.key?(:'base_path')
|
|
@@ -121,16 +117,20 @@ module PulpContainerClient
|
|
|
121
117
|
self.repository = attributes[:'repository']
|
|
122
118
|
end
|
|
123
119
|
|
|
120
|
+
if attributes.key?(:'content_guard')
|
|
121
|
+
self.content_guard = attributes[:'content_guard']
|
|
122
|
+
end
|
|
123
|
+
|
|
124
124
|
if attributes.key?(:'pulp_labels')
|
|
125
125
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
126
126
|
self.pulp_labels = value
|
|
127
127
|
end
|
|
128
128
|
end
|
|
129
129
|
|
|
130
|
-
if attributes.key?(:'
|
|
131
|
-
self.
|
|
130
|
+
if attributes.key?(:'name')
|
|
131
|
+
self.name = attributes[:'name']
|
|
132
132
|
else
|
|
133
|
-
self.
|
|
133
|
+
self.name = nil
|
|
134
134
|
end
|
|
135
135
|
|
|
136
136
|
if attributes.key?(:'repository_version')
|
|
@@ -151,14 +151,6 @@ module PulpContainerClient
|
|
|
151
151
|
def list_invalid_properties
|
|
152
152
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
153
153
|
invalid_properties = Array.new
|
|
154
|
-
if @name.nil?
|
|
155
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
156
|
-
end
|
|
157
|
-
|
|
158
|
-
if @name.to_s.length < 1
|
|
159
|
-
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
|
160
|
-
end
|
|
161
|
-
|
|
162
154
|
if @base_path.nil?
|
|
163
155
|
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
|
164
156
|
end
|
|
@@ -167,6 +159,14 @@ module PulpContainerClient
|
|
|
167
159
|
invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
|
|
168
160
|
end
|
|
169
161
|
|
|
162
|
+
if @name.nil?
|
|
163
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
164
|
+
end
|
|
165
|
+
|
|
166
|
+
if @name.to_s.length < 1
|
|
167
|
+
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
|
168
|
+
end
|
|
169
|
+
|
|
170
170
|
if !@description.nil? && @description.to_s.length < 1
|
|
171
171
|
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
|
172
172
|
end
|
|
@@ -178,28 +178,14 @@ module PulpContainerClient
|
|
|
178
178
|
# @return true if the model is valid
|
|
179
179
|
def valid?
|
|
180
180
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
181
|
-
return false if @name.nil?
|
|
182
|
-
return false if @name.to_s.length < 1
|
|
183
181
|
return false if @base_path.nil?
|
|
184
182
|
return false if @base_path.to_s.length < 1
|
|
183
|
+
return false if @name.nil?
|
|
184
|
+
return false if @name.to_s.length < 1
|
|
185
185
|
return false if !@description.nil? && @description.to_s.length < 1
|
|
186
186
|
true
|
|
187
187
|
end
|
|
188
188
|
|
|
189
|
-
# Custom attribute writer method with validation
|
|
190
|
-
# @param [Object] name Value to be assigned
|
|
191
|
-
def name=(name)
|
|
192
|
-
if name.nil?
|
|
193
|
-
fail ArgumentError, 'name cannot be nil'
|
|
194
|
-
end
|
|
195
|
-
|
|
196
|
-
if name.to_s.length < 1
|
|
197
|
-
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
|
|
198
|
-
end
|
|
199
|
-
|
|
200
|
-
@name = name
|
|
201
|
-
end
|
|
202
|
-
|
|
203
189
|
# Custom attribute writer method with validation
|
|
204
190
|
# @param [Object] base_path Value to be assigned
|
|
205
191
|
def base_path=(base_path)
|
|
@@ -214,6 +200,20 @@ module PulpContainerClient
|
|
|
214
200
|
@base_path = base_path
|
|
215
201
|
end
|
|
216
202
|
|
|
203
|
+
# Custom attribute writer method with validation
|
|
204
|
+
# @param [Object] name Value to be assigned
|
|
205
|
+
def name=(name)
|
|
206
|
+
if name.nil?
|
|
207
|
+
fail ArgumentError, 'name cannot be nil'
|
|
208
|
+
end
|
|
209
|
+
|
|
210
|
+
if name.to_s.length < 1
|
|
211
|
+
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
|
|
212
|
+
end
|
|
213
|
+
|
|
214
|
+
@name = name
|
|
215
|
+
end
|
|
216
|
+
|
|
217
217
|
# Custom attribute writer method with validation
|
|
218
218
|
# @param [Object] description Value to be assigned
|
|
219
219
|
def description=(description)
|
|
@@ -229,12 +229,12 @@ module PulpContainerClient
|
|
|
229
229
|
def ==(o)
|
|
230
230
|
return true if self.equal?(o)
|
|
231
231
|
self.class == o.class &&
|
|
232
|
-
|
|
233
|
-
content_guard == o.content_guard &&
|
|
232
|
+
hidden == o.hidden &&
|
|
234
233
|
base_path == o.base_path &&
|
|
235
234
|
repository == o.repository &&
|
|
235
|
+
content_guard == o.content_guard &&
|
|
236
236
|
pulp_labels == o.pulp_labels &&
|
|
237
|
-
|
|
237
|
+
name == o.name &&
|
|
238
238
|
repository_version == o.repository_version &&
|
|
239
239
|
private == o.private &&
|
|
240
240
|
description == o.description
|
|
@@ -249,7 +249,7 @@ module PulpContainerClient
|
|
|
249
249
|
# Calculates hash code according to all attributes.
|
|
250
250
|
# @return [Integer] Hash code
|
|
251
251
|
def hash
|
|
252
|
-
[
|
|
252
|
+
[hidden, base_path, repository, content_guard, pulp_labels, name, repository_version, private, description].hash
|
|
253
253
|
end
|
|
254
254
|
|
|
255
255
|
# Builds the object from hash
|