Class SubscriptionResponse<T>


  • public final class SubscriptionResponse<T>
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.util.Collection<com.apollographql.apollo.cache.normalized.Record> cacheRecords  
      com.apollographql.apollo.api.Response<T> response  
      com.apollographql.apollo.api.Subscription<?,​T,​?> subscription  
    • Constructor Summary

      Constructors 
      Constructor Description
      SubscriptionResponse​(com.apollographql.apollo.api.Subscription<?,​T,​?> subscription, com.apollographql.apollo.api.Response<T> response, java.util.Collection<com.apollographql.apollo.cache.normalized.Record> cacheRecords)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • subscription

        @NotNull
        public final com.apollographql.apollo.api.Subscription<?,​T,​?> subscription
      • response

        @NotNull
        public final com.apollographql.apollo.api.Response<T> response
      • cacheRecords

        @NotNull
        public final java.util.Collection<com.apollographql.apollo.cache.normalized.Record> cacheRecords
    • Constructor Detail

      • SubscriptionResponse

        public SubscriptionResponse​(@NotNull
                                    com.apollographql.apollo.api.Subscription<?,​T,​?> subscription,
                                    @NotNull
                                    com.apollographql.apollo.api.Response<T> response,
                                    @NotNull
                                    java.util.Collection<com.apollographql.apollo.cache.normalized.Record> cacheRecords)