edutap.wallet_google.models.primitives.datetime.EventDateTime#

pydantic model edutap.wallet_google.models.primitives.datetime.EventDateTime#

see: https://developers.google.com/wallet/tickets/events/rest/v1/eventticketclass#eventdatetime

Show JSON schema
{
   "title": "EventDateTime",
   "description": "see: https://developers.google.com/wallet/tickets/events/rest/v1/eventticketclass#eventdatetime",
   "type": "object",
   "properties": {
      "doorsOpen": {
         "anyOf": [
            {
               "format": "date-time",
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Doorsopen"
      },
      "start": {
         "anyOf": [
            {
               "format": "date-time",
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Start"
      },
      "end": {
         "anyOf": [
            {
               "format": "date-time",
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "End"
      },
      "doorsOpenLabel": {
         "anyOf": [
            {
               "$ref": "#/$defs/DoorsOpenLabel"
            },
            {
               "type": "null"
            }
         ],
         "default": null
      },
      "customDoorsOpenLabel": {
         "anyOf": [
            {
               "$ref": "#/$defs/LocalizedString"
            },
            {
               "type": "null"
            }
         ],
         "default": null
      }
   },
   "$defs": {
      "DoorsOpenLabel": {
         "description": "see: https://developers.google.com/wallet/tickets/events/rest/v1/eventticketclass#doorsopenlabel",
         "enum": [
            "DOORS_OPEN_LABEL_UNSPECIFIED",
            "DOORS_OPEN",
            "GATES_OPEN"
         ],
         "title": "DoorsOpenLabel",
         "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"
      },
      "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:
field customDoorsOpenLabel: LocalizedString | None = None#
field doorsOpen: datetime | None = None#
field doorsOpenLabel: DoorsOpenLabel | None = None#
field end: datetime | None = None#
field start: datetime | None = None#