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

interface WriteResponsesCommon<DeSerializersT> {
    isError: (() => this is ErrorResponse);
    isReadResponse: (() => this is ReadResponseCommon<DeSerializersT>);
    isSuccess: (() => this is WriteResponsesCommon<DeSerializersT> | ReadResponseCommon<DeSerializersT>);
    isWriteResponses: (() => this is WriteResponsesCommon<DeSerializersT>);
    responses: WriteResponseCommon<DeSerializersT>[];
}

Type Parameters

  • DeSerializersT extends DeSerializers

    Type of the (de-)serializers.

Hierarchy

Properties

isError: (() => this is ErrorResponse)

Type declaration

isReadResponse: (() => this is ReadResponseCommon<DeSerializersT>)

Type declaration

isWriteResponses: (() => this is WriteResponsesCommon<DeSerializersT>)

Type declaration

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

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