Represents the list of responses for a change set in a batch request.

interface WriteResponses<DeSerializersT extends DeSerializers> {
    isError: () => this is ErrorResponse;
    isReadResponse: () => this is ReadResponse<DeSerializersT>;
    isSuccess: () => this is | WriteResponses<DeSerializersT>
    | ReadResponse<DeSerializersT>;
    isWriteResponses: () => this is WriteResponses<DeSerializersT>;
    responses: WriteResponse<DeSerializersT>[];
}

Type Parameters

  • DeSerializersT extends DeSerializers

    Type of the (de-)serializers.

Hierarchy

Properties

isError: () => this is ErrorResponse
isReadResponse: () => this is ReadResponse<DeSerializersT>
isWriteResponses: () => this is WriteResponses<DeSerializersT>

List of responses for a change set in a batch request.

Copyright Ⓒ 2024 SAP SE or an SAP affiliate company. All rights reserved.