edutap.wallet_google.models.datatypes.barcode.RotatingBarcode#
- pydantic model edutap.wallet_google.models.datatypes.barcode.RotatingBarcode#
see: https://developers.google.com/wallet/generic/rest/v1/RotatingBarcode
Show JSON schema
{ "title": "RotatingBarcode", "description": "see: https://developers.google.com/wallet/generic/rest/v1/RotatingBarcode", "type": "object", "properties": { "type": { "$ref": "#/$defs/BarcodeType", "default": "BARCODE_TYPE_UNSPECIFIED" }, "renderEncoding": { "$ref": "#/$defs/BarcodeRenderEncoding", "default": "RENDER_ENCODING_UNSPECIFIED" }, "valuePattern": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Valuepattern" }, "totpDetails": { "anyOf": [ { "$ref": "#/$defs/TotpDetails" }, { "type": "null" } ], "default": null }, "alternateText": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Alternatetext" }, "showCodeText": { "anyOf": [ { "$ref": "#/$defs/LocalizedString" }, { "type": "null" } ], "default": null } }, "$defs": { "BarcodeRenderEncoding": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/BarcodeRenderEncoding", "enum": [ "renderEncodingUnspecified", "RENDER_ENCODING_UNSPECIFIED", "utf8", "UTF_8" ], "title": "BarcodeRenderEncoding", "type": "string" }, "BarcodeType": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/BarcodeType", "enum": [ "barcodeTypeUnspecified", "BARCODE_TYPE_UNSPECIFIED", "aztec", "AZTEC", "code39", "CODE_39", "code128", "CODE_128", "codabar", "CODABAR", "dataMatrix", "DATA_MATRIX", "ean8", "EAN_8", "ean13", "EAN_13", "itf14", "ITF_14", "pdf417", "PDF_417", "qrCode", "QR_CODE", "upcA", "UPC_A", "textOnly", "TEXT_ONLY" ], "title": "BarcodeType", "type": "string" }, "LocalizedString": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/LocalizedString", "properties": { "defaultValue": { "$ref": "#/$defs/TranslatedString" }, "translatedValues": { "default": [], "items": { "$ref": "#/$defs/TranslatedString" }, "title": "Translatedvalues", "type": "array" } }, "required": [ "defaultValue" ], "title": "LocalizedString", "type": "object" }, "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" }, "TotpDetails": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/RotatingBarcode#totpdetails", "properties": { "periodMillis": { "title": "Periodmillis", "type": "string" }, "algorithm": { "$ref": "#/$defs/TotpAlgorithm", "default": "TOTP_ALGORITHM_UNSPECIFIED" }, "parameters": { "items": { "$ref": "#/$defs/TotpParameters" }, "title": "Parameters", "type": "array" } }, "required": [ "periodMillis", "parameters" ], "title": "TotpDetails", "type": "object" }, "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" }, "TranslatedString": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/LocalizedString#translatedstring", "properties": { "language": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Language" }, "value": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Value" } }, "title": "TranslatedString", "type": "object" } } }
- Fields:
renderEncoding (edutap.wallet_google.models.datatypes.enums.BarcodeRenderEncoding)
showCodeText (edutap.wallet_google.models.datatypes.localized_string.LocalizedString | None)
totpDetails (edutap.wallet_google.models.datatypes.barcode.TotpDetails | None)
type (edutap.wallet_google.models.datatypes.enums.BarcodeType)
- field alternateText: str | None = None#
- field renderEncoding: BarcodeRenderEncoding = BarcodeRenderEncoding.RENDER_ENCODING_UNSPECIFIED#
- field showCodeText: LocalizedString | None = None#
- field totpDetails: TotpDetails | None = None#
- field type: BarcodeType = BarcodeType.BARCODE_TYPE_UNSPECIFIED#
- field valuePattern: str | None = None#