pulp_container_client 2.27.3 → 2.27.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContainerContainerDistribution.md +6 -6
- data/docs/ContainerContainerDistributionResponse.md +14 -12
- data/docs/ContainerContainerPullThroughDistribution.md +8 -6
- data/docs/ContainerContainerPullThroughDistributionResponse.md +16 -12
- data/docs/ContainerContainerPushRepository.md +8 -6
- data/docs/ContainerContainerPushRepositoryResponse.md +16 -14
- data/docs/ContainerContainerRepository.md +2 -0
- data/docs/ContainerContainerRepositoryResponse.md +2 -0
- data/docs/PatchedcontainerContainerDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +8 -6
- data/docs/PatchedcontainerContainerPushRepository.md +8 -6
- data/docs/PatchedcontainerContainerRepository.md +2 -0
- data/docs/RepositoriesContainerApi.md +18 -2
- data/docs/RepositoriesContainerPushApi.md +18 -2
- data/lib/pulp_container_client/api/repositories_container_api.rb +27 -3
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +27 -3
- data/lib/pulp_container_client/models/container_container_distribution.rb +34 -34
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +73 -63
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +45 -34
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +82 -61
- data/lib/pulp_container_client/models/container_container_push_repository.rb +60 -34
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +86 -60
- data/lib/pulp_container_client/models/container_container_repository.rb +27 -1
- data/lib/pulp_container_client/models/container_container_repository_response.rb +27 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +34 -34
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +43 -32
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +58 -32
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +27 -1
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/api/repositories_container_api_spec.rb +9 -1
- data/spec/api/repositories_container_push_api_spec.rb +9 -1
- data/spec/models/container_container_distribution_response_spec.rb +17 -11
- data/spec/models/container_container_distribution_spec.rb +7 -7
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +22 -10
- data/spec/models/container_container_pull_through_distribution_spec.rb +12 -6
- data/spec/models/container_container_push_repository_response_spec.rb +15 -9
- data/spec/models/container_container_push_repository_spec.rb +9 -3
- data/spec/models/container_container_repository_response_spec.rb +6 -0
- data/spec/models/container_container_repository_spec.rb +6 -0
- data/spec/models/patchedcontainer_container_distribution_spec.rb +7 -7
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +12 -6
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +9 -3
- data/spec/models/patchedcontainer_container_repository_spec.rb +6 -0
- metadata +59 -59
|
@@ -567,13 +567,21 @@ module PulpContainerClient
|
|
|
567
567
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
|
568
568
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
569
569
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
570
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
570
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `retain_checkpoints` - Retain checkpoints * `-retain_checkpoints` - Retain checkpoints (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
571
571
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
572
572
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
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
576
|
# @option opts [String] :remote
|
|
577
|
+
# @option opts [Integer] :retain_checkpoints Filter results where retain_checkpoints matches value
|
|
578
|
+
# @option opts [Integer] :retain_checkpoints__gt Filter results where retain_checkpoints is greater than value
|
|
579
|
+
# @option opts [Integer] :retain_checkpoints__gte Filter results where retain_checkpoints is greater than or equal to value
|
|
580
|
+
# @option opts [Boolean] :retain_checkpoints__isnull Filter results where retain_checkpoints has a null value
|
|
581
|
+
# @option opts [Integer] :retain_checkpoints__lt Filter results where retain_checkpoints is less than value
|
|
582
|
+
# @option opts [Integer] :retain_checkpoints__lte Filter results where retain_checkpoints is less than or equal to value
|
|
583
|
+
# @option opts [Integer] :retain_checkpoints__ne Filter results where retain_checkpoints not equal to value
|
|
584
|
+
# @option opts [Array<Integer>] :retain_checkpoints__range Filter results where retain_checkpoints is between two comma separated values
|
|
577
585
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
|
578
586
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
|
579
587
|
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
|
@@ -607,13 +615,21 @@ module PulpContainerClient
|
|
|
607
615
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
|
608
616
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
609
617
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
610
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
618
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `retain_checkpoints` - Retain checkpoints * `-retain_checkpoints` - Retain checkpoints (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
611
619
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
612
620
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
613
621
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
614
622
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
615
623
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
616
624
|
# @option opts [String] :remote
|
|
625
|
+
# @option opts [Integer] :retain_checkpoints Filter results where retain_checkpoints matches value
|
|
626
|
+
# @option opts [Integer] :retain_checkpoints__gt Filter results where retain_checkpoints is greater than value
|
|
627
|
+
# @option opts [Integer] :retain_checkpoints__gte Filter results where retain_checkpoints is greater than or equal to value
|
|
628
|
+
# @option opts [Boolean] :retain_checkpoints__isnull Filter results where retain_checkpoints has a null value
|
|
629
|
+
# @option opts [Integer] :retain_checkpoints__lt Filter results where retain_checkpoints is less than value
|
|
630
|
+
# @option opts [Integer] :retain_checkpoints__lte Filter results where retain_checkpoints is less than or equal to value
|
|
631
|
+
# @option opts [Integer] :retain_checkpoints__ne Filter results where retain_checkpoints not equal to value
|
|
632
|
+
# @option opts [Array<Integer>] :retain_checkpoints__range Filter results where retain_checkpoints is between two comma separated values
|
|
617
633
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
|
618
634
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
|
619
635
|
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
|
@@ -630,7 +646,7 @@ module PulpContainerClient
|
|
|
630
646
|
if @api_client.config.debugging
|
|
631
647
|
@api_client.config.logger.debug 'Calling API: RepositoriesContainerApi.list ...'
|
|
632
648
|
end
|
|
633
|
-
allowable_values = ["-description", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-retain_repo_versions", "-user_hidden", "description", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "retain_repo_versions", "user_hidden"]
|
|
649
|
+
allowable_values = ["-description", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-retain_checkpoints", "-retain_repo_versions", "-user_hidden", "description", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "retain_checkpoints", "retain_repo_versions", "user_hidden"]
|
|
634
650
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
635
651
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
636
652
|
end
|
|
@@ -658,6 +674,14 @@ module PulpContainerClient
|
|
|
658
674
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
|
659
675
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
|
660
676
|
query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
|
|
677
|
+
query_params[:'retain_checkpoints'] = opts[:'retain_checkpoints'] if !opts[:'retain_checkpoints'].nil?
|
|
678
|
+
query_params[:'retain_checkpoints__gt'] = opts[:'retain_checkpoints__gt'] if !opts[:'retain_checkpoints__gt'].nil?
|
|
679
|
+
query_params[:'retain_checkpoints__gte'] = opts[:'retain_checkpoints__gte'] if !opts[:'retain_checkpoints__gte'].nil?
|
|
680
|
+
query_params[:'retain_checkpoints__isnull'] = opts[:'retain_checkpoints__isnull'] if !opts[:'retain_checkpoints__isnull'].nil?
|
|
681
|
+
query_params[:'retain_checkpoints__lt'] = opts[:'retain_checkpoints__lt'] if !opts[:'retain_checkpoints__lt'].nil?
|
|
682
|
+
query_params[:'retain_checkpoints__lte'] = opts[:'retain_checkpoints__lte'] if !opts[:'retain_checkpoints__lte'].nil?
|
|
683
|
+
query_params[:'retain_checkpoints__ne'] = opts[:'retain_checkpoints__ne'] if !opts[:'retain_checkpoints__ne'].nil?
|
|
684
|
+
query_params[:'retain_checkpoints__range'] = @api_client.build_collection_param(opts[:'retain_checkpoints__range'], :csv) if !opts[:'retain_checkpoints__range'].nil?
|
|
661
685
|
query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
|
|
662
686
|
query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
|
|
663
687
|
query_params[:'retain_repo_versions__gte'] = opts[:'retain_repo_versions__gte'] if !opts[:'retain_repo_versions__gte'].nil?
|
|
@@ -112,13 +112,21 @@ module PulpContainerClient
|
|
|
112
112
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
|
113
113
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
114
114
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
115
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
115
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `retain_checkpoints` - Retain checkpoints * `-retain_checkpoints` - Retain checkpoints (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
116
116
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
117
117
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
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
121
|
# @option opts [String] :remote
|
|
122
|
+
# @option opts [Integer] :retain_checkpoints Filter results where retain_checkpoints matches value
|
|
123
|
+
# @option opts [Integer] :retain_checkpoints__gt Filter results where retain_checkpoints is greater than value
|
|
124
|
+
# @option opts [Integer] :retain_checkpoints__gte Filter results where retain_checkpoints is greater than or equal to value
|
|
125
|
+
# @option opts [Boolean] :retain_checkpoints__isnull Filter results where retain_checkpoints has a null value
|
|
126
|
+
# @option opts [Integer] :retain_checkpoints__lt Filter results where retain_checkpoints is less than value
|
|
127
|
+
# @option opts [Integer] :retain_checkpoints__lte Filter results where retain_checkpoints is less than or equal to value
|
|
128
|
+
# @option opts [Integer] :retain_checkpoints__ne Filter results where retain_checkpoints not equal to value
|
|
129
|
+
# @option opts [Array<Integer>] :retain_checkpoints__range Filter results where retain_checkpoints is between two comma separated values
|
|
122
130
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
|
123
131
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
|
124
132
|
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
|
@@ -152,13 +160,21 @@ module PulpContainerClient
|
|
|
152
160
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
|
153
161
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
154
162
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
155
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
163
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `retain_checkpoints` - Retain checkpoints * `-retain_checkpoints` - Retain checkpoints (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
156
164
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
157
165
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
158
166
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
159
167
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
160
168
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
161
169
|
# @option opts [String] :remote
|
|
170
|
+
# @option opts [Integer] :retain_checkpoints Filter results where retain_checkpoints matches value
|
|
171
|
+
# @option opts [Integer] :retain_checkpoints__gt Filter results where retain_checkpoints is greater than value
|
|
172
|
+
# @option opts [Integer] :retain_checkpoints__gte Filter results where retain_checkpoints is greater than or equal to value
|
|
173
|
+
# @option opts [Boolean] :retain_checkpoints__isnull Filter results where retain_checkpoints has a null value
|
|
174
|
+
# @option opts [Integer] :retain_checkpoints__lt Filter results where retain_checkpoints is less than value
|
|
175
|
+
# @option opts [Integer] :retain_checkpoints__lte Filter results where retain_checkpoints is less than or equal to value
|
|
176
|
+
# @option opts [Integer] :retain_checkpoints__ne Filter results where retain_checkpoints not equal to value
|
|
177
|
+
# @option opts [Array<Integer>] :retain_checkpoints__range Filter results where retain_checkpoints is between two comma separated values
|
|
162
178
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
|
163
179
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
|
164
180
|
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
|
@@ -175,7 +191,7 @@ module PulpContainerClient
|
|
|
175
191
|
if @api_client.config.debugging
|
|
176
192
|
@api_client.config.logger.debug 'Calling API: RepositoriesContainerPushApi.list ...'
|
|
177
193
|
end
|
|
178
|
-
allowable_values = ["-description", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-retain_repo_versions", "-user_hidden", "description", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "retain_repo_versions", "user_hidden"]
|
|
194
|
+
allowable_values = ["-description", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-retain_checkpoints", "-retain_repo_versions", "-user_hidden", "description", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "retain_checkpoints", "retain_repo_versions", "user_hidden"]
|
|
179
195
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
180
196
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
181
197
|
end
|
|
@@ -203,6 +219,14 @@ module PulpContainerClient
|
|
|
203
219
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
|
204
220
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
|
205
221
|
query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
|
|
222
|
+
query_params[:'retain_checkpoints'] = opts[:'retain_checkpoints'] if !opts[:'retain_checkpoints'].nil?
|
|
223
|
+
query_params[:'retain_checkpoints__gt'] = opts[:'retain_checkpoints__gt'] if !opts[:'retain_checkpoints__gt'].nil?
|
|
224
|
+
query_params[:'retain_checkpoints__gte'] = opts[:'retain_checkpoints__gte'] if !opts[:'retain_checkpoints__gte'].nil?
|
|
225
|
+
query_params[:'retain_checkpoints__isnull'] = opts[:'retain_checkpoints__isnull'] if !opts[:'retain_checkpoints__isnull'].nil?
|
|
226
|
+
query_params[:'retain_checkpoints__lt'] = opts[:'retain_checkpoints__lt'] if !opts[:'retain_checkpoints__lt'].nil?
|
|
227
|
+
query_params[:'retain_checkpoints__lte'] = opts[:'retain_checkpoints__lte'] if !opts[:'retain_checkpoints__lte'].nil?
|
|
228
|
+
query_params[:'retain_checkpoints__ne'] = opts[:'retain_checkpoints__ne'] if !opts[:'retain_checkpoints__ne'].nil?
|
|
229
|
+
query_params[:'retain_checkpoints__range'] = @api_client.build_collection_param(opts[:'retain_checkpoints__range'], :csv) if !opts[:'retain_checkpoints__range'].nil?
|
|
206
230
|
query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
|
|
207
231
|
query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
|
|
208
232
|
query_params[:'retain_repo_versions__gte'] = opts[:'retain_repo_versions__gte'] if !opts[:'retain_repo_versions__gte'].nil?
|
|
@@ -16,14 +16,6 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# A serializer for ContainerDistribution.
|
|
18
18
|
class ContainerContainerDistribution
|
|
19
|
-
attr_accessor :pulp_labels
|
|
20
|
-
|
|
21
|
-
# Whether this distribution should be shown in the content app.
|
|
22
|
-
attr_accessor :hidden
|
|
23
|
-
|
|
24
|
-
# The latest RepositoryVersion for this Repository will be served.
|
|
25
|
-
attr_accessor :repository
|
|
26
|
-
|
|
27
19
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
28
20
|
attr_accessor :base_path
|
|
29
21
|
|
|
@@ -33,9 +25,17 @@ module PulpContainerClient
|
|
|
33
25
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
34
26
|
attr_accessor :content_guard
|
|
35
27
|
|
|
28
|
+
attr_accessor :pulp_labels
|
|
29
|
+
|
|
30
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
31
|
+
attr_accessor :repository
|
|
32
|
+
|
|
36
33
|
# RepositoryVersion to be served
|
|
37
34
|
attr_accessor :repository_version
|
|
38
35
|
|
|
36
|
+
# Whether this distribution should be shown in the content app.
|
|
37
|
+
attr_accessor :hidden
|
|
38
|
+
|
|
39
39
|
# Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access.
|
|
40
40
|
attr_accessor :private
|
|
41
41
|
|
|
@@ -45,13 +45,13 @@ module PulpContainerClient
|
|
|
45
45
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
46
46
|
def self.attribute_map
|
|
47
47
|
{
|
|
48
|
-
:'pulp_labels' => :'pulp_labels',
|
|
49
|
-
:'hidden' => :'hidden',
|
|
50
|
-
:'repository' => :'repository',
|
|
51
48
|
:'base_path' => :'base_path',
|
|
52
49
|
:'name' => :'name',
|
|
53
50
|
:'content_guard' => :'content_guard',
|
|
51
|
+
:'pulp_labels' => :'pulp_labels',
|
|
52
|
+
:'repository' => :'repository',
|
|
54
53
|
:'repository_version' => :'repository_version',
|
|
54
|
+
:'hidden' => :'hidden',
|
|
55
55
|
:'private' => :'private',
|
|
56
56
|
:'description' => :'description'
|
|
57
57
|
}
|
|
@@ -65,13 +65,13 @@ module PulpContainerClient
|
|
|
65
65
|
# Attribute type mapping.
|
|
66
66
|
def self.openapi_types
|
|
67
67
|
{
|
|
68
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
69
|
-
:'hidden' => :'Boolean',
|
|
70
|
-
:'repository' => :'String',
|
|
71
68
|
:'base_path' => :'String',
|
|
72
69
|
:'name' => :'String',
|
|
73
70
|
:'content_guard' => :'String',
|
|
71
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
72
|
+
:'repository' => :'String',
|
|
74
73
|
:'repository_version' => :'String',
|
|
74
|
+
:'hidden' => :'Boolean',
|
|
75
75
|
:'private' => :'Boolean',
|
|
76
76
|
:'description' => :'String'
|
|
77
77
|
}
|
|
@@ -101,22 +101,6 @@ module PulpContainerClient
|
|
|
101
101
|
h[k.to_sym] = v
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
if attributes.key?(:'pulp_labels')
|
|
105
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
106
|
-
self.pulp_labels = value
|
|
107
|
-
end
|
|
108
|
-
end
|
|
109
|
-
|
|
110
|
-
if attributes.key?(:'hidden')
|
|
111
|
-
self.hidden = attributes[:'hidden']
|
|
112
|
-
else
|
|
113
|
-
self.hidden = false
|
|
114
|
-
end
|
|
115
|
-
|
|
116
|
-
if attributes.key?(:'repository')
|
|
117
|
-
self.repository = attributes[:'repository']
|
|
118
|
-
end
|
|
119
|
-
|
|
120
104
|
if attributes.key?(:'base_path')
|
|
121
105
|
self.base_path = attributes[:'base_path']
|
|
122
106
|
else
|
|
@@ -133,10 +117,26 @@ module PulpContainerClient
|
|
|
133
117
|
self.content_guard = attributes[:'content_guard']
|
|
134
118
|
end
|
|
135
119
|
|
|
120
|
+
if attributes.key?(:'pulp_labels')
|
|
121
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
122
|
+
self.pulp_labels = value
|
|
123
|
+
end
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
if attributes.key?(:'repository')
|
|
127
|
+
self.repository = attributes[:'repository']
|
|
128
|
+
end
|
|
129
|
+
|
|
136
130
|
if attributes.key?(:'repository_version')
|
|
137
131
|
self.repository_version = attributes[:'repository_version']
|
|
138
132
|
end
|
|
139
133
|
|
|
134
|
+
if attributes.key?(:'hidden')
|
|
135
|
+
self.hidden = attributes[:'hidden']
|
|
136
|
+
else
|
|
137
|
+
self.hidden = false
|
|
138
|
+
end
|
|
139
|
+
|
|
140
140
|
if attributes.key?(:'private')
|
|
141
141
|
self.private = attributes[:'private']
|
|
142
142
|
end
|
|
@@ -229,13 +229,13 @@ module PulpContainerClient
|
|
|
229
229
|
def ==(o)
|
|
230
230
|
return true if self.equal?(o)
|
|
231
231
|
self.class == o.class &&
|
|
232
|
-
pulp_labels == o.pulp_labels &&
|
|
233
|
-
hidden == o.hidden &&
|
|
234
|
-
repository == o.repository &&
|
|
235
232
|
base_path == o.base_path &&
|
|
236
233
|
name == o.name &&
|
|
237
234
|
content_guard == o.content_guard &&
|
|
235
|
+
pulp_labels == o.pulp_labels &&
|
|
236
|
+
repository == o.repository &&
|
|
238
237
|
repository_version == o.repository_version &&
|
|
238
|
+
hidden == o.hidden &&
|
|
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
|
-
[
|
|
252
|
+
[base_path, name, content_guard, pulp_labels, repository, repository_version, hidden, private, description].hash
|
|
253
253
|
end
|
|
254
254
|
|
|
255
255
|
# Builds the object from hash
|
|
@@ -16,28 +16,12 @@ require 'time'
|
|
|
16
16
|
module PulpContainerClient
|
|
17
17
|
# A serializer for ContainerDistribution.
|
|
18
18
|
class ContainerContainerDistributionResponse
|
|
19
|
-
# Timestamp of creation.
|
|
20
|
-
attr_accessor :pulp_created
|
|
21
|
-
|
|
22
|
-
attr_accessor :pulp_labels
|
|
23
|
-
|
|
24
19
|
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
25
20
|
attr_accessor :no_content_change_since
|
|
26
21
|
|
|
27
|
-
# Whether this distribution should be shown in the content app.
|
|
28
|
-
attr_accessor :hidden
|
|
29
|
-
|
|
30
22
|
# The Pulp Resource Name (PRN).
|
|
31
23
|
attr_accessor :prn
|
|
32
24
|
|
|
33
|
-
# 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.
|
|
34
|
-
attr_accessor :pulp_last_updated
|
|
35
|
-
|
|
36
|
-
attr_accessor :pulp_href
|
|
37
|
-
|
|
38
|
-
# The latest RepositoryVersion for this Repository will be served.
|
|
39
|
-
attr_accessor :repository
|
|
40
|
-
|
|
41
25
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
42
26
|
attr_accessor :base_path
|
|
43
27
|
|
|
@@ -47,9 +31,28 @@ module PulpContainerClient
|
|
|
47
31
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
48
32
|
attr_accessor :content_guard
|
|
49
33
|
|
|
34
|
+
# The Pulp Resource Name (PRN) of the associated optional content guard.
|
|
35
|
+
attr_accessor :content_guard_prn
|
|
36
|
+
|
|
37
|
+
attr_accessor :pulp_labels
|
|
38
|
+
|
|
39
|
+
attr_accessor :pulp_href
|
|
40
|
+
|
|
41
|
+
# Timestamp of creation.
|
|
42
|
+
attr_accessor :pulp_created
|
|
43
|
+
|
|
44
|
+
# 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.
|
|
45
|
+
attr_accessor :pulp_last_updated
|
|
46
|
+
|
|
47
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
48
|
+
attr_accessor :repository
|
|
49
|
+
|
|
50
50
|
# RepositoryVersion to be served
|
|
51
51
|
attr_accessor :repository_version
|
|
52
52
|
|
|
53
|
+
# Whether this distribution should be shown in the content app.
|
|
54
|
+
attr_accessor :hidden
|
|
55
|
+
|
|
53
56
|
# The Registry hostname/name/ to use with docker pull command defined by this distribution.
|
|
54
57
|
attr_accessor :registry_path
|
|
55
58
|
|
|
@@ -68,18 +71,19 @@ module PulpContainerClient
|
|
|
68
71
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
69
72
|
def self.attribute_map
|
|
70
73
|
{
|
|
71
|
-
:'pulp_created' => :'pulp_created',
|
|
72
|
-
:'pulp_labels' => :'pulp_labels',
|
|
73
74
|
:'no_content_change_since' => :'no_content_change_since',
|
|
74
|
-
:'hidden' => :'hidden',
|
|
75
75
|
:'prn' => :'prn',
|
|
76
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
77
|
-
:'pulp_href' => :'pulp_href',
|
|
78
|
-
:'repository' => :'repository',
|
|
79
76
|
:'base_path' => :'base_path',
|
|
80
77
|
:'name' => :'name',
|
|
81
78
|
:'content_guard' => :'content_guard',
|
|
79
|
+
:'content_guard_prn' => :'content_guard_prn',
|
|
80
|
+
:'pulp_labels' => :'pulp_labels',
|
|
81
|
+
:'pulp_href' => :'pulp_href',
|
|
82
|
+
:'pulp_created' => :'pulp_created',
|
|
83
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
84
|
+
:'repository' => :'repository',
|
|
82
85
|
:'repository_version' => :'repository_version',
|
|
86
|
+
:'hidden' => :'hidden',
|
|
83
87
|
:'registry_path' => :'registry_path',
|
|
84
88
|
:'remote' => :'remote',
|
|
85
89
|
:'namespace' => :'namespace',
|
|
@@ -96,18 +100,19 @@ module PulpContainerClient
|
|
|
96
100
|
# Attribute type mapping.
|
|
97
101
|
def self.openapi_types
|
|
98
102
|
{
|
|
99
|
-
:'pulp_created' => :'Time',
|
|
100
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
101
103
|
:'no_content_change_since' => :'String',
|
|
102
|
-
:'hidden' => :'Boolean',
|
|
103
104
|
:'prn' => :'String',
|
|
104
|
-
:'pulp_last_updated' => :'Time',
|
|
105
|
-
:'pulp_href' => :'String',
|
|
106
|
-
:'repository' => :'String',
|
|
107
105
|
:'base_path' => :'String',
|
|
108
106
|
:'name' => :'String',
|
|
109
107
|
:'content_guard' => :'String',
|
|
108
|
+
:'content_guard_prn' => :'String',
|
|
109
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
110
|
+
:'pulp_href' => :'String',
|
|
111
|
+
:'pulp_created' => :'Time',
|
|
112
|
+
:'pulp_last_updated' => :'Time',
|
|
113
|
+
:'repository' => :'String',
|
|
110
114
|
:'repository_version' => :'String',
|
|
115
|
+
:'hidden' => :'Boolean',
|
|
111
116
|
:'registry_path' => :'String',
|
|
112
117
|
:'remote' => :'String',
|
|
113
118
|
:'namespace' => :'String',
|
|
@@ -140,42 +145,14 @@ module PulpContainerClient
|
|
|
140
145
|
h[k.to_sym] = v
|
|
141
146
|
}
|
|
142
147
|
|
|
143
|
-
if attributes.key?(:'pulp_created')
|
|
144
|
-
self.pulp_created = attributes[:'pulp_created']
|
|
145
|
-
end
|
|
146
|
-
|
|
147
|
-
if attributes.key?(:'pulp_labels')
|
|
148
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
149
|
-
self.pulp_labels = value
|
|
150
|
-
end
|
|
151
|
-
end
|
|
152
|
-
|
|
153
148
|
if attributes.key?(:'no_content_change_since')
|
|
154
149
|
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
155
150
|
end
|
|
156
151
|
|
|
157
|
-
if attributes.key?(:'hidden')
|
|
158
|
-
self.hidden = attributes[:'hidden']
|
|
159
|
-
else
|
|
160
|
-
self.hidden = false
|
|
161
|
-
end
|
|
162
|
-
|
|
163
152
|
if attributes.key?(:'prn')
|
|
164
153
|
self.prn = attributes[:'prn']
|
|
165
154
|
end
|
|
166
155
|
|
|
167
|
-
if attributes.key?(:'pulp_last_updated')
|
|
168
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
169
|
-
end
|
|
170
|
-
|
|
171
|
-
if attributes.key?(:'pulp_href')
|
|
172
|
-
self.pulp_href = attributes[:'pulp_href']
|
|
173
|
-
end
|
|
174
|
-
|
|
175
|
-
if attributes.key?(:'repository')
|
|
176
|
-
self.repository = attributes[:'repository']
|
|
177
|
-
end
|
|
178
|
-
|
|
179
156
|
if attributes.key?(:'base_path')
|
|
180
157
|
self.base_path = attributes[:'base_path']
|
|
181
158
|
else
|
|
@@ -192,10 +169,42 @@ module PulpContainerClient
|
|
|
192
169
|
self.content_guard = attributes[:'content_guard']
|
|
193
170
|
end
|
|
194
171
|
|
|
172
|
+
if attributes.key?(:'content_guard_prn')
|
|
173
|
+
self.content_guard_prn = attributes[:'content_guard_prn']
|
|
174
|
+
end
|
|
175
|
+
|
|
176
|
+
if attributes.key?(:'pulp_labels')
|
|
177
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
178
|
+
self.pulp_labels = value
|
|
179
|
+
end
|
|
180
|
+
end
|
|
181
|
+
|
|
182
|
+
if attributes.key?(:'pulp_href')
|
|
183
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
184
|
+
end
|
|
185
|
+
|
|
186
|
+
if attributes.key?(:'pulp_created')
|
|
187
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
188
|
+
end
|
|
189
|
+
|
|
190
|
+
if attributes.key?(:'pulp_last_updated')
|
|
191
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
192
|
+
end
|
|
193
|
+
|
|
194
|
+
if attributes.key?(:'repository')
|
|
195
|
+
self.repository = attributes[:'repository']
|
|
196
|
+
end
|
|
197
|
+
|
|
195
198
|
if attributes.key?(:'repository_version')
|
|
196
199
|
self.repository_version = attributes[:'repository_version']
|
|
197
200
|
end
|
|
198
201
|
|
|
202
|
+
if attributes.key?(:'hidden')
|
|
203
|
+
self.hidden = attributes[:'hidden']
|
|
204
|
+
else
|
|
205
|
+
self.hidden = false
|
|
206
|
+
end
|
|
207
|
+
|
|
199
208
|
if attributes.key?(:'registry_path')
|
|
200
209
|
self.registry_path = attributes[:'registry_path']
|
|
201
210
|
end
|
|
@@ -247,18 +256,19 @@ module PulpContainerClient
|
|
|
247
256
|
def ==(o)
|
|
248
257
|
return true if self.equal?(o)
|
|
249
258
|
self.class == o.class &&
|
|
250
|
-
pulp_created == o.pulp_created &&
|
|
251
|
-
pulp_labels == o.pulp_labels &&
|
|
252
259
|
no_content_change_since == o.no_content_change_since &&
|
|
253
|
-
hidden == o.hidden &&
|
|
254
260
|
prn == o.prn &&
|
|
255
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
256
|
-
pulp_href == o.pulp_href &&
|
|
257
|
-
repository == o.repository &&
|
|
258
261
|
base_path == o.base_path &&
|
|
259
262
|
name == o.name &&
|
|
260
263
|
content_guard == o.content_guard &&
|
|
264
|
+
content_guard_prn == o.content_guard_prn &&
|
|
265
|
+
pulp_labels == o.pulp_labels &&
|
|
266
|
+
pulp_href == o.pulp_href &&
|
|
267
|
+
pulp_created == o.pulp_created &&
|
|
268
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
269
|
+
repository == o.repository &&
|
|
261
270
|
repository_version == o.repository_version &&
|
|
271
|
+
hidden == o.hidden &&
|
|
262
272
|
registry_path == o.registry_path &&
|
|
263
273
|
remote == o.remote &&
|
|
264
274
|
namespace == o.namespace &&
|
|
@@ -275,7 +285,7 @@ module PulpContainerClient
|
|
|
275
285
|
# Calculates hash code according to all attributes.
|
|
276
286
|
# @return [Integer] Hash code
|
|
277
287
|
def hash
|
|
278
|
-
[
|
|
288
|
+
[no_content_change_since, prn, base_path, name, content_guard, content_guard_prn, pulp_labels, pulp_href, pulp_created, pulp_last_updated, repository, repository_version, hidden, registry_path, remote, namespace, private, description].hash
|
|
279
289
|
end
|
|
280
290
|
|
|
281
291
|
# Builds the object from hash
|