edutap.wallet_google.models.primitives.barcode.TotpDetails#
- pydantic model edutap.wallet_google.models.primitives.barcode.TotpDetails#
see: https://developers.google.com/wallet/generic/rest/v1/RotatingBarcode#totpdetails
Show JSON schema
{ "title": "TotpDetails", "description": "see: https://developers.google.com/wallet/generic/rest/v1/RotatingBarcode#totpdetails", "type": "object", "properties": { "periodMillis": { "title": "Periodmillis", "type": "string" }, "algorithm": { "allOf": [ { "$ref": "#/$defs/TotpAlgorithm" } ], "default": "TOTP_ALGORITHM_UNSPECIFIED" }, "parameters": { "items": { "$ref": "#/$defs/TotpParameters" }, "title": "Parameters", "type": "array" } }, "$defs": { "TotpAlgorithm": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/RotatingBarcode#totpalgorithm", "enum": [ "TOTP_ALGORITHM_UNSPECIFIED", "TOTP_SHA1" ], "title": "TotpAlgorithm", "type": "string" }, "TotpParameters": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/RotatingBarcode#totpparameters", "properties": { "key": { "title": "Key", "type": "string" }, "valueLength": { "title": "Valuelength", "type": "integer" } }, "required": [ "key", "valueLength" ], "title": "TotpParameters", "type": "object" } }, "required": [ "periodMillis", "parameters" ] }
- Fields:
- field algorithm: TotpAlgorithm = TotpAlgorithm.TOTP_ALGORITHM_UNSPECIFIED#
- field parameters: list[TotpParameters] [Required]#
- field periodMillis: str [Required]#