pulp_container_client 2.14.18 → 2.15.0
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 +5 -5
- data/docs/ContainerContainerDistributionResponse.md +6 -6
- data/docs/ContainerContainerPushRepository.md +4 -4
- data/docs/ContainerContainerPushRepositoryResponse.md +12 -12
- data/docs/ContainerContainerRemote.md +1 -1
- data/docs/ContainerContainerRemoteResponse.md +1 -1
- data/docs/ContainerContainerRemoteResponseHiddenFields.md +2 -2
- data/docs/ContainerContainerRepository.md +1 -1
- data/docs/ContainerContainerRepositoryResponse.md +1 -1
- data/docs/ContentBlobsApi.md +7 -3
- data/docs/ContentManifestsApi.md +9 -5
- data/docs/ContentSignaturesApi.md +7 -3
- data/docs/ContentTagsApi.md +9 -5
- data/docs/DistributionsContainerApi.md +11 -3
- data/docs/PatchedcontainerContainerDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPushRepository.md +4 -4
- data/docs/PatchedcontainerContainerRemote.md +1 -1
- data/docs/PatchedcontainerContainerRepository.md +1 -1
- data/docs/PulpContainerNamespacesApi.md +7 -3
- data/docs/RemotesContainerApi.md +7 -3
- data/docs/RepositoriesContainerApi.md +27 -3
- data/docs/RepositoriesContainerPushApi.md +27 -3
- data/docs/RepositoriesContainerPushVersionsApi.md +5 -3
- data/docs/RepositoriesContainerVersionsApi.md +5 -3
- data/docs/TokenApi.md +1 -1
- data/lib/pulp_container_client/api/content_blobs_api.rb +8 -2
- data/lib/pulp_container_client/api/content_manifests_api.rb +10 -4
- data/lib/pulp_container_client/api/content_signatures_api.rb +8 -2
- data/lib/pulp_container_client/api/content_tags_api.rb +10 -4
- data/lib/pulp_container_client/api/distributions_container_api.rb +14 -2
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +8 -2
- data/lib/pulp_container_client/api/remotes_container_api.rb +8 -2
- data/lib/pulp_container_client/api/repositories_container_api.rb +38 -2
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +38 -2
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +5 -2
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +5 -2
- data/lib/pulp_container_client/configuration.rb +3 -3
- data/lib/pulp_container_client/models/container_container_distribution.rb +42 -42
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +30 -30
- data/lib/pulp_container_client/models/container_container_push_repository.rb +17 -17
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +42 -42
- data/lib/pulp_container_client/models/container_container_remote.rb +1 -1
- data/lib/pulp_container_client/models/container_container_remote_response.rb +1 -1
- data/lib/pulp_container_client/models/container_container_remote_response_hidden_fields.rb +0 -10
- data/lib/pulp_container_client/models/container_container_repository.rb +1 -1
- data/lib/pulp_container_client/models/container_container_repository_response.rb +1 -1
- data/lib/pulp_container_client/models/nested_role.rb +19 -0
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +33 -33
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +17 -17
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +1 -1
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/api/content_blobs_api_spec.rb +3 -1
- data/spec/api/content_manifests_api_spec.rb +4 -2
- data/spec/api/content_signatures_api_spec.rb +3 -1
- data/spec/api/content_tags_api_spec.rb +4 -2
- data/spec/api/distributions_container_api_spec.rb +5 -1
- data/spec/api/pulp_container_namespaces_api_spec.rb +3 -1
- data/spec/api/remotes_container_api_spec.rb +3 -1
- data/spec/api/repositories_container_api_spec.rb +13 -1
- data/spec/api/repositories_container_push_api_spec.rb +13 -1
- data/spec/api/repositories_container_push_versions_api_spec.rb +2 -1
- data/spec/api/repositories_container_versions_api_spec.rb +2 -1
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/container_container_distribution_response_spec.rb +4 -4
- data/spec/models/container_container_distribution_spec.rb +3 -3
- data/spec/models/container_container_push_repository_response_spec.rb +8 -8
- data/spec/models/container_container_push_repository_spec.rb +3 -3
- data/spec/models/patchedcontainer_container_distribution_spec.rb +3 -3
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +3 -3
- metadata +64 -64
@@ -506,6 +506,7 @@ module PulpContainerClient
|
|
506
506
|
# List container repositorys
|
507
507
|
# ViewSet for container repo.
|
508
508
|
# @param [Hash] opts the optional parameters
|
509
|
+
# @option opts [String] :latest_with_content Content Unit referenced by HREF
|
509
510
|
# @option opts [Integer] :limit Number of results to return per page.
|
510
511
|
# @option opts [String] :name Filter results where name matches value
|
511
512
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -513,9 +514,20 @@ module PulpContainerClient
|
|
513
514
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
514
515
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
515
516
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
516
|
-
# @option opts [Array<String>] :ordering Ordering
|
517
|
+
# @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)
|
518
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
519
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
517
520
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
518
521
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
522
|
+
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
523
|
+
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
524
|
+
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
525
|
+
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
526
|
+
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
527
|
+
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
528
|
+
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
529
|
+
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
530
|
+
# @option opts [String] :with_content Content Unit referenced by HREF
|
519
531
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
520
532
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
521
533
|
# @return [PaginatedcontainerContainerRepositoryResponseList]
|
@@ -527,6 +539,7 @@ module PulpContainerClient
|
|
527
539
|
# List container repositorys
|
528
540
|
# ViewSet for container repo.
|
529
541
|
# @param [Hash] opts the optional parameters
|
542
|
+
# @option opts [String] :latest_with_content Content Unit referenced by HREF
|
530
543
|
# @option opts [Integer] :limit Number of results to return per page.
|
531
544
|
# @option opts [String] :name Filter results where name matches value
|
532
545
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -534,9 +547,20 @@ module PulpContainerClient
|
|
534
547
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
535
548
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
536
549
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
537
|
-
# @option opts [Array<String>] :ordering Ordering
|
550
|
+
# @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)
|
551
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
552
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
538
553
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
539
554
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
555
|
+
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
556
|
+
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
557
|
+
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
558
|
+
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
559
|
+
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
560
|
+
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
561
|
+
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
562
|
+
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
563
|
+
# @option opts [String] :with_content Content Unit referenced by HREF
|
540
564
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
541
565
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
542
566
|
# @return [Array<(PaginatedcontainerContainerRepositoryResponseList, Integer, Hash)>] PaginatedcontainerContainerRepositoryResponseList data, response status code and response headers
|
@@ -553,6 +577,7 @@ module PulpContainerClient
|
|
553
577
|
|
554
578
|
# query parameters
|
555
579
|
query_params = opts[:query_params] || {}
|
580
|
+
query_params[:'latest_with_content'] = opts[:'latest_with_content'] if !opts[:'latest_with_content'].nil?
|
556
581
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
557
582
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
558
583
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
@@ -561,8 +586,19 @@ module PulpContainerClient
|
|
561
586
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
562
587
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
563
588
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
589
|
+
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
590
|
+
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
564
591
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
565
592
|
query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
|
593
|
+
query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
|
594
|
+
query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
|
595
|
+
query_params[:'retain_repo_versions__gte'] = opts[:'retain_repo_versions__gte'] if !opts[:'retain_repo_versions__gte'].nil?
|
596
|
+
query_params[:'retain_repo_versions__isnull'] = opts[:'retain_repo_versions__isnull'] if !opts[:'retain_repo_versions__isnull'].nil?
|
597
|
+
query_params[:'retain_repo_versions__lt'] = opts[:'retain_repo_versions__lt'] if !opts[:'retain_repo_versions__lt'].nil?
|
598
|
+
query_params[:'retain_repo_versions__lte'] = opts[:'retain_repo_versions__lte'] if !opts[:'retain_repo_versions__lte'].nil?
|
599
|
+
query_params[:'retain_repo_versions__ne'] = opts[:'retain_repo_versions__ne'] if !opts[:'retain_repo_versions__ne'].nil?
|
600
|
+
query_params[:'retain_repo_versions__range'] = @api_client.build_collection_param(opts[:'retain_repo_versions__range'], :csv) if !opts[:'retain_repo_versions__range'].nil?
|
601
|
+
query_params[:'with_content'] = opts[:'with_content'] if !opts[:'with_content'].nil?
|
566
602
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
567
603
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
568
604
|
|
@@ -90,6 +90,7 @@ module PulpContainerClient
|
|
90
90
|
# List container push repositorys
|
91
91
|
# ViewSet for a container push repository. POST and DELETE are disallowed because a push repository is tightly coupled with a ContainerDistribution which handles it automatically. Created - during push operation, removed - with ContainerDistribution removal.
|
92
92
|
# @param [Hash] opts the optional parameters
|
93
|
+
# @option opts [String] :latest_with_content Content Unit referenced by HREF
|
93
94
|
# @option opts [Integer] :limit Number of results to return per page.
|
94
95
|
# @option opts [String] :name Filter results where name matches value
|
95
96
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -97,9 +98,20 @@ module PulpContainerClient
|
|
97
98
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
98
99
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
99
100
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
100
|
-
# @option opts [Array<String>] :ordering Ordering
|
101
|
+
# @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)
|
102
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
103
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
101
104
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
102
105
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
106
|
+
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
107
|
+
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
108
|
+
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
109
|
+
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
110
|
+
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
111
|
+
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
112
|
+
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
113
|
+
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
114
|
+
# @option opts [String] :with_content Content Unit referenced by HREF
|
103
115
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
104
116
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
105
117
|
# @return [PaginatedcontainerContainerPushRepositoryResponseList]
|
@@ -111,6 +123,7 @@ module PulpContainerClient
|
|
111
123
|
# List container push repositorys
|
112
124
|
# ViewSet for a container push repository. POST and DELETE are disallowed because a push repository is tightly coupled with a ContainerDistribution which handles it automatically. Created - during push operation, removed - with ContainerDistribution removal.
|
113
125
|
# @param [Hash] opts the optional parameters
|
126
|
+
# @option opts [String] :latest_with_content Content Unit referenced by HREF
|
114
127
|
# @option opts [Integer] :limit Number of results to return per page.
|
115
128
|
# @option opts [String] :name Filter results where name matches value
|
116
129
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -118,9 +131,20 @@ module PulpContainerClient
|
|
118
131
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
119
132
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
120
133
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
121
|
-
# @option opts [Array<String>] :ordering Ordering
|
134
|
+
# @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)
|
135
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
136
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
122
137
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
123
138
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
139
|
+
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
140
|
+
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
141
|
+
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
142
|
+
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
143
|
+
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
144
|
+
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
145
|
+
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
146
|
+
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
147
|
+
# @option opts [String] :with_content Content Unit referenced by HREF
|
124
148
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
125
149
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
126
150
|
# @return [Array<(PaginatedcontainerContainerPushRepositoryResponseList, Integer, Hash)>] PaginatedcontainerContainerPushRepositoryResponseList data, response status code and response headers
|
@@ -137,6 +161,7 @@ module PulpContainerClient
|
|
137
161
|
|
138
162
|
# query parameters
|
139
163
|
query_params = opts[:query_params] || {}
|
164
|
+
query_params[:'latest_with_content'] = opts[:'latest_with_content'] if !opts[:'latest_with_content'].nil?
|
140
165
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
141
166
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
142
167
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
@@ -145,8 +170,19 @@ module PulpContainerClient
|
|
145
170
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
146
171
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
147
172
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
173
|
+
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
174
|
+
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
148
175
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
149
176
|
query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
|
177
|
+
query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
|
178
|
+
query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
|
179
|
+
query_params[:'retain_repo_versions__gte'] = opts[:'retain_repo_versions__gte'] if !opts[:'retain_repo_versions__gte'].nil?
|
180
|
+
query_params[:'retain_repo_versions__isnull'] = opts[:'retain_repo_versions__isnull'] if !opts[:'retain_repo_versions__isnull'].nil?
|
181
|
+
query_params[:'retain_repo_versions__lt'] = opts[:'retain_repo_versions__lt'] if !opts[:'retain_repo_versions__lt'].nil?
|
182
|
+
query_params[:'retain_repo_versions__lte'] = opts[:'retain_repo_versions__lte'] if !opts[:'retain_repo_versions__lte'].nil?
|
183
|
+
query_params[:'retain_repo_versions__ne'] = opts[:'retain_repo_versions__ne'] if !opts[:'retain_repo_versions__ne'].nil?
|
184
|
+
query_params[:'retain_repo_versions__range'] = @api_client.build_collection_param(opts[:'retain_repo_versions__range'], :csv) if !opts[:'retain_repo_versions__range'].nil?
|
185
|
+
query_params[:'with_content'] = opts[:'with_content'] if !opts[:'with_content'].nil?
|
150
186
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
151
187
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
152
188
|
|
@@ -95,13 +95,14 @@ module PulpContainerClient
|
|
95
95
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
96
96
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
97
97
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
98
|
-
# @option opts [Array<String>] :ordering Ordering
|
98
|
+
# @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) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
99
99
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
100
100
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
101
101
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
102
102
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
103
103
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
104
104
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
105
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
105
106
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
106
107
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
107
108
|
# @return [PaginatedRepositoryVersionResponseList]
|
@@ -124,13 +125,14 @@ module PulpContainerClient
|
|
124
125
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
125
126
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
126
127
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
127
|
-
# @option opts [Array<String>] :ordering Ordering
|
128
|
+
# @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) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
128
129
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
129
130
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
130
131
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
131
132
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
132
133
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
133
134
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
135
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
134
136
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
135
137
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
136
138
|
# @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
|
@@ -168,6 +170,7 @@ module PulpContainerClient
|
|
168
170
|
query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
|
169
171
|
query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
|
170
172
|
query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
|
173
|
+
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
171
174
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
172
175
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
173
176
|
|
@@ -95,13 +95,14 @@ module PulpContainerClient
|
|
95
95
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
96
96
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
97
97
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
98
|
-
# @option opts [Array<String>] :ordering Ordering
|
98
|
+
# @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) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
99
99
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
100
100
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
101
101
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
102
102
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
103
103
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
104
104
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
105
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
105
106
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
106
107
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
107
108
|
# @return [PaginatedRepositoryVersionResponseList]
|
@@ -124,13 +125,14 @@ module PulpContainerClient
|
|
124
125
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
125
126
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
126
127
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
127
|
-
# @option opts [Array<String>] :ordering Ordering
|
128
|
+
# @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) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
128
129
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
129
130
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
130
131
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
131
132
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
132
133
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
133
134
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
135
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
134
136
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
135
137
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
136
138
|
# @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
|
@@ -168,6 +170,7 @@ module PulpContainerClient
|
|
168
170
|
query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
|
169
171
|
query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
|
170
172
|
query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
|
173
|
+
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
171
174
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
172
175
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
173
176
|
|
@@ -127,8 +127,8 @@ module PulpContainerClient
|
|
127
127
|
attr_accessor :force_ending_format
|
128
128
|
|
129
129
|
def initialize
|
130
|
-
@scheme = '
|
131
|
-
@host = '
|
130
|
+
@scheme = 'https'
|
131
|
+
@host = 'pulp'
|
132
132
|
@base_path = ''
|
133
133
|
@api_key = {}
|
134
134
|
@api_key_prefix = {}
|
@@ -210,7 +210,7 @@ module PulpContainerClient
|
|
210
210
|
def server_settings
|
211
211
|
[
|
212
212
|
{
|
213
|
-
url: "
|
213
|
+
url: "https://pulp/",
|
214
214
|
description: "No description provided",
|
215
215
|
}
|
216
216
|
]
|
@@ -15,19 +15,19 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class ContainerContainerDistribution
|
18
|
-
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
19
|
-
attr_accessor :base_path
|
20
|
-
|
21
18
|
attr_accessor :pulp_labels
|
22
19
|
|
20
|
+
# The latest RepositoryVersion for this Repository will be served.
|
21
|
+
attr_accessor :repository
|
22
|
+
|
23
23
|
# A unique name. Ex, `rawhide` and `stable`.
|
24
24
|
attr_accessor :name
|
25
25
|
|
26
26
|
# An optional content-guard. If none is specified, a default one will be used.
|
27
27
|
attr_accessor :content_guard
|
28
28
|
|
29
|
-
# The
|
30
|
-
attr_accessor :
|
29
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
30
|
+
attr_accessor :base_path
|
31
31
|
|
32
32
|
# RepositoryVersion to be served
|
33
33
|
attr_accessor :repository_version
|
@@ -41,11 +41,11 @@ module PulpContainerClient
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
42
42
|
def self.attribute_map
|
43
43
|
{
|
44
|
-
:'base_path' => :'base_path',
|
45
44
|
:'pulp_labels' => :'pulp_labels',
|
45
|
+
:'repository' => :'repository',
|
46
46
|
:'name' => :'name',
|
47
47
|
:'content_guard' => :'content_guard',
|
48
|
-
:'
|
48
|
+
:'base_path' => :'base_path',
|
49
49
|
:'repository_version' => :'repository_version',
|
50
50
|
:'private' => :'private',
|
51
51
|
:'description' => :'description'
|
@@ -55,11 +55,11 @@ module PulpContainerClient
|
|
55
55
|
# Attribute type mapping.
|
56
56
|
def self.openapi_types
|
57
57
|
{
|
58
|
-
:'base_path' => :'String',
|
59
58
|
:'pulp_labels' => :'Hash<String, String>',
|
59
|
+
:'repository' => :'String',
|
60
60
|
:'name' => :'String',
|
61
61
|
:'content_guard' => :'String',
|
62
|
-
:'
|
62
|
+
:'base_path' => :'String',
|
63
63
|
:'repository_version' => :'String',
|
64
64
|
:'private' => :'Boolean',
|
65
65
|
:'description' => :'String'
|
@@ -90,16 +90,16 @@ module PulpContainerClient
|
|
90
90
|
h[k.to_sym] = v
|
91
91
|
}
|
92
92
|
|
93
|
-
if attributes.key?(:'base_path')
|
94
|
-
self.base_path = attributes[:'base_path']
|
95
|
-
end
|
96
|
-
|
97
93
|
if attributes.key?(:'pulp_labels')
|
98
94
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
99
95
|
self.pulp_labels = value
|
100
96
|
end
|
101
97
|
end
|
102
98
|
|
99
|
+
if attributes.key?(:'repository')
|
100
|
+
self.repository = attributes[:'repository']
|
101
|
+
end
|
102
|
+
|
103
103
|
if attributes.key?(:'name')
|
104
104
|
self.name = attributes[:'name']
|
105
105
|
end
|
@@ -108,8 +108,8 @@ module PulpContainerClient
|
|
108
108
|
self.content_guard = attributes[:'content_guard']
|
109
109
|
end
|
110
110
|
|
111
|
-
if attributes.key?(:'
|
112
|
-
self.
|
111
|
+
if attributes.key?(:'base_path')
|
112
|
+
self.base_path = attributes[:'base_path']
|
113
113
|
end
|
114
114
|
|
115
115
|
if attributes.key?(:'repository_version')
|
@@ -129,14 +129,6 @@ module PulpContainerClient
|
|
129
129
|
# @return Array for valid properties with the reasons
|
130
130
|
def list_invalid_properties
|
131
131
|
invalid_properties = Array.new
|
132
|
-
if @base_path.nil?
|
133
|
-
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
134
|
-
end
|
135
|
-
|
136
|
-
if @base_path.to_s.length < 1
|
137
|
-
invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
|
138
|
-
end
|
139
|
-
|
140
132
|
if @name.nil?
|
141
133
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
142
134
|
end
|
@@ -145,6 +137,14 @@ module PulpContainerClient
|
|
145
137
|
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
146
138
|
end
|
147
139
|
|
140
|
+
if @base_path.nil?
|
141
|
+
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
142
|
+
end
|
143
|
+
|
144
|
+
if @base_path.to_s.length < 1
|
145
|
+
invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
|
146
|
+
end
|
147
|
+
|
148
148
|
if !@description.nil? && @description.to_s.length < 1
|
149
149
|
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
150
150
|
end
|
@@ -155,28 +155,14 @@ module PulpContainerClient
|
|
155
155
|
# Check to see if the all the properties in the model are valid
|
156
156
|
# @return true if the model is valid
|
157
157
|
def valid?
|
158
|
-
return false if @base_path.nil?
|
159
|
-
return false if @base_path.to_s.length < 1
|
160
158
|
return false if @name.nil?
|
161
159
|
return false if @name.to_s.length < 1
|
160
|
+
return false if @base_path.nil?
|
161
|
+
return false if @base_path.to_s.length < 1
|
162
162
|
return false if !@description.nil? && @description.to_s.length < 1
|
163
163
|
true
|
164
164
|
end
|
165
165
|
|
166
|
-
# Custom attribute writer method with validation
|
167
|
-
# @param [Object] base_path Value to be assigned
|
168
|
-
def base_path=(base_path)
|
169
|
-
if base_path.nil?
|
170
|
-
fail ArgumentError, 'base_path cannot be nil'
|
171
|
-
end
|
172
|
-
|
173
|
-
if base_path.to_s.length < 1
|
174
|
-
fail ArgumentError, 'invalid value for "base_path", the character length must be great than or equal to 1.'
|
175
|
-
end
|
176
|
-
|
177
|
-
@base_path = base_path
|
178
|
-
end
|
179
|
-
|
180
166
|
# Custom attribute writer method with validation
|
181
167
|
# @param [Object] name Value to be assigned
|
182
168
|
def name=(name)
|
@@ -191,6 +177,20 @@ module PulpContainerClient
|
|
191
177
|
@name = name
|
192
178
|
end
|
193
179
|
|
180
|
+
# Custom attribute writer method with validation
|
181
|
+
# @param [Object] base_path Value to be assigned
|
182
|
+
def base_path=(base_path)
|
183
|
+
if base_path.nil?
|
184
|
+
fail ArgumentError, 'base_path cannot be nil'
|
185
|
+
end
|
186
|
+
|
187
|
+
if base_path.to_s.length < 1
|
188
|
+
fail ArgumentError, 'invalid value for "base_path", the character length must be great than or equal to 1.'
|
189
|
+
end
|
190
|
+
|
191
|
+
@base_path = base_path
|
192
|
+
end
|
193
|
+
|
194
194
|
# Custom attribute writer method with validation
|
195
195
|
# @param [Object] description Value to be assigned
|
196
196
|
def description=(description)
|
@@ -206,11 +206,11 @@ module PulpContainerClient
|
|
206
206
|
def ==(o)
|
207
207
|
return true if self.equal?(o)
|
208
208
|
self.class == o.class &&
|
209
|
-
base_path == o.base_path &&
|
210
209
|
pulp_labels == o.pulp_labels &&
|
210
|
+
repository == o.repository &&
|
211
211
|
name == o.name &&
|
212
212
|
content_guard == o.content_guard &&
|
213
|
-
|
213
|
+
base_path == o.base_path &&
|
214
214
|
repository_version == o.repository_version &&
|
215
215
|
private == o.private &&
|
216
216
|
description == o.description
|
@@ -225,7 +225,7 @@ module PulpContainerClient
|
|
225
225
|
# Calculates hash code according to all attributes.
|
226
226
|
# @return [Integer] Hash code
|
227
227
|
def hash
|
228
|
-
[
|
228
|
+
[pulp_labels, repository, name, content_guard, base_path, repository_version, private, description].hash
|
229
229
|
end
|
230
230
|
|
231
231
|
# Builds the object from hash
|
@@ -15,24 +15,24 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class ContainerContainerDistributionResponse
|
18
|
-
#
|
19
|
-
attr_accessor :
|
18
|
+
# Timestamp of creation.
|
19
|
+
attr_accessor :pulp_created
|
20
20
|
|
21
21
|
attr_accessor :pulp_labels
|
22
22
|
|
23
23
|
attr_accessor :pulp_href
|
24
24
|
|
25
|
+
# The latest RepositoryVersion for this Repository will be served.
|
26
|
+
attr_accessor :repository
|
27
|
+
|
25
28
|
# A unique name. Ex, `rawhide` and `stable`.
|
26
29
|
attr_accessor :name
|
27
30
|
|
28
|
-
# Timestamp of creation.
|
29
|
-
attr_accessor :pulp_created
|
30
|
-
|
31
31
|
# An optional content-guard. If none is specified, a default one will be used.
|
32
32
|
attr_accessor :content_guard
|
33
33
|
|
34
|
-
# The
|
35
|
-
attr_accessor :
|
34
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
35
|
+
attr_accessor :base_path
|
36
36
|
|
37
37
|
# RepositoryVersion to be served
|
38
38
|
attr_accessor :repository_version
|
@@ -52,13 +52,13 @@ module PulpContainerClient
|
|
52
52
|
# Attribute mapping from ruby-style variable name to JSON key.
|
53
53
|
def self.attribute_map
|
54
54
|
{
|
55
|
-
:'
|
55
|
+
:'pulp_created' => :'pulp_created',
|
56
56
|
:'pulp_labels' => :'pulp_labels',
|
57
57
|
:'pulp_href' => :'pulp_href',
|
58
|
+
:'repository' => :'repository',
|
58
59
|
:'name' => :'name',
|
59
|
-
:'pulp_created' => :'pulp_created',
|
60
60
|
:'content_guard' => :'content_guard',
|
61
|
-
:'
|
61
|
+
:'base_path' => :'base_path',
|
62
62
|
:'repository_version' => :'repository_version',
|
63
63
|
:'registry_path' => :'registry_path',
|
64
64
|
:'namespace' => :'namespace',
|
@@ -70,13 +70,13 @@ module PulpContainerClient
|
|
70
70
|
# Attribute type mapping.
|
71
71
|
def self.openapi_types
|
72
72
|
{
|
73
|
-
:'
|
73
|
+
:'pulp_created' => :'DateTime',
|
74
74
|
:'pulp_labels' => :'Hash<String, String>',
|
75
75
|
:'pulp_href' => :'String',
|
76
|
+
:'repository' => :'String',
|
76
77
|
:'name' => :'String',
|
77
|
-
:'pulp_created' => :'DateTime',
|
78
78
|
:'content_guard' => :'String',
|
79
|
-
:'
|
79
|
+
:'base_path' => :'String',
|
80
80
|
:'repository_version' => :'String',
|
81
81
|
:'registry_path' => :'String',
|
82
82
|
:'namespace' => :'String',
|
@@ -109,8 +109,8 @@ module PulpContainerClient
|
|
109
109
|
h[k.to_sym] = v
|
110
110
|
}
|
111
111
|
|
112
|
-
if attributes.key?(:'
|
113
|
-
self.
|
112
|
+
if attributes.key?(:'pulp_created')
|
113
|
+
self.pulp_created = attributes[:'pulp_created']
|
114
114
|
end
|
115
115
|
|
116
116
|
if attributes.key?(:'pulp_labels')
|
@@ -123,20 +123,20 @@ module PulpContainerClient
|
|
123
123
|
self.pulp_href = attributes[:'pulp_href']
|
124
124
|
end
|
125
125
|
|
126
|
-
if attributes.key?(:'
|
127
|
-
self.
|
126
|
+
if attributes.key?(:'repository')
|
127
|
+
self.repository = attributes[:'repository']
|
128
128
|
end
|
129
129
|
|
130
|
-
if attributes.key?(:'
|
131
|
-
self.
|
130
|
+
if attributes.key?(:'name')
|
131
|
+
self.name = attributes[:'name']
|
132
132
|
end
|
133
133
|
|
134
134
|
if attributes.key?(:'content_guard')
|
135
135
|
self.content_guard = attributes[:'content_guard']
|
136
136
|
end
|
137
137
|
|
138
|
-
if attributes.key?(:'
|
139
|
-
self.
|
138
|
+
if attributes.key?(:'base_path')
|
139
|
+
self.base_path = attributes[:'base_path']
|
140
140
|
end
|
141
141
|
|
142
142
|
if attributes.key?(:'repository_version')
|
@@ -164,22 +164,22 @@ module PulpContainerClient
|
|
164
164
|
# @return Array for valid properties with the reasons
|
165
165
|
def list_invalid_properties
|
166
166
|
invalid_properties = Array.new
|
167
|
-
if @base_path.nil?
|
168
|
-
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
169
|
-
end
|
170
|
-
|
171
167
|
if @name.nil?
|
172
168
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
173
169
|
end
|
174
170
|
|
171
|
+
if @base_path.nil?
|
172
|
+
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
173
|
+
end
|
174
|
+
|
175
175
|
invalid_properties
|
176
176
|
end
|
177
177
|
|
178
178
|
# Check to see if the all the properties in the model are valid
|
179
179
|
# @return true if the model is valid
|
180
180
|
def valid?
|
181
|
-
return false if @base_path.nil?
|
182
181
|
return false if @name.nil?
|
182
|
+
return false if @base_path.nil?
|
183
183
|
true
|
184
184
|
end
|
185
185
|
|
@@ -188,13 +188,13 @@ module PulpContainerClient
|
|
188
188
|
def ==(o)
|
189
189
|
return true if self.equal?(o)
|
190
190
|
self.class == o.class &&
|
191
|
-
|
191
|
+
pulp_created == o.pulp_created &&
|
192
192
|
pulp_labels == o.pulp_labels &&
|
193
193
|
pulp_href == o.pulp_href &&
|
194
|
+
repository == o.repository &&
|
194
195
|
name == o.name &&
|
195
|
-
pulp_created == o.pulp_created &&
|
196
196
|
content_guard == o.content_guard &&
|
197
|
-
|
197
|
+
base_path == o.base_path &&
|
198
198
|
repository_version == o.repository_version &&
|
199
199
|
registry_path == o.registry_path &&
|
200
200
|
namespace == o.namespace &&
|
@@ -211,7 +211,7 @@ module PulpContainerClient
|
|
211
211
|
# Calculates hash code according to all attributes.
|
212
212
|
# @return [Integer] Hash code
|
213
213
|
def hash
|
214
|
-
[
|
214
|
+
[pulp_created, pulp_labels, pulp_href, repository, name, content_guard, base_path, repository_version, registry_path, namespace, private, description].hash
|
215
215
|
end
|
216
216
|
|
217
217
|
# Builds the object from hash
|