edutap.wallet_google.models.primitives.notification.Notifications#

pydantic model edutap.wallet_google.models.primitives.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": {
         "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": {
         "description": "see: https://developers.google.com/wallet/generic/rest/v1/genericobject#upcomingnotification",
         "properties": {
            "enableNotification": {
               "default": false,
               "title": "Enablenotification",
               "type": "boolean"
            }
         },
         "title": "UpcomingNotification",
         "type": "object"
      }
   }
}

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