edutap.wallet_google.models.primitives.class_template_info.CardRowOneItem#
- pydantic model edutap.wallet_google.models.primitives.class_template_info.CardRowOneItem#
see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#cardrowoneitem
Show JSON schema
{ "title": "CardRowOneItem", "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#cardrowoneitem", "type": "object", "properties": { "item": { "anyOf": [ { "$ref": "#/$defs/TemplateItem" }, { "type": "null" } ], "default": null } }, "$defs": { "DateFormat": { "enum": [ "DATE_FORMAT_UNSPECIFIED", "DATE_TIME", "DATE_ONLY", "TIME_ONLY", "DATE_TIME_YEAR", "DATE_YEAR" ], "title": "DateFormat", "type": "string" }, "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 item: TemplateItem | None = None#