edutap.wallet_google.models.primitives.class_template_info.DetailsTemplateOverride#
- pydantic model edutap.wallet_google.models.primitives.class_template_info.DetailsTemplateOverride#
see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#detailstemplateoverride
Show JSON schema
{ "title": "DetailsTemplateOverride", "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#detailstemplateoverride", "type": "object", "properties": { "detailsItemInfos": { "anyOf": [ { "items": { "$ref": "#/$defs/DetailsItemInfo" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Detailsiteminfos" } }, "$defs": { "DateFormat": { "enum": [ "DATE_FORMAT_UNSPECIFIED", "DATE_TIME", "DATE_ONLY", "TIME_ONLY", "DATE_TIME_YEAR", "DATE_YEAR" ], "title": "DateFormat", "type": "string" }, "DetailsItemInfo": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#detailsiteminfo", "properties": { "item": { "anyOf": [ { "$ref": "#/$defs/TemplateItem" }, { "type": "null" } ], "default": null } }, "title": "DetailsItemInfo", "type": "object" }, "FieldReference": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#fieldreference", "properties": { "fieldPath": { "title": "Fieldpath", "type": "string" }, "dateFormat": { "anyOf": [ { "$ref": "#/$defs/DateFormat" }, { "type": "null" } ], "default": null } }, "required": [ "fieldPath" ], "title": "FieldReference", "type": "object" }, "FieldSelector": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#fieldselector", "properties": { "fields": { "items": { "$ref": "#/$defs/FieldReference" }, "title": "Fields", "type": "array" } }, "required": [ "fields" ], "title": "FieldSelector", "type": "object" }, "PredefinedItem": { "description": "see: https://developers.google.com/wallet/retail/offers/rest/v1/ClassTemplateInfo#predefineditem", "enum": [ "PREDEFINED_ITEM_UNSPECIFIED", "FREQUENT_FLYER_PROGRAM_NAME_AND_NUMBER", "FLIGHT_NUMBER_AND_OPERATING_FLIGHT_NUMBER" ], "title": "PredefinedItem", "type": "string" }, "TemplateItem": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#templateitem", "properties": { "firstValue": { "anyOf": [ { "$ref": "#/$defs/FieldSelector" }, { "type": "null" } ], "default": null }, "secondValue": { "anyOf": [ { "$ref": "#/$defs/FieldSelector" }, { "type": "null" } ], "default": null }, "predefinedItem": { "anyOf": [ { "$ref": "#/$defs/PredefinedItem" }, { "type": "null" } ], "default": null } }, "title": "TemplateItem", "type": "object" } } }
- field detailsItemInfos: list[DetailsItemInfo] | None = None#