Class KeyedBatchResponseContent

java.lang.Object
com.microsoft.graph.core.content.KeyedBatchResponseContent

public class KeyedBatchResponseContent extends Object
A model to map id Keys to requests within a BatchResponseContent object.
  • Field Details

    • keys

      @Nonnull protected HashSet<String> keys
      The ids of the requests that were batched together.
    • response

      @Nonnull protected BatchResponseContent response
      The BatchResponseContent object paired to the keys.
  • Constructor Details

    • KeyedBatchResponseContent

      public KeyedBatchResponseContent(@Nonnull Set<String> keys, @Nonnull BatchResponseContent response)
      Instantiates a new Keyed batch response content.
      Parameters:
      keys - the ids of the requests that were batched together.
      response - the BatchResponseContent object to add to the collection.