pulp_container_client 2.14.14 → 2.14.16
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 +222 -246
- data/docs/AccessPoliciesApi.md +28 -32
- data/docs/ArtifactDistributionResponse.md +7 -7
- data/docs/ArtifactsApi.md +23 -27
- data/docs/ContainerContainerDistribution.md +5 -5
- data/docs/ContainerContainerDistributionResponse.md +8 -8
- data/docs/ContainerContainerPushRepository.md +5 -5
- data/docs/ContainerContainerPushRepositoryResponse.md +8 -8
- data/docs/ContainerContainerRemote.md +1 -1
- data/docs/ContainerContainerRemoteResponse.md +1 -1
- data/docs/ContainerContainerRepository.md +1 -1
- data/docs/ContainerContainerRepositoryResponse.md +1 -1
- data/docs/ContentApi.md +8 -14
- data/docs/ContentBlobsApi.md +13 -17
- data/docs/ContentManifestsApi.md +15 -19
- data/docs/ContentSignaturesApi.md +13 -17
- data/docs/ContentTagsApi.md +15 -19
- data/docs/ContentguardsApi.md +8 -14
- data/docs/ContentguardsContentRedirectApi.md +53 -57
- data/docs/ContentguardsRbacApi.md +53 -57
- data/docs/DistributionsApi.md +8 -18
- data/docs/DistributionsArtifactsApi.md +13 -21
- data/docs/DistributionsContainerApi.md +53 -61
- data/docs/DocsApiJsonApi.md +6 -6
- data/docs/DocsApiYamlApi.md +6 -6
- data/docs/ExportersFilesystemApi.md +36 -40
- data/docs/ExportersFilesystemExportsApi.md +24 -24
- data/docs/ExportersPulpApi.md +33 -37
- data/docs/ExportersPulpExportsApi.md +21 -21
- data/docs/FilesystemExporter.md +1 -1
- data/docs/FilesystemExporterResponse.md +1 -1
- data/docs/GroupRole.md +1 -3
- data/docs/GroupRoleResponse.md +1 -3
- data/docs/GroupsApi.md +59 -63
- data/docs/GroupsRolesApi.md +27 -33
- data/docs/GroupsUsersApi.md +16 -16
- data/docs/ImportersPulpApi.md +33 -37
- data/docs/ImportersPulpImportCheckApi.md +1 -1
- data/docs/ImportersPulpImportsApi.md +21 -21
- data/docs/OrphansApi.md +6 -6
- data/docs/OrphansCleanupApi.md +6 -6
- data/docs/PatchedFilesystemExporter.md +1 -1
- data/docs/PatchedcontainerContainerDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPushRepository.md +5 -5
- data/docs/PatchedcontainerContainerRemote.md +1 -1
- data/docs/PatchedcontainerContainerRepository.md +1 -1
- data/docs/PublicationsApi.md +9 -15
- data/docs/PulpContainerNamespacesApi.md +43 -47
- data/docs/RemoteResponse.md +1 -1
- data/docs/RemoteResponseHiddenFields.md +2 -2
- data/docs/RemotesApi.md +8 -14
- data/docs/RemotesContainerApi.md +53 -57
- data/docs/RepairApi.md +6 -6
- data/docs/RepositoriesApi.md +8 -30
- data/docs/RepositoriesContainerApi.md +102 -122
- data/docs/RepositoriesContainerPushApi.md +68 -88
- data/docs/RepositoriesContainerPushVersionsApi.md +23 -25
- data/docs/RepositoriesContainerVersionsApi.md +23 -25
- data/docs/RepositoriesReclaimSpaceApi.md +6 -6
- data/docs/RepositoryResponse.md +1 -1
- data/docs/RepositoryVersionsApi.md +8 -12
- data/docs/RolesApi.md +39 -43
- data/docs/SigningServicesApi.md +13 -17
- data/docs/StatusApi.md +1 -1
- data/docs/StatusResponse.md +1 -3
- data/docs/TaskGroupsApi.md +11 -11
- data/docs/TaskSchedulesApi.md +35 -39
- data/docs/TasksApi.md +101 -105
- data/docs/TokenApi.md +6 -6
- data/docs/UploadsApi.md +53 -57
- data/docs/UserRole.md +2 -4
- data/docs/UserRoleResponse.md +2 -4
- data/docs/UsersApi.md +39 -43
- data/docs/UsersRolesApi.md +27 -33
- data/docs/VersionResponse.md +1 -3
- data/docs/WorkersApi.md +13 -17
- data/lib/pulp_container_client/api/access_policies_api.rb +33 -39
- data/lib/pulp_container_client/api/artifacts_api.rb +31 -37
- data/lib/pulp_container_client/api/content_api.rb +7 -20
- data/lib/pulp_container_client/api/content_blobs_api.rb +13 -19
- data/lib/pulp_container_client/api/content_manifests_api.rb +15 -21
- data/lib/pulp_container_client/api/content_signatures_api.rb +13 -19
- data/lib/pulp_container_client/api/content_tags_api.rb +15 -21
- data/lib/pulp_container_client/api/contentguards_api.rb +7 -20
- data/lib/pulp_container_client/api/contentguards_content_redirect_api.rb +65 -71
- data/lib/pulp_container_client/api/contentguards_rbac_api.rb +65 -71
- data/lib/pulp_container_client/api/distributions_api.rb +7 -26
- data/lib/pulp_container_client/api/distributions_artifacts_api.rb +13 -25
- data/lib/pulp_container_client/api/distributions_container_api.rb +65 -77
- data/lib/pulp_container_client/api/docs_api_json_api.rb +5 -5
- data/lib/pulp_container_client/api/docs_api_yaml_api.rb +5 -5
- data/lib/pulp_container_client/api/exporters_filesystem_api.rb +45 -51
- data/lib/pulp_container_client/api/exporters_filesystem_exports_api.rb +31 -31
- data/lib/pulp_container_client/api/exporters_pulp_api.rb +39 -45
- data/lib/pulp_container_client/api/exporters_pulp_exports_api.rb +25 -25
- data/lib/pulp_container_client/api/groups_api.rb +77 -83
- data/lib/pulp_container_client/api/groups_roles_api.rb +35 -44
- data/lib/pulp_container_client/api/groups_users_api.rb +19 -19
- data/lib/pulp_container_client/api/importers_pulp_api.rb +39 -45
- data/lib/pulp_container_client/api/importers_pulp_imports_api.rb +25 -25
- data/lib/pulp_container_client/api/orphans_api.rb +5 -5
- data/lib/pulp_container_client/api/orphans_cleanup_api.rb +6 -6
- data/lib/pulp_container_client/api/publications_api.rb +9 -18
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +51 -57
- data/lib/pulp_container_client/api/remotes_api.rb +7 -20
- data/lib/pulp_container_client/api/remotes_container_api.rb +65 -71
- data/lib/pulp_container_client/api/repair_api.rb +6 -6
- data/lib/pulp_container_client/api/repositories_api.rb +7 -44
- data/lib/pulp_container_client/api/repositories_container_api.rb +128 -158
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +88 -118
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +27 -30
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +27 -30
- data/lib/pulp_container_client/api/repositories_reclaim_space_api.rb +6 -6
- data/lib/pulp_container_client/api/repository_versions_api.rb +7 -12
- data/lib/pulp_container_client/api/roles_api.rb +51 -57
- data/lib/pulp_container_client/api/signing_services_api.rb +13 -19
- data/lib/pulp_container_client/api/task_groups_api.rb +11 -11
- data/lib/pulp_container_client/api/task_schedules_api.rb +43 -49
- data/lib/pulp_container_client/api/tasks_api.rb +125 -131
- data/lib/pulp_container_client/api/token_api.rb +5 -5
- data/lib/pulp_container_client/api/uploads_api.rb +67 -73
- data/lib/pulp_container_client/api/users_api.rb +51 -57
- data/lib/pulp_container_client/api/users_roles_api.rb +35 -44
- data/lib/pulp_container_client/api/workers_api.rb +14 -20
- data/lib/pulp_container_client/configuration.rb +3 -3
- data/lib/pulp_container_client/models/artifact_distribution_response.rb +35 -35
- data/lib/pulp_container_client/models/container_container_distribution.rb +45 -45
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +39 -39
- data/lib/pulp_container_client/models/container_container_push_repository.rb +37 -37
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +33 -33
- data/lib/pulp_container_client/models/container_container_remote.rb +21 -21
- data/lib/pulp_container_client/models/container_container_remote_response.rb +21 -21
- 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/filesystem_exporter.rb +1 -1
- data/lib/pulp_container_client/models/filesystem_exporter_response.rb +1 -1
- data/lib/pulp_container_client/models/group_role.rb +5 -16
- data/lib/pulp_container_client/models/group_role_response.rb +4 -15
- data/lib/pulp_container_client/models/nested_role.rb +0 -19
- data/lib/pulp_container_client/models/patched_filesystem_exporter.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +36 -36
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +37 -37
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +21 -21
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +1 -1
- data/lib/pulp_container_client/models/remote_response.rb +21 -21
- data/lib/pulp_container_client/models/remote_response_hidden_fields.rb +10 -0
- data/lib/pulp_container_client/models/repository_response.rb +1 -1
- data/lib/pulp_container_client/models/status_response.rb +4 -19
- data/lib/pulp_container_client/models/user_role.rb +6 -17
- data/lib/pulp_container_client/models/user_role_response.rb +5 -16
- data/lib/pulp_container_client/models/version_response.rb +4 -19
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +0 -11
- data/spec/api/access_policies_api_spec.rb +11 -13
- data/spec/api/artifacts_api_spec.rb +9 -11
- data/spec/api/content_api_spec.rb +3 -6
- data/spec/api/content_blobs_api_spec.rb +5 -7
- data/spec/api/content_manifests_api_spec.rb +6 -8
- data/spec/api/content_signatures_api_spec.rb +5 -7
- data/spec/api/content_tags_api_spec.rb +6 -8
- data/spec/api/contentguards_api_spec.rb +3 -6
- data/spec/api/contentguards_content_redirect_api_spec.rb +21 -23
- data/spec/api/contentguards_rbac_api_spec.rb +21 -23
- data/spec/api/distributions_api_spec.rb +3 -8
- data/spec/api/distributions_artifacts_api_spec.rb +5 -9
- data/spec/api/distributions_container_api_spec.rb +21 -25
- data/spec/api/docs_api_json_api_spec.rb +2 -2
- data/spec/api/docs_api_yaml_api_spec.rb +2 -2
- data/spec/api/exporters_filesystem_api_spec.rb +16 -18
- data/spec/api/exporters_filesystem_exports_api_spec.rb +11 -11
- data/spec/api/exporters_pulp_api_spec.rb +13 -15
- data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
- data/spec/api/groups_api_spec.rb +27 -29
- data/spec/api/groups_roles_api_spec.rb +13 -16
- data/spec/api/groups_users_api_spec.rb +6 -6
- data/spec/api/importers_pulp_api_spec.rb +13 -15
- data/spec/api/importers_pulp_imports_api_spec.rb +8 -8
- data/spec/api/orphans_api_spec.rb +2 -2
- data/spec/api/orphans_cleanup_api_spec.rb +2 -2
- data/spec/api/publications_api_spec.rb +4 -7
- data/spec/api/pulp_container_namespaces_api_spec.rb +17 -19
- data/spec/api/remotes_api_spec.rb +3 -6
- data/spec/api/remotes_container_api_spec.rb +21 -23
- data/spec/api/repair_api_spec.rb +2 -2
- data/spec/api/repositories_api_spec.rb +3 -14
- data/spec/api/repositories_container_api_spec.rb +39 -49
- data/spec/api/repositories_container_push_api_spec.rb +27 -37
- data/spec/api/repositories_container_push_versions_api_spec.rb +9 -10
- data/spec/api/repositories_container_versions_api_spec.rb +9 -10
- data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
- data/spec/api/repository_versions_api_spec.rb +3 -5
- data/spec/api/roles_api_spec.rb +19 -21
- data/spec/api/signing_services_api_spec.rb +5 -7
- data/spec/api/task_groups_api_spec.rb +4 -4
- data/spec/api/task_schedules_api_spec.rb +15 -17
- data/spec/api/tasks_api_spec.rb +32 -34
- data/spec/api/token_api_spec.rb +2 -2
- data/spec/api/uploads_api_spec.rb +21 -23
- data/spec/api/users_api_spec.rb +19 -21
- data/spec/api/users_roles_api_spec.rb +13 -16
- data/spec/api/workers_api_spec.rb +5 -7
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_distribution_response_spec.rb +6 -6
- data/spec/models/container_container_distribution_spec.rb +4 -4
- data/spec/models/container_container_push_repository_response_spec.rb +6 -6
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/group_role_response_spec.rb +0 -6
- data/spec/models/group_role_spec.rb +0 -6
- data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- data/spec/models/status_response_spec.rb +0 -6
- data/spec/models/user_role_response_spec.rb +0 -6
- data/spec/models/user_role_spec.rb +0 -6
- data/spec/models/version_response_spec.rb +0 -6
- metadata +196 -240
- data/docs/Domain.md +0 -27
- data/docs/DomainResponse.md +0 -31
- data/docs/DomainsApi.md +0 -366
- data/docs/PaginatedDomainResponseList.md +0 -23
- data/docs/PaginatedUpstreamPulpResponseList.md +0 -23
- data/docs/PatchedDomain.md +0 -27
- data/docs/PatchedUpstreamPulp.md +0 -37
- data/docs/StorageClassEnum.md +0 -16
- data/docs/UpstreamPulp.md +0 -37
- data/docs/UpstreamPulpResponse.md +0 -39
- data/docs/UpstreamPulpsApi.md +0 -405
- data/lib/pulp_container_client/api/domains_api.rb +0 -452
- data/lib/pulp_container_client/api/upstream_pulps_api.rb +0 -492
- data/lib/pulp_container_client/models/domain.rb +0 -323
- data/lib/pulp_container_client/models/domain_response.rb +0 -318
- data/lib/pulp_container_client/models/paginated_domain_response_list.rb +0 -237
- data/lib/pulp_container_client/models/paginated_upstream_pulp_response_list.rb +0 -237
- data/lib/pulp_container_client/models/patched_domain.rb +0 -304
- data/lib/pulp_container_client/models/patched_upstream_pulp.rb +0 -450
- data/lib/pulp_container_client/models/storage_class_enum.rb +0 -37
- data/lib/pulp_container_client/models/upstream_pulp.rb +0 -477
- data/lib/pulp_container_client/models/upstream_pulp_response.rb +0 -338
- data/spec/api/domains_api_spec.rb +0 -122
- data/spec/api/upstream_pulps_api_spec.rb +0 -127
- data/spec/models/domain_response_spec.rb +0 -83
- data/spec/models/domain_spec.rb +0 -71
- data/spec/models/paginated_domain_response_list_spec.rb +0 -59
- data/spec/models/paginated_upstream_pulp_response_list_spec.rb +0 -59
- data/spec/models/patched_domain_spec.rb +0 -71
- data/spec/models/patched_upstream_pulp_spec.rb +0 -101
- data/spec/models/storage_class_enum_spec.rb +0 -35
- data/spec/models/upstream_pulp_response_spec.rb +0 -107
- data/spec/models/upstream_pulp_spec.rb +0 -101
|
@@ -24,8 +24,8 @@ module PulpContainerClient
|
|
|
24
24
|
# @param nested_role [NestedRole]
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
26
|
# @return [NestedRoleResponse]
|
|
27
|
-
def
|
|
28
|
-
data, _status_code, _headers =
|
|
27
|
+
def distributions_container_container_add_role(container_container_distribution_href, nested_role, opts = {})
|
|
28
|
+
data, _status_code, _headers = distributions_container_container_add_role_with_http_info(container_container_distribution_href, nested_role, opts)
|
|
29
29
|
data
|
|
30
30
|
end
|
|
31
31
|
|
|
@@ -34,17 +34,17 @@ module PulpContainerClient
|
|
|
34
34
|
# @param nested_role [NestedRole]
|
|
35
35
|
# @param [Hash] opts the optional parameters
|
|
36
36
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
37
|
-
def
|
|
37
|
+
def distributions_container_container_add_role_with_http_info(container_container_distribution_href, nested_role, opts = {})
|
|
38
38
|
if @api_client.config.debugging
|
|
39
|
-
@api_client.config.logger.debug 'Calling API: DistributionsContainerApi.
|
|
39
|
+
@api_client.config.logger.debug 'Calling API: DistributionsContainerApi.distributions_container_container_add_role ...'
|
|
40
40
|
end
|
|
41
41
|
# verify the required parameter 'container_container_distribution_href' is set
|
|
42
42
|
if @api_client.config.client_side_validation && container_container_distribution_href.nil?
|
|
43
|
-
fail ArgumentError, "Missing the required parameter 'container_container_distribution_href' when calling DistributionsContainerApi.
|
|
43
|
+
fail ArgumentError, "Missing the required parameter 'container_container_distribution_href' when calling DistributionsContainerApi.distributions_container_container_add_role"
|
|
44
44
|
end
|
|
45
45
|
# verify the required parameter 'nested_role' is set
|
|
46
46
|
if @api_client.config.client_side_validation && nested_role.nil?
|
|
47
|
-
fail ArgumentError, "Missing the required parameter 'nested_role' when calling DistributionsContainerApi.
|
|
47
|
+
fail ArgumentError, "Missing the required parameter 'nested_role' when calling DistributionsContainerApi.distributions_container_container_add_role"
|
|
48
48
|
end
|
|
49
49
|
# resource path
|
|
50
50
|
local_var_path = '{container_container_distribution_href}add_role/'.sub('{' + 'container_container_distribution_href' + '}', CGI.escape(container_container_distribution_href.to_s).gsub('%2F', '/'))
|
|
@@ -82,7 +82,7 @@ module PulpContainerClient
|
|
|
82
82
|
|
|
83
83
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
84
84
|
if @api_client.config.debugging
|
|
85
|
-
@api_client.config.logger.debug "API called: DistributionsContainerApi#
|
|
85
|
+
@api_client.config.logger.debug "API called: DistributionsContainerApi#distributions_container_container_add_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
86
86
|
end
|
|
87
87
|
return data, status_code, headers
|
|
88
88
|
end
|
|
@@ -92,8 +92,8 @@ module PulpContainerClient
|
|
|
92
92
|
# @param container_container_distribution [ContainerContainerDistribution]
|
|
93
93
|
# @param [Hash] opts the optional parameters
|
|
94
94
|
# @return [AsyncOperationResponse]
|
|
95
|
-
def
|
|
96
|
-
data, _status_code, _headers =
|
|
95
|
+
def distributions_container_container_create(container_container_distribution, opts = {})
|
|
96
|
+
data, _status_code, _headers = distributions_container_container_create_with_http_info(container_container_distribution, opts)
|
|
97
97
|
data
|
|
98
98
|
end
|
|
99
99
|
|
|
@@ -102,13 +102,13 @@ module PulpContainerClient
|
|
|
102
102
|
# @param container_container_distribution [ContainerContainerDistribution]
|
|
103
103
|
# @param [Hash] opts the optional parameters
|
|
104
104
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
105
|
-
def
|
|
105
|
+
def distributions_container_container_create_with_http_info(container_container_distribution, opts = {})
|
|
106
106
|
if @api_client.config.debugging
|
|
107
|
-
@api_client.config.logger.debug 'Calling API: DistributionsContainerApi.
|
|
107
|
+
@api_client.config.logger.debug 'Calling API: DistributionsContainerApi.distributions_container_container_create ...'
|
|
108
108
|
end
|
|
109
109
|
# verify the required parameter 'container_container_distribution' is set
|
|
110
110
|
if @api_client.config.client_side_validation && container_container_distribution.nil?
|
|
111
|
-
fail ArgumentError, "Missing the required parameter 'container_container_distribution' when calling DistributionsContainerApi.
|
|
111
|
+
fail ArgumentError, "Missing the required parameter 'container_container_distribution' when calling DistributionsContainerApi.distributions_container_container_create"
|
|
112
112
|
end
|
|
113
113
|
# resource path
|
|
114
114
|
local_var_path = '/pulp/api/v3/distributions/container/container/'
|
|
@@ -146,7 +146,7 @@ module PulpContainerClient
|
|
|
146
146
|
|
|
147
147
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
148
148
|
if @api_client.config.debugging
|
|
149
|
-
@api_client.config.logger.debug "API called: DistributionsContainerApi#
|
|
149
|
+
@api_client.config.logger.debug "API called: DistributionsContainerApi#distributions_container_container_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
150
150
|
end
|
|
151
151
|
return data, status_code, headers
|
|
152
152
|
end
|
|
@@ -156,8 +156,8 @@ module PulpContainerClient
|
|
|
156
156
|
# @param container_container_distribution_href [String]
|
|
157
157
|
# @param [Hash] opts the optional parameters
|
|
158
158
|
# @return [AsyncOperationResponse]
|
|
159
|
-
def
|
|
160
|
-
data, _status_code, _headers =
|
|
159
|
+
def distributions_container_container_delete(container_container_distribution_href, opts = {})
|
|
160
|
+
data, _status_code, _headers = distributions_container_container_delete_with_http_info(container_container_distribution_href, opts)
|
|
161
161
|
data
|
|
162
162
|
end
|
|
163
163
|
|
|
@@ -166,13 +166,13 @@ module PulpContainerClient
|
|
|
166
166
|
# @param container_container_distribution_href [String]
|
|
167
167
|
# @param [Hash] opts the optional parameters
|
|
168
168
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
169
|
-
def
|
|
169
|
+
def distributions_container_container_delete_with_http_info(container_container_distribution_href, opts = {})
|
|
170
170
|
if @api_client.config.debugging
|
|
171
|
-
@api_client.config.logger.debug 'Calling API: DistributionsContainerApi.
|
|
171
|
+
@api_client.config.logger.debug 'Calling API: DistributionsContainerApi.distributions_container_container_delete ...'
|
|
172
172
|
end
|
|
173
173
|
# verify the required parameter 'container_container_distribution_href' is set
|
|
174
174
|
if @api_client.config.client_side_validation && container_container_distribution_href.nil?
|
|
175
|
-
fail ArgumentError, "Missing the required parameter 'container_container_distribution_href' when calling DistributionsContainerApi.
|
|
175
|
+
fail ArgumentError, "Missing the required parameter 'container_container_distribution_href' when calling DistributionsContainerApi.distributions_container_container_delete"
|
|
176
176
|
end
|
|
177
177
|
# resource path
|
|
178
178
|
local_var_path = '{container_container_distribution_href}'.sub('{' + 'container_container_distribution_href' + '}', CGI.escape(container_container_distribution_href.to_s).gsub('%2F', '/'))
|
|
@@ -208,7 +208,7 @@ module PulpContainerClient
|
|
|
208
208
|
|
|
209
209
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
210
210
|
if @api_client.config.debugging
|
|
211
|
-
@api_client.config.logger.debug "API called: DistributionsContainerApi#
|
|
211
|
+
@api_client.config.logger.debug "API called: DistributionsContainerApi#distributions_container_container_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
212
212
|
end
|
|
213
213
|
return data, status_code, headers
|
|
214
214
|
end
|
|
@@ -228,18 +228,14 @@ module PulpContainerClient
|
|
|
228
228
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
229
229
|
# @option opts [String] :namespace__name
|
|
230
230
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
231
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
232
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
233
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
231
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
234
232
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
235
|
-
# @option opts [String] :repository Filter results where repository matches value
|
|
236
|
-
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
|
237
233
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
|
238
234
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
239
235
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
240
236
|
# @return [PaginatedcontainerContainerDistributionResponseList]
|
|
241
|
-
def
|
|
242
|
-
data, _status_code, _headers =
|
|
237
|
+
def distributions_container_container_list(opts = {})
|
|
238
|
+
data, _status_code, _headers = distributions_container_container_list_with_http_info(opts)
|
|
243
239
|
data
|
|
244
240
|
end
|
|
245
241
|
|
|
@@ -258,19 +254,15 @@ module PulpContainerClient
|
|
|
258
254
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
259
255
|
# @option opts [String] :namespace__name
|
|
260
256
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
261
|
-
# @option opts [Array<String>] :ordering Ordering
|
|
262
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
263
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
257
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
264
258
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
265
|
-
# @option opts [String] :repository Filter results where repository matches value
|
|
266
|
-
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
|
267
259
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
|
268
260
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
269
261
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
270
262
|
# @return [Array<(PaginatedcontainerContainerDistributionResponseList, Integer, Hash)>] PaginatedcontainerContainerDistributionResponseList data, response status code and response headers
|
|
271
|
-
def
|
|
263
|
+
def distributions_container_container_list_with_http_info(opts = {})
|
|
272
264
|
if @api_client.config.debugging
|
|
273
|
-
@api_client.config.logger.debug 'Calling API: DistributionsContainerApi.
|
|
265
|
+
@api_client.config.logger.debug 'Calling API: DistributionsContainerApi.distributions_container_container_list ...'
|
|
274
266
|
end
|
|
275
267
|
allowable_values = ["-base_path", "-description", "-name", "-pk", "-private", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "base_path", "description", "name", "pk", "private", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type"]
|
|
276
268
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
@@ -294,11 +286,7 @@ module PulpContainerClient
|
|
|
294
286
|
query_params[:'namespace__name'] = opts[:'namespace__name'] if !opts[:'namespace__name'].nil?
|
|
295
287
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
296
288
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
|
297
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
|
298
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
|
299
289
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
|
300
|
-
query_params[:'repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
|
301
|
-
query_params[:'repository__in'] = @api_client.build_collection_param(opts[:'repository__in'], :csv) if !opts[:'repository__in'].nil?
|
|
302
290
|
query_params[:'with_content'] = opts[:'with_content'] if !opts[:'with_content'].nil?
|
|
303
291
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
304
292
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
@@ -331,7 +319,7 @@ module PulpContainerClient
|
|
|
331
319
|
|
|
332
320
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
333
321
|
if @api_client.config.debugging
|
|
334
|
-
@api_client.config.logger.debug "API called: DistributionsContainerApi#
|
|
322
|
+
@api_client.config.logger.debug "API called: DistributionsContainerApi#distributions_container_container_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
335
323
|
end
|
|
336
324
|
return data, status_code, headers
|
|
337
325
|
end
|
|
@@ -342,8 +330,8 @@ module PulpContainerClient
|
|
|
342
330
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
343
331
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
344
332
|
# @return [ObjectRolesResponse]
|
|
345
|
-
def
|
|
346
|
-
data, _status_code, _headers =
|
|
333
|
+
def distributions_container_container_list_roles(container_container_distribution_href, opts = {})
|
|
334
|
+
data, _status_code, _headers = distributions_container_container_list_roles_with_http_info(container_container_distribution_href, opts)
|
|
347
335
|
data
|
|
348
336
|
end
|
|
349
337
|
|
|
@@ -353,13 +341,13 @@ module PulpContainerClient
|
|
|
353
341
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
354
342
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
355
343
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
|
356
|
-
def
|
|
344
|
+
def distributions_container_container_list_roles_with_http_info(container_container_distribution_href, opts = {})
|
|
357
345
|
if @api_client.config.debugging
|
|
358
|
-
@api_client.config.logger.debug 'Calling API: DistributionsContainerApi.
|
|
346
|
+
@api_client.config.logger.debug 'Calling API: DistributionsContainerApi.distributions_container_container_list_roles ...'
|
|
359
347
|
end
|
|
360
348
|
# verify the required parameter 'container_container_distribution_href' is set
|
|
361
349
|
if @api_client.config.client_side_validation && container_container_distribution_href.nil?
|
|
362
|
-
fail ArgumentError, "Missing the required parameter 'container_container_distribution_href' when calling DistributionsContainerApi.
|
|
350
|
+
fail ArgumentError, "Missing the required parameter 'container_container_distribution_href' when calling DistributionsContainerApi.distributions_container_container_list_roles"
|
|
363
351
|
end
|
|
364
352
|
# resource path
|
|
365
353
|
local_var_path = '{container_container_distribution_href}list_roles/'.sub('{' + 'container_container_distribution_href' + '}', CGI.escape(container_container_distribution_href.to_s).gsub('%2F', '/'))
|
|
@@ -397,7 +385,7 @@ module PulpContainerClient
|
|
|
397
385
|
|
|
398
386
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
399
387
|
if @api_client.config.debugging
|
|
400
|
-
@api_client.config.logger.debug "API called: DistributionsContainerApi#
|
|
388
|
+
@api_client.config.logger.debug "API called: DistributionsContainerApi#distributions_container_container_list_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
401
389
|
end
|
|
402
390
|
return data, status_code, headers
|
|
403
391
|
end
|
|
@@ -408,8 +396,8 @@ module PulpContainerClient
|
|
|
408
396
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
409
397
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
410
398
|
# @return [MyPermissionsResponse]
|
|
411
|
-
def
|
|
412
|
-
data, _status_code, _headers =
|
|
399
|
+
def distributions_container_container_my_permissions(container_container_distribution_href, opts = {})
|
|
400
|
+
data, _status_code, _headers = distributions_container_container_my_permissions_with_http_info(container_container_distribution_href, opts)
|
|
413
401
|
data
|
|
414
402
|
end
|
|
415
403
|
|
|
@@ -419,13 +407,13 @@ module PulpContainerClient
|
|
|
419
407
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
420
408
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
421
409
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
|
422
|
-
def
|
|
410
|
+
def distributions_container_container_my_permissions_with_http_info(container_container_distribution_href, opts = {})
|
|
423
411
|
if @api_client.config.debugging
|
|
424
|
-
@api_client.config.logger.debug 'Calling API: DistributionsContainerApi.
|
|
412
|
+
@api_client.config.logger.debug 'Calling API: DistributionsContainerApi.distributions_container_container_my_permissions ...'
|
|
425
413
|
end
|
|
426
414
|
# verify the required parameter 'container_container_distribution_href' is set
|
|
427
415
|
if @api_client.config.client_side_validation && container_container_distribution_href.nil?
|
|
428
|
-
fail ArgumentError, "Missing the required parameter 'container_container_distribution_href' when calling DistributionsContainerApi.
|
|
416
|
+
fail ArgumentError, "Missing the required parameter 'container_container_distribution_href' when calling DistributionsContainerApi.distributions_container_container_my_permissions"
|
|
429
417
|
end
|
|
430
418
|
# resource path
|
|
431
419
|
local_var_path = '{container_container_distribution_href}my_permissions/'.sub('{' + 'container_container_distribution_href' + '}', CGI.escape(container_container_distribution_href.to_s).gsub('%2F', '/'))
|
|
@@ -463,7 +451,7 @@ module PulpContainerClient
|
|
|
463
451
|
|
|
464
452
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
465
453
|
if @api_client.config.debugging
|
|
466
|
-
@api_client.config.logger.debug "API called: DistributionsContainerApi#
|
|
454
|
+
@api_client.config.logger.debug "API called: DistributionsContainerApi#distributions_container_container_my_permissions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
467
455
|
end
|
|
468
456
|
return data, status_code, headers
|
|
469
457
|
end
|
|
@@ -474,8 +462,8 @@ module PulpContainerClient
|
|
|
474
462
|
# @param patchedcontainer_container_distribution [PatchedcontainerContainerDistribution]
|
|
475
463
|
# @param [Hash] opts the optional parameters
|
|
476
464
|
# @return [AsyncOperationResponse]
|
|
477
|
-
def
|
|
478
|
-
data, _status_code, _headers =
|
|
465
|
+
def distributions_container_container_partial_update(container_container_distribution_href, patchedcontainer_container_distribution, opts = {})
|
|
466
|
+
data, _status_code, _headers = distributions_container_container_partial_update_with_http_info(container_container_distribution_href, patchedcontainer_container_distribution, opts)
|
|
479
467
|
data
|
|
480
468
|
end
|
|
481
469
|
|
|
@@ -485,17 +473,17 @@ module PulpContainerClient
|
|
|
485
473
|
# @param patchedcontainer_container_distribution [PatchedcontainerContainerDistribution]
|
|
486
474
|
# @param [Hash] opts the optional parameters
|
|
487
475
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
488
|
-
def
|
|
476
|
+
def distributions_container_container_partial_update_with_http_info(container_container_distribution_href, patchedcontainer_container_distribution, opts = {})
|
|
489
477
|
if @api_client.config.debugging
|
|
490
|
-
@api_client.config.logger.debug 'Calling API: DistributionsContainerApi.
|
|
478
|
+
@api_client.config.logger.debug 'Calling API: DistributionsContainerApi.distributions_container_container_partial_update ...'
|
|
491
479
|
end
|
|
492
480
|
# verify the required parameter 'container_container_distribution_href' is set
|
|
493
481
|
if @api_client.config.client_side_validation && container_container_distribution_href.nil?
|
|
494
|
-
fail ArgumentError, "Missing the required parameter 'container_container_distribution_href' when calling DistributionsContainerApi.
|
|
482
|
+
fail ArgumentError, "Missing the required parameter 'container_container_distribution_href' when calling DistributionsContainerApi.distributions_container_container_partial_update"
|
|
495
483
|
end
|
|
496
484
|
# verify the required parameter 'patchedcontainer_container_distribution' is set
|
|
497
485
|
if @api_client.config.client_side_validation && patchedcontainer_container_distribution.nil?
|
|
498
|
-
fail ArgumentError, "Missing the required parameter 'patchedcontainer_container_distribution' when calling DistributionsContainerApi.
|
|
486
|
+
fail ArgumentError, "Missing the required parameter 'patchedcontainer_container_distribution' when calling DistributionsContainerApi.distributions_container_container_partial_update"
|
|
499
487
|
end
|
|
500
488
|
# resource path
|
|
501
489
|
local_var_path = '{container_container_distribution_href}'.sub('{' + 'container_container_distribution_href' + '}', CGI.escape(container_container_distribution_href.to_s).gsub('%2F', '/'))
|
|
@@ -533,7 +521,7 @@ module PulpContainerClient
|
|
|
533
521
|
|
|
534
522
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
535
523
|
if @api_client.config.debugging
|
|
536
|
-
@api_client.config.logger.debug "API called: DistributionsContainerApi#
|
|
524
|
+
@api_client.config.logger.debug "API called: DistributionsContainerApi#distributions_container_container_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
537
525
|
end
|
|
538
526
|
return data, status_code, headers
|
|
539
527
|
end
|
|
@@ -545,8 +533,8 @@ module PulpContainerClient
|
|
|
545
533
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
546
534
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
547
535
|
# @return [ContainerContainerDistributionResponse]
|
|
548
|
-
def
|
|
549
|
-
data, _status_code, _headers =
|
|
536
|
+
def distributions_container_container_read(container_container_distribution_href, opts = {})
|
|
537
|
+
data, _status_code, _headers = distributions_container_container_read_with_http_info(container_container_distribution_href, opts)
|
|
550
538
|
data
|
|
551
539
|
end
|
|
552
540
|
|
|
@@ -557,13 +545,13 @@ module PulpContainerClient
|
|
|
557
545
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
558
546
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
559
547
|
# @return [Array<(ContainerContainerDistributionResponse, Integer, Hash)>] ContainerContainerDistributionResponse data, response status code and response headers
|
|
560
|
-
def
|
|
548
|
+
def distributions_container_container_read_with_http_info(container_container_distribution_href, opts = {})
|
|
561
549
|
if @api_client.config.debugging
|
|
562
|
-
@api_client.config.logger.debug 'Calling API: DistributionsContainerApi.
|
|
550
|
+
@api_client.config.logger.debug 'Calling API: DistributionsContainerApi.distributions_container_container_read ...'
|
|
563
551
|
end
|
|
564
552
|
# verify the required parameter 'container_container_distribution_href' is set
|
|
565
553
|
if @api_client.config.client_side_validation && container_container_distribution_href.nil?
|
|
566
|
-
fail ArgumentError, "Missing the required parameter 'container_container_distribution_href' when calling DistributionsContainerApi.
|
|
554
|
+
fail ArgumentError, "Missing the required parameter 'container_container_distribution_href' when calling DistributionsContainerApi.distributions_container_container_read"
|
|
567
555
|
end
|
|
568
556
|
# resource path
|
|
569
557
|
local_var_path = '{container_container_distribution_href}'.sub('{' + 'container_container_distribution_href' + '}', CGI.escape(container_container_distribution_href.to_s).gsub('%2F', '/'))
|
|
@@ -601,7 +589,7 @@ module PulpContainerClient
|
|
|
601
589
|
|
|
602
590
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
603
591
|
if @api_client.config.debugging
|
|
604
|
-
@api_client.config.logger.debug "API called: DistributionsContainerApi#
|
|
592
|
+
@api_client.config.logger.debug "API called: DistributionsContainerApi#distributions_container_container_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
605
593
|
end
|
|
606
594
|
return data, status_code, headers
|
|
607
595
|
end
|
|
@@ -611,8 +599,8 @@ module PulpContainerClient
|
|
|
611
599
|
# @param nested_role [NestedRole]
|
|
612
600
|
# @param [Hash] opts the optional parameters
|
|
613
601
|
# @return [NestedRoleResponse]
|
|
614
|
-
def
|
|
615
|
-
data, _status_code, _headers =
|
|
602
|
+
def distributions_container_container_remove_role(container_container_distribution_href, nested_role, opts = {})
|
|
603
|
+
data, _status_code, _headers = distributions_container_container_remove_role_with_http_info(container_container_distribution_href, nested_role, opts)
|
|
616
604
|
data
|
|
617
605
|
end
|
|
618
606
|
|
|
@@ -621,17 +609,17 @@ module PulpContainerClient
|
|
|
621
609
|
# @param nested_role [NestedRole]
|
|
622
610
|
# @param [Hash] opts the optional parameters
|
|
623
611
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
624
|
-
def
|
|
612
|
+
def distributions_container_container_remove_role_with_http_info(container_container_distribution_href, nested_role, opts = {})
|
|
625
613
|
if @api_client.config.debugging
|
|
626
|
-
@api_client.config.logger.debug 'Calling API: DistributionsContainerApi.
|
|
614
|
+
@api_client.config.logger.debug 'Calling API: DistributionsContainerApi.distributions_container_container_remove_role ...'
|
|
627
615
|
end
|
|
628
616
|
# verify the required parameter 'container_container_distribution_href' is set
|
|
629
617
|
if @api_client.config.client_side_validation && container_container_distribution_href.nil?
|
|
630
|
-
fail ArgumentError, "Missing the required parameter 'container_container_distribution_href' when calling DistributionsContainerApi.
|
|
618
|
+
fail ArgumentError, "Missing the required parameter 'container_container_distribution_href' when calling DistributionsContainerApi.distributions_container_container_remove_role"
|
|
631
619
|
end
|
|
632
620
|
# verify the required parameter 'nested_role' is set
|
|
633
621
|
if @api_client.config.client_side_validation && nested_role.nil?
|
|
634
|
-
fail ArgumentError, "Missing the required parameter 'nested_role' when calling DistributionsContainerApi.
|
|
622
|
+
fail ArgumentError, "Missing the required parameter 'nested_role' when calling DistributionsContainerApi.distributions_container_container_remove_role"
|
|
635
623
|
end
|
|
636
624
|
# resource path
|
|
637
625
|
local_var_path = '{container_container_distribution_href}remove_role/'.sub('{' + 'container_container_distribution_href' + '}', CGI.escape(container_container_distribution_href.to_s).gsub('%2F', '/'))
|
|
@@ -669,7 +657,7 @@ module PulpContainerClient
|
|
|
669
657
|
|
|
670
658
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
671
659
|
if @api_client.config.debugging
|
|
672
|
-
@api_client.config.logger.debug "API called: DistributionsContainerApi#
|
|
660
|
+
@api_client.config.logger.debug "API called: DistributionsContainerApi#distributions_container_container_remove_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
673
661
|
end
|
|
674
662
|
return data, status_code, headers
|
|
675
663
|
end
|
|
@@ -680,8 +668,8 @@ module PulpContainerClient
|
|
|
680
668
|
# @param container_container_distribution [ContainerContainerDistribution]
|
|
681
669
|
# @param [Hash] opts the optional parameters
|
|
682
670
|
# @return [AsyncOperationResponse]
|
|
683
|
-
def
|
|
684
|
-
data, _status_code, _headers =
|
|
671
|
+
def distributions_container_container_update(container_container_distribution_href, container_container_distribution, opts = {})
|
|
672
|
+
data, _status_code, _headers = distributions_container_container_update_with_http_info(container_container_distribution_href, container_container_distribution, opts)
|
|
685
673
|
data
|
|
686
674
|
end
|
|
687
675
|
|
|
@@ -691,17 +679,17 @@ module PulpContainerClient
|
|
|
691
679
|
# @param container_container_distribution [ContainerContainerDistribution]
|
|
692
680
|
# @param [Hash] opts the optional parameters
|
|
693
681
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
694
|
-
def
|
|
682
|
+
def distributions_container_container_update_with_http_info(container_container_distribution_href, container_container_distribution, opts = {})
|
|
695
683
|
if @api_client.config.debugging
|
|
696
|
-
@api_client.config.logger.debug 'Calling API: DistributionsContainerApi.
|
|
684
|
+
@api_client.config.logger.debug 'Calling API: DistributionsContainerApi.distributions_container_container_update ...'
|
|
697
685
|
end
|
|
698
686
|
# verify the required parameter 'container_container_distribution_href' is set
|
|
699
687
|
if @api_client.config.client_side_validation && container_container_distribution_href.nil?
|
|
700
|
-
fail ArgumentError, "Missing the required parameter 'container_container_distribution_href' when calling DistributionsContainerApi.
|
|
688
|
+
fail ArgumentError, "Missing the required parameter 'container_container_distribution_href' when calling DistributionsContainerApi.distributions_container_container_update"
|
|
701
689
|
end
|
|
702
690
|
# verify the required parameter 'container_container_distribution' is set
|
|
703
691
|
if @api_client.config.client_side_validation && container_container_distribution.nil?
|
|
704
|
-
fail ArgumentError, "Missing the required parameter 'container_container_distribution' when calling DistributionsContainerApi.
|
|
692
|
+
fail ArgumentError, "Missing the required parameter 'container_container_distribution' when calling DistributionsContainerApi.distributions_container_container_update"
|
|
705
693
|
end
|
|
706
694
|
# resource path
|
|
707
695
|
local_var_path = '{container_container_distribution_href}'.sub('{' + 'container_container_distribution_href' + '}', CGI.escape(container_container_distribution_href.to_s).gsub('%2F', '/'))
|
|
@@ -739,7 +727,7 @@ module PulpContainerClient
|
|
|
739
727
|
|
|
740
728
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
741
729
|
if @api_client.config.debugging
|
|
742
|
-
@api_client.config.logger.debug "API called: DistributionsContainerApi#
|
|
730
|
+
@api_client.config.logger.debug "API called: DistributionsContainerApi#distributions_container_container_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
743
731
|
end
|
|
744
732
|
return data, status_code, headers
|
|
745
733
|
end
|
|
@@ -25,8 +25,8 @@ module PulpContainerClient
|
|
|
25
25
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
26
26
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
27
27
|
# @return [Object]
|
|
28
|
-
def
|
|
29
|
-
data, _status_code, _headers =
|
|
28
|
+
def docs_api_json_get(opts = {})
|
|
29
|
+
data, _status_code, _headers = docs_api_json_get_with_http_info(opts)
|
|
30
30
|
data
|
|
31
31
|
end
|
|
32
32
|
|
|
@@ -36,9 +36,9 @@ module PulpContainerClient
|
|
|
36
36
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
37
37
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
38
38
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
39
|
-
def
|
|
39
|
+
def docs_api_json_get_with_http_info(opts = {})
|
|
40
40
|
if @api_client.config.debugging
|
|
41
|
-
@api_client.config.logger.debug 'Calling API: DocsApiJsonApi.
|
|
41
|
+
@api_client.config.logger.debug 'Calling API: DocsApiJsonApi.docs_api_json_get ...'
|
|
42
42
|
end
|
|
43
43
|
allowable_values = ["af", "ar", "ar-dz", "ast", "az", "be", "bg", "bn", "br", "bs", "ca", "cs", "cy", "da", "de", "dsb", "el", "en", "en-au", "en-gb", "eo", "es", "es-ar", "es-co", "es-mx", "es-ni", "es-ve", "et", "eu", "fa", "fi", "fr", "fy", "ga", "gd", "gl", "he", "hi", "hr", "hsb", "hu", "hy", "ia", "id", "ig", "io", "is", "it", "ja", "ka", "kab", "kk", "km", "kn", "ko", "ky", "lb", "lt", "lv", "mk", "ml", "mn", "mr", "my", "nb", "ne", "nl", "nn", "os", "pa", "pl", "pt", "pt-br", "ro", "ru", "sk", "sl", "sq", "sr", "sr-latn", "sv", "sw", "ta", "te", "tg", "th", "tk", "tr", "tt", "udm", "uk", "ur", "uz", "vi", "zh-hans", "zh-hant"]
|
|
44
44
|
if @api_client.config.client_side_validation && opts[:'lang'] && !allowable_values.include?(opts[:'lang'])
|
|
@@ -81,7 +81,7 @@ module PulpContainerClient
|
|
|
81
81
|
|
|
82
82
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
83
83
|
if @api_client.config.debugging
|
|
84
|
-
@api_client.config.logger.debug "API called: DocsApiJsonApi#
|
|
84
|
+
@api_client.config.logger.debug "API called: DocsApiJsonApi#docs_api_json_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
85
85
|
end
|
|
86
86
|
return data, status_code, headers
|
|
87
87
|
end
|
|
@@ -25,8 +25,8 @@ module PulpContainerClient
|
|
|
25
25
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
26
26
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
27
27
|
# @return [Object]
|
|
28
|
-
def
|
|
29
|
-
data, _status_code, _headers =
|
|
28
|
+
def docs_api_yaml_get(opts = {})
|
|
29
|
+
data, _status_code, _headers = docs_api_yaml_get_with_http_info(opts)
|
|
30
30
|
data
|
|
31
31
|
end
|
|
32
32
|
|
|
@@ -36,9 +36,9 @@ module PulpContainerClient
|
|
|
36
36
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
37
37
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
38
38
|
# @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
|
|
39
|
-
def
|
|
39
|
+
def docs_api_yaml_get_with_http_info(opts = {})
|
|
40
40
|
if @api_client.config.debugging
|
|
41
|
-
@api_client.config.logger.debug 'Calling API: DocsApiYamlApi.
|
|
41
|
+
@api_client.config.logger.debug 'Calling API: DocsApiYamlApi.docs_api_yaml_get ...'
|
|
42
42
|
end
|
|
43
43
|
allowable_values = ["af", "ar", "ar-dz", "ast", "az", "be", "bg", "bn", "br", "bs", "ca", "cs", "cy", "da", "de", "dsb", "el", "en", "en-au", "en-gb", "eo", "es", "es-ar", "es-co", "es-mx", "es-ni", "es-ve", "et", "eu", "fa", "fi", "fr", "fy", "ga", "gd", "gl", "he", "hi", "hr", "hsb", "hu", "hy", "ia", "id", "ig", "io", "is", "it", "ja", "ka", "kab", "kk", "km", "kn", "ko", "ky", "lb", "lt", "lv", "mk", "ml", "mn", "mr", "my", "nb", "ne", "nl", "nn", "os", "pa", "pl", "pt", "pt-br", "ro", "ru", "sk", "sl", "sq", "sr", "sr-latn", "sv", "sw", "ta", "te", "tg", "th", "tk", "tr", "tt", "udm", "uk", "ur", "uz", "vi", "zh-hans", "zh-hant"]
|
|
44
44
|
if @api_client.config.client_side_validation && opts[:'lang'] && !allowable_values.include?(opts[:'lang'])
|
|
@@ -81,7 +81,7 @@ module PulpContainerClient
|
|
|
81
81
|
|
|
82
82
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
83
83
|
if @api_client.config.debugging
|
|
84
|
-
@api_client.config.logger.debug "API called: DocsApiYamlApi#
|
|
84
|
+
@api_client.config.logger.debug "API called: DocsApiYamlApi#docs_api_yaml_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
85
85
|
end
|
|
86
86
|
return data, status_code, headers
|
|
87
87
|
end
|