edutap.wallet_google.models.primitives.smarttap.IssuerToUserInfo#

pydantic model edutap.wallet_google.models.primitives.smarttap.IssuerToUserInfo#

see: https://developers.google.com/wallet/generic/rest/v1/smarttap#issuertouserinfo

Show JSON schema
{
   "title": "IssuerToUserInfo",
   "description": "see: https://developers.google.com/wallet/generic/rest/v1/smarttap#issuertouserinfo",
   "type": "object",
   "properties": {
      "action": {
         "allOf": [
            {
               "$ref": "#/$defs/Action"
            }
         ],
         "default": "ACTION_UNSPECIFIED"
      },
      "url": {
         "anyOf": [
            {
               "format": "uri",
               "minLength": 1,
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Url"
      },
      "value": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Value"
      },
      "signUpInfo": {
         "anyOf": [
            {
               "$ref": "#/$defs/SignUpInfo"
            },
            {
               "type": "null"
            }
         ],
         "default": null
      }
   },
   "$defs": {
      "Action": {
         "description": "see: https://developers.google.com/wallet/generic/rest/v1/smarttap#action",
         "enum": [
            "ACTION_UNSPECIFIED",
            "S2AP",
            "SIGN_UP"
         ],
         "title": "Action",
         "type": "string"
      },
      "SignUpInfo": {
         "description": "see: https://developers.google.com/wallet/generic/rest/v1/smarttap#signupinfo",
         "properties": {
            "classId": {
               "title": "Classid",
               "type": "string"
            }
         },
         "required": [
            "classId"
         ],
         "title": "SignUpInfo",
         "type": "object"
      }
   }
}

Fields:
field action: Action = Action.ACTION_UNSPECIFIED#
field signUpInfo: SignUpInfo | None = None#
field url: Url | None = None#
field value: str | None = None#