edutap.wallet_google.models.datatypes.barcode.TotpDetails#
- pydantic model edutap.wallet_google.models.datatypes.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": { "$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": [ "totpAlgorithmUnspecified", "TOTP_ALGORITHM_UNSPECIFIED", "totpSha1", "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]#