edutap.wallet_google.models.primitives.class_template_info.CardRowTemplateInfo#
- pydantic model edutap.wallet_google.models.primitives.class_template_info.CardRowTemplateInfo#
see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#cardrowtemplateinfo
Show JSON schema
{ "title": "CardRowTemplateInfo", "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#cardrowtemplateinfo", "type": "object", "properties": { "oneItem": { "anyOf": [ { "$ref": "#/$defs/CardRowOneItem" }, { "type": "null" } ], "default": null }, "twoItems": { "anyOf": [ { "$ref": "#/$defs/CardRowTwoItems" }, { "type": "null" } ], "default": null }, "threeItems": { "anyOf": [ { "$ref": "#/$defs/CardRowThreeItems" }, { "type": "null" } ], "default": null } }, "$defs": { "CardRowOneItem": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#cardrowoneitem", "properties": { "item": { "anyOf": [ { "$ref": "#/$defs/TemplateItem" }, { "type": "null" } ], "default": null } }, "title": "CardRowOneItem", "type": "object" }, "CardRowThreeItems": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#cardrowthreeitems", "properties": { "startItem": { "anyOf": [ { "$ref": "#/$defs/TemplateItem" }, { "type": "null" } ], "default": null }, "middleItem": { "anyOf": [ { "$ref": "#/$defs/TemplateItem" }, { "type": "null" } ], "default": null }, "endItem": { "anyOf": [ { "$ref": "#/$defs/TemplateItem" }, { "type": "null" } ], "default": null } }, "title": "CardRowThreeItems", "type": "object" }, "CardRowTwoItems": { "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#cardrowtwoitems", "properties": { "startItem": { "anyOf": [ { "$ref": "#/$defs/TemplateItem" }, { "type": "null" } ], "default": null }, "endItem": { "anyOf": [ { "$ref": "#/$defs/TemplateItem" }, { "type": "null" } ], "default": null } }, "title": "CardRowTwoItems", "type": "object" }, "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" } } }
- Fields:
- field oneItem: CardRowOneItem | None = None#
- field threeItems: CardRowThreeItems | None = None#
- field twoItems: CardRowTwoItems | None = None#