edutap.wallet_google.models.primitives.class_template_info.ListTemplateOverride#

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

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

Show JSON schema
{
   "title": "ListTemplateOverride",
   "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#listtemplateoverride",
   "type": "object",
   "properties": {
      "firstRowOption": {
         "anyOf": [
            {
               "$ref": "#/$defs/FirstRowOption"
            },
            {
               "type": "null"
            }
         ],
         "default": null
      },
      "secondRowOption": {
         "anyOf": [
            {
               "$ref": "#/$defs/FieldSelector"
            },
            {
               "type": "null"
            }
         ],
         "default": null
      },
      "thirdRowOption": {
         "anyOf": [
            {
               "$ref": "#/$defs/FieldSelector"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "description": "deprecated"
      }
   },
   "$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"
      },
      "FirstRowOption": {
         "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#firstrowoption",
         "properties": {
            "transitOption": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/TransitOption"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            },
            "fieldOption": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/FieldSelector"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            }
         },
         "title": "FirstRowOption",
         "type": "object"
      },
      "TransitOption": {
         "description": "see: https://developers.google.com/wallet/generic/rest/v1/ClassTemplateInfo#transitoption",
         "enum": [
            "TRANSIT_OPTION_UNSPECIFIED",
            "ORIGIN_AND_DESTINATION_NAMES",
            "ORIGIN_AND_DESTINATION_CODES",
            "ORIGIN_NAME"
         ],
         "title": "TransitOption",
         "type": "string"
      }
   }
}

Fields:
field firstRowOption: FirstRowOption | None = None#
field secondRowOption: FieldSelector | None = None#
field thirdRowOption: FieldSelector | None = None#

deprecated