final case class Ok[+T](content: T, related: Map[ResourceName, Related[_, _]] = Map.empty, pagination: Option[ResponsePagination] = None, eTag: Option[ETag] = None) extends RestResponse[T] with Product with Serializable
- Alphabetic
- By Inheritance
- Ok
- Serializable
- Serializable
- Product
- Equals
- RestResponse
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Ok(content: T, related: Map[ResourceName, Related[_, _]] = Map.empty, pagination: Option[ResponsePagination] = None, eTag: Option[ETag] = None)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- val content: T
- val eTag: Option[ETag]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
val
isError: Boolean
- Definition Classes
- Ok → RestResponse
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
isOk: Boolean
- Definition Classes
- Ok → RestResponse
-
val
isRedirect: Boolean
- Definition Classes
- Ok → RestResponse
-
def
map[U](fn: (T) ⇒ U): RestResponse[U]
- Definition Classes
- Ok → RestResponse
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val pagination: Option[ResponsePagination]
- val related: Map[ResourceName, Related[_, _]]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def withETag(eTag: ETag): Ok[T]
- def withPagination(pagination: ResponsePagination): Ok[T]
- def withPagination(next: Option[String], total: Option[Long] = None, facets: Option[Map[String, FacetField]] = None): Ok[T]
- def withPagination(next: String): Ok[T]
- def withRelated[K, A](name: ResourceName, objects: Seq[Keyed[K, A]])(implicit valueFormat: OFormat[A], keyFormat: KeyFormat[K], fields: ResourceFields[A]): Ok[T]