c

com.gu.contentapi.client.model

FollowingSearchQuery

case class FollowingSearchQuery(originalQuery: PaginatedApiQuery[SearchResponse, Content], contentId: String, direction: Direction = Next) extends PaginatedApiQuery[SearchResponse, Content] with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, PaginatedApiQuery[SearchResponse, Content], ContentApiQuery[SearchResponse], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FollowingSearchQuery
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. PaginatedApiQuery
  7. ContentApiQuery
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FollowingSearchQuery(originalQuery: PaginatedApiQuery[SearchResponse, Content], contentId: String, direction: Direction = Next)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  6. val contentId: String
  7. val direction: Direction
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def followingQueryGiven(response: SearchResponse, direction: Direction): Option[PaginatedApiQuery[SearchResponse, Content]]
    Definition Classes
    PaginatedApiQuery
  10. def followingQueryGivenFull(response: SearchResponse, updatedDirection: Direction): Option[PaginatedApiQuery[SearchResponse, Content]]

    Construct a query for the subsequent results after this response.

    Construct a query for the subsequent results after this response. This method will only be called if the response was supplied a full page of results, meaning that there's the possibility of more results to fetch.

    Attributes
    protected
    Definition Classes
    FollowingSearchQueryPaginatedApiQuery
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def getUrl(targetUrl: String, customParameters: Map[String, String] = Map.empty): String
    Definition Classes
    ContentApiQuery
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. val originalQuery: PaginatedApiQuery[SearchResponse, Content]
  18. def parameters: Map[String, String]
    Definition Classes
    FollowingSearchQueryContentApiQuery
  19. def pathSegment: String
    Definition Classes
    FollowingSearchQueryContentApiQuery
  20. def setPaginationConsistentWith(response: SearchResponse): PaginatedApiQuery[SearchResponse, Content]

    Produce a version of this query that explicitly sets previously unset pagination/ordering parameters, matching how the Content API server decided to process the previous request.

    Produce a version of this query that explicitly sets previously unset pagination/ordering parameters, matching how the Content API server decided to process the previous request.

    For instance, if the Content API decided to process https://content.guardianapis.com/search?q=brexit with pageSize:10 & orderBy:relevance, that will have been detailed in the CAPI response - and therefore we can copy those parameters into our following query so we don't change how we're ordering the results as we paginate through them!

    Definition Classes
    FollowingSearchQueryPaginatedApiQuery
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    ContentApiQuery → AnyRef → Any
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from PaginatedApiQuery[SearchResponse, Content]

Inherited from ContentApiQuery[SearchResponse]

Inherited from AnyRef

Inherited from Any

Ungrouped