edutap.wallet_google.models.primitives.class_template_info.CardRowThreeItems#

pydantic model edutap.wallet_google.models.primitives.class_template_info.CardRowThreeItems#

see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#cardrowthreeitems

Show JSON schema
{
   "title": "CardRowThreeItems",
   "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#cardrowthreeitems",
   "type": "object",
   "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
      }
   },
   "$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"
      }
   }
}

Fields:
field endItem: TemplateItem | None = None#
field middleItem: TemplateItem | None = None#
field startItem: TemplateItem | None = None#