From 70be78e798269498bd89dfe20beb6b864c83663f Mon Sep 17 00:00:00 2001 From: "openapi-bot[bot]" <37845953+openapi-bot[bot]@users.noreply.github.com> Date: Wed, 11 Sep 2019 02:46:26 +0000 Subject: [PATCH] Generated from 3658b509eba17c55f99d9e22c28e55cb88e33ac0 (#203) Rename errorResponse to align with other RPs --- .../arm-storage/src/models/fileServicesMappers.ts | 3 +-- .../arm-storage/src/models/fileSharesMappers.ts | 3 +-- .../arm-storage/src/operations/fileServices.ts | 6 +++--- sdk/storage/arm-storage/src/operations/fileShares.ts | 12 ++++++------ 4 files changed, 11 insertions(+), 13 deletions(-) diff --git a/sdk/storage/arm-storage/src/models/fileServicesMappers.ts b/sdk/storage/arm-storage/src/models/fileServicesMappers.ts index 4dbb4c8da022..fda18a3b0538 100644 --- a/sdk/storage/arm-storage/src/models/fileServicesMappers.ts +++ b/sdk/storage/arm-storage/src/models/fileServicesMappers.ts @@ -12,6 +12,7 @@ export { BaseResource, BlobContainer, BlobServiceProperties, + CloudError, CorsRule, CorsRules, CustomDomain, @@ -22,8 +23,6 @@ export { EncryptionService, EncryptionServices, Endpoints, - ErrorResponse, - ErrorResponseBody, FileServiceItems, FileServiceProperties, FileShare, diff --git a/sdk/storage/arm-storage/src/models/fileSharesMappers.ts b/sdk/storage/arm-storage/src/models/fileSharesMappers.ts index e7bb8ee4fb09..948db0f52828 100644 --- a/sdk/storage/arm-storage/src/models/fileSharesMappers.ts +++ b/sdk/storage/arm-storage/src/models/fileSharesMappers.ts @@ -12,6 +12,7 @@ export { BaseResource, BlobContainer, BlobServiceProperties, + CloudError, CorsRule, CorsRules, CustomDomain, @@ -22,8 +23,6 @@ export { EncryptionService, EncryptionServices, Endpoints, - ErrorResponse, - ErrorResponseBody, FileServiceProperties, FileShare, FileShareItem, diff --git a/sdk/storage/arm-storage/src/operations/fileServices.ts b/sdk/storage/arm-storage/src/operations/fileServices.ts index 082227bd75cb..21261dcdd234 100644 --- a/sdk/storage/arm-storage/src/operations/fileServices.ts +++ b/sdk/storage/arm-storage/src/operations/fileServices.ts @@ -173,7 +173,7 @@ const listOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.FileServiceItems }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.CloudError } }, serializer @@ -211,7 +211,7 @@ const setServicePropertiesOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.FileServiceProperties }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.CloudError } }, serializer @@ -237,7 +237,7 @@ const getServicePropertiesOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.FileServiceProperties }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.CloudError } }, serializer diff --git a/sdk/storage/arm-storage/src/operations/fileShares.ts b/sdk/storage/arm-storage/src/operations/fileShares.ts index 719a8e867d16..939961c70338 100644 --- a/sdk/storage/arm-storage/src/operations/fileShares.ts +++ b/sdk/storage/arm-storage/src/operations/fileShares.ts @@ -339,7 +339,7 @@ const listOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.FileShareItems }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.CloudError } }, serializer @@ -384,7 +384,7 @@ const createOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.FileShare }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.CloudError } }, serializer @@ -426,7 +426,7 @@ const updateOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.FileShare }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.CloudError } }, serializer @@ -452,7 +452,7 @@ const getOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.FileShare }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.CloudError } }, serializer @@ -477,7 +477,7 @@ const deleteMethodOperationSpec: msRest.OperationSpec = { 200: {}, 204: {}, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.CloudError } }, serializer @@ -498,7 +498,7 @@ const listNextOperationSpec: msRest.OperationSpec = { bodyMapper: Mappers.FileShareItems }, default: { - bodyMapper: Mappers.ErrorResponse + bodyMapper: Mappers.CloudError } }, serializer