edutap.wallet_google.models.misc.SmartTap#
- pydantic model edutap.wallet_google.models.misc.SmartTap#
see: https://developers.google.com/wallet/generic/rest/v1/smarttap#resource:-smarttap
Show JSON schema
{ "title": "SmartTap", "description": "see: https://developers.google.com/wallet/generic/rest/v1/smarttap#resource:-smarttap", "type": "object", "properties": { "id": { "title": "Id", "type": "string" }, "kind": { "default": null, "deprecated": true, "title": "Kind", "type": "string" }, "merchantId": { "title": "Merchantid", "type": "string" }, "infos": { "anyOf": [ { "items": { "$ref": "#/$defs/IssuerToUserInfo" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Infos" } }, "$defs": { "Action": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/smarttap#action", "enum": [ "actionUnspecified", "ACTION_UNSPECIFIED", "s2ap", "S2AP", "signUp", "SIGN_UP" ], "title": "Action", "type": "string" }, "IssuerToUserInfo": { "additionalProperties": false, "description": "see: https://developers.google.com/wallet/generic/rest/v1/smarttap#issuertouserinfo", "properties": { "action": { "$ref": "#/$defs/Action", "default": "ACTION_UNSPECIFIED" }, "url": { "anyOf": [ { "format": "uri", "minLength": 1, "type": "string" }, { "type": "null" } ], "default": null, "description": "Currently not used, consider deprecating", "title": "Url" }, "value": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Value" }, "signUpInfo": { "anyOf": [ { "$ref": "#/$defs/SignUpInfo" }, { "type": "null" } ], "default": null } }, "title": "IssuerToUserInfo", "type": "object" }, "SignUpInfo": { "additionalProperties": false, "description": "see: https://developers.google.com/wallet/generic/rest/v1/smarttap#signupinfo", "properties": { "classId": { "title": "Classid", "type": "string" } }, "required": [ "classId" ], "title": "SignUpInfo", "type": "object" } }, "additionalProperties": false, "required": [ "id", "merchantId" ] }
- Config:
extra: str = forbid
- Fields:
- field infos: list[IssuerToUserInfo] | None = None#
- field merchantId: str [Required]#
- kind: Annotated[str, Field(deprecated=deprecated('Attribute "kind" was used in the past to identify resources but is now deprecated.'), exclude=True, default=None)]#
Read-only data descriptor used to emit a runtime deprecation warning before accessing a deprecated field.
- Attributes:
msg: The deprecation message to be emitted. wrapped_property: The property instance if the deprecated field is a computed field, or None. field_name: The name of the field being deprecated.