abstract class CrudService[F[_], Model, Create, Update] extends Service[F]
- Alphabetic
- By Inheritance
- CrudService
- Service
- AnyRef
- Any
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
Value Members
-   final  def !=(arg0: Any): Boolean- Definition Classes
- AnyRef → Any
 
-   final  def ##: Int- Definition Classes
- AnyRef → Any
 
-    def ->[B](y: B): (CrudService[F, Model, Create, Update], B)- Implicit
- This member is added by an implicit conversion from CrudService[F, Model, Create, Update] toArrowAssoc[CrudService[F, Model, Create, Update]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
 
-   final  def ==(arg0: Any): Boolean- Definition Classes
- AnyRef → Any
 
-   implicit  val F: Sync[F]- Attributes
- protected
- Definition Classes
- Service
 
-   final  def asInstanceOf[T0]: T0- Definition Classes
- Any
 
-    val authToken: Header- Attributes
- protected
- Definition Classes
- Service
 
-   implicit  val client: Client[F]- Attributes
- protected
- Definition Classes
- Service
 
-    def clone(): AnyRef- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
 
-  def create(value: Create, extraHeaders: Header*): F[WithId[Model]]
-    def createHandleConflict(value: Create, extraHeaders: Header*)(onConflict: F[WithId[Model]]): F[WithId[Model]]- Attributes
- protected
 
-  def delete(id: String, extraHeaders: Header*): F[Unit]
-  def delete(value: WithId[Model], extraHeaders: Header*): F[Unit]
-    def delete(uri: Uri, extraHeaders: Header*): F[Unit]An idempotent delete. An idempotent delete. If NotFound or Gone are returned this method will succeed. - uri
- the uri to which the request will be made. 
- extraHeaders
- extra headers to be used. The - authTokenheader is always added.
 - Attributes
- protected
- Definition Classes
- Service
 
-    val dsl: Http4sClientDsl[F]- Attributes
- protected
- Definition Classes
- Service
 
-    def ensuring(cond: (CrudService[F, Model, Create, Update]) => Boolean, msg: => Any): CrudService[F, Model, Create, Update]- Implicit
- This member is added by an implicit conversion from CrudService[F, Model, Create, Update] toEnsuring[CrudService[F, Model, Create, Update]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
 
-    def ensuring(cond: (CrudService[F, Model, Create, Update]) => Boolean): CrudService[F, Model, Create, Update]- Implicit
- This member is added by an implicit conversion from CrudService[F, Model, Create, Update] toEnsuring[CrudService[F, Model, Create, Update]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
 
-    def ensuring(cond: Boolean, msg: => Any): CrudService[F, Model, Create, Update]- Implicit
- This member is added by an implicit conversion from CrudService[F, Model, Create, Update] toEnsuring[CrudService[F, Model, Create, Update]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
 
-    def ensuring(cond: Boolean): CrudService[F, Model, Create, Update]- Implicit
- This member is added by an implicit conversion from CrudService[F, Model, Create, Update] toEnsuring[CrudService[F, Model, Create, Update]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
 
-   final  def eq(arg0: AnyRef): Boolean- Definition Classes
- AnyRef
 
-    def equals(arg0: AnyRef): Boolean- Definition Classes
- AnyRef → Any
 
-    def expect[R](wrappedAt: Option[String], method: Method with PermitsBody, uri: Uri, extraHeaders: Header*)(implicit arg0: Decoder[R]): F[R]Invokes methodon the specifieduriwithout any body.Invokes methodon the specifieduriwithout any body. The response will be parsed to anR.- wrappedAt
- whether to decode - Rat the Json root, or at the field- at.
- method
- the method to use, eg: GET, POST, etc. 
- uri
- the uri to which the request will be made. 
- extraHeaders
- extra headers to be used. The - authTokenheader is always added.
 - Attributes
- protected
- Definition Classes
- Service
 
-    def expect[B, R](wrappedAt: Option[String], method: Method with PermitsBody, value: B, uri: Uri, extraHeaders: Header*)(implicit arg0: Encoder[B], arg1: Decoder[R]): F[R]Invokes methodon the specifieduripassing as bodyvalue.Invokes methodon the specifieduripassing as bodyvalue. The response will be parsed to anR.- wrappedAt
- whether to encode - Band decode- Rat the Json root, or at the field- at.
- method
- the method to use, eg: GET, POST, etc. 
- value
- the value to send in the body. This value will be json encoded using - wrapped.
- uri
- the uri to which the request will be made. 
- extraHeaders
- extra headers to be used. The - authTokenheader is always added.
 - Attributes
- protected
- Definition Classes
- Service
 
-    def expectUnwrapped[R](wrappedAt: Option[String], request: F[Request[F]])(implicit arg0: Decoder[R]): F[R]Submits requestand decodes the response to aRon success.Submits requestand decodes the response to aRon success.- wrappedAt
- whether to decode - Rat the Json root, or at the field- at.
- request
- the request to execute. 
 - Attributes
- protected
- Definition Classes
- Service
 
-    def formatted(fmtstr: String): String- Implicit
- This member is added by an implicit conversion from CrudService[F, Model, Create, Update] toStringFormat[CrudService[F, Model, Create, Update]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
 
-  def get(id: String, extraHeaders: Header*): F[WithId[Model]]
-    def get[R](wrappedAt: Option[String], uri: Uri, extraHeaders: Header*)(implicit arg0: Decoder[R]): F[R]- Attributes
- protected
- Definition Classes
- Service
 
-   final  def getClass(): Class[_ <: AnyRef]- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
 
-    def hashCode(): Int- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
 
-   final  def isInstanceOf[T0]: Boolean- Definition Classes
- Any
 
-   implicit  def jsonDecoder[A](implicit arg0: Decoder[A]): EntityDecoder[F, A]- Attributes
- protected
- Definition Classes
- Service
 
-   implicit  def jsonEncoder[A](implicit arg0: Encoder[A]): EntityEncoder[F, A]- Attributes
- protected
- Definition Classes
- Service
 
-    val jsonPrinter: Printer- Attributes
- protected
- Definition Classes
- Service
 
-  def list(query: Query, extraHeaders: Header*): Stream[F, WithId[Model]]
-  def list(extraHeaders: Header*): Stream[F, WithId[Model]]
-    def list[R](wrappedAt: String, uri: Uri, query: Query, extraHeaders: Header*)(implicit arg0: Decoder[R]): Stream[F, R]Invokes a GET request on the specified uri, expecting the returned json to be paginated.Invokes a GET request on the specified uri, expecting the returned json to be paginated. Automatically fetches more pages if more elements of the stream are consumed.- R
- the type of the elements returned. 
- wrappedAt
- the Json object field where - Rwill be decoded from.
- uri
- the uri to which the request will be made. 
- query
- extra query parameters to pass in every request. These are separated from Uri because this method will need to append query params for the next page/marker/offset. 
- extraHeaders
- extra headers to be used. The - authTokenheader is always added.
 - Attributes
- protected
- Definition Classes
- Service
 
-  val name: String
-   final  def ne(arg0: AnyRef): Boolean- Definition Classes
- AnyRef
 
-   final  def notify(): Unit- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
 
-   final  def notifyAll(): Unit- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
 
-    def patch[V, R](wrappedAt: Option[String], value: V, uri: Uri, extraHeaders: Header*)(implicit arg0: Encoder[V], arg1: Decoder[R]): F[R]- Attributes
- protected
- Definition Classes
- Service
 
-  val pluralName: String
-    def post[V, R](wrappedAt: Option[String], value: V, uri: Uri, extraHeaders: Header*)(implicit arg0: Encoder[V], arg1: Decoder[R]): F[R]- Attributes
- protected
- Definition Classes
- Service
 
-    def put[V, R](wrappedAt: Option[String], value: V, uri: Uri, extraHeaders: Header*)(implicit arg0: Encoder[V], arg1: Decoder[R]): F[R]- Attributes
- protected
- Definition Classes
- Service
 
-   final  def synchronized[T0](arg0: => T0): T0- Definition Classes
- AnyRef
 
-    def toString(): String- Definition Classes
- AnyRef → Any
 
-    def unwrapped[R](at: Option[String] = None)(implicit decoder: Decoder[R]): EntityDecoder[F, R]Creates an EntityDecoderwhich will decode the response from Json.Creates an EntityDecoderwhich will decode the response from Json. WhenatisNoneRwill be decoded directly from the Json root (the normal implementation for most Json REST APIs). Example:{ "id": "e4d02828-9cac-4765-bf7f-7e210dac7aba", "zones": 500, "zone_recordsets": 500 }When atis aSome(x)Rwill be decoded from the Json object located in the fieldx. ForRto be correctly parsed in this exampleatshould be Some("quota"):{ "quota": { "id": "e4d02828-9cac-4765-bf7f-7e210dac7aba", "zones": 500, "zone_recordsets": 500 } }- at
- whether to decode - Rat the Json root, or at the field- at.
- decoder
- the circe decoder capable of converting Json to an R. 
 - Attributes
- protected
- Definition Classes
- Service
 
-  def update(id: String, value: Update, extraHeaders: Header*): F[WithId[Model]]
-  val uri: Uri
-   implicit  val void: EntityDecoder[F, Unit]- Attributes
- protected
- Definition Classes
- Service
 
-   final  def wait(arg0: Long, arg1: Int): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
 
-   final  def wait(arg0: Long): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
 
-   final  def wait(): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
 
-    def wrapped[R](at: Option[String] = None)(implicit encoder: Encoder[R]): EntityEncoder[F, R]Creates an EntityEncoderwhich will encodeRto a Json.Creates an EntityEncoderwhich will encodeRto a Json. WhenatisNoneRwill be encoded directly (the normal implementation for most Json REST APIs). Example:{ "id": "e4d02828-9cac-4765-bf7f-7e210dac7aba", "zones": 500, "zone_recordsets": 500 }When atis aSome(x)Rwill be encoded inside a Json object with a single field namedx. In this exampleatwas set to Some("quota"):{ "quota": { "id": "e4d02828-9cac-4765-bf7f-7e210dac7aba", "zones": 500, "zone_recordsets": 500 } }- at
- whether to encode - Rat the Json root, or at the field- at.
- encoder
- the circe encoder capable of converting an R to Json. 
 - Attributes
- protected
- Definition Classes
- Service
 
-    val wrappedAt: Option[String]- Attributes
- protected
 
Deprecated Value Members
-    def finalize(): Unit- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
 
-    def →[B](y: B): (CrudService[F, Model, Create, Update], B)- Implicit
- This member is added by an implicit conversion from CrudService[F, Model, Create, Update] toArrowAssoc[CrudService[F, Model, Create, Update]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
- (Since version 2.13.0) Use - ->instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.