Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents the state needed to deserialize a parsed batch response using OData version specific deserialization data access.

Hierarchy

  • BatchResponseDeserializer

Index

Constructors

Methods

Constructors

constructor

  • Creates an instance of BatchResponseTransformer.

    Parameters

    • entityToConstructorMap: Record<string, Constructable<EntityBase, unknown>>

      A map that holds the entity type to constructor mapping.

    • responseDataAccessor: ResponseDataAccessor

      Response data access module.

    • deserializer: EntityDeserializer<any>

      Entity deserializer.

    Returns BatchResponseDeserializer

Methods

deserializeBatchResponse

  • Deserialize the parsed batch response.

    Parameters

    Returns (ReadResponse | WriteResponses | ErrorResponse)[]

    An array of parsed sub responses of the batch response.