edutap.wallet_google.models.datatypes.datetime.TimeInterval#

pydantic model edutap.wallet_google.models.datatypes.datetime.TimeInterval#

see: https://developers.google.com/wallet/tickets/events/rest/v1/TimeInterval

Show JSON schema
{
   "title": "TimeInterval",
   "description": "see: https://developers.google.com/wallet/tickets/events/rest/v1/TimeInterval",
   "type": "object",
   "properties": {
      "kind": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": "walletobjects#timeInterval",
         "deprecated": true,
         "description": "deprecated",
         "title": "Kind"
      },
      "start": {
         "anyOf": [
            {
               "$ref": "#/$defs/DateTime"
            },
            {
               "type": "null"
            }
         ],
         "default": null
      },
      "end": {
         "anyOf": [
            {
               "$ref": "#/$defs/DateTime"
            },
            {
               "type": "null"
            }
         ],
         "default": null
      }
   },
   "$defs": {
      "DateTime": {
         "description": "see: https://developers.google.com/wallet/tickets/events/rest/v1/DateTime",
         "properties": {
            "date": {
               "format": "date-time",
               "title": "Date",
               "type": "string"
            }
         },
         "required": [
            "date"
         ],
         "title": "DateTime",
         "type": "object"
      }
   }
}

Fields:
field end: DateTime | None = None#
field start: DateTime | None = None#
kind: str | 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.