QuotaRuleDto

com.worxbend.codeberg4s.organizations.wire.QuotaRuleDto
See theQuotaRuleDto companion object
final case class QuotaRuleDto(name: Option[String], limit: Option[Long], subjects: Vector[String])

Forgejo's QuotaRuleInfo model — one limit and what it counts.

Value parameters

limit

the limit key, in bytes. Carried verbatim, negatives included — Forgejo uses a negative limit for "unlimited" and translating that here would hide it

name

the name key, administrators only

subjects

the subjects array; empty when absent, null, or not an array

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Converts to the domain. Total: the rule declares no required property.

Converts to the domain. Total: the rule declares no required property.

Attributes

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product