ApplicationQuery

uk.gov.hmrc.apiplatform.modules.applications.query.domain.models.ApplicationQuery
See theApplicationQuery companion trait

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

case class ByClientId(clientId: ClientId, recordUsage: Boolean, otherParams: List[NonUniqueFilterParam[_]], wantSubscriptions: Boolean = ..., wantSubscriptionFields: Boolean = ..., wantStateHistory: Boolean = ...) extends SingleApplicationQuery

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class ById(applicationId: ApplicationId, otherParams: List[NonUniqueFilterParam[_]], wantSubscriptions: Boolean = ..., wantSubscriptionFields: Boolean = ..., wantStateHistory: Boolean = ...) extends SingleApplicationQuery

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class ByServerToken(serverToken: String, recordUsage: Boolean, otherParams: List[NonUniqueFilterParam[_]], wantSubscriptions: Boolean = ..., wantSubscriptionFields: Boolean = ..., wantStateHistory: Boolean = ...) extends SingleApplicationQuery

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class GeneralOpenEndedApplicationQuery(params: List[NonUniqueFilterParam[_]], sorting: Sorting = ..., wantSubscriptions: Boolean = ..., wantStateHistory: Boolean = ..., limit: Option[Int] = ..., streamed: Boolean = ...) extends MultipleApplicationQuery

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class PaginatedApplicationQuery(params: List[NonUniqueFilterParam[_]], sorting: Sorting = ..., pagination: Pagination = ..., streamed: Boolean = ...) extends MultipleApplicationQuery

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def attemptToConstructQuery(validParams: List[Param[_]]): ApplicationQuery
def first[T <: Param[_]](using params: List[Param[_]], ct: ClassTag[T]): Option[T]
def hasAnySubscriptionFilter(params: List[Param[_]]): Boolean
def hasSpecificSubscriptionFilter(params: List[Param[_]]): Boolean
def identifyAnyPagination(allParams: List[Param[_]]): Option[Pagination]