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": { "default": null, "deprecated": true, "title": "Kind", "type": "string" }, "start": { "anyOf": [ { "$ref": "#/$defs/DateTime" }, { "type": "null" } ], "default": null }, "end": { "anyOf": [ { "$ref": "#/$defs/DateTime" }, { "type": "null" } ], "default": null } }, "$defs": { "DateTime": { "additionalProperties": false, "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" } }, "additionalProperties": false }
- Config:
extra: str = forbid
- Fields:
- kind: Annotated[str, Field(deprecated=deprecated('Attribute "kind" was used in the past to identify resources but is now deprecated.'), exclude=True, default=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.