Packages

final class Quotas[F[_]] extends Service[F]

Source
Quotas.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Quotas
  2. Service
  3. AnyRef
  4. Any
Implicitly
  1. by StringFormat
  2. by Ensuring
  3. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Quotas(baseUri: Uri, authToken: Header)(implicit arg0: Sync[F], arg1: Client[F])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. 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
    @inline()
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. implicit val F: Sync[F]
    Attributes
    protected
    Definition Classes
    Service
  6. 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.

  7. 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.

  8. 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.

  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. val authToken: Header
    Attributes
    protected
    Definition Classes
    Service
  11. implicit val client: Client[F]
    Attributes
    protected
    Definition Classes
    Service
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  13. 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.

  14. def delete(uri: Uri, extraHeaders: Header*): F[Unit]
    Attributes
    protected
    Definition Classes
    Service
  15. val dsl: Http4sClientDsl[F]
    Attributes
    protected
    Definition Classes
    Service
  16. def ensuring(cond: (Quotas[F]) => Boolean, msg: => Any): Quotas[F]
    Implicit
    This member is added by an implicit conversion from Quotas[F] toEnsuring[Quotas[F]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: (Quotas[F]) => Boolean): Quotas[F]
    Implicit
    This member is added by an implicit conversion from Quotas[F] toEnsuring[Quotas[F]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean, msg: => Any): Quotas[F]
    Implicit
    This member is added by an implicit conversion from Quotas[F] toEnsuring[Quotas[F]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: Boolean): Quotas[F]
    Implicit
    This member is added by an implicit conversion from Quotas[F] toEnsuring[Quotas[F]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  22. 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
  23. 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
  24. 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
  25. 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
  26. def expectOptionUnwrapped[R](wrappedAt: Option[String], request: F[Request[F]])(implicit arg0: Decoder[R]): F[Option[R]]
    Attributes
    protected
    Definition Classes
    Service
  27. def expectUnwrapped[R](wrappedAt: Option[String], request: F[Request[F]])(implicit arg0: Decoder[R]): F[R]
    Attributes
    protected
    Definition Classes
    Service
  28. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Quotas[F] toStringFormat[Quotas[F]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  29. def get[R](wrappedAt: Option[String], uri: Uri, extraHeaders: Header*)(implicit arg0: Decoder[R]): F[R]
    Attributes
    protected
    Definition Classes
    Service
  30. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  31. def getOption[R](wrappedAt: Option[String], uri: Uri, extraHeaders: Header*)(implicit arg0: Decoder[R]): F[Option[R]]
    Attributes
    protected
    Definition Classes
    Service
  32. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  33. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  34. implicit def jsonDecoder[A](implicit arg0: Decoder[A]): EntityDecoder[F, A]
    Attributes
    protected
    Definition Classes
    Service
  35. implicit def jsonEncoder[A](implicit arg0: Encoder[A]): EntityEncoder[F, A]
    Attributes
    protected
    Definition Classes
    Service
  36. val jsonPrinter: Printer
    Attributes
    protected
    Definition Classes
    Service
  37. def list[R](wrappedAt: String, uri: Uri, query: Query, extraHeaders: Header*)(implicit arg0: Decoder[R]): Stream[F, R]
    Attributes
    protected
    Definition Classes
    Service
  38. val name: String
  39. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  40. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  41. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  42. 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
  43. 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
  44. 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
  45. 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
  46. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  47. def toString(): String
    Definition Classes
    AnyRef → Any
  48. def unwrapped[R](at: Option[String])(implicit decoder: Decoder[R]): EntityDecoder[F, R]
    Attributes
    protected
    Definition Classes
    Service
  49. 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.

  50. val uri: Uri
  51. implicit val void: EntityDecoder[F, Unit]
    Attributes
    protected
    Definition Classes
    Service
  52. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  53. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  54. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  55. def wrapped[R](at: Option[String])(implicit encoder: Encoder[R]): EntityEncoder[F, R]
    Attributes
    protected
    Definition Classes
    Service

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  2. 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.

Inherited from Service[F]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion StringFormat fromQuotas[F] to StringFormat[Quotas[F]]

Inherited by implicit conversion Ensuring fromQuotas[F] to Ensuring[Quotas[F]]

Inherited by implicit conversion ArrowAssoc fromQuotas[F] to ArrowAssoc[Quotas[F]]

Ungrouped