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

interface WriteResponses<DeSerializersT> {
    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)

Type declaration

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

Type declaration

isWriteResponses: (() => this is WriteResponses<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.