QuotaDetails Klasse

Verwendetes Kontingent, Limit und Datum/Uhrzeit der nächsten Zurücksetzung.

Vererbung
builtins.object
QuotaDetails

Konstruktor

QuotaDetails(**kwargs: Any)

Methoden

from_dict

Konvertiert ein Diktat in der Form eines QuotaDetails in das Modell selbst.

to_dict

Gibt eine Diktatdarstellung von QuotaDetails zurück.

from_dict

Konvertiert ein Diktat in der Form eines QuotaDetails in das Modell selbst.

from_dict(data: Dict) -> QuotaDetails

Parameter

Name Beschreibung
data
Erforderlich

Ein Wörterbuch in der Form "QuotaDetails".

Gibt zurück

Typ Beschreibung

Kontingentdetails

to_dict

Gibt eine Diktatdarstellung von QuotaDetails zurück.

to_dict() -> Dict[str, Any]

Gibt zurück

Typ Beschreibung

Dict[str, Any]

Attribute

quota

Ressourcenkontingentlimit.

quota: int

quota_resets_on

Datum/Uhrzeit, zu dem die Ressourcenkontingentnutzung zurückgesetzt wird.

quota_resets_on: datetime

used

Die Menge des verwendeten Ressourcenkontingents.

used: int