Module genshin.models.auth.qrcode
Miyoushe QR Code Models
Classes
class QRCodeCreationResult (**data: Any)
-
QR code creation result.
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError
][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.self
is explicitly positional-only to allowself
as a field name.Expand source code
class QRCodeCreationResult(pydantic.BaseModel): """QR code creation result.""" ticket: str url: str
Ancestors
- pydantic.main.BaseModel
Class variables
var model_computed_fields
var model_config
var model_fields
var ticket : str
var url : str
class QRCodeStatus (value, names=None, *, module=None, qualname=None, type=None, start=1)
-
QR code check status.
Expand source code
class QRCodeStatus(enum.Enum): """QR code check status.""" CREATED = "Created" SCANNED = "Scanned" CONFIRMED = "Confirmed"
Ancestors
- enum.Enum
Class variables
var CONFIRMED
var CREATED
var SCANNED