final class Quotas[F[_]] extends Service[F]
- Alphabetic
- By Inheritance
- Quotas
- Service
- AnyRef
- Any
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Quotas(baseUri: Uri, authToken: Header)(implicit arg0: Sync[F], arg1: Client[F])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def ->[B](y: B): (Quotas[F], B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- implicit val F: Sync[F]
- Attributes
- protected
- Definition Classes
- Service
- def apply(projectId: String): F[Quota]
Shows quotas for a project.
Shows quotas for a project. Cinder always returns a Quota even if the project does not exist. That is why there is no method called
get
.- projectId
The UUID of the project.
- def applyDefaults(projectId: String): F[Quota]
Gets default quotas for a project.
Gets default quotas for a project. Cinder always returns a Quota even if the project does not exist. That is why there is no method called
getDefaults
.- projectId
The UUID of the project.
- def applyUsage(projectId: String): F[QuotaUsage]
Shows quota usage for a project.
Shows quota usage for a project. Cinder always returns a Quota even if the project does not exist. That is why there is no method called
getUsage
.- projectId
The UUID of the project.
- 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 delete(projectId: String): F[Unit]
Deletes quotas for a project so the quotas revert to default values.
Deletes quotas for a project so the quotas revert to default values.
- projectId
The UUID of the project.
- def delete(uri: Uri, extraHeaders: Header*): F[Unit]
- Attributes
- protected
- Definition Classes
- Service
- val dsl: Http4sClientDsl[F]
- Attributes
- protected
- Definition Classes
- Service
- def ensuring(cond: (Quotas[F]) => Boolean, msg: => Any): Quotas[F]
- def ensuring(cond: (Quotas[F]) => Boolean): Quotas[F]
- def ensuring(cond: Boolean, msg: => Any): Quotas[F]
- def ensuring(cond: Boolean): Quotas[F]
- 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]
- 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]
- Attributes
- protected
- Definition Classes
- Service
- def expectOption[R](wrappedAt: Option[String], method: Method with PermitsBody, uri: Uri, extraHeaders: Header*)(implicit arg0: Decoder[R]): F[Option[R]]
- Attributes
- protected
- Definition Classes
- Service
- def expectOption[B, R](wrappedAt: Option[String], method: Method with PermitsBody, value: B, uri: Uri, extraHeaders: Header*)(implicit arg0: Encoder[B], arg1: Decoder[R]): F[Option[R]]
- Attributes
- protected
- Definition Classes
- Service
- def expectOptionUnwrapped[R](wrappedAt: Option[String], request: F[Request[F]])(implicit arg0: Decoder[R]): F[Option[R]]
- Attributes
- protected
- Definition Classes
- Service
- def expectUnwrapped[R](wrappedAt: Option[String], request: F[Request[F]])(implicit arg0: Decoder[R]): F[R]
- Attributes
- protected
- Definition Classes
- Service
- def formatted(fmtstr: String): String
- 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 getOption[R](wrappedAt: Option[String], uri: Uri, extraHeaders: Header*)(implicit arg0: Decoder[R]): F[Option[R]]
- Attributes
- protected
- Definition Classes
- Service
- 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[R](wrappedAt: String, uri: Uri, query: Query, extraHeaders: Header*)(implicit arg0: Decoder[R]): Stream[F, R]
- 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
- 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 postHandleConflict[V, R](wrappedAt: Option[String], value: V, uri: Uri, extraHeaders: Header*)(onConflict: F[R])(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])(implicit decoder: Decoder[R]): EntityDecoder[F, R]
- Attributes
- protected
- Definition Classes
- Service
- def update(projectId: String, quotas: Update)(implicit encoder: Encoder[Update]): F[Quota]
Updates quotas for a project.
Updates quotas for a project.
- projectId
The UUID of the project.
- 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])(implicit encoder: Encoder[R]): EntityEncoder[F, R]
- Attributes
- protected
- Definition Classes
- Service
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- def →[B](y: B): (Quotas[F], B)
- Implicit
- This member is added by an implicit conversion from Quotas[F] toArrowAssoc[Quotas[F]] 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.