edutap.wallet_google.models.datatypes.notification.Notifications#

pydantic model edutap.wallet_google.models.datatypes.notification.Notifications#

see: https://developers.google.com/wallet/generic/rest/v1/genericobject#notifications

Show JSON schema
{
   "title": "Notifications",
   "description": "see: https://developers.google.com/wallet/generic/rest/v1/genericobject#notifications",
   "type": "object",
   "properties": {
      "expiryNotification": {
         "anyOf": [
            {
               "$ref": "#/$defs/ExpiryNotification"
            },
            {
               "type": "null"
            }
         ],
         "default": null
      },
      "upcomingNotification": {
         "anyOf": [
            {
               "$ref": "#/$defs/UpcomingNotification"
            },
            {
               "type": "null"
            }
         ],
         "default": null
      }
   },
   "$defs": {
      "ExpiryNotification": {
         "additionalProperties": false,
         "description": "see: https://developers.google.com/wallet/generic/rest/v1/genericobject#expirynotification",
         "properties": {
            "enableNotification": {
               "default": false,
               "title": "Enablenotification",
               "type": "boolean"
            }
         },
         "title": "ExpiryNotification",
         "type": "object"
      },
      "UpcomingNotification": {
         "additionalProperties": false,
         "description": "see: https://developers.google.com/wallet/generic/rest/v1/genericobject#upcomingnotification",
         "properties": {
            "enableNotification": {
               "default": false,
               "title": "Enablenotification",
               "type": "boolean"
            }
         },
         "title": "UpcomingNotification",
         "type": "object"
      }
   },
   "additionalProperties": false
}

Config:
  • extra: str = forbid

Fields:
field expiryNotification: ExpiryNotification | None = None#
field upcomingNotification: UpcomingNotification | None = None#