pulp_container_client 2.29.0 → 2.29.1
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 +8 -6
- 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/ContainerRepositorySyncURL.md +1 -1
- data/docs/ContentBlobsApi.md +4 -0
- data/docs/ContentManifestsApi.md +4 -0
- data/docs/ContentSignaturesApi.md +4 -0
- data/docs/ContentTagsApi.md +4 -0
- data/docs/DistributionsPullThroughApi.md +10 -10
- data/docs/PatchedcontainerContainerDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPushRepository.md +7 -7
- data/lib/pulp_container_client/api/content_blobs_api.rb +6 -0
- data/lib/pulp_container_client/api/content_manifests_api.rb +6 -0
- data/lib/pulp_container_client/api/content_signatures_api.rb +6 -0
- data/lib/pulp_container_client/api/content_tags_api.rb +6 -0
- data/lib/pulp_container_client/api/distributions_pull_through_api.rb +4 -8
- data/lib/pulp_container_client/models/container_container_distribution.rb +34 -34
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +53 -53
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +34 -34
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +53 -53
- data/lib/pulp_container_client/models/container_container_push_repository.rb +59 -59
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +71 -71
- data/lib/pulp_container_client/models/container_repository_sync_url.rb +1 -1
- data/lib/pulp_container_client/models/nested_role.rb +1 -1
- data/lib/pulp_container_client/models/nested_role_response.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +30 -30
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +30 -30
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +52 -52
- data/lib/pulp_container_client/models/repository_version_response.rb +1 -1
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/api/content_blobs_api_spec.rb +2 -0
- data/spec/api/content_manifests_api_spec.rb +2 -0
- data/spec/api/content_signatures_api_spec.rb +2 -0
- data/spec/api/content_tags_api_spec.rb +2 -0
- data/spec/api/distributions_pull_through_api_spec.rb +2 -4
- data/spec/models/container_container_distribution_response_spec.rb +10 -10
- data/spec/models/container_container_distribution_spec.rb +6 -6
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +10 -10
- data/spec/models/container_container_pull_through_distribution_spec.rb +6 -6
- data/spec/models/container_container_push_repository_response_spec.rb +10 -10
- data/spec/models/container_container_push_repository_spec.rb +6 -6
- 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 +6 -6
- metadata +59 -59
|
@@ -23,6 +23,7 @@ module PulpContainerClient
|
|
|
23
23
|
# ViewSet for Blobs.
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
25
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
26
|
+
# @option opts [Array<String>] :added_between
|
|
26
27
|
# @option opts [String] :digest Filter results where digest matches value
|
|
27
28
|
# @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
|
|
28
29
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
@@ -34,6 +35,7 @@ module PulpContainerClient
|
|
|
34
35
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
35
36
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
36
37
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
38
|
+
# @option opts [Array<String>] :removed_between
|
|
37
39
|
# @option opts [String] :repository_version
|
|
38
40
|
# @option opts [String] :repository_version_added
|
|
39
41
|
# @option opts [String] :repository_version_removed
|
|
@@ -49,6 +51,7 @@ module PulpContainerClient
|
|
|
49
51
|
# ViewSet for Blobs.
|
|
50
52
|
# @param [Hash] opts the optional parameters
|
|
51
53
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
54
|
+
# @option opts [Array<String>] :added_between
|
|
52
55
|
# @option opts [String] :digest Filter results where digest matches value
|
|
53
56
|
# @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
|
|
54
57
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
@@ -60,6 +63,7 @@ module PulpContainerClient
|
|
|
60
63
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
61
64
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
62
65
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
66
|
+
# @option opts [Array<String>] :removed_between
|
|
63
67
|
# @option opts [String] :repository_version
|
|
64
68
|
# @option opts [String] :repository_version_added
|
|
65
69
|
# @option opts [String] :repository_version_removed
|
|
@@ -79,6 +83,7 @@ module PulpContainerClient
|
|
|
79
83
|
|
|
80
84
|
# query parameters
|
|
81
85
|
query_params = opts[:query_params] || {}
|
|
86
|
+
query_params[:'added_between'] = @api_client.build_collection_param(opts[:'added_between'], :csv) if !opts[:'added_between'].nil?
|
|
82
87
|
query_params[:'digest'] = opts[:'digest'] if !opts[:'digest'].nil?
|
|
83
88
|
query_params[:'digest__in'] = @api_client.build_collection_param(opts[:'digest__in'], :csv) if !opts[:'digest__in'].nil?
|
|
84
89
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
@@ -90,6 +95,7 @@ module PulpContainerClient
|
|
|
90
95
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
|
91
96
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
|
92
97
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
|
98
|
+
query_params[:'removed_between'] = @api_client.build_collection_param(opts[:'removed_between'], :csv) if !opts[:'removed_between'].nil?
|
|
93
99
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
|
94
100
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
|
95
101
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
|
@@ -23,6 +23,7 @@ module PulpContainerClient
|
|
|
23
23
|
# ViewSet for Manifest.
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
25
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
26
|
+
# @option opts [Array<String>] :added_between
|
|
26
27
|
# @option opts [String] :digest Filter results where digest matches value
|
|
27
28
|
# @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
|
|
28
29
|
# @option opts [Boolean] :is_bootable Filter results where is_bootable matches value
|
|
@@ -37,6 +38,7 @@ module PulpContainerClient
|
|
|
37
38
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
38
39
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
39
40
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
41
|
+
# @option opts [Array<String>] :removed_between
|
|
40
42
|
# @option opts [String] :repository_version
|
|
41
43
|
# @option opts [String] :repository_version_added
|
|
42
44
|
# @option opts [String] :repository_version_removed
|
|
@@ -52,6 +54,7 @@ module PulpContainerClient
|
|
|
52
54
|
# ViewSet for Manifest.
|
|
53
55
|
# @param [Hash] opts the optional parameters
|
|
54
56
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
57
|
+
# @option opts [Array<String>] :added_between
|
|
55
58
|
# @option opts [String] :digest Filter results where digest matches value
|
|
56
59
|
# @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
|
|
57
60
|
# @option opts [Boolean] :is_bootable Filter results where is_bootable matches value
|
|
@@ -66,6 +69,7 @@ module PulpContainerClient
|
|
|
66
69
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
67
70
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
68
71
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
72
|
+
# @option opts [Array<String>] :removed_between
|
|
69
73
|
# @option opts [String] :repository_version
|
|
70
74
|
# @option opts [String] :repository_version_added
|
|
71
75
|
# @option opts [String] :repository_version_removed
|
|
@@ -89,6 +93,7 @@ module PulpContainerClient
|
|
|
89
93
|
|
|
90
94
|
# query parameters
|
|
91
95
|
query_params = opts[:query_params] || {}
|
|
96
|
+
query_params[:'added_between'] = @api_client.build_collection_param(opts[:'added_between'], :csv) if !opts[:'added_between'].nil?
|
|
92
97
|
query_params[:'digest'] = opts[:'digest'] if !opts[:'digest'].nil?
|
|
93
98
|
query_params[:'digest__in'] = @api_client.build_collection_param(opts[:'digest__in'], :csv) if !opts[:'digest__in'].nil?
|
|
94
99
|
query_params[:'is_bootable'] = opts[:'is_bootable'] if !opts[:'is_bootable'].nil?
|
|
@@ -103,6 +108,7 @@ module PulpContainerClient
|
|
|
103
108
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
|
104
109
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
|
105
110
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
|
111
|
+
query_params[:'removed_between'] = @api_client.build_collection_param(opts[:'removed_between'], :csv) if !opts[:'removed_between'].nil?
|
|
106
112
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
|
107
113
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
|
108
114
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
|
@@ -23,6 +23,7 @@ module PulpContainerClient
|
|
|
23
23
|
# ViewSet for image signatures.
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
25
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
26
|
+
# @option opts [Array<String>] :added_between
|
|
26
27
|
# @option opts [String] :digest Filter results where digest matches value
|
|
27
28
|
# @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
|
|
28
29
|
# @option opts [String] :key_id Filter results where key_id matches value
|
|
@@ -46,6 +47,7 @@ module PulpContainerClient
|
|
|
46
47
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
47
48
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
48
49
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
50
|
+
# @option opts [Array<String>] :removed_between
|
|
49
51
|
# @option opts [String] :repository_version
|
|
50
52
|
# @option opts [String] :repository_version_added
|
|
51
53
|
# @option opts [String] :repository_version_removed
|
|
@@ -61,6 +63,7 @@ module PulpContainerClient
|
|
|
61
63
|
# ViewSet for image signatures.
|
|
62
64
|
# @param [Hash] opts the optional parameters
|
|
63
65
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
66
|
+
# @option opts [Array<String>] :added_between
|
|
64
67
|
# @option opts [String] :digest Filter results where digest matches value
|
|
65
68
|
# @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
|
|
66
69
|
# @option opts [String] :key_id Filter results where key_id matches value
|
|
@@ -84,6 +87,7 @@ module PulpContainerClient
|
|
|
84
87
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
85
88
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
86
89
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
90
|
+
# @option opts [Array<String>] :removed_between
|
|
87
91
|
# @option opts [String] :repository_version
|
|
88
92
|
# @option opts [String] :repository_version_added
|
|
89
93
|
# @option opts [String] :repository_version_removed
|
|
@@ -103,6 +107,7 @@ module PulpContainerClient
|
|
|
103
107
|
|
|
104
108
|
# query parameters
|
|
105
109
|
query_params = opts[:query_params] || {}
|
|
110
|
+
query_params[:'added_between'] = @api_client.build_collection_param(opts[:'added_between'], :csv) if !opts[:'added_between'].nil?
|
|
106
111
|
query_params[:'digest'] = opts[:'digest'] if !opts[:'digest'].nil?
|
|
107
112
|
query_params[:'digest__in'] = @api_client.build_collection_param(opts[:'digest__in'], :csv) if !opts[:'digest__in'].nil?
|
|
108
113
|
query_params[:'key_id'] = opts[:'key_id'] if !opts[:'key_id'].nil?
|
|
@@ -126,6 +131,7 @@ module PulpContainerClient
|
|
|
126
131
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
|
127
132
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
|
128
133
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
|
134
|
+
query_params[:'removed_between'] = @api_client.build_collection_param(opts[:'removed_between'], :csv) if !opts[:'removed_between'].nil?
|
|
129
135
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
|
130
136
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
|
131
137
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
|
@@ -23,6 +23,7 @@ module PulpContainerClient
|
|
|
23
23
|
# ViewSet for Tag.
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
25
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
26
|
+
# @option opts [Array<String>] :added_between
|
|
26
27
|
# @option opts [Array<String>] :digest Multiple values may be separated by commas.
|
|
27
28
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
28
29
|
# @option opts [Array<String>] :media_type * `application/vnd.docker.distribution.manifest.v1+json` - application/vnd.docker.distribution.manifest.v1+json * `application/vnd.docker.distribution.manifest.v2+json` - application/vnd.docker.distribution.manifest.v2+json * `application/vnd.docker.distribution.manifest.list.v2+json` - application/vnd.docker.distribution.manifest.list.v2+json * `application/vnd.oci.image.manifest.v1+json` - application/vnd.oci.image.manifest.v1+json * `application/vnd.oci.image.index.v1+json` - application/vnd.oci.image.index.v1+json
|
|
@@ -36,6 +37,7 @@ module PulpContainerClient
|
|
|
36
37
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
37
38
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
38
39
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
40
|
+
# @option opts [Array<String>] :removed_between
|
|
39
41
|
# @option opts [String] :repository_version
|
|
40
42
|
# @option opts [String] :repository_version_added
|
|
41
43
|
# @option opts [String] :repository_version_removed
|
|
@@ -51,6 +53,7 @@ module PulpContainerClient
|
|
|
51
53
|
# ViewSet for Tag.
|
|
52
54
|
# @param [Hash] opts the optional parameters
|
|
53
55
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
56
|
+
# @option opts [Array<String>] :added_between
|
|
54
57
|
# @option opts [Array<String>] :digest Multiple values may be separated by commas.
|
|
55
58
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
56
59
|
# @option opts [Array<String>] :media_type * `application/vnd.docker.distribution.manifest.v1+json` - application/vnd.docker.distribution.manifest.v1+json * `application/vnd.docker.distribution.manifest.v2+json` - application/vnd.docker.distribution.manifest.v2+json * `application/vnd.docker.distribution.manifest.list.v2+json` - application/vnd.docker.distribution.manifest.list.v2+json * `application/vnd.oci.image.manifest.v1+json` - application/vnd.oci.image.manifest.v1+json * `application/vnd.oci.image.index.v1+json` - application/vnd.oci.image.index.v1+json
|
|
@@ -64,6 +67,7 @@ module PulpContainerClient
|
|
|
64
67
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
65
68
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
66
69
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
70
|
+
# @option opts [Array<String>] :removed_between
|
|
67
71
|
# @option opts [String] :repository_version
|
|
68
72
|
# @option opts [String] :repository_version_added
|
|
69
73
|
# @option opts [String] :repository_version_removed
|
|
@@ -87,6 +91,7 @@ module PulpContainerClient
|
|
|
87
91
|
|
|
88
92
|
# query parameters
|
|
89
93
|
query_params = opts[:query_params] || {}
|
|
94
|
+
query_params[:'added_between'] = @api_client.build_collection_param(opts[:'added_between'], :csv) if !opts[:'added_between'].nil?
|
|
90
95
|
query_params[:'digest'] = @api_client.build_collection_param(opts[:'digest'], :csv) if !opts[:'digest'].nil?
|
|
91
96
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
92
97
|
query_params[:'media_type'] = @api_client.build_collection_param(opts[:'media_type'], :multi) if !opts[:'media_type'].nil?
|
|
@@ -100,6 +105,7 @@ module PulpContainerClient
|
|
|
100
105
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
|
101
106
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
|
102
107
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
|
108
|
+
query_params[:'removed_between'] = @api_client.build_collection_param(opts[:'removed_between'], :csv) if !opts[:'removed_between'].nil?
|
|
103
109
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
|
104
110
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
|
105
111
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
|
@@ -748,8 +748,7 @@ module PulpContainerClient
|
|
|
748
748
|
return data, status_code, headers
|
|
749
749
|
end
|
|
750
750
|
|
|
751
|
-
#
|
|
752
|
-
# Set a single pulp_label on the object to a specific value or null.
|
|
751
|
+
# Prevent clients from changing the internal pull-through marker.
|
|
753
752
|
# @param container_container_pull_through_distribution_href [String]
|
|
754
753
|
# @param set_label [SetLabel]
|
|
755
754
|
# @param [Hash] opts the optional parameters
|
|
@@ -760,8 +759,7 @@ module PulpContainerClient
|
|
|
760
759
|
data
|
|
761
760
|
end
|
|
762
761
|
|
|
763
|
-
#
|
|
764
|
-
# Set a single pulp_label on the object to a specific value or null.
|
|
762
|
+
# Prevent clients from changing the internal pull-through marker.
|
|
765
763
|
# @param container_container_pull_through_distribution_href [String]
|
|
766
764
|
# @param set_label [SetLabel]
|
|
767
765
|
# @param [Hash] opts the optional parameters
|
|
@@ -825,8 +823,7 @@ module PulpContainerClient
|
|
|
825
823
|
return data, status_code, headers
|
|
826
824
|
end
|
|
827
825
|
|
|
828
|
-
#
|
|
829
|
-
# Unset a single pulp_label on the object.
|
|
826
|
+
# Prevent clients from removing the internal pull-through marker.
|
|
830
827
|
# @param container_container_pull_through_distribution_href [String]
|
|
831
828
|
# @param unset_label [UnsetLabel]
|
|
832
829
|
# @param [Hash] opts the optional parameters
|
|
@@ -837,8 +834,7 @@ module PulpContainerClient
|
|
|
837
834
|
data
|
|
838
835
|
end
|
|
839
836
|
|
|
840
|
-
#
|
|
841
|
-
# Unset a single pulp_label on the object.
|
|
837
|
+
# Prevent clients from removing the internal pull-through marker.
|
|
842
838
|
# @param container_container_pull_through_distribution_href [String]
|
|
843
839
|
# @param unset_label [UnsetLabel]
|
|
844
840
|
# @param [Hash] opts the optional parameters
|
|
@@ -19,23 +19,23 @@ module PulpContainerClient
|
|
|
19
19
|
# RepositoryVersion to be served
|
|
20
20
|
attr_accessor :repository_version
|
|
21
21
|
|
|
22
|
-
attr_accessor :pulp_labels
|
|
23
|
-
|
|
24
|
-
# Whether this distribution should be shown in the content app.
|
|
25
|
-
attr_accessor :hidden
|
|
26
|
-
|
|
27
22
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
28
23
|
attr_accessor :name
|
|
29
24
|
|
|
30
25
|
# The latest RepositoryVersion for this Repository will be served.
|
|
31
26
|
attr_accessor :repository
|
|
32
27
|
|
|
33
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
|
34
|
-
attr_accessor :content_guard
|
|
35
|
-
|
|
36
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\")
|
|
37
29
|
attr_accessor :base_path
|
|
38
30
|
|
|
31
|
+
attr_accessor :pulp_labels
|
|
32
|
+
|
|
33
|
+
# Whether this distribution should be shown in the content app.
|
|
34
|
+
attr_accessor :hidden
|
|
35
|
+
|
|
36
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
37
|
+
attr_accessor :content_guard
|
|
38
|
+
|
|
39
39
|
# Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access.
|
|
40
40
|
attr_accessor :private
|
|
41
41
|
|
|
@@ -46,12 +46,12 @@ module PulpContainerClient
|
|
|
46
46
|
def self.attribute_map
|
|
47
47
|
{
|
|
48
48
|
:'repository_version' => :'repository_version',
|
|
49
|
-
:'pulp_labels' => :'pulp_labels',
|
|
50
|
-
:'hidden' => :'hidden',
|
|
51
49
|
:'name' => :'name',
|
|
52
50
|
:'repository' => :'repository',
|
|
53
|
-
:'content_guard' => :'content_guard',
|
|
54
51
|
:'base_path' => :'base_path',
|
|
52
|
+
:'pulp_labels' => :'pulp_labels',
|
|
53
|
+
:'hidden' => :'hidden',
|
|
54
|
+
:'content_guard' => :'content_guard',
|
|
55
55
|
:'private' => :'private',
|
|
56
56
|
:'description' => :'description'
|
|
57
57
|
}
|
|
@@ -66,12 +66,12 @@ module PulpContainerClient
|
|
|
66
66
|
def self.openapi_types
|
|
67
67
|
{
|
|
68
68
|
:'repository_version' => :'String',
|
|
69
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
70
|
-
:'hidden' => :'Boolean',
|
|
71
69
|
:'name' => :'String',
|
|
72
70
|
:'repository' => :'String',
|
|
73
|
-
:'content_guard' => :'String',
|
|
74
71
|
:'base_path' => :'String',
|
|
72
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
73
|
+
:'hidden' => :'Boolean',
|
|
74
|
+
:'content_guard' => :'String',
|
|
75
75
|
:'private' => :'Boolean',
|
|
76
76
|
:'description' => :'String'
|
|
77
77
|
}
|
|
@@ -105,18 +105,6 @@ module PulpContainerClient
|
|
|
105
105
|
self.repository_version = attributes[:'repository_version']
|
|
106
106
|
end
|
|
107
107
|
|
|
108
|
-
if attributes.key?(:'pulp_labels')
|
|
109
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
110
|
-
self.pulp_labels = value
|
|
111
|
-
end
|
|
112
|
-
end
|
|
113
|
-
|
|
114
|
-
if attributes.key?(:'hidden')
|
|
115
|
-
self.hidden = attributes[:'hidden']
|
|
116
|
-
else
|
|
117
|
-
self.hidden = false
|
|
118
|
-
end
|
|
119
|
-
|
|
120
108
|
if attributes.key?(:'name')
|
|
121
109
|
self.name = attributes[:'name']
|
|
122
110
|
else
|
|
@@ -127,16 +115,28 @@ module PulpContainerClient
|
|
|
127
115
|
self.repository = attributes[:'repository']
|
|
128
116
|
end
|
|
129
117
|
|
|
130
|
-
if attributes.key?(:'content_guard')
|
|
131
|
-
self.content_guard = attributes[:'content_guard']
|
|
132
|
-
end
|
|
133
|
-
|
|
134
118
|
if attributes.key?(:'base_path')
|
|
135
119
|
self.base_path = attributes[:'base_path']
|
|
136
120
|
else
|
|
137
121
|
self.base_path = nil
|
|
138
122
|
end
|
|
139
123
|
|
|
124
|
+
if attributes.key?(:'pulp_labels')
|
|
125
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
126
|
+
self.pulp_labels = value
|
|
127
|
+
end
|
|
128
|
+
end
|
|
129
|
+
|
|
130
|
+
if attributes.key?(:'hidden')
|
|
131
|
+
self.hidden = attributes[:'hidden']
|
|
132
|
+
else
|
|
133
|
+
self.hidden = false
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
if attributes.key?(:'content_guard')
|
|
137
|
+
self.content_guard = attributes[:'content_guard']
|
|
138
|
+
end
|
|
139
|
+
|
|
140
140
|
if attributes.key?(:'private')
|
|
141
141
|
self.private = attributes[:'private']
|
|
142
142
|
end
|
|
@@ -230,12 +230,12 @@ module PulpContainerClient
|
|
|
230
230
|
return true if self.equal?(o)
|
|
231
231
|
self.class == o.class &&
|
|
232
232
|
repository_version == o.repository_version &&
|
|
233
|
-
pulp_labels == o.pulp_labels &&
|
|
234
|
-
hidden == o.hidden &&
|
|
235
233
|
name == o.name &&
|
|
236
234
|
repository == o.repository &&
|
|
237
|
-
content_guard == o.content_guard &&
|
|
238
235
|
base_path == o.base_path &&
|
|
236
|
+
pulp_labels == o.pulp_labels &&
|
|
237
|
+
hidden == o.hidden &&
|
|
238
|
+
content_guard == o.content_guard &&
|
|
239
239
|
private == o.private &&
|
|
240
240
|
description == o.description
|
|
241
241
|
end
|
|
@@ -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
|
-
[repository_version,
|
|
252
|
+
[repository_version, name, repository, base_path, pulp_labels, hidden, content_guard, private, description].hash
|
|
253
253
|
end
|
|
254
254
|
|
|
255
255
|
# Builds the object from hash
|
|
@@ -19,36 +19,36 @@ module PulpContainerClient
|
|
|
19
19
|
# RepositoryVersion to be served
|
|
20
20
|
attr_accessor :repository_version
|
|
21
21
|
|
|
22
|
-
attr_accessor :pulp_labels
|
|
23
|
-
|
|
24
|
-
# Whether this distribution should be shown in the content app.
|
|
25
|
-
attr_accessor :hidden
|
|
26
|
-
|
|
27
22
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
28
23
|
attr_accessor :name
|
|
29
24
|
|
|
30
25
|
# The latest RepositoryVersion for this Repository will be served.
|
|
31
26
|
attr_accessor :repository
|
|
32
27
|
|
|
28
|
+
attr_accessor :pulp_href
|
|
29
|
+
|
|
33
30
|
# The Pulp Resource Name (PRN) of the associated optional content guard.
|
|
34
31
|
attr_accessor :content_guard_prn
|
|
35
32
|
|
|
36
|
-
|
|
33
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
34
|
+
attr_accessor :base_path
|
|
37
35
|
|
|
38
|
-
|
|
39
|
-
attr_accessor :content_guard
|
|
36
|
+
attr_accessor :pulp_labels
|
|
40
37
|
|
|
41
|
-
#
|
|
42
|
-
attr_accessor :
|
|
38
|
+
# Whether this distribution should be shown in the content app.
|
|
39
|
+
attr_accessor :hidden
|
|
43
40
|
|
|
44
41
|
# Timestamp of creation.
|
|
45
42
|
attr_accessor :pulp_created
|
|
46
43
|
|
|
44
|
+
# The Pulp Resource Name (PRN).
|
|
45
|
+
attr_accessor :prn
|
|
46
|
+
|
|
47
47
|
# 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.
|
|
48
48
|
attr_accessor :pulp_last_updated
|
|
49
49
|
|
|
50
|
-
#
|
|
51
|
-
attr_accessor :
|
|
50
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
51
|
+
attr_accessor :content_guard
|
|
52
52
|
|
|
53
53
|
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
54
54
|
attr_accessor :no_content_change_since
|
|
@@ -72,17 +72,17 @@ module PulpContainerClient
|
|
|
72
72
|
def self.attribute_map
|
|
73
73
|
{
|
|
74
74
|
:'repository_version' => :'repository_version',
|
|
75
|
-
:'pulp_labels' => :'pulp_labels',
|
|
76
|
-
:'hidden' => :'hidden',
|
|
77
75
|
:'name' => :'name',
|
|
78
76
|
:'repository' => :'repository',
|
|
79
|
-
:'content_guard_prn' => :'content_guard_prn',
|
|
80
77
|
:'pulp_href' => :'pulp_href',
|
|
81
|
-
:'
|
|
82
|
-
:'
|
|
78
|
+
:'content_guard_prn' => :'content_guard_prn',
|
|
79
|
+
:'base_path' => :'base_path',
|
|
80
|
+
:'pulp_labels' => :'pulp_labels',
|
|
81
|
+
:'hidden' => :'hidden',
|
|
83
82
|
:'pulp_created' => :'pulp_created',
|
|
83
|
+
:'prn' => :'prn',
|
|
84
84
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
85
|
-
:'
|
|
85
|
+
:'content_guard' => :'content_guard',
|
|
86
86
|
:'no_content_change_since' => :'no_content_change_since',
|
|
87
87
|
:'registry_path' => :'registry_path',
|
|
88
88
|
:'remote' => :'remote',
|
|
@@ -101,17 +101,17 @@ module PulpContainerClient
|
|
|
101
101
|
def self.openapi_types
|
|
102
102
|
{
|
|
103
103
|
:'repository_version' => :'String',
|
|
104
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
105
|
-
:'hidden' => :'Boolean',
|
|
106
104
|
:'name' => :'String',
|
|
107
105
|
:'repository' => :'String',
|
|
108
|
-
:'content_guard_prn' => :'String',
|
|
109
106
|
:'pulp_href' => :'String',
|
|
110
|
-
:'
|
|
111
|
-
:'
|
|
107
|
+
:'content_guard_prn' => :'String',
|
|
108
|
+
:'base_path' => :'String',
|
|
109
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
110
|
+
:'hidden' => :'Boolean',
|
|
112
111
|
:'pulp_created' => :'Time',
|
|
112
|
+
:'prn' => :'String',
|
|
113
113
|
:'pulp_last_updated' => :'Time',
|
|
114
|
-
:'
|
|
114
|
+
:'content_guard' => :'String',
|
|
115
115
|
:'no_content_change_since' => :'String',
|
|
116
116
|
:'registry_path' => :'String',
|
|
117
117
|
:'remote' => :'String',
|
|
@@ -149,18 +149,6 @@ module PulpContainerClient
|
|
|
149
149
|
self.repository_version = attributes[:'repository_version']
|
|
150
150
|
end
|
|
151
151
|
|
|
152
|
-
if attributes.key?(:'pulp_labels')
|
|
153
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
154
|
-
self.pulp_labels = value
|
|
155
|
-
end
|
|
156
|
-
end
|
|
157
|
-
|
|
158
|
-
if attributes.key?(:'hidden')
|
|
159
|
-
self.hidden = attributes[:'hidden']
|
|
160
|
-
else
|
|
161
|
-
self.hidden = false
|
|
162
|
-
end
|
|
163
|
-
|
|
164
152
|
if attributes.key?(:'name')
|
|
165
153
|
self.name = attributes[:'name']
|
|
166
154
|
else
|
|
@@ -171,34 +159,46 @@ module PulpContainerClient
|
|
|
171
159
|
self.repository = attributes[:'repository']
|
|
172
160
|
end
|
|
173
161
|
|
|
162
|
+
if attributes.key?(:'pulp_href')
|
|
163
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
164
|
+
end
|
|
165
|
+
|
|
174
166
|
if attributes.key?(:'content_guard_prn')
|
|
175
167
|
self.content_guard_prn = attributes[:'content_guard_prn']
|
|
176
168
|
end
|
|
177
169
|
|
|
178
|
-
if attributes.key?(:'
|
|
179
|
-
self.
|
|
170
|
+
if attributes.key?(:'base_path')
|
|
171
|
+
self.base_path = attributes[:'base_path']
|
|
172
|
+
else
|
|
173
|
+
self.base_path = nil
|
|
180
174
|
end
|
|
181
175
|
|
|
182
|
-
if attributes.key?(:'
|
|
183
|
-
|
|
176
|
+
if attributes.key?(:'pulp_labels')
|
|
177
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
178
|
+
self.pulp_labels = value
|
|
179
|
+
end
|
|
184
180
|
end
|
|
185
181
|
|
|
186
|
-
if attributes.key?(:'
|
|
187
|
-
self.
|
|
182
|
+
if attributes.key?(:'hidden')
|
|
183
|
+
self.hidden = attributes[:'hidden']
|
|
184
|
+
else
|
|
185
|
+
self.hidden = false
|
|
188
186
|
end
|
|
189
187
|
|
|
190
188
|
if attributes.key?(:'pulp_created')
|
|
191
189
|
self.pulp_created = attributes[:'pulp_created']
|
|
192
190
|
end
|
|
193
191
|
|
|
192
|
+
if attributes.key?(:'prn')
|
|
193
|
+
self.prn = attributes[:'prn']
|
|
194
|
+
end
|
|
195
|
+
|
|
194
196
|
if attributes.key?(:'pulp_last_updated')
|
|
195
197
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
196
198
|
end
|
|
197
199
|
|
|
198
|
-
if attributes.key?(:'
|
|
199
|
-
self.
|
|
200
|
-
else
|
|
201
|
-
self.base_path = nil
|
|
200
|
+
if attributes.key?(:'content_guard')
|
|
201
|
+
self.content_guard = attributes[:'content_guard']
|
|
202
202
|
end
|
|
203
203
|
|
|
204
204
|
if attributes.key?(:'no_content_change_since')
|
|
@@ -257,17 +257,17 @@ module PulpContainerClient
|
|
|
257
257
|
return true if self.equal?(o)
|
|
258
258
|
self.class == o.class &&
|
|
259
259
|
repository_version == o.repository_version &&
|
|
260
|
-
pulp_labels == o.pulp_labels &&
|
|
261
|
-
hidden == o.hidden &&
|
|
262
260
|
name == o.name &&
|
|
263
261
|
repository == o.repository &&
|
|
264
|
-
content_guard_prn == o.content_guard_prn &&
|
|
265
262
|
pulp_href == o.pulp_href &&
|
|
266
|
-
|
|
267
|
-
|
|
263
|
+
content_guard_prn == o.content_guard_prn &&
|
|
264
|
+
base_path == o.base_path &&
|
|
265
|
+
pulp_labels == o.pulp_labels &&
|
|
266
|
+
hidden == o.hidden &&
|
|
268
267
|
pulp_created == o.pulp_created &&
|
|
268
|
+
prn == o.prn &&
|
|
269
269
|
pulp_last_updated == o.pulp_last_updated &&
|
|
270
|
-
|
|
270
|
+
content_guard == o.content_guard &&
|
|
271
271
|
no_content_change_since == o.no_content_change_since &&
|
|
272
272
|
registry_path == o.registry_path &&
|
|
273
273
|
remote == o.remote &&
|
|
@@ -285,7 +285,7 @@ module PulpContainerClient
|
|
|
285
285
|
# Calculates hash code according to all attributes.
|
|
286
286
|
# @return [Integer] Hash code
|
|
287
287
|
def hash
|
|
288
|
-
[repository_version,
|
|
288
|
+
[repository_version, name, repository, pulp_href, content_guard_prn, base_path, pulp_labels, hidden, pulp_created, prn, pulp_last_updated, content_guard, no_content_change_since, registry_path, remote, namespace, private, description].hash
|
|
289
289
|
end
|
|
290
290
|
|
|
291
291
|
# Builds the object from hash
|