WorkItem

uk.gov.hmrc.mongo.workitem.WorkItem
See theWorkItem companion class
object WorkItem

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
WorkItem.type

Members list

Type members

Inherited 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 formatForFields[T](fieldNames: WorkItemFields)(implicit tFormat: Format[T]): Format[WorkItem[T]]

Creates json format for WorkItem for serialising in Mongo. It requires WorkItemFields which should keep it aligned with queries.

Creates json format for WorkItem for serialising in Mongo. It requires WorkItemFields which should keep it aligned with queries.

Attributes

def workItemRestFormat[T](implicit tFormat: Format[T]): Format[WorkItem[T]]

Creates a json format for WorkItem appropriate for serialising through a REST endpoint.

Creates a json format for WorkItem appropriate for serialising through a REST endpoint.

Attributes